id
stringlengths
4
63
text
stringlengths
153
8.81M
ipc_trace_init(9)
NAME ipc_trace_init - Create trace interface & debugfs entries SYNOPSIS struct iosm_trace * ipc_trace_init (struct iosm_imem *ipc_imem ); ARGUMENTS ipc_imem Pointer to iosm_imem structure RETURN Pointer to trace instance on success else NULL SEE ALSO Kernel file ./drivers/net/wwan/iosm/iosm_ipc_trace.c ipc_trace...
ipc_trace_port_rx(9)
NAME ipc_trace_port_rx - Receive trace packet from cp and write to relay buffer SYNOPSIS void ipc_trace_port_rx (struct iosm_imem *ipc_imem , struct sk_buff *skb ); ARGUMENTS ipc_imem Pointer to iosm_imem structure skb Pointer to struct sk_buff SEE ALSO Kernel file ./drivers/net/wwan/iosm/iosm_ipc...
ipc_tx_send(9)
NAME ipc_tx_send - IPC tx send function SYNOPSIS void ipc_tx_send (void *prm ); ARGUMENTS prm Pointer to client device instance DESCRIPTION Send message over IPC. Message will be split into fragments if message size is bigger than IPC FIFO size, and all fragments will be sent one by one. SEE ALSO Kernel fi...
ipc_uevent_send(9)
NAME ipc_uevent_send - Send modem event to user space. SYNOPSIS void ipc_uevent_send (struct device *dev , char *uevent ); ARGUMENTS dev Generic device pointer uevent Uevent information SEE ALSO Kernel file ./drivers/net/wwan/iosm/iosm_ipc_uevent.h struct ipc_uevent_info(9) April 2026 ...
ipc_update_perm(9)
NAME ipc_update_perm - update the permissions of an ipc object SYNOPSIS int ipc_update_perm (struct ipc64_perm *in , struct kern_ipc_perm *out ); ARGUMENTS in the permission given as input. out the permission of the ipc to set. SEE ALSO Kernel file ./ipc/util.c ipc_init(9), ipc_init_ids(9)...
ipc_wwan_deinit(9)
NAME ipc_wwan_deinit - Unregister and free WWAN device, clear pointer SYNOPSIS void ipc_wwan_deinit (struct iosm_wwan *ipc_wwan ); ARGUMENTS ipc_wwan Pointer to wwan instance data SEE ALSO Kernel file ./drivers/net/wwan/iosm/iosm_ipc_wwan.h ipc_wwan_init(9), ipc_wwan_receive(9), ipc_wwan_tx_flowctrl(9) April 202...
ipc_wwan_init(9)
NAME ipc_wwan_init - Allocate, Init and register WWAN device SYNOPSIS struct iosm_wwan * ipc_wwan_init (struct iosm_imem *ipc_imem , struct device *dev ); ARGUMENTS ipc_imem Pointer to imem data-struct dev Pointer to device structure RETURN Pointer to instance on success else NULL SEE ALSO Kernel...
ipc_wwan_receive(9)
NAME ipc_wwan_receive - Receive a downlink packet from CP. SYNOPSIS int ipc_wwan_receive (struct iosm_wwan *ipc_wwan , struct sk_buff *skb_arg , bool dss , int if_id ); ARGUMENTS ipc_wwan Pointer to wwan instance skb_arg Pointer to struct sk_buff dss Set to true if interafce id is from ...
ipc_wwan_tx_flowctrl(9)
NAME ipc_wwan_tx_flowctrl - Enable/Disable TX flow control SYNOPSIS void ipc_wwan_tx_flowctrl (struct iosm_wwan *ipc_wwan , int id , bool on ); ARGUMENTS ipc_wwan Pointer to wwan instance id Ipc mux channel session id on if true then flow ctrl would be enabled else disable SEE AL...
ipcctl_obtain_check(9)
NAME ipcctl_obtain_check - retrieve an ipc object and check permissions SYNOPSIS struct kern_ipc_perm * ipcctl_obtain_check (struct ipc_namespace *ns , struct ipc_ids *ids , int id , int cmd , struct ipc64_perm *perm , int extra_perm ); ARGUMENTS ns ipc namespace ids the table of ids where to...
ipcget(9)
NAME ipcget - Common sys_*get() code SYNOPSIS int ipcget (struct ipc_namespace *ns , struct ipc_ids *ids , const struct ipc_ops *ops , struct ipc_params *params ); ARGUMENTS ns namespace ids ipc identifier set ops operations to be called on ipc object creation, permission chec...
ipcget_new(9)
NAME ipcget_new - create a new ipc object SYNOPSIS int ipcget_new (struct ipc_namespace *ns , struct ipc_ids *ids , const struct ipc_ops *ops , struct ipc_params *params ); ARGUMENTS ns ipc namespace ids ipc identifier set ops the actual creation routine to call params...
ipcget_public(9)
NAME ipcget_public - get an ipc object or create a new one SYNOPSIS int ipcget_public (struct ipc_namespace *ns , struct ipc_ids *ids , const struct ipc_ops *ops , struct ipc_params *params ); ARGUMENTS ns ipc namespace ids ipc identifier set ops the actual creation routine to...
ipcmk(1)
NAME ipcmk - make various IPC resources SYNOPSIS ipcmk [options] DESCRIPTION ipcmk allows you to create POSIX and System V inter-process communication (IPC) objects: shared memory segments, message queues, and semaphore (arrays for System V). OPTIONS Resources can be specified with these options: -M, --shmem...
ipcperms(9)
NAME ipcperms - check ipc permissions SYNOPSIS int ipcperms (struct ipc_namespace *ns , struct kern_ipc_perm *ipcp , short flag ); ARGUMENTS ns ipc namespace ipcp ipc permission set flag desired permission set DESCRIPTION Check user, group, other permissions for access to ipc r...
ipcrm(1)
NAME ipcrm - remove certain IPC resources SYNOPSIS ipcrm [options] ipcrm [shm|msg|sem] ID ... DESCRIPTION ipcrm removes POSIX and System V inter-process communication (IPC) objects and associated data structures from the system. In order to delete such objects, you must be superuser, or the creator or owner o...
ipcrm(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME ipcrm — remove an XSI message queue, semaphore set, or sha...
ipcs(1)
NAME ipcs - show information on IPC facilities SYNOPSIS ipcs [options] DESCRIPTION ipcs shows information on System V inter-process communication facilities. By default it shows information about all three resources: shared memory segments, message queues, and semaphore arrays. OPTIONS -i, --id id Show full details ...
ipcs(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME ipcs — report XSI interprocess communication facilities st...
ipe_audit_enforce(9)
NAME ipe_audit_enforce - Audit a change in IPE's enforcement state. SYNOPSIS void ipe_audit_enforce (bool new_enforce , bool old_enforce ); ARGUMENTS new_enforce The new value enforce to be set. old_enforce The old value currently in enforce. SEE ALSO Kernel file ./security/ipe/audit.c audit_dmv_roothash(9),...
ipe_audit_match(9)
NAME ipe_audit_match - Audit a rule match in a policy evaluation. SYNOPSIS void ipe_audit_match (const struct ipe_eval_ctx *const ctx , enum ipe_match match_type , enum ipe_action_type act , const struct ipe_rule *const r ); ARGUMENTS ctx Supplies a pointer to the evaluation context that was used in the evalu...
ipe_audit_policy_activation(9)
NAME ipe_audit_policy_activation - Audit a policy being activated. SYNOPSIS void ipe_audit_policy_activation (const struct ipe_policy *const op , const struct ipe_policy *const np ); ARGUMENTS op Supplies a pointer to the previously activated policy to audit. np Supplies a pointer to the new...
ipe_audit_policy_load(9)
NAME ipe_audit_policy_load - Audit a policy loading event. SYNOPSIS void ipe_audit_policy_load (const struct ipe_policy *const p ); ARGUMENTS p Supplies a pointer to the policy to audit or an error pointer. SEE ALSO Kernel file ./security/ipe/audit.c audit_dmv_roothash(9), audit_fsv_digest(9), audit_rule(9...
ipe_bdev_free_security(9)
NAME ipe_bdev_free_security - Free IPE's LSM blob of block_devices. SYNOPSIS void ipe_bdev_free_security (struct block_device *bdev ); ARGUMENTS bdev Supplies a pointer to a block_device that contains the structure to free. SEE ALSO Kernel file ./security/ipe/hooks.c ipe_bprm_check_security(9), ipe_bprm_cre...
ipe_bdev_setintegrity(9)
NAME ipe_bdev_setintegrity - Save integrity data from a bdev to IPE's LSM blob. SYNOPSIS int ipe_bdev_setintegrity (struct block_device *bdev , enum lsm_integrity_type type , const void *value , size_t size ); ARGUMENTS bdev Supplies a pointer to a block_device that contains the LSM blob. type S...
ipe_bprm_check_security(9)
NAME ipe_bprm_check_security - ipe security hook function for bprm check. SYNOPSIS int ipe_bprm_check_security (struct linux_binprm *bprm ); ARGUMENTS bprm Supplies a pointer to a linux_binprm structure to source the file being evaluated. DESCRIPTION This LSM hook is called when a binary is loaded through the...
ipe_bprm_creds_for_exec(9)
NAME ipe_bprm_creds_for_exec - ipe security hook function for bprm creds check. SYNOPSIS int ipe_bprm_creds_for_exec (struct linux_binprm *bprm ); ARGUMENTS bprm Supplies a pointer to a linux_binprm structure to source the file being evaluated. DESCRIPTION This LSM hook is called when userspace signals the ...
ipe_build_eval_ctx(9)
NAME ipe_build_eval_ctx - Build an ipe evaluation context. SYNOPSIS void ipe_build_eval_ctx (struct ipe_eval_ctx *ctx , const struct file *file , enum ipe_op_type op , enum ipe_hook_type hook ); ARGUMENTS ctx Supplies a pointer to the context to be populated. file Supplies a pointer to the file...
ipe_del_policyfs_node(9)
NAME ipe_del_policyfs_node - Delete a securityfs entry for @p. SYNOPSIS void ipe_del_policyfs_node (struct ipe_policy *p ); ARGUMENTS p Supplies a pointer to the policy to delete a securityfs entry for. SEE ALSO Kernel file ./security/ipe/policy_fs.c struct ipefs_file(9), read_pkcs7(9), read_policy(9), rea...
ipe_digest_audit(9)
NAME ipe_digest_audit - audit a digest that was sourced from IPE's policy. SYNOPSIS void ipe_digest_audit (struct audit_buffer *ab , const struct digest_info *info ); ARGUMENTS ab Supplies the audit_buffer to append the formatted result. info Supplies a pointer to source the audit record from....
ipe_digest_eval(9)
NAME ipe_digest_eval - evaluate an IPE digest against another digest. SYNOPSIS bool ipe_digest_eval (const struct digest_info *expected , const struct digest_info *digest ); ARGUMENTS expected Supplies the policy-provided digest value. digest Supplies the digest to compare against the policy digest va...
ipe_digest_free(9)
NAME ipe_digest_free - free an IPE digest. SYNOPSIS void ipe_digest_free (struct digest_info *info ); ARGUMENTS info Supplies a pointer the policy-provided digest to free. SEE ALSO Kernel file ./security/ipe/digest.c ipe_digest_parse(9), ipe_digest_eval(9), ipe_digest_audit(9) April 2026 ...
ipe_digest_parse(9)
NAME ipe_digest_parse - parse a digest in IPE's policy. SYNOPSIS struct digest_info * ipe_digest_parse (const char *valstr ); ARGUMENTS valstr Supplies the string parsed from the policy. DESCRIPTION Digests in IPE are defined in a standard way: <alg_name>:<hex> Use this function to create a property to parse th...
ipe_evaluate_event(9)
NAME ipe_evaluate_event - Analyze @ctx against the current active policy. SYNOPSIS int ipe_evaluate_event (const struct ipe_eval_ctx *const ctx ); ARGUMENTS ctx Supplies a pointer to the context to be evaluated. DESCRIPTION This is the loop where all policy evaluations happen against the IPE policy. RETURN ...
ipe_file_mprotect(9)
NAME ipe_file_mprotect - ipe security hook function for mprotect check. SYNOPSIS int ipe_file_mprotect (struct vm_area_struct *vma , unsigned long reqprot , unsigned long prot ); ARGUMENTS vma Existing virtual memory area created by mmap or similar. reqprot The requested protection on the mmap, pa...
ipe_free_parsed_policy(9)
NAME ipe_free_parsed_policy - free a parsed policy structure. SYNOPSIS void ipe_free_parsed_policy (struct ipe_parsed_policy *p ); ARGUMENTS p Supplies the parsed policy. SEE ALSO Kernel file ./security/ipe/policy_parser.c new_parsed_policy(9), remove_comment(9), remove_trailing_spaces(9), parse_vers...
ipe_free_policy(9)
NAME ipe_free_policy - Deallocate a given IPE policy. SYNOPSIS void ipe_free_policy (struct ipe_policy *p ); ARGUMENTS p Supplies the policy to free. DESCRIPTION Safe to call on IS_ERR/NULL. SEE ALSO Kernel file ./security/ipe/policy.c ver_to_u64(9), ipe_update_policy(9), ipe_new_policy(9), ipe_set_active...
ipe_init(9)
NAME ipe_init - Entry point of IPE. SYNOPSIS int ipe_init (void ); ARGUMENTS void no arguments DESCRIPTION This is called at LSM init, which happens occurs early during kernel start up. During this phase, IPE registers its hooks and loads the builtin boot policy. RETURN * 0 - OK * -ENOMEM - Out of ...
ipe_init_securityfs(9)
NAME ipe_init_securityfs - Initialize IPE's securityfs tree at fsinit. SYNOPSIS int ipe_init_securityfs (void ); ARGUMENTS void no arguments RETURN 0 on success. If an error occurs, the function will return the -errno. SEE ALSO Kernel file ./security/ipe/fs.c setaudit(9), getaudit(9), setenforce(9), getenfor...
ipe_inode_setintegrity(9)
NAME ipe_inode_setintegrity - save integrity data from a inode to IPE's LSM blob. SYNOPSIS int ipe_inode_setintegrity (const struct inode *inode , enum lsm_integrity_type type , const void *value , size_t size ); ARGUMENTS inode The inode to source the security blob from. type Supplies the integr...
ipe_kernel_load_data(9)
NAME ipe_kernel_load_data - ipe security hook function for kernel load data. SYNOPSIS int ipe_kernel_load_data (enum kernel_load_data_id id , bool contents ); ARGUMENTS id Supplies the enumeration identifying the purpose of the load. contents Unused. DESCRIPTION This LSM hook is called when a dat...
ipe_kernel_read_file(9)
NAME ipe_kernel_read_file - ipe security hook function for kernel read. SYNOPSIS int ipe_kernel_read_file (struct file *file , enum kernel_read_file_id id , bool contents ); ARGUMENTS file Supplies a pointer to the file structure being read in from disk. id Supplies the enumeration identifying...
ipe_mmap_file(9)
NAME ipe_mmap_file - ipe security hook function for mmap check. SYNOPSIS int ipe_mmap_file (struct file *f , unsigned long reqprot , unsigned long prot , unsigned long flags ); ARGUMENTS f File being mmap'd. Can be NULL in the case of anonymous memory. reqprot The requested protection on the mma...
ipe_new_policy(9)
NAME ipe_new_policy - Allocate and parse an ipe_policy structure. SYNOPSIS struct ipe_policy * ipe_new_policy (const char *text , size_t textlen , const char *pkcs7 , size_t pkcs7len ); ARGUMENTS text Supplies a pointer to the plain-text policy to parse. textlen Supplies the length of text. ...
ipe_new_policyfs_node(9)
NAME ipe_new_policyfs_node - Create a securityfs entry for @p. SYNOPSIS int ipe_new_policyfs_node (struct ipe_policy *p ); ARGUMENTS p Supplies a pointer to the policy to create a securityfs entry for. RETURN 0 on success. If an error occurs, the function will return the -errno. SEE ALSO Kernel file ./sec...
ipe_parse_policy(9)
NAME ipe_parse_policy - Given a string, parse the string into an IPE policy. SYNOPSIS int ipe_parse_policy (struct ipe_policy *p ); ARGUMENTS p partially filled ipe_policy structure to populate with the result. it must have text and textlen set. RETURN * 0 - Success * -EBADMSG - Policy is invalid...
ipe_parser_unsigned_test(9)
NAME ipe_parser_unsigned_test - Test the parser by passing unsigned policies. SYNOPSIS void ipe_parser_unsigned_test (struct kunit *test ); ARGUMENTS test Supplies a pointer to a kunit structure. DESCRIPTION This is called by the kunit harness. This test does not check the correctness of the policy, but ensur...
ipe_parser_widestring_test(9)
NAME ipe_parser_widestring_test - Ensure parser fail on a wide string policy. SYNOPSIS void ipe_parser_widestring_test (struct kunit *test ); ARGUMENTS test Supplies a pointer to a kunit structure. DESCRIPTION This is called by the kunit harness. SEE ALSO Kernel file ./security/ipe/policy_tests.c ipe_parser_...
ipe_set_active_pol(9)
NAME ipe_set_active_pol - Make @p the active policy. SYNOPSIS int ipe_set_active_pol (const struct ipe_policy *p ); ARGUMENTS p Supplies a pointer to the policy to make active. CONTEXT Requires root->i_rwsem, which i_private has the policy, to be held. RETURN * 0 - Success * -EINVAL - New active policy ...
ipe_unpack_initramfs(9)
NAME ipe_unpack_initramfs - Mark the current rootfs as initramfs. SYNOPSIS void ipe_unpack_initramfs (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./security/ipe/hooks.c ipe_bprm_check_security(9), ipe_bprm_creds_for_exec(9), ipe_mmap_file(9), ipe_file_mprotect(9), ipe_kernel_read_file(9), ipe_ker...
ipe_update_policy(9)
NAME ipe_update_policy - parse a new policy and replace old with it. SYNOPSIS int ipe_update_policy (struct inode *root , const char *text , size_t textlen , const char *pkcs7 , size_t pkcs7len ); ARGUMENTS root Supplies a pointer to the securityfs inode saved the policy. text Supplies a pointer...
ipi_get_hwirq(9)
NAME ipi_get_hwirq - Get the hwirq associated with an IPI to a CPU SYNOPSIS irq_hw_number_t ipi_get_hwirq (unsigned int irq , unsigned int cpu ); ARGUMENTS irq Linux IRQ number cpu the target CPU DESCRIPTION When dealing with coprocessors IPI, we need to inform the coprocessor of the hwirq it...
ipi_mux_create(9)
NAME ipi_mux_create - Create virtual IPIs multiplexed on top of a single parent IPI. SYNOPSIS int ipi_mux_create (unsigned int nr_ipi , void (*mux_send)(unsigned int cpu) ); ARGUMENTS nr_ipi number of virtual IPIs to create. This should be <= BITS_PER_TYPE(int) mux_send callback to trigger parent IPI ...
ipi_mux_process(9)
NAME ipi_mux_process - Process multiplexed virtual IPIs SYNOPSIS void ipi_mux_process (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/irq/ipi-mux.c ipi_mux_create(9) April 2026 ipi_mux_process ...
ipi_send_mask(9)
NAME ipi_send_mask - Send an IPI to target CPU(s) SYNOPSIS int ipi_send_mask (unsigned int virq , const struct cpumask *dest ); ARGUMENTS virq Linux IRQ number from irq_reserve_ipi dest dest CPU(s), must be a subset of the mask passed to irq_reserve_ipi RETURN 0 on success or negative error num...
ipi_send_single(9)
NAME ipi_send_single - Send an IPI to a single CPU SYNOPSIS int ipi_send_single (unsigned int virq , unsigned int cpu ); ARGUMENTS virq Linux IRQ number from irq_reserve_ipi cpu destination CPU, must in the destination mask passed to irq_reserve_ipi RETURN 0 on success or negative error number...
ipoib_get_net_dev_match_addr(9)
NAME ipoib_get_net_dev_match_addr - Find a net_device matching the given address, which is an upper device of the given net_device. SYNOPSIS struct net_device * ipoib_get_net_dev_match_addr (const struct sockaddr *addr , struct net_device *dev ); ARGUMENTS addr IP address to look for. dev base ...
ipr_abort_timeout(9)
NAME ipr_abort_timeout - An abort task has timed out SYNOPSIS void ipr_abort_timeout (struct timer_list *t ); ARGUMENTS t Timer context used to fetch ipr command struct DESCRIPTION This function handles when an abort task times out. If this happens we issue a bus reset since we have resources tied up that ...
ipr_alloc_cmd_blks(9)
NAME ipr_alloc_cmd_blks - Allocate command blocks for an adapter SYNOPSIS int ipr_alloc_cmd_blks (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / -ENOMEM on allocation failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_...
ipr_alloc_dump(9)
NAME ipr_alloc_dump - Prepare for adapter dump SYNOPSIS int ipr_alloc_dump (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(...
ipr_alloc_mem(9)
NAME ipr_alloc_mem - Allocate memory for an adapter SYNOPSIS int ipr_alloc_mem (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / non-zero for error SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr...
ipr_alloc_ucode_buffer(9)
NAME ipr_alloc_ucode_buffer - Allocates a microcode download buffer SYNOPSIS struct ipr_sglist * ipr_alloc_ucode_buffer (int buf_len ); ARGUMENTS buf_len buffer length DESCRIPTION Allocates a DMA'able buffer in chunks and assembles a scatter/gather list to use for microcode download Return value: pointer to sgli...
ipr_biosparam(9)
NAME ipr_biosparam - Return the HSC mapping SYNOPSIS int ipr_biosparam (struct scsi_device *sdev , struct gendisk *unused , sector_t capacity , int *parm ); ARGUMENTS sdev scsi device struct unused gendisk pointer capacity capacity of the device parm Array containing retu...
ipr_build_ioadl(9)
NAME ipr_build_ioadl - Build a scatter/gather list and map the buffer SYNOPSIS int ipr_build_ioadl (struct ipr_ioa_cfg *ioa_cfg , struct ipr_cmnd *ipr_cmd ); ARGUMENTS ioa_cfg ioa config struct ipr_cmd ipr command struct DESCRIPTION Return value: 0 on success / -1 on failure SEE ALSO Kernel file ...
ipr_build_ioadl64(9)
NAME ipr_build_ioadl64 - Build a scatter/gather list and map the buffer SYNOPSIS int ipr_build_ioadl64 (struct ipr_ioa_cfg *ioa_cfg , struct ipr_cmnd *ipr_cmd ); ARGUMENTS ioa_cfg ioa config struct ipr_cmd ipr command struct DESCRIPTION Return value: 0 on success / -1 on failure SEE ALSO Kernel fi...
ipr_build_mode_select(9)
NAME ipr_build_mode_select - Build a mode select command SYNOPSIS void ipr_build_mode_select (struct ipr_cmnd *ipr_cmd , __be32 res_handle , u8 parm , dma_addr_t dma_addr , u8 xfer_len ); ARGUMENTS ipr_cmd ipr command struct res_handle resource handle to send command to parm Byte 2 of Mode...
ipr_build_mode_sense(9)
NAME ipr_build_mode_sense - Builds a mode sense command SYNOPSIS void ipr_build_mode_sense (struct ipr_cmnd *ipr_cmd , __be32 res_handle , u8 parm , dma_addr_t dma_addr , u8 xfer_len ); ARGUMENTS ipr_cmd ipr command struct res_handle resource entry struct parm Byte 2 of mode sense command ...
ipr_build_ucode_ioadl(9)
NAME ipr_build_ucode_ioadl - Build a microcode download IOADL SYNOPSIS void ipr_build_ucode_ioadl (struct ipr_cmnd *ipr_cmd , struct ipr_sglist *sglist ); ARGUMENTS ipr_cmd ipr command struct sglist scatter/gather list DESCRIPTION Builds a microcode download IOA data list (IOADL). SEE ALSO Kernel ...
ipr_build_ucode_ioadl64(9)
NAME ipr_build_ucode_ioadl64 - Build a microcode download IOADL SYNOPSIS void ipr_build_ucode_ioadl64 (struct ipr_cmnd *ipr_cmd , struct ipr_sglist *sglist ); ARGUMENTS ipr_cmd ipr command struct sglist scatter/gather list DESCRIPTION Builds a microcode download IOA data list (IOADL). SEE ALSO Kern...
ipr_bus_reset_done(9)
NAME ipr_bus_reset_done - Op done function for bus reset. SYNOPSIS void ipr_bus_reset_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function is the op done function for a bus reset Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr...
ipr_cancel_op(9)
NAME ipr_cancel_op - Cancel specified op SYNOPSIS int ipr_cancel_op (struct scsi_cmnd *scsi_cmd ); ARGUMENTS scsi_cmd scsi command struct DESCRIPTION This function cancels specified op. Return value: SUCCESS / FAILED SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_...
ipr_change_queue_depth(9)
NAME ipr_change_queue_depth - Change the device's queue depth SYNOPSIS int ipr_change_queue_depth (struct scsi_device *sdev , int qdepth ); ARGUMENTS sdev scsi device struct qdepth depth to set DESCRIPTION Return value: actual depth set SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hoo...
ipr_check_term_power(9)
NAME ipr_check_term_power - Check for term power errors SYNOPSIS void ipr_check_term_power (struct ipr_ioa_cfg *ioa_cfg , struct ipr_mode_pages *mode_pages ); ARGUMENTS ioa_cfg ioa config struct mode_pages IOAFP mode pages buffer DESCRIPTION Check the IOAFP's mode page 28 for term power errors Return va...
ipr_clear_res_target(9)
NAME ipr_clear_res_target - Clear the bit in the bit map representing the target for the resource. SYNOPSIS void ipr_clear_res_target (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_l...
ipr_cmnd_is_free(9)
NAME ipr_cmnd_is_free - Check if a command is free or not SYNOPSIS bool ipr_cmnd_is_free (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct RETURN true / false SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9)...
ipr_copy_ucode_buffer(9)
NAME ipr_copy_ucode_buffer - Copy user buffer to kernel buffer SYNOPSIS int ipr_copy_ucode_buffer (struct ipr_sglist *sglist , u8 *buffer , u32 len ); ARGUMENTS sglist scatter/gather list pointer buffer buffer pointer len buffer length DESCRIPTION Copy a microcode image from a user ...
ipr_device_reset(9)
NAME ipr_device_reset - Reset the device SYNOPSIS int ipr_device_reset (struct ipr_ioa_cfg *ioa_cfg , struct ipr_resource_entry *res ); ARGUMENTS ioa_cfg ioa config struct res resource entry struct DESCRIPTION This function issues a device reset to the affected device. If the device is a SCSI d...
ipr_do_req(9)
NAME ipr_do_req - Send driver initiated requests. SYNOPSIS void ipr_do_req (struct ipr_cmnd *ipr_cmd , void (*done) (struct ipr_cmnd *) , void (*timeout_func) (struct timer_list *) , u32 timeout ); ARGUMENTS ipr_cmd ipr command struct done done function timeout_func timeo...
ipr_dump_ioa_type_data(9)
NAME ipr_dump_ioa_type_data - Fill in the adapter type in the dump. SYNOPSIS void ipr_dump_ioa_type_data (struct ipr_ioa_cfg *ioa_cfg , struct ipr_driver_dump *driver_dump ); ARGUMENTS ioa_cfg ioa config struct driver_dump driver dump struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./d...
ipr_dump_ioasa(9)
NAME ipr_dump_ioasa - Dump contents of IOASA SYNOPSIS void ipr_dump_ioasa (struct ipr_ioa_cfg *ioa_cfg , struct ipr_cmnd *ipr_cmd , struct ipr_resource_entry *res ); ARGUMENTS ioa_cfg ioa config struct ipr_cmd ipr command struct res resource entry struct DESCRIPTION This function is i...
ipr_dump_location_data(9)
NAME ipr_dump_location_data - Fill in the IOA location in the dump. SYNOPSIS void ipr_dump_location_data (struct ipr_ioa_cfg *ioa_cfg , struct ipr_driver_dump *driver_dump ); ARGUMENTS ioa_cfg ioa config struct driver_dump driver dump struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./d...
ipr_dump_trace_data(9)
NAME ipr_dump_trace_data - Fill in the IOA trace in the dump. SYNOPSIS void ipr_dump_trace_data (struct ipr_ioa_cfg *ioa_cfg , struct ipr_driver_dump *driver_dump ); ARGUMENTS ioa_cfg ioa config struct driver_dump driver dump struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/sc...
ipr_dump_version_data(9)
NAME ipr_dump_version_data - Fill in the driver version in the dump. SYNOPSIS void ipr_dump_version_data (struct ipr_ioa_cfg *ioa_cfg , struct ipr_driver_dump *driver_dump ); ARGUMENTS ioa_cfg ioa config struct driver_dump driver dump struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./d...
ipr_eh_abort(9)
NAME ipr_eh_abort - Reset the host adapter SYNOPSIS int ipr_eh_abort (struct scsi_cmnd *scsi_cmd ); ARGUMENTS scsi_cmd scsi command struct DESCRIPTION Return value: SUCCESS / FAILED SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_c...
ipr_erp_cancel_all(9)
NAME ipr_erp_cancel_all - Send cancel all to a device SYNOPSIS void ipr_erp_cancel_all (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a cancel all to a device to clear the queue. If we are running TCQ on the device, QERR is set to 1, which means all outstandin...
ipr_erp_done(9)
NAME ipr_erp_done - Process completion of ERP for a device SYNOPSIS void ipr_erp_done (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function copies the sense buffer into the scsi_cmd struct and pushes the scsi_done function. Return value: nothing SEE ALSO Kernel file ./...
ipr_erp_request_sense(9)
NAME ipr_erp_request_sense - Send request sense to a device SYNOPSIS void ipr_erp_request_sense (struct ipr_cmnd *ipr_cmd ); ARGUMENTS ipr_cmd ipr command struct DESCRIPTION This function sends a request sense to a device as a result of a check condition. Return value: nothing SEE ALSO Kernel file ./drivers/...
ipr_erp_start(9)
NAME ipr_erp_start - Process an error response for a SCSI op SYNOPSIS void ipr_erp_start (struct ipr_ioa_cfg *ioa_cfg , struct ipr_cmnd *ipr_cmd ); ARGUMENTS ioa_cfg ioa config struct ipr_cmd ipr command struct DESCRIPTION This function determines whether or not to initiate ERP on the affected device...
ipr_exit(9)
NAME ipr_exit - Module unload SYNOPSIS void ipr_exit (void ); ARGUMENTS void no arguments DESCRIPTION Module unload entry point. Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ipr_cmnd(9), __ipr_get_free_ipr_...
ipr_fail_all_ops(9)
NAME ipr_fail_all_ops - Fails all outstanding ops. SYNOPSIS void ipr_fail_all_ops (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION This function fails all outstanding ops. Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ...
ipr_find_sdev(9)
NAME ipr_find_sdev - Find device based on bus/target/lun. SYNOPSIS struct ipr_resource_entry * ipr_find_sdev (struct scsi_device *sdev ); ARGUMENTS sdev scsi device struct DESCRIPTION Return value: resource entry pointer if found / NULL if not found SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hoo...
ipr_find_ses_entry(9)
NAME ipr_find_ses_entry - Find matching SES in SES table SYNOPSIS const struct ipr_ses_table_entry * ipr_find_ses_entry (struct ipr_resource_entry *res ); ARGUMENTS res resource entry struct of SES DESCRIPTION Return value: pointer to SES table entry / NULL on failure SEE ALSO Kernel file ./drivers/scsi...
ipr_find_starget(9)
NAME ipr_find_starget - Find target based on bus/target. SYNOPSIS struct ipr_resource_entry * ipr_find_starget (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: resource entry pointer if found / NULL if not found SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_h...
ipr_format_res_path(9)
NAME ipr_format_res_path - Format the resource path for printing. SYNOPSIS char * ipr_format_res_path (struct ipr_ioa_cfg *ioa_cfg , u8 *res_path , char *buffer , int len ); ARGUMENTS ioa_cfg ioa config struct res_path resource path buffer buffer len length of buffer provid...
ipr_free_all_resources(9)
NAME ipr_free_all_resources - Free all allocated resources for an adapter. SYNOPSIS void ipr_free_all_resources (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION This function frees all allocated resources for the specified adapter. Return value: none SEE ALSO Kernel file ./dr...
ipr_free_cmd_blks(9)
NAME ipr_free_cmd_blks - Frees command blocks allocated for an adapter SYNOPSIS void ipr_free_cmd_blks (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd...
ipr_free_dump(9)
NAME ipr_free_dump - Free adapter dump memory SYNOPSIS int ipr_free_dump (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa config struct DESCRIPTION Return value: 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9)...
ipr_free_irqs(9)
NAME ipr_free_irqs - Free all allocated IRQs for the adapter. SYNOPSIS void ipr_free_irqs (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ipr cfg struct DESCRIPTION This function frees all allocated IRQs for the specified adapter. Return value: none SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hoo...
ipr_free_mem(9)
NAME ipr_free_mem - Frees memory allocated for an adapter SYNOPSIS void ipr_free_mem (struct ipr_ioa_cfg *ioa_cfg ); ARGUMENTS ioa_cfg ioa cfg struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ipr.c ipr_trc_hook(9), ipr_lock_and_done(9), ipr_reinit_ipr_cmnd(9), ipr_init_ip...
ipr_free_ucode_buffer(9)
NAME ipr_free_ucode_buffer - Frees a microcode download buffer SYNOPSIS void ipr_free_ucode_buffer (struct ipr_sglist *sglist ); ARGUMENTS sglist scatter/gather list pointer DESCRIPTION Free a DMA'able ucode download buffer previously allocated with ipr_alloc_ucode_buffer Return value: nothing SEE ALSO Kernel ...