id
stringlengths
4
63
text
stringlengths
153
8.81M
scsih_resume(9)
NAME scsih_resume - power management resume main entry point SYNOPSIS int __maybe_unused scsih_resume (struct device *dev ); ARGUMENTS dev Device struct RETURN 0 success, anything else error. SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), struct sense_info(9),...
scsih_scan_finished(9)
NAME scsih_scan_finished - scsi lld callback for .scan_finished SYNOPSIS int scsih_scan_finished (struct Scsi_Host *shost , unsigned long time ); ARGUMENTS shost SCSI host pointer time elapsed time of the scan in jiffies DESCRIPTION This function will be called periodicallyn until it returns 1 w...
scsih_scan_start(9)
NAME scsih_scan_start - scsi lld callback for .scan_start SYNOPSIS void scsih_scan_start (struct Scsi_Host *shost ); ARGUMENTS shost SCSI host pointer DESCRIPTION The shost has the ability to discover targets on its own instead of scanning the entire bus. In our implemention, we will kick off firmware discove...
scsih_sdev_configure(9)
NAME scsih_sdev_configure - device configure routine. SYNOPSIS int scsih_sdev_configure (struct scsi_device *sdev , struct queue_limits *lim ); ARGUMENTS sdev scsi device struct lim queue limits RETURN 0 if ok. Any other return is assumed to be an error and the device is ignored. SEE ALSO Ker...
scsih_sdev_destroy(9)
NAME scsih_sdev_destroy - device destroy routine SYNOPSIS void scsih_sdev_destroy (struct scsi_device *sdev ); ARGUMENTS sdev scsi device struct SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), struct sense_info(9), struct fw_event_work(9), struct _scsi_io_transfe...
scsih_sdev_init(9)
NAME scsih_sdev_init - device add routine SYNOPSIS int scsih_sdev_init (struct scsi_device *sdev ); ARGUMENTS sdev scsi device struct RETURN 0 if ok. Any other return is assumed to be an error and the device is ignored. SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_stat...
scsih_shutdown(9)
NAME scsih_shutdown - routine call during system shutdown SYNOPSIS void scsih_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev PCI device struct SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), struct sense_info(9), struct fw_event_work(9), struct _scsi_io_transfe...
scsih_suspend(9)
NAME scsih_suspend - power management suspend main entry point SYNOPSIS int __maybe_unused scsih_suspend (struct device *dev ); ARGUMENTS dev Device struct RETURN 0 success, anything else error. SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), struct sense_info(...
scsih_target_alloc(9)
NAME scsih_target_alloc - target add routine SYNOPSIS int scsih_target_alloc (struct scsi_target *starget ); ARGUMENTS starget scsi target struct RETURN 0 if ok. Any other return is assumed to be an error and the device is ignored. SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_respon...
scsih_target_destroy(9)
NAME scsih_target_destroy - target destroy routine SYNOPSIS void scsih_target_destroy (struct scsi_target *starget ); ARGUMENTS starget scsi target struct SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), struct sense_info(9), struct fw_event_work(9), struct _scsi_io_...
scsih_target_reset(9)
NAME scsih_target_reset - eh threads main target reset routine SYNOPSIS int scsih_target_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd pointer to scsi command object RETURN SUCCESS if command aborted else FAILED SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c enum device_responsive_state(9), ...
scsih_tm_cmd_map_status(9)
NAME scsih_tm_cmd_map_status - map the target reset & LUN reset TM status SYNOPSIS int scsih_tm_cmd_map_status (struct MPT3SAS_ADAPTER *ioc , uint channel , uint id , uint lun , u8 type , u16 smid_task ); ARGUMENTS ioc per adapter object channel the channel assigned by the OS id t...
scsih_tm_post_processing(9)
NAME scsih_tm_post_processing - post processing of target & LUN reset SYNOPSIS int scsih_tm_post_processing (struct MPT3SAS_ADAPTER *ioc , u16 handle , uint channel , uint id , uint lun , u8 type , u16 smid_task ); ARGUMENTS ioc per adapter object handle device handle channel the chan...
scsilun_to_int(9)
NAME scsilun_to_int - convert a scsi_lun to an int SYNOPSIS u64 scsilun_to_int (struct scsi_lun *scsilun ); ARGUMENTS scsilun struct scsi_lun to be converted. DESCRIPTION Convert scsilun from a struct scsi_lun to a four-byte host byte-ordered integer, and return the result. The caller must check for truncation b...
scsw_actl(9)
NAME scsw_actl - return scsw actl field SYNOPSIS u32 scsw_actl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the actl field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h st...
scsw_cc(9)
NAME scsw_cc - return scsw cc field SYNOPSIS u32 scsw_cc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the cc field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cm...
scsw_cmd_is_solicited(9)
NAME scsw_cmd_is_solicited - check for solicited scsw SYNOPSIS int scsw_cmd_is_solicited (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the command mode scsw indicates that the associated status condition is solicited, zero if it is unsolicited. SEE ALSO Kernel file ./ar...
scsw_cmd_is_valid_actl(9)
NAME scsw_cmd_is_valid_actl - check actl field validity SYNOPSIS int scsw_cmd_is_valid_actl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the actl field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_alcc(9)
NAME scsw_cmd_is_valid_alcc - check alcc field validity SYNOPSIS int scsw_cmd_is_valid_alcc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the alcc field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_cc(9)
NAME scsw_cmd_is_valid_cc - check cc field validity SYNOPSIS int scsw_cmd_is_valid_cc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cc field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cmd...
scsw_cmd_is_valid_cstat(9)
NAME scsw_cmd_is_valid_cstat - check cstat field validity SYNOPSIS int scsw_cmd_is_valid_cstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cstat field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_cmd_is_valid_dstat(9)
NAME scsw_cmd_is_valid_dstat - check dstat field validity SYNOPSIS int scsw_cmd_is_valid_dstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the dstat field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_cmd_is_valid_ectl(9)
NAME scsw_cmd_is_valid_ectl - check ectl field validity SYNOPSIS int scsw_cmd_is_valid_ectl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the ectl field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_eswf(9)
NAME scsw_cmd_is_valid_eswf - check eswf field validity SYNOPSIS int scsw_cmd_is_valid_eswf (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the eswf field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_fctl(9)
NAME scsw_cmd_is_valid_fctl - check fctl field validity SYNOPSIS int scsw_cmd_is_valid_fctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fctl field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_fmt(9)
NAME scsw_cmd_is_valid_fmt - check fmt field validity SYNOPSIS int scsw_cmd_is_valid_fmt (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fmt field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_cmd_is_valid_isic(9)
NAME scsw_cmd_is_valid_isic - check isic field validity SYNOPSIS int scsw_cmd_is_valid_isic (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the isic field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_key(9)
NAME scsw_cmd_is_valid_key - check key field validity SYNOPSIS int scsw_cmd_is_valid_key (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the key field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_cmd_is_valid_pfch(9)
NAME scsw_cmd_is_valid_pfch - check pfch field validity SYNOPSIS int scsw_cmd_is_valid_pfch (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the pfch field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_pno(9)
NAME scsw_cmd_is_valid_pno - check pno field validity SYNOPSIS int scsw_cmd_is_valid_pno (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the pno field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_cmd_is_valid_sctl(9)
NAME scsw_cmd_is_valid_sctl - check sctl field validity SYNOPSIS int scsw_cmd_is_valid_sctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the sctl field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_cmd_is_valid_ssi(9)
NAME scsw_cmd_is_valid_ssi - check ssi field validity SYNOPSIS int scsw_cmd_is_valid_ssi (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the ssi field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_cmd_is_valid_stctl(9)
NAME scsw_cmd_is_valid_stctl - check stctl field validity SYNOPSIS int scsw_cmd_is_valid_stctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the stctl field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_cmd_is_valid_zcc(9)
NAME scsw_cmd_is_valid_zcc - check zcc field validity SYNOPSIS int scsw_cmd_is_valid_zcc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the zcc field of the specified command mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_cstat(9)
NAME scsw_cstat - return scsw cstat field SYNOPSIS u32 scsw_cstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the cstat field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h...
scsw_dstat(9)
NAME scsw_dstat - return scsw dstat field SYNOPSIS u32 scsw_dstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the dstat field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h...
scsw_ectl(9)
NAME scsw_ectl - return scsw ectl field SYNOPSIS u32 scsw_ectl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the ectl field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h st...
scsw_eswf(9)
NAME scsw_eswf - return scsw eswf field SYNOPSIS u32 scsw_eswf (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the eswf field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h st...
scsw_fctl(9)
NAME scsw_fctl - return scsw fctl field SYNOPSIS u32 scsw_fctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the fctl field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h st...
scsw_is_solicited(9)
NAME scsw_is_solicited - check for solicited scsw SYNOPSIS int scsw_is_solicited (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the transport or command mode scsw indicates that the associated status condition is solicited, zero if it is unsolicited. SEE ALSO Kernel file ...
scsw_is_tm(9)
NAME scsw_is_tm - check for transport mode scsw SYNOPSIS int scsw_is_tm (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the specified scsw is a transport mode scsw, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cmd_scsw(9), struct tm_scsw(...
scsw_is_valid_actl(9)
NAME scsw_is_valid_actl - check actl field validity SYNOPSIS int scsw_is_valid_actl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the actl field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field doe...
scsw_is_valid_cc(9)
NAME scsw_is_valid_cc - check cc field validity SYNOPSIS int scsw_is_valid_cc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cc field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field does not co...
scsw_is_valid_cstat(9)
NAME scsw_is_valid_cstat - check cstat field validity SYNOPSIS int scsw_is_valid_cstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cstat field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field...
scsw_is_valid_dstat(9)
NAME scsw_is_valid_dstat - check dstat field validity SYNOPSIS int scsw_is_valid_dstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the dstat field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field...
scsw_is_valid_ectl(9)
NAME scsw_is_valid_ectl - check ectl field validity SYNOPSIS int scsw_is_valid_ectl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the ectl field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field doe...
scsw_is_valid_eswf(9)
NAME scsw_is_valid_eswf - check eswf field validity SYNOPSIS int scsw_is_valid_eswf (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the eswf field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field doe...
scsw_is_valid_fctl(9)
NAME scsw_is_valid_fctl - check fctl field validity SYNOPSIS int scsw_is_valid_fctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fctl field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field doe...
scsw_is_valid_key(9)
NAME scsw_is_valid_key - check key field validity SYNOPSIS int scsw_is_valid_key (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the key field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field does no...
scsw_is_valid_pno(9)
NAME scsw_is_valid_pno - check pno field validity SYNOPSIS int scsw_is_valid_pno (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the pno field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field does no...
scsw_is_valid_stctl(9)
NAME scsw_is_valid_stctl - check stctl field validity SYNOPSIS int scsw_is_valid_stctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the stctl field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. Return zero if the field...
scsw_key(9)
NAME scsw_key - return scsw key field SYNOPSIS u32 scsw_key (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the key field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct...
scsw_pno(9)
NAME scsw_pno - return scsw pno field SYNOPSIS u32 scsw_pno (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the pno field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct...
scsw_stctl(9)
NAME scsw_stctl - return scsw stctl field SYNOPSIS u32 scsw_stctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return the value of the stctl field of the specified scsw, regardless of whether it is a transport mode or command mode scsw. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h...
scsw_tm_is_solicited(9)
NAME scsw_tm_is_solicited - check for solicited scsw SYNOPSIS int scsw_tm_is_solicited (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the transport mode scsw indicates that the associated status condition is solicited, zero if it is unsolicited. SEE ALSO Kernel file ./ar...
scsw_tm_is_valid_actl(9)
NAME scsw_tm_is_valid_actl - check actl field validity SYNOPSIS int scsw_tm_is_valid_actl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the actl field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_tm_is_valid_cc(9)
NAME scsw_tm_is_valid_cc - check cc field validity SYNOPSIS int scsw_tm_is_valid_cc (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cc field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cmd...
scsw_tm_is_valid_cstat(9)
NAME scsw_tm_is_valid_cstat - check cstat field validity SYNOPSIS int scsw_tm_is_valid_cstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the cstat field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_tm_is_valid_dstat(9)
NAME scsw_tm_is_valid_dstat - check dstat field validity SYNOPSIS int scsw_tm_is_valid_dstat (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the dstat field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_tm_is_valid_ectl(9)
NAME scsw_tm_is_valid_ectl - check ectl field validity SYNOPSIS int scsw_tm_is_valid_ectl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the ectl field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_tm_is_valid_eswf(9)
NAME scsw_tm_is_valid_eswf - check eswf field validity SYNOPSIS int scsw_tm_is_valid_eswf (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the eswf field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_tm_is_valid_fctl(9)
NAME scsw_tm_is_valid_fctl - check fctl field validity SYNOPSIS int scsw_tm_is_valid_fctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fctl field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_tm_is_valid_fcxs(9)
NAME scsw_tm_is_valid_fcxs - check fcxs field validity SYNOPSIS int scsw_tm_is_valid_fcxs (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fcxs field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h str...
scsw_tm_is_valid_fmt(9)
NAME scsw_tm_is_valid_fmt - check fmt field validity SYNOPSIS int scsw_tm_is_valid_fmt (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the fmt field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_tm_is_valid_key(9)
NAME scsw_tm_is_valid_key - check key field validity SYNOPSIS int scsw_tm_is_valid_key (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the key field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_tm_is_valid_pno(9)
NAME scsw_tm_is_valid_pno - check pno field validity SYNOPSIS int scsw_tm_is_valid_pno (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the pno field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct ...
scsw_tm_is_valid_q(9)
NAME scsw_tm_is_valid_q - check q field validity SYNOPSIS int scsw_tm_is_valid_q (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the q field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cmd_scs...
scsw_tm_is_valid_schxs(9)
NAME scsw_tm_is_valid_schxs - check schxs field validity SYNOPSIS int scsw_tm_is_valid_schxs (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the schxs field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_tm_is_valid_stctl(9)
NAME scsw_tm_is_valid_stctl - check stctl field validity SYNOPSIS int scsw_tm_is_valid_stctl (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the stctl field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h ...
scsw_tm_is_valid_x(9)
NAME scsw_tm_is_valid_x - check x field validity SYNOPSIS int scsw_tm_is_valid_x (union scsw *scsw ); ARGUMENTS scsw pointer to scsw DESCRIPTION Return non-zero if the x field of the specified transport mode scsw is valid, zero otherwise. SEE ALSO Kernel file ./arch/s390/include/asm/scsw.h struct cmd_scs...
sctp_list_dequeue(9)
NAME sctp_list_dequeue - remove from the head of the queue SYNOPSIS struct list_head * sctp_list_dequeue (struct list_head *list ); ARGUMENTS list list to dequeue from DESCRIPTION Remove the head of the list. The head item is returned or NULL if the list is empty. SEE ALSO Kernel file ./include/net/sctp/sctp...
scu_get_event_code(9)
NAME scu_get_event_code - SYNOPSIS scu_get_event_code (event_code ); ARGUMENTS event_code -- undescribed -- DESCRIPTION This macro returns the combined SCU event type and SCU event specifier from the event code. SEE ALSO Kernel file ./drivers/scsi/isci/scu_event_codes.h SCU_EVENT_TYPE(9), SCU_EVENT_SPECIFIC(9), SC...
scu_get_event_specifier(9)
NAME scu_get_event_specifier - SYNOPSIS scu_get_event_specifier (event_code ); ARGUMENTS event_code -- undescribed -- DESCRIPTION This macro returns the SCU event specifier from the event code. SEE ALSO Kernel file ./drivers/scsi/isci/scu_event_codes.h SCU_EVENT_TYPE(9), SCU_EVENT_SPECIFIC(9), SCU_EVENT_MESSAGE(9)...
scu_get_event_type(9)
NAME scu_get_event_type - SYNOPSIS scu_get_event_type (event_code ); ARGUMENTS event_code -- undescribed -- DESCRIPTION This macro returns the SCU event type from the event code. SEE ALSO Kernel file ./drivers/scsi/isci/scu_event_codes.h SCU_EVENT_TYPE(9), SCU_EVENT_SPECIFIC(9), SCU_EVENT_MESSAGE(9), scu_get_event...
scu_ipc_ioctl(9)
NAME scu_ipc_ioctl - control ioctls for the SCU SYNOPSIS long scu_ipc_ioctl (struct file *fp , unsigned int cmd , unsigned long arg ); ARGUMENTS fp file handle of the SCU device cmd ioctl coce arg pointer to user passed structure DESCRIPTION Support the I/O and firmware flash...
scu_link_layer_stop_protocol_engine(9)
NAME scu_link_layer_stop_protocol_engine - SYNOPSIS void scu_link_layer_stop_protocol_engine (struct isci_phy *iphy ); ARGUMENTS iphy This is the struct isci_phy object to stop. DESCRIPTION This method will stop the struct isci_phy object. This does not reset the protocol engine it just suspends it and places...
scu_link_layer_tx_hard_reset(9)
NAME scu_link_layer_tx_hard_reset - SYNOPSIS void scu_link_layer_tx_hard_reset (struct isci_phy *iphy ); ARGUMENTS iphy This is the struct isci_phy object to stop. DESCRIPTION This method will transmit a hard reset request on the specified phy. The SCU hardware requires that we reset the OOB state machine an...
scu_reg_access(9)
NAME scu_reg_access - implement register access ioctls SYNOPSIS int scu_reg_access (u32 cmd , struct scu_ipc_data *data ); ARGUMENTS cmd command we are doing (read/write/update) data kernel copy of ioctl data DESCRIPTION Allow the user to perform register accesses on the SCU via the kernel int...
scu_sata_request_construct_task_context(9)
NAME scu_sata_request_construct_task_context - SYNOPSIS void scu_sata_request_construct_task_context (struct isci_request *ireq , struct scu_task_context *task_context ); ARGUMENTS ireq The general IO request object which is to be used in constructing the SCU task context. task_context ...
scu_ssp_task_request_construct_task_context(9)
NAME scu_ssp_task_request_construct_task_context - This method will fill in the SCU Task Context for a SSP Task request. The following important settings are utilized: -# priority == SCU_TASK_PRIORITY_HIGH. This ensures that the task request is issued ahead of other task destined for the same Remote Node. -# task_typ...
scx_add_event(9)
NAME scx_add_event - Increase an event counter for 'name' by 'cnt' SYNOPSIS scx_add_event (sch , name , cnt ); ARGUMENTS sch scx_sched to account events for name an event name defined in struct scx_event_stats cnt the number of the event occurred DESCRIPTION This can be used wh...
scx_agg_event(9)
NAME scx_agg_event - Aggregate an event counter 'kind' from 'src_e' to 'dst_e' SYNOPSIS scx_agg_event (dst_e , src_e , kind ); ARGUMENTS dst_e destination event stats src_e source event stats kind a kind of event to be aggregated SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_n...
scx_bpf_cpu_curr(9)
NAME scx_bpf_cpu_curr - Return remote CPU's curr task SYNOPSIS __bpf_kfunc struct task_struct * scx_bpf_cpu_curr (s32 cpu ); ARGUMENTS cpu CPU of interest DESCRIPTION Callers must hold RCU read lock (KF_RCU). SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task...
scx_bpf_cpu_node(9)
NAME scx_bpf_cpu_node - Return the NUMA node the given @cpu belongs to, or trigger an error if @cpu is invalid SYNOPSIS __bpf_kfunc int scx_bpf_cpu_node (s32 cpu ); ARGUMENTS cpu target CPU SEE ALSO Kernel file ./kernel/sched/ext_idle.c scx_bpf_select_cpu_dfl(9), __scx_bpf_select_cpu_and(9), scx_bpf_get_id...
scx_bpf_cpu_rq(9)
NAME scx_bpf_cpu_rq - Fetch the rq of a CPU SYNOPSIS __bpf_kfunc struct rq * scx_bpf_cpu_rq (s32 cpu ); ARGUMENTS cpu CPU of the rq SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_task_iter_stop(9), scx_task_iter_next(9), scx_task_iter_...
scx_bpf_cpuperf_cap(9)
NAME scx_bpf_cpuperf_cap - Query the maximum relative capacity of a CPU SYNOPSIS __bpf_kfunc u32 scx_bpf_cpuperf_cap (s32 cpu ); ARGUMENTS cpu CPU of interest DESCRIPTION Return the maximum relative capacity of cpu in relation to the most performant CPU in the system. The return value is in the range [1, SCX...
scx_bpf_cpuperf_cur(9)
NAME scx_bpf_cpuperf_cur - Query the current relative performance of a CPU SYNOPSIS __bpf_kfunc u32 scx_bpf_cpuperf_cur (s32 cpu ); ARGUMENTS cpu CPU of interest DESCRIPTION Return the current relative performance of cpu in relation to its maximum. The return value is in the range [1, SCX_CPUPERF_ONE]. T...
scx_bpf_cpuperf_set(9)
NAME scx_bpf_cpuperf_set - Set the relative performance target of a CPU SYNOPSIS __bpf_kfunc void scx_bpf_cpuperf_set (s32 cpu , u32 perf ); ARGUMENTS cpu CPU of interest perf target performance level [0, SCX_CPUPERF_ONE] DESCRIPTION Set the target performance level of cpu to perf. perf is...
scx_bpf_create_dsq(9)
NAME scx_bpf_create_dsq - Create a custom DSQ SYNOPSIS __bpf_kfunc s32 scx_bpf_create_dsq (u64 dsq_id , s32 node ); ARGUMENTS dsq_id DSQ to create node NUMA node to allocate from DESCRIPTION Create a custom DSQ identified by dsq_id. Can be called from any sleepable scx callback, and any BPF_PROG_...
scx_bpf_destroy_dsq(9)
NAME scx_bpf_destroy_dsq - Destroy a custom DSQ SYNOPSIS __bpf_kfunc void scx_bpf_destroy_dsq (u64 dsq_id ); ARGUMENTS dsq_id DSQ to destroy DESCRIPTION Destroy the custom DSQ identified by dsq_id. Only DSQs created with scx_bpf_create_dsq can be destroyed. The caller must ensure that the DSQ is empty and no ...
scx_bpf_dispatch_cancel(9)
NAME scx_bpf_dispatch_cancel - Cancel the latest dispatch SYNOPSIS __bpf_kfunc void scx_bpf_dispatch_cancel (void ); ARGUMENTS void no arguments DESCRIPTION Cancel the latest dispatch. Can be called multiple times to cancel further dispatches. Can only be called from ops.dispatch. SEE ALSO Kernel file ./ke...
scx_bpf_dispatch_nr_slots(9)
NAME scx_bpf_dispatch_nr_slots - Return the number of remaining dispatch slots SYNOPSIS __bpf_kfunc u32 scx_bpf_dispatch_nr_slots (void ); ARGUMENTS void no arguments DESCRIPTION Can only be called from ops.dispatch. SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), s...
scx_bpf_dsq_insert_vtime(9)
NAME scx_bpf_dsq_insert_vtime - Insert a task into the vtime priority queue of a DSQ SYNOPSIS bool scx_bpf_dsq_insert_vtime (struct task_struct *p , u64 dsq_id , u64 slice , u64 vtime , u64 enq_flags ); ARGUMENTS p task_struct to insert dsq_id DSQ to insert into slice duration p c...
scx_bpf_dsq_move(9)
NAME scx_bpf_dsq_move - Move a task from DSQ iteration to a DSQ SYNOPSIS __bpf_kfunc bool scx_bpf_dsq_move (struct bpf_iter_scx_dsq *it__iter , struct task_struct *p , u64 dsq_id , u64 enq_flags ); ARGUMENTS it__iter DSQ iterator in progress p task to transfer dsq_id DSQ to move p to...
scx_bpf_dsq_move_set_slice(9)
NAME scx_bpf_dsq_move_set_slice - Override slice when moving between DSQs SYNOPSIS __bpf_kfunc void scx_bpf_dsq_move_set_slice (struct bpf_iter_scx_dsq *it__iter , u64 slice ); ARGUMENTS it__iter DSQ iterator in progress slice duration the moved task can run for in nsecs DESCRIPTION Override the sli...
scx_bpf_dsq_move_set_vtime(9)
NAME scx_bpf_dsq_move_set_vtime - Override vtime when moving between DSQs SYNOPSIS __bpf_kfunc void scx_bpf_dsq_move_set_vtime (struct bpf_iter_scx_dsq *it__iter , u64 vtime ); ARGUMENTS it__iter DSQ iterator in progress vtime task's ordering inside the vtime-sorted queue of the target DSQ DESCRIPTI...
scx_bpf_dsq_move_to_local(9)
NAME scx_bpf_dsq_move_to_local - move a task from a DSQ to the current CPU's local DSQ SYNOPSIS __bpf_kfunc bool scx_bpf_dsq_move_to_local (u64 dsq_id ); ARGUMENTS dsq_id DSQ to move task from DESCRIPTION Move a task from the non-local DSQ identified by dsq_id to the current CPU's local DSQ for execution. Ca...
scx_bpf_dsq_move_vtime(9)
NAME scx_bpf_dsq_move_vtime - Move a task from DSQ iteration to a PRIQ DSQ SYNOPSIS __bpf_kfunc bool scx_bpf_dsq_move_vtime (struct bpf_iter_scx_dsq *it__iter , struct task_struct *p , u64 dsq_id , u64 enq_flags ); ARGUMENTS it__iter DSQ iterator in progress p task to transfer dsq_id ...
scx_bpf_dsq_nr_queued(9)
NAME scx_bpf_dsq_nr_queued - Return the number of queued tasks SYNOPSIS __bpf_kfunc s32 scx_bpf_dsq_nr_queued (u64 dsq_id ); ARGUMENTS dsq_id id of the DSQ DESCRIPTION Return the number of tasks in the DSQ matching dsq_id. If not found, -ENOENT is returned. SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_ne...
scx_bpf_dsq_peek(9)
NAME scx_bpf_dsq_peek - Lockless peek at the first element. SYNOPSIS __bpf_kfunc struct task_struct * scx_bpf_dsq_peek (u64 dsq_id ); ARGUMENTS dsq_id DSQ to examine. DESCRIPTION Read the first element in the DSQ. This is semantically equivalent to using the DSQ iterator, but is lockfree. Of course, like any l...