id
stringlengths
4
63
text
stringlengths
153
8.81M
genwqe_crc32(9)
NAME genwqe_crc32 - Generate 32-bit crc as required for DDCBs SYNOPSIS u32 genwqe_crc32 (u8 *buff , size_t len , u32 init ); ARGUMENTS buff pointer to data buffer len length of data for calculation init initial crc (0xffffffff at start) DESCRIPTION polynomial = x^32 * + x^29 + x...
genwqe_ddcbs_in_flight(9)
NAME genwqe_ddcbs_in_flight - Check how many DDCBs are in flight SYNOPSIS int genwqe_ddcbs_in_flight (struct genwqe_dev *cd ); ARGUMENTS cd pointer to genwqe device descriptor DESCRIPTION Keep track on the number of DDCBs which ware currently in the queue. This is needed for statistics as well as condition ...
genwqe_dev_alloc(9)
NAME genwqe_dev_alloc - Create and prepare a new card descriptor SYNOPSIS struct genwqe_dev * genwqe_dev_alloc (void ); ARGUMENTS void no arguments RETURN Pointer to card descriptor, or ERR_PTR(err) on error SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_bus_reset(9), genwqe...
genwqe_device_create(9)
NAME genwqe_device_create - Create and configure genwqe char device SYNOPSIS int genwqe_device_create (struct genwqe_dev *cd ); ARGUMENTS cd genwqe device descriptor DESCRIPTION This function must be called before we create any more genwqe character devices, because it is allocating the major and minor numb...
genwqe_device_remove(9)
NAME genwqe_device_remove - Remove genwqe's char device SYNOPSIS int genwqe_device_remove (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION This function must be called after the client devices are removed because it will free the major/minor number range for the genwqe drivers. ...
genwqe_devnode(9)
NAME genwqe_devnode - Set default access mode for genwqe devices. SYNOPSIS char * genwqe_devnode (const struct device *dev , umode_t *mode ); ARGUMENTS dev Pointer to device (unused) mode Carrier to pass-back given mode (permissions) DESCRIPTION Default mode should be rw for everybody. Do not ...
genwqe_err_error_detected(9)
NAME genwqe_err_error_detected - Error detection callback SYNOPSIS pci_ers_result_t genwqe_err_error_detected (struct pci_dev *pci_dev , pci_channel_state_t state ); ARGUMENTS pci_dev PCI device information struct state PCI channel state DESCRIPTION This callback is called by the PCI subsystem when...
genwqe_execute_ddcb(9)
NAME genwqe_execute_ddcb - Execute DDCB using userspace address fixups SYNOPSIS int genwqe_execute_ddcb (struct genwqe_file *cfile , struct genwqe_ddcb_cmd *cmd ); ARGUMENTS cfile Descriptor of opened file cmd Command identifier (passed from user) DESCRIPTION The code will build up the translat...
genwqe_exit_module(9)
NAME genwqe_exit_module - Driver exit SYNOPSIS void genwqe_exit_module (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_dev_alloc(9), genwqe_bus_reset(9), genwqe_recovery_on_fatal_gfir_required(9), genwqe_T_psec(9), genwqe_setup_pf_j...
genwqe_fasync(9)
NAME genwqe_fasync - Setup process to receive SIGIO. SYNOPSIS int genwqe_fasync (int fd , struct file *filp , int mode ); ARGUMENTS fd file descriptor filp file handle mode file mode DESCRIPTION Sending a signal is working as following: if (cdev->async_queue) kill_fasync(cde...
genwqe_ffdc_buff_read(9)
NAME genwqe_ffdc_buff_read - Implements LogoutExtendedErrorRegisters procedure SYNOPSIS int genwqe_ffdc_buff_read (struct genwqe_dev *cd , int uid , struct genwqe_reg *regs , unsigned int max_regs ); ARGUMENTS cd genwqe device descriptor uid unit ID regs register information ...
genwqe_ffdc_buff_size(9)
NAME genwqe_ffdc_buff_size - Calculates the number of dump registers SYNOPSIS int genwqe_ffdc_buff_size (struct genwqe_dev *cd , int uid ); ARGUMENTS cd genwqe device descriptor uid unit ID SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_writeq(9), __genwqe_readq(9), __...
genwqe_finish_queue(9)
NAME genwqe_finish_queue - Remove any genwqe devices and user-interfaces SYNOPSIS int genwqe_finish_queue (struct genwqe_dev *cd ); ARGUMENTS cd pointer to genwqe device descriptor DESCRIPTION Relies on the pre-condition that there are no users of the card device anymore e.g. with open file-descriptors. Th...
genwqe_fir_checking(9)
NAME genwqe_fir_checking - Check the fault isolation registers of the card SYNOPSIS u64 genwqe_fir_checking (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION If this code works ok, can be tried out with help of the genwqe_poke tool: sudo ./tools/genwqe_poke 0x8 0xfefefefefef No...
genwqe_free_sync_sgl(9)
NAME genwqe_free_sync_sgl - Free memory for sgl and overlapping pages SYNOPSIS int genwqe_free_sync_sgl (struct genwqe_dev *cd , struct genwqe_sgl *sgl ); ARGUMENTS cd genwqe device descriptor sgl scatter gather list describing user-space memory DESCRIPTION After the DMA transfer has been co...
genwqe_get_slu_id(9)
NAME genwqe_get_slu_id - Read Service Layer Unit Id SYNOPSIS int genwqe_get_slu_id (struct genwqe_dev *cd ); ARGUMENTS cd -- undescribed -- RETURN 0x00: Development code 0x01: SLC1 (old) 0x02: SLC2 (sept2012) 0x03: SLC2 (feb2013, generic driver) SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.h str...
genwqe_health_thread(9)
NAME genwqe_health_thread - Health checking thread SYNOPSIS int genwqe_health_thread (void *data ); ARGUMENTS data GenWQE device information DESCRIPTION This thread is only started for the PF of the card. This thread monitors the health of the card. A critical situation is when we read registers which con...
genwqe_init_crc32(9)
NAME genwqe_init_crc32 - Prepare a lookup table for fast crc32 calculations SYNOPSIS void genwqe_init_crc32 (void ); ARGUMENTS void no arguments DESCRIPTION Existing kernel functions seem to use a different polynom, therefore we could not use them here. Genwqe's Polynomial = 0x20044009 SEE ALSO Kernel file...
genwqe_init_module(9)
NAME genwqe_init_module - Driver registration and initialization SYNOPSIS int genwqe_init_module (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_dev_alloc(9), genwqe_bus_reset(9), genwqe_recovery_on_fatal_gfir_required(9), genwqe_T_psec(9),...
genwqe_ioctl(9)
NAME genwqe_ioctl - IO control SYNOPSIS long genwqe_ioctl (struct file *filp , unsigned int cmd , unsigned long arg ); ARGUMENTS filp file handle cmd command identifier (passed from user) arg argument (passed from user) RETURN 0 success SEE ALSO Kernel file ./drivers/misc/gen...
genwqe_is_privileged(9)
NAME genwqe_is_privileged - Determine operation mode for PCI function SYNOPSIS int genwqe_is_privileged (struct genwqe_dev *cd ); ARGUMENTS cd -- undescribed -- DESCRIPTION On Intel with SRIOV support we see: PF: is_physfn = 1 is_virtfn = 0 VF: is_physfn = 0 is_virtfn = 1 On Systems with no SRIOV support ...
genwqe_kill_fasync(9)
NAME genwqe_kill_fasync - Send signal to all processes with open GenWQE files SYNOPSIS int genwqe_kill_fasync (struct genwqe_dev *cd , int sig ); ARGUMENTS cd GenWQE device information sig Signal to send out DESCRIPTION E.g. genwqe_send_signal(cd, SIGIO); SEE ALSO Kernel file ./drivers/...
genwqe_mmap(9)
NAME genwqe_mmap - Provide contignous buffers to userspace SYNOPSIS int genwqe_mmap (struct file *filp , struct vm_area_struct *vma ); ARGUMENTS filp File pointer (unused) vma VMA area to map DESCRIPTION We use mmap to allocate contignous buffers used for DMA transfers. After the buffer is al...
genwqe_next_ddcb_ready(9)
NAME genwqe_next_ddcb_ready - Figure out if the next DDCB is already finished SYNOPSIS int genwqe_next_ddcb_ready (struct genwqe_dev *cd ); ARGUMENTS cd pointer to genwqe device descriptor DESCRIPTION We use this as condition for our wait-queue code. SEE ALSO Kernel file ./drivers/misc/genwqe/card_ddcb.c...
genwqe_open(9)
NAME genwqe_open - file open SYNOPSIS int genwqe_open (struct inode *inode , struct file *filp ); ARGUMENTS inode file system information filp file handle DESCRIPTION This function is executed whenever an application calls open("/dev/genwqe",..). RETURN 0 if successful or <0 if errors SEE ALSO...
genwqe_pci_fundamental_reset(9)
NAME genwqe_pci_fundamental_reset - trigger a PCIe fundamental reset on the slot SYNOPSIS int genwqe_pci_fundamental_reset (struct pci_dev *pci_dev ); ARGUMENTS pci_dev PCI device information struct NOTE pci_set_pcie_reset_state is not implemented on all archs, so this reset method will not work in all cases. R...
genwqe_pci_remove(9)
NAME genwqe_pci_remove - Free PCIe related resources for our card SYNOPSIS void genwqe_pci_remove (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_dev_alloc(9), genwqe_bus_reset(9), genwqe_recovery_on_fatal_gfir...
genwqe_pci_setup(9)
NAME genwqe_pci_setup - Allocate PCIe related resources for our card SYNOPSIS int genwqe_pci_setup (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_dev_alloc(9), genwqe_bus_reset(9), genwqe_recovery_on_fatal_gfi...
genwqe_probe(9)
NAME genwqe_probe - Device initialization SYNOPSIS int genwqe_probe (struct pci_dev *pci_dev , const struct pci_device_id *id ); ARGUMENTS pci_dev PCI device information struct id PCI device ID DESCRIPTION Callable for multiple cards. This function is called on bind. RETURN 0 if succeeded, < 0 ...
genwqe_read_app_id(9)
NAME genwqe_read_app_id - Extract app_id SYNOPSIS int genwqe_read_app_id (struct genwqe_dev *cd , char *app_name , int len ); ARGUMENTS cd genwqe device descriptor app_name carrier used to pass-back name len length of data for name DESCRIPTION app_unitcfg need to be filled with va...
genwqe_read_vreg(9)
NAME genwqe_read_vreg - Read register in virtual window SYNOPSIS u64 genwqe_read_vreg (struct genwqe_dev *cd , u32 reg , int func ); ARGUMENTS cd genwqe device descriptor reg register (byte) offset within BAR func PCI virtual function DESCRIPTION Note, these registers are only...
genwqe_recover_card(9)
NAME genwqe_recover_card - Try to recover the card if it is possible SYNOPSIS int genwqe_recover_card (struct genwqe_dev *cd , int fatal_err ); ARGUMENTS cd GenWQE device information fatal_err Indicate whether to attempt soft reset DESCRIPTION If fatal_err is set no register access is possible ...
genwqe_recovery_on_fatal_gfir_required(9)
NAME genwqe_recovery_on_fatal_gfir_required - Version depended actions SYNOPSIS int genwqe_recovery_on_fatal_gfir_required (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION Bitstreams older than 2013-02-17 have a bug where fatal GFIRs must be ignored. This is e.g. true for the bit...
genwqe_release(9)
NAME genwqe_release - file close SYNOPSIS int genwqe_release (struct inode *inode , struct file *filp ); ARGUMENTS inode file system information filp file handle DESCRIPTION This function is executed whenever an application calls 'close(fd_genwqe)' RETURN always 0 SEE ALSO Kernel file ./dr...
genwqe_release_service_layer(9)
NAME genwqe_release_service_layer - Shutdown DDCB queue SYNOPSIS int genwqe_release_service_layer (struct genwqe_dev *cd ); ARGUMENTS cd genwqe device descriptor DESCRIPTION This function must be robust enough to be called twice. SEE ALSO Kernel file ./drivers/misc/genwqe/card_ddcb.c genwqe_crc16(9), d...
genwqe_reload_bistream(9)
NAME genwqe_reload_bistream - reload card bitstream SYNOPSIS int genwqe_reload_bistream (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION Set the appropriate register and call fundamental reset to reaload the card bitstream. RETURN 0 on success, error code otherwise SEE ALSO Ker...
genwqe_remove(9)
NAME genwqe_remove - Called when device is removed (hot-plugable) SYNOPSIS void genwqe_remove (struct pci_dev *pci_dev ); ARGUMENTS pci_dev PCI device information struct DESCRIPTION Or when driver is unloaded respecitively when unbind is done. SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnod...
genwqe_reset_interrupt_capability(9)
NAME genwqe_reset_interrupt_capability - Undo genwqe_set_interrupt_capability() SYNOPSIS void genwqe_reset_interrupt_capability (struct genwqe_dev *cd ); ARGUMENTS cd pointer to the device SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_writeq(9), __genwqe_readq(9), __genwqe_writel(9),...
genwqe_search_pin(9)
NAME genwqe_search_pin - Search for the mapping for a userspace address SYNOPSIS struct dma_mapping * genwqe_search_pin (struct genwqe_file *cfile , unsigned long u_addr , unsigned int size , void **virt_addr ); ARGUMENTS cfile Descriptor of opened file u_addr User virtual address size ...
genwqe_set_interrupt_capability(9)
NAME genwqe_set_interrupt_capability - Configure MSI capability structure SYNOPSIS int genwqe_set_interrupt_capability (struct genwqe_dev *cd , int count ); ARGUMENTS cd pointer to the device count number of vectors to allocate RETURN 0 if no error SEE ALSO Kernel file ./drivers/misc/genwqe...
genwqe_setup_pf_jtimer(9)
NAME genwqe_setup_pf_jtimer - Setup PF hardware timeouts for DDCB execution SYNOPSIS bool genwqe_setup_pf_jtimer (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION Do this _after_ card_reset is called. Otherwise the values will vanish. The settings need to be done when the queues ...
genwqe_setup_service_layer(9)
NAME genwqe_setup_service_layer - Setup DDCB queue SYNOPSIS int genwqe_setup_service_layer (struct genwqe_dev *cd ); ARGUMENTS cd pointer to genwqe device descriptor DESCRIPTION Allocate DDCBs. Configure Service Layer Controller (SLC). RETURN 0 success SEE ALSO Kernel file ./drivers/misc/genwqe/card_ddc...
genwqe_setup_vf_jtimer(9)
NAME genwqe_setup_vf_jtimer - Setup VF hardware timeouts for DDCB execution SYNOPSIS bool genwqe_setup_vf_jtimer (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information SEE ALSO Kernel file ./drivers/misc/genwqe/card_base.c genwqe_devnode(9), genwqe_dev_alloc(9), genwqe_bus_reset(9), genwqe_recover...
genwqe_start_traps(9)
NAME genwqe_start_traps - Start traps SYNOPSIS void genwqe_start_traps (struct genwqe_dev *cd ); ARGUMENTS cd genwqe device descriptor DESCRIPTION After having read the data, we can/must enable the traps again. SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_writeq(9), __genwqe_readq(9...
genwqe_stop(9)
NAME genwqe_stop - Stop card operation SYNOPSIS int genwqe_stop (struct genwqe_dev *cd ); ARGUMENTS cd GenWQE device information DESCRIPTION Recovery notes: As long as genwqe_thread runs we might access registers during error data capture. Same is with the genwqe_health_thread. When genwqe_bus_reset fa...
genwqe_stop_traps(9)
NAME genwqe_stop_traps - Stop traps SYNOPSIS void genwqe_stop_traps (struct genwqe_dev *cd ); ARGUMENTS cd genwqe device descriptor DESCRIPTION Before reading out the analysis data, we need to stop the traps. SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_writeq(9), __genwqe_readq(9),...
genwqe_user_vmap(9)
NAME genwqe_user_vmap - Map user-space memory to virtual kernel memory SYNOPSIS int genwqe_user_vmap (struct genwqe_dev *cd , struct dma_mapping *m , void *uaddr , unsigned long size ); ARGUMENTS cd pointer to genwqe device m mapping params uaddr user virtual address s...
genwqe_user_vunmap(9)
NAME genwqe_user_vunmap - Undo mapping of user-space mem to virtual kernel memory SYNOPSIS int genwqe_user_vunmap (struct genwqe_dev *cd , struct dma_mapping *m ); ARGUMENTS cd pointer to genwqe device m mapping params SEE ALSO Kernel file ./drivers/misc/genwqe/card_utils.c __genwqe_wri...
genwqe_vma_close(9)
NAME genwqe_vma_close - Called each time when vma is unmapped SYNOPSIS void genwqe_vma_close (struct vm_area_struct *vma ); ARGUMENTS vma VMA area to close DESCRIPTION Free memory which got allocated by GenWQE mmap. SEE ALSO Kernel file ./drivers/misc/genwqe/card_dev.c genwqe_search_pin(9), __genwqe...
genwqe_write_vreg(9)
NAME genwqe_write_vreg - Write register in virtual window SYNOPSIS int genwqe_write_vreg (struct genwqe_dev *cd , u32 reg , u64 val , int func ); ARGUMENTS cd genwqe device descriptor reg register (byte) offset within BAR val value to write func PCI virtual func...
geoclue(5)
GEOCLUE CONFIGURATION(5) File Formats Manual GEOCLUE CONFIGURATION(5) NAME geoclue.conf - geoclue configuration parameters SYNOPSIS Main configuration file: /e...
get(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 get — get a version of an SCCS file (DEVELOPMENT) SYNOPSI...
get-oui(1)
NAME get-oui - Fetch the arp-scan OUI file from the IEEE website SYNOPSIS get-oui [options] DESCRIPTION get-oui fetches the MAC/Vendor registry data from the IEEE website and converts it to the format used by arp-scan. The contents of the following registries are downloaded and processed: MA-L 24-bit The ...
get_32bit_val(9)
NAME get_32bit_val - read 32 bit value from wqe SYNOPSIS void get_32bit_val (__le32 *wqe_words , u32 byte_index , u32 *val ); ARGUMENTS wqe_words wqe addr byte_index index to reaad from val return 32 bit value SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/defs.h set_64bit_val(9), set_...
get_64bit_val(9)
NAME get_64bit_val - read 64 bit value from wqe SYNOPSIS void get_64bit_val (__le64 *wqe_words , u32 byte_index , u64 *val ); ARGUMENTS wqe_words wqe addr byte_index index to read from val read value SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/defs.h set_64bit_val(9), set_32bit_val(...
get_SMBIOS_entry(9)
NAME get_SMBIOS_entry - return the requested SMBIOS entry or %NULL SYNOPSIS void __iomem * get_SMBIOS_entry (void __iomem *smbios_start , void __iomem *smbios_table , u8 type , void __iomem *previous ); ARGUMENTS smbios_start where to start in the SMBIOS table smbios_table location of the S...
get_adapter_list_head(9)
NAME get_adapter_list_head - returns head of adapter list SYNOPSIS struct bnx2i_hba * get_adapter_list_head (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_init.c bnx2i_identify_device(9), bnx2i_find_hba_for_cnic(9), bnx2i_start(9), bnx2i_chip_cleanup(9), bnx2i_sto...
get_adapter_speed(9)
NAME get_adapter_speed - find the max supported frequency/mode of adapter. SYNOPSIS u8 get_adapter_speed (struct controller *ctrl , u8 hp_slot ); ARGUMENTS ctrl hotplug controller. hp_slot hotplug slot where adapter is installed. DESCRIPTION Returns adapter speed. SEE ALSO Kernel file ./drivers/p...
get_adapter_status(9)
NAME get_adapter_status - get adapter status of a slot SYNOPSIS int get_adapter_status (struct hotplug_slot *hotplug_slot , u8 *value ); ARGUMENTS hotplug_slot slot to get status value pointer to store status DESCRIPTION ACPI doesn't provide any formal means to access adapter status. Instead, we fake ...
get_addr_ref_16(9)
NAME get_addr_ref_16 - Obtain the 16-bit address referred by instruction SYNOPSIS void __user * get_addr_ref_16 (struct insn *insn , struct pt_regs *regs ); ARGUMENTS insn Instruction containing ModRM byte and displacement regs Register values as seen when entering kernel mode DESCRIPTION This ...
get_addr_ref_32(9)
NAME get_addr_ref_32 - Obtain a 32-bit linear address SYNOPSIS void __user * get_addr_ref_32 (struct insn *insn , struct pt_regs *regs ); ARGUMENTS insn Instruction with ModRM, SIB bytes and displacement regs Register values as seen when entering kernel mode DESCRIPTION This function is to ...
get_addr_ref_64(9)
NAME get_addr_ref_64 - Obtain a 64-bit linear address SYNOPSIS void __user * get_addr_ref_64 (struct insn *insn , struct pt_regs *regs ); ARGUMENTS insn Instruction struct with ModRM and SIB bytes and displacement regs Structure with register values as seen when entering kernel mode DESCRIPTION...
get_addr_size_cells(9)
NAME get_addr_size_cells - Get address and size of root node SYNOPSIS int get_addr_size_cells (int *addr_cells , int *size_cells ); ARGUMENTS addr_cells Return address of the root node size_cells Return size of the root node RETURN 0 on success, or negative errno on error. SEE ALSO Kernel file ./drivers/o...
get_affin_hwfn_idx(9)
NAME get_affin_hwfn_idx - Get affine HW function. SYNOPSIS u8 get_affin_hwfn_idx (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN u8. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_clock(9), selftest_nvram(9), can...
get_allowed_ops(9)
NAME get_allowed_ops - Given a QP type return the appropriate allowed OP SYNOPSIS u8 get_allowed_ops (enum ib_qp_type type ); ARGUMENTS type valid, supported, QP type SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/qp.c init_qpn_table(9), free_qpn_table(9), rvt_driver_qp_init(9), rvt_free_qp_...
get_and_clear_full_ptes(9)
NAME get_and_clear_full_ptes - Clear present PTEs that map consecutive pages of the same folio, collecting dirty/accessed bits. SYNOPSIS pte_t get_and_clear_full_ptes (struct mm_struct *mm , unsigned long addr , pte_t *ptep , unsigned int nr , int full ); ARGUMENTS mm Address space the pages are mapped into....
get_and_clear_ptes(9)
NAME get_and_clear_ptes - Clear present PTEs that map consecutive pages of the same folio, collecting dirty/accessed bits. SYNOPSIS pte_t get_and_clear_ptes (struct mm_struct *mm , unsigned long addr , pte_t *ptep , unsigned int nr ); ARGUMENTS mm Address space the pages are mapped into. addr ...
get_anon_bdev(9)
NAME get_anon_bdev - Allocate a block device for filesystems which don't have one. SYNOPSIS int get_anon_bdev (dev_t *p ); ARGUMENTS p Pointer to a dev_t. DESCRIPTION Filesystems which don't use real block devices can call this function to allocate a virtual block device. CONTEXT Any context. Frequently ...
get_attention_status(9)
NAME get_attention_status - get attention LED status SYNOPSIS int get_attention_status (struct hotplug_slot *hotplug_slot , u8 *value ); ARGUMENTS hotplug_slot slot to get status value pointer to store status SEE ALSO Kernel file ./drivers/pci/hotplug/rpaphp_core.c set_attention_status(9), get_power_st...
get_avenrun(9)
NAME get_avenrun - get the load average array SYNOPSIS void get_avenrun (unsigned long *loads , unsigned long offset , int shift ); ARGUMENTS loads pointer to destination load array offset offset to add shift shift count to shift the result left DESCRIPTION These values are estimates...
get_avphys_pages(3)
NAME get_phys_pages, get_avphys_pages - get total and available physical page counts LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/sysinfo.h> long get_phys_pages(void); long get_avphys_pages(void); DESCRIPTION The function get_phys_pages() returns the total number of physical pages of ...
get_bar_size(9)
NAME get_bar_size - Get the address space consumed by a BAR SYNOPSIS u64 get_bar_size (u64 bar_val ); ARGUMENTS bar_val Value that a BAR returned after -1 was written to it. DESCRIPTION This function returns the size of the BAR, rounded up to 1 page. It has to be rounded up because the hypervisor's page tabl...
get_base_qpn(9)
NAME get_base_qpn - get the first qp number SYNOPSIS int get_base_qpn (struct hinic_hwdev *hwdev , u16 *base_qpn ); ARGUMENTS hwdev the NIC HW device base_qpn returned qp number DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev...
get_basename(9)
NAME get_basename - return the last part of a pathname. SYNOPSIS const char * get_basename (const char *path ); ARGUMENTS path path to extract the filename from. SEE ALSO Kernel file ./scripts/mod/modpost.c verify_module_namespace(9) April 2026 ...
get_batt_uV(9)
NAME get_batt_uV - Get the voltage level of the battery SYNOPSIS int get_batt_uV (struct charger_manager *cm , int *uV ); ARGUMENTS cm the Charger Manager representing the battery. uV the voltage level returned. DESCRIPTION Returns 0 if there is no error. Returns a negative value on error....
get_bbt_block(9)
NAME get_bbt_block - Get the first valid eraseblock suitable to store a BBT SYNOPSIS int get_bbt_block (struct nand_chip *this , struct nand_bbt_descr *td , struct nand_bbt_descr *md , int chip ); ARGUMENTS this the NAND device td the BBT description md the mirror BBT descript...
get_binfmt_handler(9)
NAME get_binfmt_handler - try to find a binary type handler SYNOPSIS Node * get_binfmt_handler (struct binfmt_misc *misc , struct linux_binprm *bprm ); ARGUMENTS misc handle to binfmt_misc instance bprm binary for which we are looking for a handler DESCRIPTION Try to find a binfmt handler for t...
get_bio_list(9)
NAME get_bio_list - Extract the list of bios to submit from a vio. SYNOPSIS struct bio * get_bio_list (struct vio *vio ); ARGUMENTS vio The vio submitting I/O. DESCRIPTION The list will always contain at least one entry (the bio for the vio on which it is called), but other bios may have been merged with it ...
get_bit_array_size(9)
NAME get_bit_array_size - Return the number of bytes needed to store a bit array of the specified capacity in an array of unsigned longs. SYNOPSIS size_t get_bit_array_size (unsigned int bit_count ); ARGUMENTS bit_count The number of bits the array must hold. RETURN the number of bytes needed for the array represe...
get_block_allocator_statistics(9)
NAME get_block_allocator_statistics - Get the total of the statistics from all the block allocators in the depot. SYNOPSIS struct block_allocator_statistics get_block_allocator_statistics (const struct slab_depot *depot ); ARGUMENTS depot The slab depot. RETURN The statistics from all block allocators in the d...
get_block_header(9)
NAME get_block_header - Get a pointer to the packed journal block header in the block buffer. SYNOPSIS struct packed_journal_header * get_block_header (const struct recovery_journal_block *block ); ARGUMENTS block The recovery block. RETURN The block's header. SEE ALSO Kernel file ./drivers/md/dm-vdo/recove...
get_block_step_bytes(9)
NAME get_block_step_bytes - Common helper to compute the correct step value between each pixel block to read in a certain direction. SYNOPSIS int get_block_step_bytes (struct drm_framebuffer *fb , enum pixel_read_direction direction , int plane_index ); ARGUMENTS fb Framebuffer to iter on direction ...
get_bm_events_by_type(9)
NAME get_bm_events_by_type - returns bitmap of supported events per @type SYNOPSIS const unsigned long * get_bm_events_by_type (struct input_dev *dev , int type ); ARGUMENTS dev input device from which bitmap is retrieved type type of button (EV_KEY, EV_SW) DESCRIPTION Return value of this fun...
get_bool(9)
NAME get_bool - Get a parameter from the OF device SYNOPSIS bool get_bool (struct platform_device *ofdev , const char *s ); ARGUMENTS ofdev Pointer to OF device structure s Property to be retrieved DESCRIPTION This function looks for a property in the device node and returns the value of the ...
get_buf_addr(9)
NAME get_buf_addr - return DMA buffer address of software descriptor SYNOPSIS dma_addr_t get_buf_addr (const struct rx_sw_desc *sdesc ); ARGUMENTS sdesc pointer to the software buffer descriptor DESCRIPTION Return the DMA buffer address of a software descriptor (stripping out our low-order flag bits). SEE ALS...
get_buf_size(9)
NAME get_buf_size - return the size of an RX Free List buffer. SYNOPSIS int get_buf_size (const struct adapter *adapter , const struct rx_sw_desc *sdesc ); ARGUMENTS adapter pointer to the associated adapter sdesc pointer to the software buffer descriptor SEE ALSO Kernel file ./drivers/net/ethe...
get_buffer(9)
NAME get_buffer - Get the address to store the next image data page. SYNOPSIS void * get_buffer (struct memory_bitmap *bm , struct chain_allocator *ca ); ARGUMENTS bm -- undescribed -- ca -- undescribed -- DESCRIPTION Get the address that snapshot_write_next should return to its caller to w...
get_cache_segment(9)
NAME get_cache_segment - Retrieves a free cache segment from the cache. SYNOPSIS struct pcache_cache_segment * get_cache_segment (struct pcache_cache *cache ); ARGUMENTS cache Pointer to the cache structure. DESCRIPTION This function attempts to find a free cache segment that can be used. It locks the seg...
get_capability(9)
NAME get_capability - get device capabilities from FW SYNOPSIS int get_capability (struct hinic_pfhwdev *pfhwdev ); ARGUMENTS pfhwdev the PF HW device to get capabilities for DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c parse_capabi...
get_capacity_ref_freq(9)
NAME get_capacity_ref_freq - get the reference frequency that has been used to correlate frequency and compute capacity for a given cpufreq policy. We use the CPU managing it for the arch_scale_freq_ref() call in the function. SYNOPSIS unsigned long get_capacity_ref_freq (struct cpufreq_policy *policy ); ARGUMENTS po...
get_ccwdev_by_busid(9)
NAME get_ccwdev_by_busid - obtain device from a bus id SYNOPSIS struct ccw_device * get_ccwdev_by_busid (struct ccw_driver *cdrv , const char *bus_id ); ARGUMENTS cdrv driver the device is owned by bus_id bus id of the device to be searched DESCRIPTION This function searches all devices owned by ...
get_ccwdev_by_dev_id(9)
NAME get_ccwdev_by_dev_id - obtain device from a ccw device id SYNOPSIS struct ccw_device * get_ccwdev_by_dev_id (struct ccw_dev_id *dev_id ); ARGUMENTS dev_id id of the device to be searched DESCRIPTION This function searches all devices attached to the ccw bus for a device matching dev_id. RETURN If a device...
get_cell_data_size(9)
NAME get_cell_data_size - get the data size of a specific cell type SYNOPSIS u8 get_cell_data_size (enum hinic_api_cmd_chain_type type ); ARGUMENTS type chain type DESCRIPTION Return the data(Desc + Address) size in the cell SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c chain...
get_cgroup1_hierarchy_id(9)
NAME get_cgroup1_hierarchy_id - Retrieves the ID of a cgroup1 hierarchy from the cgroup1 subsys name. SYNOPSIS int get_cgroup1_hierarchy_id (const char *subsys_name ); ARGUMENTS subsys_name The cgroup1 subsys name, which can be retrieved from /proc/self/cgroup. It can be a named cgroup like "name=systemd", a controll...
get_cgroup_id_from_path(9)
NAME get_cgroup_id_from_path - Get cgroup id for a particular cgroup path SYNOPSIS unsigned long long get_cgroup_id_from_path (const char *cgroup_workdir ); ARGUMENTS cgroup_workdir The absolute cgroup path DESCRIPTION On success, it returns the cgroup id. On failure it returns 0, which is an invalid cgroup id. If ...
get_channel(9)
NAME get_channel - get pointer to channel SYNOPSIS struct channel * get_channel (struct most_interface *iface , int channel_id ); ARGUMENTS iface interface structure channel_id channel ID DESCRIPTION This traverses the channel list and returns the channel matching the ID and interface. Returns pointe...
get_chip_name(9)
NAME get_chip_name - identifier to name SYNOPSIS const char * get_chip_name (enum chip_type chip_id ); ARGUMENTS chip_id chip identifier DESCRIPTION Given a chip identifier return a suitable description. Returns a pointer a static string valid while the driver is loaded. SEE ALSO Kernel file ./drivers/net/eth...
get_class_profile(9)
NAME get_class_profile - Show the current profile for a class device SYNOPSIS int get_class_profile (struct device *dev , enum platform_profile_option *profile ); ARGUMENTS dev The class device profile The profile to return RETURN 0 on success, -errno on failure SEE ALSO Kernel file ./drivers/...
get_classid_cgroup_id(9)
NAME get_classid_cgroup_id - Get the cgroup id of a net_cls cgroup SYNOPSIS unsigned long long get_classid_cgroup_id (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./tools/testing/selftests/bpf/cgroup_helpers.c enable_controllers(9), write_cgroup_file(9), write_cgroup_file_parent(9), setup_cgroup_e...
get_cmdline(9)
NAME get_cmdline - copy the cmdline value to a buffer. SYNOPSIS int get_cmdline (struct task_struct *task , char *buffer , int buflen ); ARGUMENTS task the task whose cmdline value to copy. buffer the buffer to copy to. buflen the length of the buffer. Larger cmdline values are trunca...