id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sas_enable_tlr(9) | NAME sas_enable_tlr - setting TLR flags
SYNOPSIS void sas_enable_tlr (struct scsi_device *sdev );
ARGUMENTS sdev scsi device struct
DESCRIPTION Seting tlr_enabled flag 1.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_address(9), sas_tlr_suppor... |
sas_end_device_alloc(9) | NAME sas_end_device_alloc - allocate an rphy for an end device
SYNOPSIS struct sas_rphy * sas_end_device_alloc (struct sas_port *parent );
ARGUMENTS parent which port
DESCRIPTION Allocates an SAS remote PHY structure, connected to parent.
RETURN SAS PHY allocated or NULL if the allocation failed.
SEE ALSO Ker... |
sas_ex_discover_devices(9) | NAME sas_ex_discover_devices - discover devices attached to this expander
SYNOPSIS int sas_ex_discover_devices (struct domain_device *dev , int single );
ARGUMENTS dev pointer to the expander domain device
single if you want to do a single phy, else set to -1;
DESCRIPTION Configure this expander... |
sas_ex_revalidate_domain(9) | NAME sas_ex_revalidate_domain - revalidate the domain
SYNOPSIS int sas_ex_revalidate_domain (struct domain_device *port_dev );
ARGUMENTS port_dev port domain device.
NOTE this process _must_ quit (return) as soon as any connection errors are encountered. Connection recovery is done elsewhere. Discover process o... |
sas_expander_alloc(9) | NAME sas_expander_alloc - allocate an rphy for an end device
SYNOPSIS struct sas_rphy * sas_expander_alloc (struct sas_port *parent , enum sas_device_type type );
ARGUMENTS parent which port
type SAS_EDGE_EXPANDER_DEVICE or SAS_FANOUT_EXPANDER_DEVICE
DESCRIPTION Allocates an SAS remote PHY struct... |
sas_find_bcast_dev(9) | NAME sas_find_bcast_dev - find the device issue BROADCAST(CHANGE).
SYNOPSIS int sas_find_bcast_dev (struct domain_device *dev , struct domain_device **src_dev );
ARGUMENTS dev domain device to be detect.
src_dev the device which originated BROADCAST(CHANGE).
DESCRIPTION Add self-configuration ex... |
sas_form_port(9) | NAME sas_form_port - add this phy to a port
SYNOPSIS void sas_form_port (struct asd_sas_phy *phy );
ARGUMENTS phy the phy of interest
DESCRIPTION This function adds this phy to an existing port, thus creating a wide port, or it creates a port and adds the phy to the port.
SEE ALSO Kernel file ./drivers/scsi... |
sas_get_address(9) | NAME sas_get_address - return the SAS address of the device
SYNOPSIS u64 sas_get_address (struct scsi_device *sdev );
ARGUMENTS sdev scsi device
DESCRIPTION Returns the SAS address of the scsi device
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_... |
sas_get_port_device(9) | NAME sas_get_port_device - Discover devices which caused port creation
SYNOPSIS int sas_get_port_device (struct asd_sas_port *port );
ARGUMENTS port pointer to struct sas_port of interest
DESCRIPTION Devices directly attached to a HA port, have no parent. This is how we know they are (domain) "root" devices.... |
sas_init_disc(9) | NAME sas_init_disc - initialize the discovery struct in the port
SYNOPSIS void sas_init_disc (struct sas_discovery *disc , struct asd_sas_port *port );
ARGUMENTS disc port discovery structure
port pointer to struct port
DESCRIPTION Called when the ports are being initialized.
SEE ALSO Kernel f... |
sas_ncq_prio_enable_show(9) | NAME sas_ncq_prio_enable_show - send prioritized io commands to device
SYNOPSIS ssize_t sas_ncq_prio_enable_show (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev pointer to embedded device
attr ?
buf the buffer returned
DESCRIPTION A sysfs 'read/... |
sas_ncq_prio_supported_show(9) | NAME sas_ncq_prio_supported_show - Indicate if device supports NCQ priority
SYNOPSIS ssize_t sas_ncq_prio_supported_show (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev pointer to embedded device
attr sas_ncq_prio_supported attribute descriptor
buf ... |
sas_phy_add(9) | NAME sas_phy_add - add a SAS PHY to the device hierarchy
SYNOPSIS int sas_phy_add (struct sas_phy *phy );
ARGUMENTS phy The PHY to be added
DESCRIPTION Publishes a SAS PHY to the rest of the system.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_... |
sas_phy_alloc(9) | NAME sas_phy_alloc - allocates and initialize a SAS PHY structure
SYNOPSIS struct sas_phy * sas_phy_alloc (struct device *parent , int number );
ARGUMENTS parent Parent device
number Phy index
DESCRIPTION Allocates an SAS PHY structure. It will be added in the device tree below the device specifie... |
sas_phy_delete(9) | NAME sas_phy_delete - remove SAS PHY
SYNOPSIS void sas_phy_delete (struct sas_phy *phy );
ARGUMENTS phy SAS PHY to remove
DESCRIPTION Removes the specified SAS PHY. If the SAS PHY has an associated remote PHY it is removed before.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children... |
sas_phy_free(9) | NAME sas_phy_free - free a SAS PHY
SYNOPSIS void sas_phy_free (struct sas_phy *phy );
ARGUMENTS phy SAS PHY to free
DESCRIPTION Frees the specified SAS PHY.
NOTE This function must only be called on a PHY that has not successfully been added using sas_phy_add.
SEE ALSO Kernel file ./drivers/scsi/scsi_trans... |
sas_port_add(9) | NAME sas_port_add - add a SAS port to the device hierarchy
SYNOPSIS int sas_port_add (struct sas_port *port );
ARGUMENTS port port to be added
DESCRIPTION publishes a port to the rest of the system
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_ad... |
sas_port_add_phy(9) | NAME sas_port_add_phy - add another phy to a port to form a wide port
SYNOPSIS void sas_port_add_phy (struct sas_port *port , struct sas_phy *phy );
ARGUMENTS port port to add the phy to
phy phy to add
DESCRIPTION When a port is initially created, it is empty (has no phys). All ports mu... |
sas_port_alloc(9) | NAME sas_port_alloc - allocate and initialize a SAS port structure
SYNOPSIS struct sas_port * sas_port_alloc (struct device *parent , int port_id );
ARGUMENTS parent parent device
port_id port number
DESCRIPTION Allocates a SAS port structure. It will be added to the device tree below the device sp... |
sas_port_alloc_num(9) | NAME sas_port_alloc_num - allocate and initialize a SAS port structure
SYNOPSIS struct sas_port * sas_port_alloc_num (struct device *parent );
ARGUMENTS parent parent device
DESCRIPTION Allocates a SAS port structure and a number to go with it. This interface is really for adapters where the port number has n... |
sas_port_delete(9) | NAME sas_port_delete - remove SAS PORT
SYNOPSIS void sas_port_delete (struct sas_port *port );
ARGUMENTS port SAS PORT to remove
DESCRIPTION Removes the specified SAS PORT. If the SAS PORT has an associated phys, unlink them from the port as well.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas... |
sas_port_delete_phy(9) | NAME sas_port_delete_phy - remove a phy from a port or wide port
SYNOPSIS void sas_port_delete_phy (struct sas_port *port , struct sas_phy *phy );
ARGUMENTS port port to remove the phy from
phy phy to remove
DESCRIPTION This operation is used for tearing down ports again. It must be done to e... |
sas_port_free(9) | NAME sas_port_free - free a SAS PORT
SYNOPSIS void sas_port_free (struct sas_port *port );
ARGUMENTS port SAS PORT to free
DESCRIPTION Frees the specified SAS PORT.
NOTE This function must only be called on a PORT that has not successfully been added using sas_port_add.
SEE ALSO Kernel file ./drivers/scsi/s... |
sas_port_get_phy(9) | NAME sas_port_get_phy - try to take a reference on a port member
SYNOPSIS struct sas_phy * sas_port_get_phy (struct sas_port *port );
ARGUMENTS port port to check
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_address(9), sas_tlr_supported(9), sas_... |
sas_rediscover(9) | NAME sas_rediscover - revalidate the domain.
SYNOPSIS int sas_rediscover (struct domain_device *dev , const int phy_id );
ARGUMENTS dev domain device to be detect.
phy_id the phy id will be detected.
NOTE this process _must_ quit (return) as soon as any connection errors are encountered. Conne... |
sas_release_transport(9) | NAME sas_release_transport - release SAS transport template instance
SYNOPSIS void sas_release_transport (struct scsi_transport_template *t );
ARGUMENTS t transport template instance
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_address(9), sas... |
sas_remove_children(9) | NAME sas_remove_children - tear down a devices SAS data structures
SYNOPSIS void sas_remove_children (struct device *dev );
ARGUMENTS dev device belonging to the sas object
DESCRIPTION Removes all SAS PHYs and remote PHYs for a given object
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_rem... |
sas_remove_host(9) | NAME sas_remove_host - tear down a Scsi_Host's SAS data structures
SYNOPSIS void sas_remove_host (struct Scsi_Host *shost );
ARGUMENTS shost Scsi Host that is torn down
DESCRIPTION Removes all SAS PHYs and remote PHYs for a given Scsi_Host and remove the Scsi_Host as well.
NOTE Do not call scsi_remove_host on... |
sas_rphy_add(9) | NAME sas_rphy_add - add a SAS remote PHY to the device hierarchy
SYNOPSIS int sas_rphy_add (struct sas_rphy *rphy );
ARGUMENTS rphy The remote PHY to be added
DESCRIPTION Publishes a SAS remote PHY to the rest of the system.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas... |
sas_rphy_delete(9) | NAME sas_rphy_delete - remove and free SAS remote PHY
SYNOPSIS void sas_rphy_delete (struct sas_rphy *rphy );
ARGUMENTS rphy SAS remote PHY to remove and free
DESCRIPTION Removes the specified SAS remote PHY and frees it.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_re... |
sas_rphy_free(9) | NAME sas_rphy_free - free a SAS remote PHY
SYNOPSIS void sas_rphy_free (struct sas_rphy *rphy );
ARGUMENTS rphy SAS remote PHY to free
DESCRIPTION Frees the specified SAS remote PHY.
NOTE This function must only be called on a remote PHY that has not successfully been added using sas_rphy_add (or has been sa... |
sas_rphy_initialize(9) | NAME sas_rphy_initialize - common rphy initialization
SYNOPSIS void sas_rphy_initialize (struct sas_rphy *rphy );
ARGUMENTS rphy rphy to initialise
DESCRIPTION Used by both sas_end_device_alloc and sas_expander_alloc to initialise the common rphy component of each.
SEE ALSO Kernel file ./drivers/scsi/scsi_tr... |
sas_rphy_remove(9) | NAME sas_rphy_remove - remove SAS remote PHY
SYNOPSIS void sas_rphy_remove (struct sas_rphy *rphy );
ARGUMENTS rphy SAS remote phy to remove
DESCRIPTION Removes the specified SAS remote PHY.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), sas_get_address(9... |
sas_rphy_unlink(9) | NAME sas_rphy_unlink - unlink SAS remote PHY
SYNOPSIS void sas_rphy_unlink (struct sas_rphy *rphy );
ARGUMENTS rphy SAS remote phy to unlink from its parent port
DESCRIPTION Removes port reference to an rphy
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_sas.c sas_remove_children(9), sas_remove_host(9), ... |
sas_tlr_supported(9) | NAME sas_tlr_supported - checking TLR bit in vpd 0x90
SYNOPSIS unsigned int sas_tlr_supported (struct scsi_device *sdev );
ARGUMENTS sdev scsi device struct
DESCRIPTION Check Transport Layer Retries are supported or not. If vpd page 0x90 is present, TRL is supported.
SEE ALSO Kernel file ./drivers/scsi/sc... |
sata_async_notification(9) | NAME sata_async_notification - SATA async notification handler
SYNOPSIS int sata_async_notification (struct ata_port *ap );
ARGUMENTS ap ATA port where async notification is received
DESCRIPTION Handler to be called when async notification via SDB FIS is received. This function schedules EH if necessary. ... |
sata_down_spd_limit(9) | NAME sata_down_spd_limit - adjust SATA spd limit downward
SYNOPSIS int sata_down_spd_limit (struct ata_link *link , u32 spd_limit );
ARGUMENTS link Link to adjust SATA spd limit for
spd_limit Additional limit
DESCRIPTION Adjust SATA spd limit of link downward. Note that this function only adjusts ... |
sata_link_debounce(9) | NAME sata_link_debounce - debounce SATA phy status
SYNOPSIS int sata_link_debounce (struct ata_link *link , const unsigned int *params , unsigned long deadline );
ARGUMENTS link ATA link to debounce SATA phy status for
params timing parameters { interval, duration, timeout } in msec
deadli... |
sata_link_hardreset(9) | NAME sata_link_hardreset - reset link via SATA phy reset
SYNOPSIS int sata_link_hardreset (struct ata_link *link , const unsigned int *timing , unsigned long deadline , bool *online , int (*check_ready)(struct ata_link *) );
ARGUMENTS link link to reset
timing timing parameters { interval, duratio... |
sata_link_init_spd(9) | NAME sata_link_init_spd - Initialize link->sata_spd_limit
SYNOPSIS int sata_link_init_spd (struct ata_link *link );
ARGUMENTS link Link to configure sata_spd_limit for
DESCRIPTION Initialize “link->[hw_]sata_spd_limit“ to the currently configured value. LOCKING: Kernel thread context (may sleep).
RETURN 0 o... |
sata_link_resume(9) | NAME sata_link_resume - resume SATA link
SYNOPSIS int sata_link_resume (struct ata_link *link , const unsigned int *params , unsigned long deadline );
ARGUMENTS link ATA link to resume SATA
params timing parameters { interval, duration, timeout } in msec
deadline deadline jiffies for th... |
sata_link_scr_lpm(9) | NAME sata_link_scr_lpm - manipulate SControl IPM and SPM fields
SYNOPSIS int sata_link_scr_lpm (struct ata_link *link , enum ata_lpm_policy policy , bool spm_wakeup );
ARGUMENTS link ATA link to manipulate SControl for
policy LPM policy to configure
spm_wakeup initiate LPM transition to a... |
sata_lpm_ignore_phy_events(9) | NAME sata_lpm_ignore_phy_events - test if PHY event should be ignored
SYNOPSIS bool sata_lpm_ignore_phy_events (struct ata_link *link );
ARGUMENTS link Link receiving the event
DESCRIPTION Test whether the received PHY event has to be ignored or not. LOCKING: None:
RETURN True if the event has to be ignored... |
sata_pmp_attach(9) | NAME sata_pmp_attach - attach a SATA PMP device
SYNOPSIS int sata_pmp_attach (struct ata_device *dev );
ARGUMENTS dev SATA PMP device to attach
DESCRIPTION Configure and attach SATA PMP device dev. This function is also responsible for allocating and initializing PMP links. LOCKING: Kernel thread context (... |
sata_pmp_detach(9) | NAME sata_pmp_detach - detach a SATA PMP device
SYNOPSIS void sata_pmp_detach (struct ata_device *dev );
ARGUMENTS dev SATA PMP device to detach
DESCRIPTION Detach SATA PMP device dev. This function is also responsible for deconfiguring PMP links. LOCKING: Kernel thread context (may sleep).
SEE ALSO Kerne... |
sata_pmp_eh_recover(9) | NAME sata_pmp_eh_recover - recover PMP-enabled port
SYNOPSIS int sata_pmp_eh_recover (struct ata_port *ap );
ARGUMENTS ap ATA port to recover
DESCRIPTION Drive EH recovery operation for PMP enabled port ap. This function recovers host and PMP ports with proper retrials and fallbacks. Actual recover... |
sata_pmp_eh_recover_pmp(9) | NAME sata_pmp_eh_recover_pmp - recover PMP
SYNOPSIS int sata_pmp_eh_recover_pmp (struct ata_port *ap , struct ata_reset_operations *reset_ops );
ARGUMENTS ap ATA port PMP is attached to
reset_ops The set of reset operations to use
DESCRIPTION Recover PMP attached to ap. Recovery procedure is so... |
sata_pmp_error_handler(9) | NAME sata_pmp_error_handler - do standard error handling for PMP-enabled host
SYNOPSIS void sata_pmp_error_handler (struct ata_port *ap );
ARGUMENTS ap host port to handle error for
DESCRIPTION Perform standard error handling sequence for PMP-enabled host ap. LOCKING: Kernel thread context (may sleep).
SE... |
sata_pmp_qc_defer_cmd_switch(9) | NAME sata_pmp_qc_defer_cmd_switch - qc_defer for command switching PMP
SYNOPSIS int sata_pmp_qc_defer_cmd_switch (struct ata_queued_cmd *qc );
ARGUMENTS qc ATA command in question
DESCRIPTION A host which has command switching PMP support cannot issue commands to multiple links simultaneously. LOCKING: spi... |
sata_pmp_read(9) | NAME sata_pmp_read - read PMP register
SYNOPSIS unsigned int sata_pmp_read (struct ata_link *link , int reg , u32 *r_val );
ARGUMENTS link link to read PMP register for
reg register to read
r_val resulting value
DESCRIPTION Read PMP register. LOCKING: Kernel thread context (may ... |
sata_pmp_read_gscr(9) | NAME sata_pmp_read_gscr - read GSCR block of SATA PMP
SYNOPSIS int sata_pmp_read_gscr (struct ata_device *dev , u32 *gscr );
ARGUMENTS dev PMP device
gscr buffer to read GSCR block into
DESCRIPTION Read selected PMP GSCRs from the PMP at dev. This will serve as configuration and identificatio... |
sata_pmp_revalidate(9) | NAME sata_pmp_revalidate - revalidate SATA PMP
SYNOPSIS int sata_pmp_revalidate (struct ata_device *dev , unsigned int new_class );
ARGUMENTS dev PMP device to revalidate
new_class new class code
DESCRIPTION Re-read GSCR block and make sure dev is still attached to the port and properly configured.... |
sata_pmp_revalidate_quick(9) | NAME sata_pmp_revalidate_quick - revalidate SATA PMP quickly
SYNOPSIS int sata_pmp_revalidate_quick (struct ata_device *dev );
ARGUMENTS dev PMP device to revalidate
DESCRIPTION Make sure the attached PMP is accessible. LOCKING: Kernel thread context (may sleep).
RETURN 0 on success, -errno otherwise.
SEE... |
sata_pmp_same_pmp(9) | NAME sata_pmp_same_pmp - does new GSCR matches the configured PMP?
SYNOPSIS int sata_pmp_same_pmp (struct ata_device *dev , const u32 *new_gscr );
ARGUMENTS dev PMP device to compare against
new_gscr GSCR block of the new device
DESCRIPTION Compare new_gscr against dev and determine whether dev is... |
sata_pmp_scr_read(9) | NAME sata_pmp_scr_read - read PSCR
SYNOPSIS int sata_pmp_scr_read (struct ata_link *link , int reg , u32 *r_val );
ARGUMENTS link ATA link to read PSCR for
reg PSCR to read
r_val resulting value
DESCRIPTION Read PSCR reg into r_val for link, to be called from ata_scr_read. LOCKI... |
sata_pmp_scr_write(9) | NAME sata_pmp_scr_write - write PSCR
SYNOPSIS int sata_pmp_scr_write (struct ata_link *link , int reg , u32 val );
ARGUMENTS link ATA link to write PSCR for
reg PSCR to write
val value to be written
DESCRIPTION Write val to PSCR reg for link, to be called from ata_scr_write and... |
sata_pmp_set_lpm(9) | NAME sata_pmp_set_lpm - configure LPM for a PMP link
SYNOPSIS int sata_pmp_set_lpm (struct ata_link *link , enum ata_lpm_policy policy , unsigned hints );
ARGUMENTS link PMP link to configure LPM for
policy target LPM policy
hints LPM hints
DESCRIPTION Configure LPM for link. This ... |
sata_pmp_write(9) | NAME sata_pmp_write - write PMP register
SYNOPSIS unsigned int sata_pmp_write (struct ata_link *link , int reg , u32 val );
ARGUMENTS link link to write PMP register for
reg register to write
val value to write
DESCRIPTION Write PMP register. LOCKING: Kernel thread context (ma... |
sata_print_link_status(9) | NAME sata_print_link_status - Print SATA link status
SYNOPSIS void sata_print_link_status (struct ata_link *link );
ARGUMENTS link SATA link to printk link status about
DESCRIPTION This function prints link speed and status of a SATA link. LOCKING: None.
SEE ALSO Kernel file ./drivers/ata/libata-core.c ... |
sata_scr_read(9) | NAME sata_scr_read - read SCR register of the specified port
SYNOPSIS int sata_scr_read (struct ata_link *link , int reg , u32 *val );
ARGUMENTS link ATA link to read SCR for
reg SCR to read
val Place to store read value
DESCRIPTION Read SCR register reg of link into *val.... |
sata_scr_valid(9) | NAME sata_scr_valid - test whether SCRs are accessible
SYNOPSIS int sata_scr_valid (struct ata_link *link );
ARGUMENTS link ATA link to test SCR accessibility for
DESCRIPTION Test whether SCRs are accessible for link. LOCKING: None.
RETURN 1 if SCRs are accessible, 0 otherwise.
SEE ALSO Kernel file ./d... |
sata_scr_write(9) | NAME sata_scr_write - write SCR register of the specified port
SYNOPSIS int sata_scr_write (struct ata_link *link , int reg , u32 val );
ARGUMENTS link ATA link to write SCR for
reg SCR to write
val value to write
DESCRIPTION Write val to SCR register reg of link. This functio... |
sata_scr_write_flush(9) | NAME sata_scr_write_flush - write SCR register of the specified port and flush
SYNOPSIS int sata_scr_write_flush (struct ata_link *link , int reg , u32 val );
ARGUMENTS link ATA link to write SCR for
reg SCR to write
val value to write
DESCRIPTION This function is identical to ... |
sata_set_spd(9) | NAME sata_set_spd - set SATA spd according to spd limit
SYNOPSIS int sata_set_spd (struct ata_link *link );
ARGUMENTS link Link to set SATA spd for
DESCRIPTION Set SATA spd of link according to sata_spd_limit. LOCKING: Inherited from caller.
RETURN 0 if spd doesn't need to be changed, 1 if spd has been chan... |
sata_set_spd_needed(9) | NAME sata_set_spd_needed - is SATA spd configuration needed
SYNOPSIS int sata_set_spd_needed (struct ata_link *link );
ARGUMENTS link Link in question
DESCRIPTION Test whether the spd limit in SControl matches link->sata_spd_limit. This function is used to determine whether hardreset is necessary to apply SA... |
sata_sff_hardreset(9) | NAME sata_sff_hardreset - reset host port via SATA phy reset
SYNOPSIS int sata_sff_hardreset (struct ata_link *link , unsigned int *class , unsigned long deadline );
ARGUMENTS link link to reset
class resulting class of attached device
deadline deadline jiffies for the operation
DESCR... |
sata_std_hardreset(9) | NAME sata_std_hardreset - COMRESET w/o waiting or classification
SYNOPSIS int sata_std_hardreset (struct ata_link *link , unsigned int *class , unsigned long deadline );
ARGUMENTS link link to reset
class resulting class of attached device
deadline deadline jiffies for the operation
D... |
save_named_trigger(9) | NAME save_named_trigger - save the trigger in the named trigger list
SYNOPSIS int save_named_trigger (const char *name , struct event_trigger_data *data );
ARGUMENTS name The name of the named trigger set
data The trigger data to save
RETURN 0 if successful, negative error otherwise.
SEE ALSO ... |
saveable_highmem_page(9) | NAME saveable_highmem_page - Check if a highmem page is saveable.
SYNOPSIS struct page * saveable_highmem_page (struct zone *zone , unsigned long pfn );
ARGUMENTS zone -- undescribed --
pfn -- undescribed --
DESCRIPTION Determine whether a highmem page should be included in a hibernation image... |
saveable_page(9) | NAME saveable_page - Check if the given page is saveable.
SYNOPSIS struct page * saveable_page (struct zone *zone , unsigned long pfn );
ARGUMENTS zone -- undescribed --
pfn -- undescribed --
DESCRIPTION Determine whether a non-highmem page should be included in a hibernation image. We should... |
savetty.3x(3) | NAME def_prog_mode, def_shell_mode, reset_prog_mode, reset_shell_mode, resetty, savetty, getsyx, setsyx, ripoffline, curs_set, napms - low-level curses routines
SYNOPSIS #include <ncursesw/curses.h>
int def_prog_mode(void);
int def_shell_mode(void);
int reset_prog_mode(void);
int reset_sh... |
savetty_sp.3x(3) | NAME curs_sp_funcs - curses screen-pointer extension
SYNOPSIS #include <ncursesw/curses.h>
int alloc_pair_sp(SCREEN* sp, int fg, int bg);
int assume_default_colors_sp(SCREEN* sp, int fg, int bg);
int baudrate_sp(SCREEN* sp);
int beep_sp(SCREEN* sp);
bool can_change_color_sp(SCREEN* ... |
sb_end_intwrite(9) | NAME sb_end_intwrite - drop write access to a superblock for internal fs purposes
SYNOPSIS void sb_end_intwrite (struct super_block *sb );
ARGUMENTS sb the super we wrote to
DESCRIPTION Decrement fs-internal number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.
SE... |
sb_end_pagefault(9) | NAME sb_end_pagefault - drop write access to a superblock from a page fault
SYNOPSIS void sb_end_pagefault (struct super_block *sb );
ARGUMENTS sb the super we wrote to
DESCRIPTION Decrement number of processes handling write page fault to the filesystem. Wake up possible waiters wanting to freeze the file... |
sb_end_write(9) | NAME sb_end_write - drop write access to a superblock
SYNOPSIS void sb_end_write (struct super_block *sb );
ARGUMENTS sb the super we wrote to
DESCRIPTION Decrement number of writers to the filesystem. Wake up possible waiters wanting to freeze the filesystem.
SEE ALSO Kernel file ./include/linux/fs/super.... |
sb_permission(9) | NAME sb_permission - Check superblock-level permissions
SYNOPSIS int sb_permission (struct super_block *sb , struct inode *inode , int mask );
ARGUMENTS sb Superblock of inode to check permission on
inode Inode to check permission on
mask Right to check for (MAY_READ, MAY_WRITE, ... |
sb_start_intwrite(9) | NAME sb_start_intwrite - get write access to a superblock for internal fs purposes
SYNOPSIS void sb_start_intwrite (struct super_block *sb );
ARGUMENTS sb the super we write to
DESCRIPTION This is the third level of protection against filesystem freezing. It is free for use by a filesystem. The only require... |
sb_start_pagefault(9) | NAME sb_start_pagefault - get write access to a superblock from a page fault
SYNOPSIS void sb_start_pagefault (struct super_block *sb );
ARGUMENTS sb the super we write to
DESCRIPTION When a process starts handling write page fault, it should embed the operation into sb_start_pagefault - sb_end_pagefault p... |
sb_start_write(9) | NAME sb_start_write - get write access to a superblock
SYNOPSIS void sb_start_write (struct super_block *sb );
ARGUMENTS sb the super we write to
DESCRIPTION When a process wants to write data or metadata to a file system (i.e. dirty a page or an inode), it should embed the operation in a sb_start_write ... |
sb_wait_write(9) | NAME sb_wait_write - wait until all writers to given file system finish
SYNOPSIS void sb_wait_write (struct super_block *sb , int level );
ARGUMENTS sb the super for which we wait
level type of writers we wait for (normal vs page fault)
DESCRIPTION This function waits until there are no writer... |
sb_write_not_started(9) | NAME sb_write_not_started - check if SB_FREEZE_WRITE is not held
SYNOPSIS bool sb_write_not_started (const struct super_block *sb );
ARGUMENTS sb the super we write to
DESCRIPTION May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.
SEE ALSO Kernel file ./include/linux/fs/super.h __sb_write_start... |
sb_write_started(9) | NAME sb_write_started - check if SB_FREEZE_WRITE is held
SYNOPSIS bool sb_write_started (const struct super_block *sb );
ARGUMENTS sb the super we write to
DESCRIPTION May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.
SEE ALSO Kernel file ./include/linux/fs/super.h __sb_write_started(9), sb_wr... |
sba_alloc(9) | NAME sba_alloc - allocate/map shared mem for DMA
SYNOPSIS void * sba_alloc (struct device *hwdev , size_t size , dma_addr_t *dma_handle , gfp_t gfp , unsigned long attrs );
ARGUMENTS hwdev instance of PCI owned by the driver that's asking.
size number of bytes mapped in driver buffer.
dma... |
sba_alloc_range(9) | NAME sba_alloc_range - find free bits and mark them in IO PDIR resource bitmap
SYNOPSIS int sba_alloc_range (struct ioc *ioc , struct device *dev , size_t size );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
dev device for which pages should be alloced
size ... |
sba_check_pdir(9) | NAME sba_check_pdir - debugging only - consistency checker
SYNOPSIS int sba_check_pdir (struct ioc *ioc , char *msg );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
msg text to print ont the output line.
DESCRIPTION Verify the resource map and pdir state is consiste... |
sba_directed_lmmio(9) | NAME sba_directed_lmmio - return first directed LMMIO range routed to rope
SYNOPSIS void sba_directed_lmmio (struct parisc_device *pci_hba , struct resource *r );
ARGUMENTS pci_hba The parisc device.
r resource PCI host controller wants start/end fields assigned.
DESCRIPTION For the given paris... |
sba_distributed_lmmio(9) | NAME sba_distributed_lmmio - return portion of distributed LMMIO range
SYNOPSIS void sba_distributed_lmmio (struct parisc_device *pci_hba , struct resource *r );
ARGUMENTS pci_hba The parisc device.
r resource PCI host controller wants start/end fields assigned.
DESCRIPTION For the given parisc... |
sba_dma_supported(9) | NAME sba_dma_supported - PCI driver can query DMA support
SYNOPSIS int sba_dma_supported (struct device *dev , u64 mask );
ARGUMENTS dev instance of PCI owned by the driver that's asking
mask number of address bits this PCI device can handle
DESCRIPTION See Documentation/core-api/dma-api-howto... |
sba_dump_pdir_entry(9) | NAME sba_dump_pdir_entry - debugging only - print one IOMMU PDIR entry
SYNOPSIS void sba_dump_pdir_entry (struct ioc *ioc , char *msg , uint pide );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
msg text to print ont the output line.
pide pdir index.
... |
sba_dump_ranges(9) | NAME sba_dump_ranges - debugging only - print ranges assigned to this IOA
SYNOPSIS void sba_dump_ranges (void __iomem *hpa );
ARGUMENTS hpa base address of the sba
DESCRIPTION Print the MMIO and IO Port address ranges forwarded by an Astro/Ike/RIO IO Adapter (aka Bus Converter).
SEE ALSO Kernel file ./driv... |
sba_dump_sg(9) | NAME sba_dump_sg - debugging only - print Scatter-Gather list
SYNOPSIS void sba_dump_sg (struct ioc *ioc , struct scatterlist *startsg , int nents );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
startsg head of the SG list
nents number of entries in SG lis... |
sba_dump_tlb(9) | NAME sba_dump_tlb - debugging only - print IOMMU operating parameters
SYNOPSIS void sba_dump_tlb (void __iomem *hpa );
ARGUMENTS hpa base address of the IOMMU
DESCRIPTION Print the size/location of the IO MMU PDIR.
SEE ALSO Kernel file ./drivers/parisc/sba_iommu.c sba_dump_ranges(9), sba_dump_pdir_entry... |
sba_free(9) | NAME sba_free - free/unmap shared mem for DMA
SYNOPSIS void sba_free (struct device *hwdev , size_t size , void *vaddr , dma_addr_t dma_handle , unsigned long attrs );
ARGUMENTS hwdev instance of PCI owned by the driver that's asking.
size number of bytes mapped in driver buffer.
vaddr ... |
sba_free_range(9) | NAME sba_free_range - unmark bits in IO PDIR resource bitmap
SYNOPSIS void sba_free_range (struct ioc *ioc , dma_addr_t iova , size_t size );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
iova IO virtual address which was previously allocated.
size numb... |
sba_get_iommu(9) | NAME sba_get_iommu - Assign the iommu pointer for the pci bus controller.
SYNOPSIS void * sba_get_iommu (struct parisc_device *pci_hba );
ARGUMENTS pci_hba The parisc device.
DESCRIPTION Returns the appropriate IOMMU data for the given parisc PCI controller. This is cached and used later for PCI DMA Mapping.
S... |
sba_io_pdir_entry(9) | NAME sba_io_pdir_entry - fill in one IO PDIR entry
SYNOPSIS void sba_io_pdir_entry (__le64 *pdir_ptr , space_t sid , phys_addr_t pba , unsigned long hint );
ARGUMENTS pdir_ptr pointer to IO PDIR entry
sid process Space ID - currently only support KERNEL_SPACE
pba Physical address of... |
sba_map_sg(9) | NAME sba_map_sg - map Scatter/Gather list
SYNOPSIS int sba_map_sg (struct device *dev , struct scatterlist *sglist , int nents , enum dma_data_direction direction , unsigned long attrs );
ARGUMENTS dev instance of PCI owned by the driver that's asking.
sglist array of buffer/length pairs
... |
sba_map_single(9) | NAME sba_map_single - map one buffer and return IOVA for DMA
SYNOPSIS dma_addr_t sba_map_single (struct device *dev , phys_addr_t addr , size_t size , enum dma_data_direction direction );
ARGUMENTS dev instance of PCI owned by the driver that's asking.
addr driver buffer to map.
size ... |
sba_mark_invalid(9) | NAME sba_mark_invalid - invalidate one or more IO PDIR entries
SYNOPSIS void sba_mark_invalid (struct ioc *ioc , dma_addr_t iova , size_t byte_cnt );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
iova IO Virtual Address mapped earlier
byte_cnt number of byt... |
sba_search_bitmap(9) | NAME sba_search_bitmap - find free space in IO PDIR resource bitmap
SYNOPSIS unsigned long sba_search_bitmap (struct ioc *ioc , struct device *dev , unsigned long bits_wanted );
ARGUMENTS ioc IO MMU structure which owns the pdir we are interested in.
dev device to query the bitmap for
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.