id
stringlengths
4
63
text
stringlengths
153
8.81M
get_latch_status(9)
NAME get_latch_status - get latch status of a slot SYNOPSIS int get_latch_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 latch status. Instead, we fake latch st...
get_leaf_nr(9)
NAME get_leaf_nr - Get a leaf number associated with the index SYNOPSIS int get_leaf_nr (struct gfs2_inode *dip , u32 index , u64 *leaf_out ); ARGUMENTS dip The GFS2 inode index hash table index of the targeted leaf leaf_out Resulting leaf block number RETURN 0 on success, error code...
get_leb_cnt(9)
NAME get_leb_cnt - calculate the number of empty LEBs needed to commit. SYNOPSIS int get_leb_cnt (struct ubifs_info *c , int cnt ); ARGUMENTS c UBIFS file-system description object cnt number of znodes to commit DESCRIPTION This function returns the number of empty LEBs needed to commit cnt...
get_level(9)
NAME get_level - Find the level for a particular frequency SYNOPSIS unsigned long get_level (struct cpufreq_cooling_device *cpufreq_cdev , unsigned int freq ); ARGUMENTS cpufreq_cdev cpufreq_cdev for which the property is required freq Frequency RETURN level corresponding to the frequency. SEE ALSO K...
get_liability(9)
NAME get_liability - calculate current liability. SYNOPSIS long long get_liability (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This function calculates and returns current UBIFS liability, i.e. the amount of bytes UBIFS has "promised" to write to the media. SEE AL...
get_line_length(9)
NAME get_line_length - calculates buffer pitch in bytes SYNOPSIS u32 get_line_length (struct i810fb_par *par , int xres_virtual , int bpp ); ARGUMENTS par pointer to i810fb_par structure xres_virtual virtual resolution of the frame bpp bits per pixel DESCRIPTION Cal...
get_link(9)
NAME get_link - returns the current link state. SYNOPSIS void get_link (struct qed_dev *cdev , struct qed_link_output *if_link ); ARGUMENTS cdev Qed dev pointer. if_link structure to be filled with current link configuration. RETURN Void. SEE ALSO Kernel file ./include/linux/qed/qed_...
get_link_speed(9)
NAME get_link_speed - determine whether 12.5G or 25G speed SYNOPSIS u16 get_link_speed (u16 link_speed ); ARGUMENTS link_speed the speed of active link RETURN Return 2 if link speed identified as 12.5G or return 1 if link speed is 25G. DESCRIPTION The function indirectly calculate required link speed value for con...
get_load(9)
NAME get_load - get load for a cpu SYNOPSIS u32 get_load (struct cpufreq_cooling_device *cpufreq_cdev , int cpu , int cpu_idx ); ARGUMENTS cpufreq_cdev struct cpufreq_cooling_device for the cpu cpu cpu number cpu_idx index of the cpu in time_in_idle array RETURN The average load of cpu cp...
get_load_type(9)
NAME get_load_type - Determine how the slab depot was loaded. SYNOPSIS enum slab_depot_load_type get_load_type (struct vdo *vdo ); ARGUMENTS vdo The vdo. RETURN How the depot was loaded. SEE ALSO Kernel file ./drivers/md/dm-vdo/dm-vdo-target.c free_device_config(9), get_version_number(9), parse_bo...
get_lock(9)
NAME get_lock - Get the lock object for a slab journal block by sequence number. SYNOPSIS struct journal_lock * get_lock (struct slab_journal *journal , sequence_number_t sequence_number ); ARGUMENTS journal The vdo_slab journal to retrieve from. sequence_number Sequence number of the b...
get_log_header(9)
NAME get_log_header - read the log header for a given segment SYNOPSIS int get_log_header (struct gfs2_jdesc *jd , unsigned int blk , struct gfs2_log_header_host *head ); ARGUMENTS jd the journal blk the block to look at head the log header to return DESCRIPTION Read the log h...
get_lpt_node_len(9)
NAME get_lpt_node_len - return the length of a node based on its type. SYNOPSIS int get_lpt_node_len (const struct ubifs_info *c , int node_type ); ARGUMENTS c UBIFS file-system description object node_type LPT node type SEE ALSO Kernel file ./fs/ubifs/lpt_commit.c first_dirty_cnode(9), next_...
get_lpt_node_type(9)
NAME get_lpt_node_type - return type (and node number) of a node in a buffer. SYNOPSIS int get_lpt_node_type (const struct ubifs_info *c , uint8_t *buf , int *node_num ); ARGUMENTS c UBIFS file-system description object buf buffer node_num node number is returned here SEE ALSO Ke...
get_lvl1_lvl2_pble(9)
NAME get_lvl1_lvl2_pble - calls get_lvl1 and get_lvl2 pble routine SYNOPSIS int get_lvl1_lvl2_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc , u8 lvl ); ARGUMENTS pble_rsrc pble resources palloc contains all inforamtion regarding pble (idx + pble addr) lvl ...
get_lvl1_pble(9)
NAME get_lvl1_pble - get level 1 pble resource SYNOPSIS int get_lvl1_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc ); ARGUMENTS pble_rsrc pble resource management palloc level 1 pble allocation SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/pble.c irdma_destroy_p...
get_lvl2_pble(9)
NAME get_lvl2_pble - get level 2 pble resource SYNOPSIS int get_lvl2_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc ); ARGUMENTS pble_rsrc pble resource management palloc level 2 pble allocation SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/pble.c irdma_destroy_p...
get_mangled_key(9)
NAME get_mangled_key - Mangle the key if mangle act exists SYNOPSIS void * get_mangled_key (struct flow_rule *rule , void *buf , u32 offset , size_t key_sz , enum flow_action_mangle_base htype ); ARGUMENTS rule rule that carries the actions buf pointer to key to be mangled offset u...
get_master_node(9)
NAME get_master_node - get the last valid master node allowing for corruption. SYNOPSIS int get_master_node (const struct ubifs_info *c , int lnum , void **pbuf , struct ubifs_mst_node **mst , void **cor ); ARGUMENTS c UBIFS file-system description object lnum LEB number pbuf b...
get_max_nr_ranges(9)
NAME get_max_nr_ranges - Get the max no. of ranges crash_mem structure could hold, given the size allocated for it. SYNOPSIS unsigned int get_max_nr_ranges (size_t size ); ARGUMENTS size Allocation size of crash_mem structure. DESCRIPTION Returns the maximum no. of ranges. SEE ALSO Kernel file ./arch/powerpc...
get_max_payload(9)
NAME get_max_payload - Get variable payload size from StandAloneMM. SYNOPSIS efi_status_t get_max_payload (size_t *size ); ARGUMENTS size size of the variable in storage RETURN status code SEE ALSO Kernel file ./drivers/firmware/efi/stmm/tee_stmm_efi.c tee_mm_communicate(9), mm_communicate(9), setup_mm_hdr(9...
get_max_resource(9)
NAME get_max_resource - get largest node which has at least the given size. SYNOPSIS struct pci_resource * get_max_resource (struct pci_resource **head , u32 size ); ARGUMENTS head the list to search the node in size the minimum size of the node to find DESCRIPTION Gets the largest node that is...
get_max_segment_size(9)
NAME get_max_segment_size - maximum number of bytes to add as a single segment SYNOPSIS unsigned get_max_segment_size (const struct queue_limits *lim , phys_addr_t paddr , unsigned int len ); ARGUMENTS lim Request queue limits. paddr address of the range to add len maximum length...
get_mem_cgroup_from_current(9)
NAME get_mem_cgroup_from_current - Obtain a reference on current task's memcg. SYNOPSIS struct mem_cgroup * get_mem_cgroup_from_current (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./mm/memcontrol.c mem_cgroup_css_from_folio(9), page_cgroup_ino(9), mod_memcg_state(9), mod_lruvec_state(9), count_...
get_mem_cgroup_from_folio(9)
NAME get_mem_cgroup_from_folio - Obtain a reference on a given folio's memcg. SYNOPSIS struct mem_cgroup * get_mem_cgroup_from_folio (struct folio *folio ); ARGUMENTS folio folio from which memcg should be extracted. SEE ALSO Kernel file ./mm/memcontrol.c mem_cgroup_css_from_folio(9), page_cgroup_ino(...
get_mem_cgroup_from_mm(9)
NAME get_mem_cgroup_from_mm - Obtain a reference on given mm_struct's memcg. SYNOPSIS struct mem_cgroup * get_mem_cgroup_from_mm (struct mm_struct *mm ); ARGUMENTS mm mm from which memcg should be extracted. It can be NULL. DESCRIPTION Obtain a reference on mm->memcg and returns it if successful. If mm is ...
get_mem_rngs_size(9)
NAME get_mem_rngs_size - Get the allocated size of mem_rngs based on max_nr_ranges and chunk size. SYNOPSIS size_t get_mem_rngs_size (struct crash_mem *mem_rngs ); ARGUMENTS mem_rngs Memory ranges. DESCRIPTION Returns the maximum size of mem_rngs. SEE ALSO Kernel file ./arch/powerpc/kexec/ranges.c get_max_nr_ran...
get_mempolicy(2)
NAME get_mempolicy - retrieve NUMA memory policy for a thread LIBRARY NUMA (Non-Uniform Memory Access) policy library (libnuma, -lnuma) SYNOPSIS #include <numaif.h> long get_mempolicy(unsigned long maxnode; int *mode, unsigned long nodemask[(maxnode + ULONG_...
get_memsize(9)
NAME get_memsize - Get the size of the attached memory device. SYNOPSIS u64 get_memsize (struct edac_priv *priv ); ARGUMENTS priv DDR memory controller private instance data. RETURN the memory size in bytes. SEE ALSO Kernel file ./drivers/edac/versal_edac.c union ecc_error_info(9), struct ecc_status(9)...
get_mergeable_locked(9)
NAME get_mergeable_locked - Attempt to find an already queued bio that the current bio can be merged with. SYNOPSIS struct vio * get_mergeable_locked (struct int_map *map , struct vio *vio , bool back_merge ); ARGUMENTS map The bio map to use for merging. vio The vio we want to merge. ...
get_metadata_priority(9)
NAME get_metadata_priority - Convert a vio's priority to a work item priority. SYNOPSIS enum vdo_completion_priority get_metadata_priority (struct vio *vio ); ARGUMENTS vio The vio. RETURN The priority with which to submit the vio's bio. SEE ALSO Kernel file ./drivers/md/dm-vdo/vio.h as_vio(9), get_vio_bio_...
get_mm_exe_file(9)
NAME get_mm_exe_file - acquire a reference to the mm's executable file SYNOPSIS struct file * get_mm_exe_file (struct mm_struct *mm ); ARGUMENTS mm The mm of interest. DESCRIPTION Returns NULL if mm has no associated executable file. User must release file via fput. SEE ALSO Kernel file ./kernel/fork.c se...
get_mtd_device(9)
NAME get_mtd_device - obtain a validated handle for an MTD device SYNOPSIS struct mtd_info * get_mtd_device (struct mtd_info *mtd , int num ); ARGUMENTS mtd last known address of the required MTD device num internal device number of the required MTD device DESCRIPTION Given a number and NUL...
get_mtd_device_nm(9)
NAME get_mtd_device_nm - obtain a validated handle for an MTD device by device name SYNOPSIS struct mtd_info * get_mtd_device_nm (const char *name ); ARGUMENTS name MTD device name to open DESCRIPTION This function returns MTD device description structure in case of success and an error code in case of failur...
get_mux_port_count(9)
NAME get_mux_port_count - Get the number of available ports on the Mux. SYNOPSIS int get_mux_port_count (struct parisc_device *dev ); ARGUMENTS dev The parisc device. DESCRIPTION This function is used to determine the number of ports the Mux supports. The IODC data reports the number of ports the Mux can...
get_myaddress(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
get_n_events_by_type(9)
NAME get_n_events_by_type - returns maximum number of events per @type SYNOPSIS int get_n_events_by_type (int type ); ARGUMENTS type type of button (EV_KEY, EV_SW) DESCRIPTION Return value of this function can be used to allocate bitmap large enough to hold all bits for given type. SEE ALSO Kernel file ./dri...
get_name(9)
NAME get_name - default export_operations->get_name function SYNOPSIS int get_name (const struct path *path , char *name , struct dentry *child ); ARGUMENTS path the directory in which to find a name name a pointer to a NAME_MAX+1 char buffer to store the name child the dentry for ...
get_net_ns(9)
NAME get_net_ns - increment the refcount of the network namespace SYNOPSIS struct ns_common * get_net_ns (struct ns_common *ns ); ARGUMENTS ns common namespace (net) DESCRIPTION Returns the net's common namespace or ERR_PTR if ref is zero. SEE ALSO Kernel file ./net/core/net_namespace.c net_ns_get_ownershi...
get_new_flags(9)
NAME get_new_flags - Converts a mask based on net device flags SYNOPSIS enum octnet_ifflags get_new_flags (struct net_device *netdev ); ARGUMENTS netdev network device DESCRIPTION This routine generates a octnet_ifflags mask from the net device flags received from the OS. SEE ALSO Kernel file ./drivers/net/e...
get_next_ddcb(9)
NAME get_next_ddcb - Get next available DDCB SYNOPSIS struct ddcb * get_next_ddcb (struct genwqe_dev *cd , struct ddcb_queue *queue , int *num ); ARGUMENTS cd pointer to genwqe device descriptor queue DDCB queue num internal DDCB number DESCRIPTION DDCB's content is completely ...
get_next_free_node_id(9)
NAME get_next_free_node_id - finds next free ID in the array of that node type SYNOPSIS int get_next_free_node_id (struct adf_rl *rl_data , struct rl_sla *sla ); ARGUMENTS rl_data Pointer to ratelimiting data structure sla Pointer to SLA object for which the ID is searched RETURN * 0 : RL_[NODE_T...
get_next_free_sla_id(9)
NAME get_next_free_sla_id - finds next free ID in the SLA array SYNOPSIS int get_next_free_sla_id (struct adf_rl *rl_data ); ARGUMENTS rl_data Pointer to ratelimiting data structure RETURN * 0 : RL_NODES_CNT_MAX - correct ID * -ENOSPC - all SLA slots are in use SEE ALSO Kernel file ./...
get_next_freq(9)
NAME get_next_freq - Compute a new frequency for a given cpufreq policy. SYNOPSIS unsigned int get_next_freq (struct sugov_policy *sg_policy , unsigned long util , unsigned long max ); ARGUMENTS sg_policy schedutil policy object to compute the new frequency for. util Current CPU utilization. ...
get_next_path_min_inflight(9)
NAME get_next_path_min_inflight - Returns path with minimal inflight count. SYNOPSIS struct rtrs_clt_path * get_next_path_min_inflight (struct path_it *it ); ARGUMENTS it the path pointer DESCRIPTION Related to MP_POLICY_MIN_INFLIGHT Locks: rcu_read_lock must be hold. SEE ALSO Kernel file ./drivers/in...
get_next_path_min_latency(9)
NAME get_next_path_min_latency - Returns path with minimal latency. SYNOPSIS struct rtrs_clt_path * get_next_path_min_latency (struct path_it *it ); ARGUMENTS it the path pointer RETURN a path with the lowest latency or NULL if all paths are tried DESCRIPTION Locks: rcu_read_lock must be hold. Related t...
get_next_path_rr(9)
NAME get_next_path_rr - Returns path in round-robin fashion. SYNOPSIS struct rtrs_clt_path * get_next_path_rr (struct path_it *it ); ARGUMENTS it the path pointer DESCRIPTION Related to MP_POLICY_RR Locks: rcu_read_lock must be held. SEE ALSO Kernel file ./drivers/infiniband/ulp/rtrs/rtrs-clt.c rtrs_clt...
get_next_pcie_device(9)
NAME get_next_pcie_device - Get the next pcie device SYNOPSIS struct _pcie_device * get_next_pcie_device (struct MPT3SAS_ADAPTER *ioc ); ARGUMENTS ioc per adapter object DESCRIPTION Get the next pcie device from pcie_device_init_list list. RETURN pcie device structure if pcie_device_init_list list is not em...
get_next_slab(9)
NAME get_next_slab - Get the next slab to scrub. SYNOPSIS struct vdo_slab * get_next_slab (struct slab_scrubber *scrubber ); ARGUMENTS scrubber The slab scrubber. RETURN The next slab to scrub or NULL if there are none. SEE ALSO Kernel file ./drivers/md/dm-vdo/slab-depot.c get_lock(9), must_make_entries_to_fl...
get_next_state(9)
NAME get_next_state - Determine the state which should be set after a given operation completes based on the operation and the current state. SYNOPSIS const struct admin_state_code * get_next_state (const struct admin_state *state , const struct admin_state_code *operation ); ARGUMENTS state The current admin s...
get_next_timer_interrupt(9)
NAME get_next_timer_interrupt - return the time (clock mono) of the next timer SYNOPSIS u64 get_next_timer_interrupt (unsigned long basej , u64 basem ); ARGUMENTS basej base time jiffies basem base time clock monotonic DESCRIPTION Returns the tick aligned clock monotonic time of the next pending ...
get_next_vm_bo_from_list(9)
NAME get_next_vm_bo_from_list - get the next vm_bo element SYNOPSIS get_next_vm_bo_from_list (__gpuvm , __list_name , __local_list , __prev_vm_bo ); ARGUMENTS __gpuvm the drm_gpuvm __list_name the name of the list we're iterating on __local_list a pointer to the local list used ...
get_note_number_and_size_elf32(9)
NAME get_note_number_and_size_elf32 - get the number of PT_NOTE program headers and sum of real size of their ELF note segment headers and data. SYNOPSIS int get_note_number_and_size_elf32 (const Elf32_Ehdr *ehdr_ptr , int *nr_ptnote , u64 *sz_ptnote ); ARGUMENTS ehdr_ptr ELF header nr_ptnote buffer for ...
get_note_number_and_size_elf64(9)
NAME get_note_number_and_size_elf64 - get the number of PT_NOTE program headers and sum of real size of their ELF note segment headers and data. SYNOPSIS int get_note_number_and_size_elf64 (const Elf64_Ehdr *ehdr_ptr , int *nr_ptnote , u64 *sz_ptnote ); ARGUMENTS ehdr_ptr ELF header nr_ptnote buffer for ...
get_nprocs(3)
NAME get_nprocs, get_nprocs_conf - get number of processors LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/sysinfo.h> int get_nprocs(void); int get_nprocs_conf(void); DESCRIPTION The function get_nprocs_conf() returns the number of processors configured by the operating system. ...
get_nprocs_conf(3)
NAME get_nprocs, get_nprocs_conf - get number of processors LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/sysinfo.h> int get_nprocs(void); int get_nprocs_conf(void); DESCRIPTION The function get_nprocs_conf() returns the number of processors configured by the operating system. ...
get_nth_bh(9)
NAME get_nth_bh - Get a reference on the n'th buffer after this one. SYNOPSIS struct buffer_head * get_nth_bh (struct buffer_head *bh , unsigned int count ); ARGUMENTS bh The buffer to start counting from. count How many buffers to skip. DESCRIPTION This is primarily useful for finding the nth...
get_nulls_value(9)
NAME get_nulls_value - Get the 'nulls' value of the end of chain SYNOPSIS unsigned long get_nulls_value (const struct hlist_nulls_node *ptr ); ARGUMENTS ptr end of chain DESCRIPTION Should be called only if is_a_nulls(ptr); SEE ALSO Kernel file ./include/linux/list_nulls.h hlist_nulls_unhashed(9), hlist_nul...
get_old_itimerspec32(9)
NAME get_old_itimerspec32 - get user's &struct old_itimerspec32 into kernel space SYNOPSIS int get_old_itimerspec32 (struct itimerspec64 *its , const struct old_itimerspec32 __user *uits ); ARGUMENTS its destination struct itimerspec64 uits user's struct old_itimerspec32 RETURN 0 on success or...
get_old_timespec32(9)
NAME get_old_timespec32 - get user's old-format time value into kernel space SYNOPSIS int get_old_timespec32 (struct timespec64 *ts , const void __user *uts ); ARGUMENTS ts destination struct timespec64 uts user's old-format time value (struct old_timespec32) DESCRIPTION Handles X86_X32_ABI ...
get_ome_index(9)
NAME get_ome_index - Returns the index in the operation mapping table for device. SYNOPSIS void get_ome_index (u32 *omi_index , struct device *dev ); ARGUMENTS omi_index pointer for storing the index value dev target device SEE ALSO Kernel file ./drivers/iommu/fsl_pamu.c pamu_get_ppaace(9), pamu_en...
get_option(9)
NAME get_option - Parse integer from an option string SYNOPSIS int get_option (char **str , int *pint ); ARGUMENTS str option string pint (optional output) integer value parsed from str DESCRIPTION Read an int from an option string; if available accept a subsequent comma as well. When pint ...
get_options(9)
NAME get_options - Parse a string into a list of integers SYNOPSIS char * get_options (const char *str , int nints , int *ints ); ARGUMENTS str String to be parsed nints size of integer array ints integer array (must have room for at least one element) DESCRIPTION This function ...
get_order(9)
NAME get_order - Determine the allocation order of a memory size SYNOPSIS int get_order (unsigned long size ); ARGUMENTS size The size for which to get the order DESCRIPTION Determine the allocation order of a particular sized block of memory. This is on a logarithmic scale, where: 0 -> 2^0 * PAGE_SIZ...
get_packer_from_data_vio(9)
NAME get_packer_from_data_vio - Get the packer from a data_vio. SYNOPSIS struct packer * get_packer_from_data_vio (struct data_vio *data_vio ); ARGUMENTS data_vio The data_vio. RETURN The packer from the VDO to which the data_vio belongs. SEE ALSO Kernel file ./drivers/md/dm-vdo/packer.c vdo_get_compressed_bl...
get_packet(9)
NAME get_packet - return the next ingress packet buffer from a free list SYNOPSIS struct sk_buff * get_packet (struct adapter *adap , struct sge_fl *fl , unsigned int len , unsigned int drop_thres ); ARGUMENTS adap the adapter that received the packet fl the SGE free list holding the packet ...
get_packet_pg(9)
NAME get_packet_pg - return the next ingress packet buffer from a free list SYNOPSIS struct sk_buff * get_packet_pg (struct adapter *adap , struct sge_fl *fl , struct sge_rspq *q , unsigned int len , unsigned int drop_thres ); ARGUMENTS adap the adapter that received the packet fl the SGE free...
get_pad_len(9)
NAME get_pad_len - return the length of padding in a buffer. SYNOPSIS int get_pad_len (const struct ubifs_info *c , uint8_t *buf , int len ); ARGUMENTS c UBIFS file-system description object buf buffer len length of buffer SEE ALSO Kernel file ./fs/ubifs/lpt_commit.c first_d...
get_page_state_name(9)
NAME get_page_state_name - Return the name of a page state. SYNOPSIS const char * get_page_state_name (enum vdo_page_buffer_state state ); ARGUMENTS state The page state to describe. DESCRIPTION If the page state is invalid a static string is returned and the invalid state is logged. RETURN A pointer to a sta...
get_pbs_client_device(9)
NAME get_pbs_client_device - Get the PBS device used by client SYNOPSIS struct pbs_dev * get_pbs_client_device (struct device *dev ); ARGUMENTS dev Client device DESCRIPTION This function is used to get the PBS device that is being used by the client. RETURN pbs_dev on success, ERR_PTR on failure SEE ALSO ...
get_pci_mode(9)
NAME get_pci_mode - determine a card's PCI mode SYNOPSIS void get_pci_mode (struct adapter *adapter , struct pci_params *p ); ARGUMENTS adapter the adapter p where to store the PCI settings DESCRIPTION Determines a card's PCI mode and associated parameters, such as speed and width. SEE ALSO Ke...
get_pci_node_path(9)
NAME get_pci_node_path - Determines the hardware path for a PCI device SYNOPSIS void get_pci_node_path (struct pci_dev *pdev , struct hardware_path *path ); ARGUMENTS pdev The device to return the path for path Pointer to a previously-allocated array to place the path in. DESCRIPTION This funct...
get_pcichild_wslot(9)
NAME get_pcichild_wslot - Find device from slot SYNOPSIS struct hv_pci_dev * get_pcichild_wslot (struct hv_pcibus_device *hbus , u32 wslot ); ARGUMENTS hbus Root PCI bus, as understood by this driver wslot Location on the bus DESCRIPTION This function looks up a PCI device and returns the in...
get_perf_idx(9)
NAME get_perf_idx - get the performance index corresponding to a frequency SYNOPSIS int get_perf_idx (struct em_perf_domain *em_pd , unsigned long freq ); ARGUMENTS em_pd Pointer to device's Energy Model freq frequency in kHz RETURN the performance index associated with the freq, or -EINVAL if i...
get_pfn_range_for_nid(9)
NAME get_pfn_range_for_nid - Return the start and end page frames for a node SYNOPSIS void get_pfn_range_for_nid (unsigned int nid , unsigned long *start_pfn , unsigned long *end_pfn ); ARGUMENTS nid The nid to return the range for. If MAX_NUMNODES, the min and max PFN are returned. start_pfn Passed...
get_pfnblock_bit(9)
NAME get_pfnblock_bit - Check if a standalone bit of a pageblock is set SYNOPSIS bool get_pfnblock_bit (const struct page *page , unsigned long pfn , enum pageblock_bits pb_bit ); ARGUMENTS page The page within the block of interest pfn The target page frame number pb_bit pageblock...
get_pfnblock_migratetype(9)
NAME get_pfnblock_migratetype - Return the migratetype of a pageblock SYNOPSIS enum migratetype get_pfnblock_migratetype (const struct page *page , unsigned long pfn ); ARGUMENTS page The page within the block of interest pfn The target page frame number RETURN The migratetype of the pageblock...
get_phy_c22_id(9)
NAME get_phy_c22_id - reads the specified addr for its clause 22 ID. SYNOPSIS int get_phy_c22_id (struct mii_bus *bus , int addr , u32 *phy_id ); ARGUMENTS bus the target MII bus addr PHY address on the MII bus phy_id where to store the ID retrieved. DESCRIPTION Read the 802.3 cla...
get_phy_c45_ids(9)
NAME get_phy_c45_ids - reads the specified addr for its 802.3-c45 IDs. SYNOPSIS int get_phy_c45_ids (struct mii_bus *bus , int addr , struct phy_c45_device_ids *c45_ids ); ARGUMENTS bus the target MII bus addr PHY address on the MII bus c45_ids where to store the c45 ID information....
get_phy_device(9)
NAME get_phy_device - reads the specified PHY device and returns its @phy_device struct SYNOPSIS struct phy_device * get_phy_device (struct mii_bus *bus , int addr , bool is_c45 ); ARGUMENTS bus the target MII bus addr PHY address on the MII bus is_c45 If true the PHY uses the 802....
get_phys_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_pinctrl_dev_from_devname(9)
NAME get_pinctrl_dev_from_devname - look up pin controller device SYNOPSIS struct pinctrl_dev * get_pinctrl_dev_from_devname (const char *devname ); ARGUMENTS devname the name of a device instance, as returned by dev_name DESCRIPTION Looks up a pin control device matching a certain device name or pure device poi...
get_pixel_read_line_function(9)
NAME get_pixel_read_line_function - Retrieve the correct read_line function for a specific format. The returned pointer is NULL for unsupported pixel formats. The caller must ensure that the pointer is valid before using it in a vkms_plane_state. SYNOPSIS pixel_read_line_t get_pixel_read_line_function (u32 format ); ...
get_pixel_write_function(9)
NAME get_pixel_write_function - Retrieve the correct write_pixel function for a specific format. The returned pointer is NULL for unsupported pixel formats. The caller must ensure that the pointer is valid before using it in a vkms_writeback_job. SYNOPSIS pixel_write_t get_pixel_write_function (u32 format ); ARGUMENT...
get_pkeys(9)
NAME get_pkeys - return the PKEY table SYNOPSIS int get_pkeys (struct hfi1_devdata *dd , u32 port , u16 *pkeys ); ARGUMENTS dd the hfi1_ib device port the IB port number pkeys the pkey table is placed here SEE ALSO Kernel file ./drivers/infiniband/hw/hfi1/mad.c set_pkeys(9), tx_...
get_platform_power_management_table(9)
NAME get_platform_power_management_table - Private Function used during initialization. Initialize Platform Power Management Parameter table SYNOPSIS int get_platform_power_management_table (struct pp_hwmgr *hwmgr , ATOM_Tonga_PPM_Table *atom_ppm_table ); ARGUMENTS hwmgr Pointer to the hardware manager. ...
get_pm_api_id(9)
NAME get_pm_api_id - Extract API-ID from a PM-API request SYNOPSIS int get_pm_api_id (char *pm_api_req , u32 *pm_id ); ARGUMENTS pm_api_req Entered PM-API argument in string format pm_id API-ID RETURN 0 on success else error code SEE ALSO Kernel file ./drivers/firmware/xilinx/zynqmp-debug.c zynqmp...
get_port_device_capability(9)
NAME get_port_device_capability - discover capabilities of a PCI Express port SYNOPSIS int get_port_device_capability (struct pci_dev *dev ); ARGUMENTS dev PCI Express port to examine DESCRIPTION The capabilities are read from the port's PCI Express configuration registers as described in PCI Express Base ...
get_port_ssp_rate(9)
NAME get_port_ssp_rate - Match the extended port status to SSP rate SYNOPSIS enum usb_ssp_rate get_port_ssp_rate (struct usb_device *hdev , u32 ext_portstatus ); ARGUMENTS hdev The hub device ext_portstatus extended port status DESCRIPTION Match the extended port status speed id to ...
get_power_status(9)
NAME get_power_status - get power status of a slot SYNOPSIS int get_power_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_attention_stat...
get_powerplay_table_entry_v1_0(9)
NAME get_powerplay_table_entry_v1_0 - Create a Power State out of an entry in the PowerPlay table. This function is called by the hardware back-end. SYNOPSIS int get_powerplay_table_entry_v1_0 (struct pp_hwmgr *hwmgr , uint32_t entry_index , struct pp_power_state *power_state , int (*call_back_func)(struct pp_hwmgr *,...
get_pseries_errorlog(9)
NAME get_pseries_errorlog - Find a specific pseries error log in an RTAS extended event log. SYNOPSIS noinstr struct pseries_errorlog * get_pseries_errorlog (struct rtas_error_log *log , uint16_t section_id ); ARGUMENTS log RTAS error/event log section_id two character section identifier RETURN A po...
get_pwq(9)
NAME get_pwq - get an extra reference on the specified pool_workqueue SYNOPSIS void get_pwq (struct pool_workqueue *pwq ); ARGUMENTS pwq pool_workqueue to get DESCRIPTION Obtain an extra reference on pwq. The caller should guarantee that pwq has positive refcnt and be holding the matching pool->lock. SEE A...
get_recovery_journal_block_header(9)
NAME get_recovery_journal_block_header - Get the block header for a block at a position in the journal data and unpack it. SYNOPSIS struct recovery_block_header get_recovery_journal_block_header (struct recovery_journal *journal , char *data , sequence_number_t sequence ); ARGUMENTS journal The recovery journal. ...
get_recovery_journal_head(9)
NAME get_recovery_journal_head - Get the head of the recovery journal. SYNOPSIS sequence_number_t get_recovery_journal_head (const struct recovery_journal *journal ); ARGUMENTS journal The journal. DESCRIPTION The head is the lowest sequence number of the block map head and the slab journal head. RETURN The hea...
get_ref_counts_statistics(9)
NAME get_ref_counts_statistics - Get the cumulative ref_counts statistics for the depot. SYNOPSIS struct ref_counts_statistics get_ref_counts_statistics (const struct slab_depot *depot ); ARGUMENTS depot The slab depot. RETURN The cumulative statistics for all ref_counts in the depot. SEE ALSO Kernel file ....
get_reference_block(9)
NAME get_reference_block - Get the reference block that covers the given block index. SYNOPSIS struct reference_block * get_reference_block (struct vdo_slab *slab , slab_block_number index ); ARGUMENTS slab The slab containing the references. index The index of the physical block. SEE ALSO Kerne...
get_reference_counter(9)
NAME get_reference_counter - Get the reference counter that covers the given physical block number. SYNOPSIS int get_reference_counter (struct vdo_slab *slab , physical_block_number_t pbn , vdo_refcount_t **counter_ptr ); ARGUMENTS slab The slab to query. pbn The physical block number. ...
get_reference_counters_for_block(9)
NAME get_reference_counters_for_block - Find the reference counters for a given block. SYNOPSIS vdo_refcount_t * get_reference_counters_for_block (struct reference_block *block ); ARGUMENTS block The reference_block in question. RETURN A pointer to the reference counters for this block. SEE ALSO Kernel file ...
get_reg_offset_16(9)
NAME get_reg_offset_16 - Obtain offset of register indicated by instruction SYNOPSIS int get_reg_offset_16 (struct insn *insn , struct pt_regs *regs , int *offs1 , int *offs2 ); ARGUMENTS insn Instruction containing ModRM byte regs Register values as seen when entering kernel mode offs1 ...