id
stringlengths
4
63
text
stringlengths
153
8.81M
fman_get_max_frm(9)
NAME fman_get_max_frm - SYNOPSIS u16 fman_get_max_frm (void ); ARGUMENTS void no arguments RETURN Max frame length configured in the FM driver SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/fman.c fman_register_intr(9), fman_unregister_intr(9), fman_set_port_params(9), fman_rese...
fman_get_mem_region(9)
NAME fman_get_mem_region - SYNOPSIS struct resource * fman_get_mem_region (struct fman *fman ); ARGUMENTS fman A Pointer to FMan device DESCRIPTION Get FMan memory region RETURN A structure with FMan memory region information SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/fman.c fman_re...
fman_get_qman_channel_id(9)
NAME fman_get_qman_channel_id - SYNOPSIS u32 fman_get_qman_channel_id (struct fman *fman , u32 port_id ); ARGUMENTS fman A Pointer to FMan device port_id Port id DESCRIPTION Get QMan channel ID associated to the Port id RETURN QMan channel ID SEE ALSO Kernel file ./drivers/net/ethernet/fre...
fman_get_revision(9)
NAME fman_get_revision - SYNOPSIS void fman_get_revision (struct fman *fman , struct fman_rev_info *rev_info ); ARGUMENTS fman - Pointer to the FMan module rev_info - A structure of revision information parameters. DESCRIPTION Returns the FM revision Allowed only following fman_init. RETURN 0 on s...
fman_get_rx_extra_headroom(9)
NAME fman_get_rx_extra_headroom - SYNOPSIS int fman_get_rx_extra_headroom (void ); ARGUMENTS void no arguments RETURN Extra headroom size configured in the FM driver SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/fman.c fman_register_intr(9), fman_unregister_intr(9), fman_set_port_...
fman_muram_alloc(9)
NAME fman_muram_alloc - SYNOPSIS unsigned long fman_muram_alloc (struct muram_info *muram , size_t size ); ARGUMENTS muram FM-MURAM module pointer. size Size of the memory to be allocated. DESCRIPTION Allocate some memory from FM-MURAM partition. RETURN address of the allocated memory; NULL oth...
fman_muram_free_mem(9)
NAME fman_muram_free_mem - SYNOPSIS void fman_muram_free_mem (struct muram_info *muram , unsigned long offset , size_t size ); ARGUMENTS muram FM-MURAM module pointer. offset offset of the memory region to be freed. size size of the memory to be freed. DESCRIPTION Free an allocated ...
fman_muram_init(9)
NAME fman_muram_init - SYNOPSIS struct muram_info * fman_muram_init (phys_addr_t base , size_t size ); ARGUMENTS base Pointer to base of memory mapped FM-MURAM. size Size of the FM-MURAM partition. DESCRIPTION Creates partition in the MURAM. The routine returns a pointer to the MURAM partitio...
fman_muram_offset_to_vbase(9)
NAME fman_muram_offset_to_vbase - SYNOPSIS unsigned long fman_muram_offset_to_vbase (struct muram_info *muram , unsigned long offset ); ARGUMENTS muram FM-MURAM module pointer. offset the offset of the memory block DESCRIPTION Gives the address of the memory region from specific offset RETURN The...
fman_port_bind(9)
NAME fman_port_bind - SYNOPSIS struct fman_port * fman_port_bind (struct device *dev ); ARGUMENTS dev FMan Port OF device pointer DESCRIPTION Bind to a specific FMan Port. Allowed only after the port was created. RETURN A pointer to the FMan port device. SEE ALSO Kernel file ./drivers/net/ethernet/frees...
fman_port_cfg_buf_prefix_content(9)
NAME fman_port_cfg_buf_prefix_content - SYNOPSIS int fman_port_cfg_buf_prefix_content (struct fman_port *port , struct fman_buffer_prefix_content * buffer_prefix_content ); ARGUMENTS port A pointer to a FM Port module. buffer_prefix_content A structure of parameters describing t...
fman_port_config(9)
NAME fman_port_config - SYNOPSIS int fman_port_config (struct fman_port *port , struct fman_port_params *params ); ARGUMENTS port Pointer to the port structure params Pointer to data structure of parameters DESCRIPTION Creates a descriptor for the FM PORT module. The routine returns a pointer t...
fman_port_disable(9)
NAME fman_port_disable - SYNOPSIS int fman_port_disable (struct fman_port *port ); ARGUMENTS port A pointer to a FM Port module. DESCRIPTION Gracefully disable an FM port. The port will not start new tasks after all tasks associated with the port are terminated. This is a blocking routine, it returns afte...
fman_port_enable(9)
NAME fman_port_enable - SYNOPSIS int fman_port_enable (struct fman_port *port ); ARGUMENTS port A pointer to a FM Port module. DESCRIPTION A runtime routine provided to allow disable/enable of port. Allowed only following fman_port_init. RETURN 0 on success; Error code otherwise. SEE ALSO Kernel file ./d...
fman_port_get_device(9)
NAME fman_port_get_device - SYNOPSIS struct device * fman_port_get_device (struct fman_port *port ); ARGUMENTS port Pointer to the FMan port device DESCRIPTION Get the 'struct device' associated to the specified FMan port device RETURN pointer to associated 'struct device' SEE ALSO Kernel file ./drive...
fman_port_get_qman_channel_id(9)
NAME fman_port_get_qman_channel_id - SYNOPSIS u32 fman_port_get_qman_channel_id (struct fman_port *port ); ARGUMENTS port Pointer to the FMan port devuce DESCRIPTION Get the QMan channel ID for the specific port RETURN QMan channel ID SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/fman_port.c ...
fman_port_init(9)
NAME fman_port_init - SYNOPSIS int fman_port_init (struct fman_port *port ); ARGUMENTS port A pointer to a FM Port module. DESCRIPTION Initializes the FM PORT module by defining the software structure and configuring the hardware registers. RETURN 0 on success; Error code otherwise. SEE ALSO Kernel file ....
fman_register_intr(9)
NAME fman_register_intr - SYNOPSIS void fman_register_intr (struct fman *fman , enum fman_event_modules module , u8 mod_id , enum fman_intr_type intr_type , void (*isr_cb)(void *src_arg) , void *src_arg ); ARGUMENTS fman A Pointer to FMan device module Calling module mod_id Module id ...
fman_reset_mac(9)
NAME fman_reset_mac - SYNOPSIS int fman_reset_mac (struct fman *fman , u8 mac_id ); ARGUMENTS fman A Pointer to FMan device mac_id MAC id to be reset DESCRIPTION Reset a specific MAC RETURN 0 on success; Error code otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/freescale/fman/fman.c...
fman_set_mac_max_frame(9)
NAME fman_set_mac_max_frame - SYNOPSIS int fman_set_mac_max_frame (struct fman *fman , u8 mac_id , u16 mfl ); ARGUMENTS fman A Pointer to FMan device mac_id MAC id mfl Maximum frame length DESCRIPTION Set maximum frame length of specific MAC in FMan driver RETURN 0 on success; Er...
fman_set_port_params(9)
NAME fman_set_port_params - SYNOPSIS int fman_set_port_params (struct fman *fman , struct fman_port_init_params *port_params ); ARGUMENTS fman A Pointer to FMan device port_params Port parameters DESCRIPTION Used by FMan Port to pass parameters to the FMan RETURN 0 on success; Error code otherwise. ...
fman_unregister_intr(9)
NAME fman_unregister_intr - SYNOPSIS void fman_unregister_intr (struct fman *fman , enum fman_event_modules module , u8 mod_id , enum fman_intr_type intr_type ); ARGUMENTS fman A Pointer to FMan device module Calling module mod_id Module id (if more than 1 exists, '0' if not) ...
fmax(3)
NAME fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fmax(3p)
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 fmax, fmaxf, fmaxl — determine maximum numeric value of two flo...
fmaxf(3)
NAME fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fmaxl(3)
NAME fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fmemopen(3)
NAME fmemopen - open memory as stream LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> FILE *fmemopen(size_t size; void buf[size], size_t size, const char *mode); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fmemopen(): ...
fmemopen(3p)
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 fmemopen — open a memory buffer stream SYNOPSIS #include <stdi...
fmin(3)
NAME fmin, fminf, fminl - determine minimum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmin(double x, double y); float fminf(float x, float y); long double fminl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fmin(3p)
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 fmin, fminf, fminl — determine minimum numeric value of two flo...
fminf(3)
NAME fmin, fminf, fminl - determine minimum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmin(double x, double y); float fminf(float x, float y); long double fminl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fminl(3)
NAME fmin, fminf, fminl - determine minimum of two floating-point numbers LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmin(double x, double y); float fminf(float x, float y); long double fminl(long double x, long double y); Feature Test Macro Requirements for glibc (se...
fmod(3)
NAME fmod, fmodf, fmodl - floating-point remainder function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmod(double x, double y); float fmodf(float x, float y); long double fmodl(long double x, long double y); Feature Test Macro Requirements for glibc (see feature_test...
fmod(3p)
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 fmod, fmodf, fmodl — floating-point remainder value function S...
fmodf(3)
NAME fmod, fmodf, fmodl - floating-point remainder function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmod(double x, double y); float fmodf(float x, float y); long double fmodl(long double x, long double y); Feature Test Macro Requirements for glibc (see feature_test...
fmodl(3)
NAME fmod, fmodf, fmodl - floating-point remainder function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double fmod(double x, double y); float fmodf(float x, float y); long double fmodl(long double x, long double y); Feature Test Macro Requirements for glibc (see feature_test...
fmt(1)
NAME fmt - simple optimal text formatter SYNOPSIS fmt [-WIDTH] [OPTION]... [FILE]... DESCRIPTION Reformat each paragraph in the FILE(s), writing to standard output. The option -WIDTH is an abbreviated form of --width=DIGITS. With no FILE, or when FILE is -, read standard input. Mandatory arguments to...
fmtmsg(3)
NAME fmtmsg - print formatted error messages LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fmtmsg.h> int fmtmsg(long classification, const char *label, int severity, const char *text, const char *action, const char *tag); DESCRIPTION This function displays a me...
fmtmsg(3p)
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 fmtmsg — display a message in the specified format on standard ...
fmtmsg.h(0p)
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 fmtmsg.h — message display structures SYNOPSIS #include <fmtms...
fmtutil(1)
NAME fmtutil - manage TeX formats and Metafont bases, per-user fmtutil-sys - manage TeX formats and Metafont bases, system-wide mktexfmt - create a TeX format or Metafont base SYNOPSIS fmtutil [-user|-sys] [OPTION] ... [COMMAND] fmtutil-sys [OPTION] ... [COMMAND] fmtutil-user [OPTION] ... [COMMAND] mktexfmt FORMAT.fmt...
fmtutil-sys(1)
NAME fmtutil - manage TeX formats and Metafont bases, per-user fmtutil-sys - manage TeX formats and Metafont bases, system-wide mktexfmt - create a TeX format or Metafont base SYNOPSIS fmtutil [-user|-sys] [OPTION] ... [COMMAND] fmtutil-sys [OPTION] ... [COMMAND] fmtutil-user [OPTION] ... [COMMAND] mktexfmt FORMAT.fmt...
fmtutil-user(1)
NAME fmtutil - manage TeX formats and Metafont bases, per-user fmtutil-sys - manage TeX formats and Metafont bases, system-wide mktexfmt - create a TeX format or Metafont base SYNOPSIS fmtutil [-user|-sys] [OPTION] ... [COMMAND] fmtutil-sys [OPTION] ... [COMMAND] fmtutil-user [OPTION] ... [COMMAND] mktexfmt FORMAT.fmt...
fmtutil.cnf(5)
NAME fmtutil.cnf - configuration file for fmtutil DESCRIPTION The fmtutil.cnf file contains the configuration information for fmtutil(8). Each line contains the name of the format (e.g., “tex”, “latex”, “omega”), the name of the engine that is used by that format (e.g., “tex”, “etex”, “omega”), the pattern file...
fname_decrypt(9)
NAME fname_decrypt - decrypt a filename SYNOPSIS int fname_decrypt (const struct inode *inode , const struct fscrypt_str *iname , struct fscrypt_str *oname ); ARGUMENTS inode inode of the parent directory (for regular filenames) or of the symlink (for symlink targets) iname the encrypted filename ...
fnic_common_fip_cleanup(9)
NAME fnic_common_fip_cleanup - Clean up FCF info and timers in case of link down/CVL SYNOPSIS void fnic_common_fip_cleanup (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_send_vlan_req(9), fnic_fcoe_pro...
fnic_fcoe_fip_discovery_resp(9)
NAME fnic_fcoe_fip_discovery_resp - Processes FCF advertisements. SYNOPSIS void fnic_fcoe_fip_discovery_resp (struct fnic *fnic , struct fip_header *fiph ); ARGUMENTS fnic Handle to fnic driver instance fiph Received frame DESCRIPTION FCF advertisements can be: solicited - Sent in response of ...
fnic_fcoe_process_cvl(9)
NAME fnic_fcoe_process_cvl - Processes Clear Virtual Link from FCF. SYNOPSIS void fnic_fcoe_process_cvl (struct fnic *fnic , struct fip_header *fiph ); ARGUMENTS fnic Handle to fnic driver instance fiph Received frame DESCRIPTION Verify that cvl is received from our current FCF for our assigned...
fnic_fcoe_process_flogi_resp(9)
NAME fnic_fcoe_process_flogi_resp - Processes FLOGI response from FCF. SYNOPSIS void fnic_fcoe_process_flogi_resp (struct fnic *fnic , struct fip_header *fiph ); ARGUMENTS fnic Handle to fnic driver instance fiph Received frame DESCRIPTION If successful save assigned fc_id and MAC, program firm...
fnic_fcoe_process_vlan_resp(9)
NAME fnic_fcoe_process_vlan_resp - Processes the vlan response from one FCF and populates VLAN list. SYNOPSIS void fnic_fcoe_process_vlan_resp (struct fnic *fnic , struct fip_header *fiph ); ARGUMENTS fnic Handle to fnic driver instance fiph Received FIP frame DESCRIPTION Will wait for response...
fnic_fcoe_reset_vlans(9)
NAME fnic_fcoe_reset_vlans - Free up the list of discovered vlans SYNOPSIS void fnic_fcoe_reset_vlans (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_send_vlan_req(9), fnic_fcoe_process_vlan_resp(9), fnic_fcoe_...
fnic_fcoe_send_vlan_req(9)
NAME fnic_fcoe_send_vlan_req - Send FIP vlan request to all FCFs MAC SYNOPSIS void fnic_fcoe_send_vlan_req (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_process_vlan_resp(9), fnic_fcoe_start_fcf_discovery(...
fnic_fcoe_start_fcf_discovery(9)
NAME fnic_fcoe_start_fcf_discovery - Start FIP FCF discovery in a selected vlan SYNOPSIS void fnic_fcoe_start_fcf_discovery (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_send_vlan_req(9), fnic_fcoe_pr...
fnic_fcoe_start_flogi(9)
NAME fnic_fcoe_start_flogi - Send FIP FLOGI to the selected FCF SYNOPSIS void fnic_fcoe_start_flogi (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_send_vlan_req(9), fnic_fcoe_process_...
fnic_flush_tx(9)
NAME fnic_flush_tx - send queued frames. SYNOPSIS void fnic_flush_tx (struct work_struct *work ); ARGUMENTS work pointer to work element DESCRIPTION Send frames that were waiting to go out in FC or Ethernet mode. Whenever changing modes we purge queued frames, so these frames should be queued for the stabl...
fnic_handle_enode_ka_timer(9)
NAME fnic_handle_enode_ka_timer - FIP node keep alive. SYNOPSIS void fnic_handle_enode_ka_timer (struct timer_list *t ); ARGUMENTS t Handle to the timer list SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_send_vlan_req(9), fnic_fcoe_process_vlan_resp(9), fnic_fcoe_s...
fnic_handle_fcs_ka_timer(9)
NAME fnic_handle_fcs_ka_timer - Handle FCS keep alive timer. SYNOPSIS void fnic_handle_fcs_ka_timer (struct timer_list *t ); ARGUMENTS t Handle to the timer list DESCRIPTION No keep alives received from FCF. Clean up, bring the link down and restart all the FIP discovery. SEE ALSO Kernel file ./drivers/...
fnic_handle_fip_timer(9)
NAME fnic_handle_fip_timer - Timeout handler for FIP discover phase. SYNOPSIS void fnic_handle_fip_timer (struct timer_list *t ); ARGUMENTS t Handle to the timer list DESCRIPTION Based on the current state, start next phase or restart discovery. SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic...
fnic_handle_vn_ka_timer(9)
NAME fnic_handle_vn_ka_timer - FIP virtual port keep alive. SYNOPSIS void fnic_handle_vn_ka_timer (struct timer_list *t ); ARGUMENTS t Handle to the timer list SEE ALSO Kernel file ./drivers/scsi/fnic/fip.c fnic_fcoe_reset_vlans(9), fnic_fcoe_send_vlan_req(9), fnic_fcoe_process_vlan_resp(9), fnic_fcoe...
fnic_import_rq_eth_pkt(9)
NAME fnic_import_rq_eth_pkt - handle received FCoE or FIP frame. SYNOPSIS int fnic_import_rq_eth_pkt (struct fnic *fnic , void *fp ); ARGUMENTS fnic fnic instance. fp Ethernet Frame. SEE ALSO Kernel file ./drivers/scsi/fnic/fnic_fcs.c fnic_update_mac_locked(9), fdls_send_fcoe_frame(9), fnic_f...
fnic_tport_event_handler(9)
NAME fnic_tport_event_handler - Handler for remote port events in the tport_event_queue. SYNOPSIS void fnic_tport_event_handler (struct work_struct *work ); ARGUMENTS work Handle to the remote port being dequeued SEE ALSO Kernel file ./drivers/scsi/fnic/fnic_fcs.c fnic_import_rq_eth_pkt(9), fnic_update_mac_lo...
fnic_update_mac_locked(9)
NAME fnic_update_mac_locked - set data MAC address and filters. SYNOPSIS void fnic_update_mac_locked (struct fnic *fnic , u8 *new ); ARGUMENTS fnic fnic instance. new newly-assigned FCoE MAC address. DESCRIPTION Called with the fnic lock held. SEE ALSO Kernel file ./drivers/scsi/fnic/fnic_fcs...
fnic_vlan_discovery_timeout(9)
NAME fnic_vlan_discovery_timeout - Handle vlan discovery timeout SYNOPSIS void fnic_vlan_discovery_timeout (struct fnic *fnic ); ARGUMENTS fnic Handle to fnic driver instance DESCRIPTION End of VLAN discovery or FCF discovery time window. Start the FCF discovery if VLAN was never used. SEE ALSO Kernel file...
fnic_work_on_fcs_ka_timer(9)
NAME fnic_work_on_fcs_ka_timer - Handle work on FCS keep alive timer. SYNOPSIS void fnic_work_on_fcs_ka_timer (struct work_struct *work ); ARGUMENTS work the work queue to be serviced DESCRIPTION Finish handling fcs_ka_timer in process context. Clean up, bring the link down, and restart all FIP discovery. S...
fnmatch(3)
NAME fnmatch - match filename or pathname LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fnmatch.h> int fnmatch(const char *pattern, const char *string, int flags); DESCRIPTION The fnmatch() function checks whether the string argument matches the pattern argument, which is a shell wildcard pattern...
fnmatch(3p)
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 fnmatch — match a filename string or a pathname SYNOPSIS #incl...
fnmatch.3am(3)
NAME fnmatch - compare a string against a filename wildcard SYNOPSIS @load "fnmatch" result = fnmatch(pattern, string, flags) DESCRIPTION The fnmatch extension provides an AWK interface to the fnmatch(3) routine. It adds a single function named fnmatch(), one predefined variable (FNM_NOMATCH), and an array o...
fnmatch.h(0p)
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 fnmatch.h — filename-matching types SYNOPSIS #include <fnmatch...
fns(9)
NAME fns - find N'th set bit in a word SYNOPSIS unsigned int fns (unsigned long word , unsigned int n ); ARGUMENTS word The word to search n Bit to find SEE ALSO Kernel file ./include/linux/bitops.h rol64(9), ror64(9), rol32(9), ror32(9), rol16(9), ror16(9), rol8(9), ror8(9), sign_ext...
fold(1)
NAME fold - wrap each input line to fit in specified width SYNOPSIS fold [OPTION]... [FILE]... DESCRIPTION Wrap input lines in each FILE, writing to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -...
fold(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 fold — filter for folding lines SYNOPSIS fold [-bs] [-w w...
folio_add_anon_rmap_pmd(9)
NAME folio_add_anon_rmap_pmd - add a PMD mapping to a page range of an anon folio SYNOPSIS void folio_add_anon_rmap_pmd (struct folio *folio , struct page *page , struct vm_area_struct *vma , unsigned long address , rmap_t flags ); ARGUMENTS folio The folio to add the mapping to page The first pa...
folio_add_anon_rmap_ptes(9)
NAME folio_add_anon_rmap_ptes - add PTE mappings to a page range of an anon folio SYNOPSIS void folio_add_anon_rmap_ptes (struct folio *folio , struct page *page , int nr_pages , struct vm_area_struct *vma , unsigned long address , rmap_t flags ); ARGUMENTS folio The folio to add the mappings to page ...
folio_add_file_rmap_pmd(9)
NAME folio_add_file_rmap_pmd - add a PMD mapping to a page range of a folio SYNOPSIS void folio_add_file_rmap_pmd (struct folio *folio , struct page *page , struct vm_area_struct *vma ); ARGUMENTS folio The folio to add the mapping to page The first page to add vma The vm area in ...
folio_add_file_rmap_ptes(9)
NAME folio_add_file_rmap_ptes - add PTE mappings to a page range of a folio SYNOPSIS void folio_add_file_rmap_ptes (struct folio *folio , struct page *page , int nr_pages , struct vm_area_struct *vma ); ARGUMENTS folio The folio to add the mappings to page The first page to add nr_pages ...
folio_add_file_rmap_pud(9)
NAME folio_add_file_rmap_pud - add a PUD mapping to a page range of a folio SYNOPSIS void folio_add_file_rmap_pud (struct folio *folio , struct page *page , struct vm_area_struct *vma ); ARGUMENTS folio The folio to add the mapping to page The first page to add vma The vm area in ...
folio_add_lru(9)
NAME folio_add_lru - Add a folio to an LRU list. SYNOPSIS void folio_add_lru (struct folio *folio ); ARGUMENTS folio The folio to be added to the LRU. DESCRIPTION Queue the folio for addition to the LRU. The decision on whether to add the page to the [in]active [file|anon] list is deferred until the folio_b...
folio_add_lru_vma(9)
NAME folio_add_lru_vma - Add a folio to the appropriate LRU list for this VMA. SYNOPSIS void folio_add_lru_vma (struct folio *folio , struct vm_area_struct *vma ); ARGUMENTS folio The folio to be added to the LRU. vma VMA in which the folio is mapped. DESCRIPTION If the VMA is mlocked, folio is...
folio_add_new_anon_rmap(9)
NAME folio_add_new_anon_rmap - Add mapping to a new anonymous folio. SYNOPSIS void folio_add_new_anon_rmap (struct folio *folio , struct vm_area_struct *vma , unsigned long address , rmap_t flags ); ARGUMENTS folio The folio to add the mapping to. vma the vm area in which the mapping is added ...
folio_add_pin(9)
NAME folio_add_pin - Try to get an additional pin on a pinned folio SYNOPSIS void folio_add_pin (struct folio *folio ); ARGUMENTS folio The folio to be pinned DESCRIPTION Get an additional pin on a folio we already have a pin on. Makes no change if the folio is a zero_page. SEE ALSO Kernel file ./mm/gup.c ...
folio_add_pins(9)
NAME folio_add_pins - add pins to an already-pinned folio SYNOPSIS int folio_add_pins (struct folio *folio , unsigned int pins ); ARGUMENTS folio the folio to add more pins to pins number of pins to add DESCRIPTION Try to add more pins to an already-pinned folio. The semantics of the pin (...
folio_alloc_swap(9)
NAME folio_alloc_swap - allocate swap space for a folio SYNOPSIS int folio_alloc_swap (struct folio *folio ); ARGUMENTS folio folio we want to move to swap DESCRIPTION Allocate swap space for the folio and add the folio to the swap cache. CONTEXT Caller needs to hold the folio lock. RETURN Whether the folio ...
folio_attach_private(9)
NAME folio_attach_private - Attach private data to a folio. SYNOPSIS void folio_attach_private (struct folio *folio , void *data ); ARGUMENTS folio Folio to attach data to. data Data to attach to folio. DESCRIPTION Attaching private data to a folio increments the page's reference count. The dat...
folio_average_page_mapcount(9)
NAME folio_average_page_mapcount - Average number of mappings per page in this folio SYNOPSIS int folio_average_page_mapcount (struct folio *folio ); ARGUMENTS folio The folio. DESCRIPTION The average number of user page table entries that reference each page in this folio as tracked via the RMAP: either refer...
folio_batch_add(9)
NAME folio_batch_add - Add a folio to a batch. SYNOPSIS unsigned folio_batch_add (struct folio_batch *fbatch , struct folio *folio ); ARGUMENTS fbatch The folio batch. folio The folio to add. DESCRIPTION The folio is added to the end of the batch. The batch must have previously been initialised u...
folio_batch_init(9)
NAME folio_batch_init - Initialise a batch of folios SYNOPSIS void folio_batch_init (struct folio_batch *fbatch ); ARGUMENTS fbatch The folio batch. DESCRIPTION A freshly initialised folio_batch contains zero folios. SEE ALSO Kernel file ./include/linux/pagevec.h struct folio_batch(9), folio_batch_add(9), foli...
folio_batch_next(9)
NAME folio_batch_next - Return the next folio to process. SYNOPSIS struct folio * folio_batch_next (struct folio_batch *fbatch ); ARGUMENTS fbatch The folio batch being processed. DESCRIPTION Use this function to implement a queue of folios. RETURN The next folio in the queue, or NULL if the queue is empty. S...
folio_batch_remove_exceptionals(9)
NAME folio_batch_remove_exceptionals - Prune non-folios from a batch. SYNOPSIS void folio_batch_remove_exceptionals (struct folio_batch *fbatch ); ARGUMENTS fbatch The batch to prune DESCRIPTION find_get_entries fills a batch with both folios and shadow/swap/DAX entries. This function prunes all the non-folio ...
folio_can_map_prot_numa(9)
NAME folio_can_map_prot_numa - check whether the folio can map prot numa SYNOPSIS bool folio_can_map_prot_numa (struct folio *folio , struct vm_area_struct *vma , bool is_private_single_threaded ); ARGUMENTS folio The folio whose mapping considered for being made NUMA hintable vma The VMA that t...
folio_change_private(9)
NAME folio_change_private - Change private data on a folio. SYNOPSIS void * folio_change_private (struct folio *folio , void *data ); ARGUMENTS folio Folio to change the data on. data Data to set on the folio. DESCRIPTION Change the private data attached to a folio and return the old data. The ...
folio_check_splittable(9)
NAME folio_check_splittable - check if a folio can be split to a given order SYNOPSIS int folio_check_splittable (struct folio *folio , unsigned int new_order , enum split_type split_type ); ARGUMENTS folio folio to be split new_order the smallest order of the after split folios (since buddy allocator...
folio_contains(9)
NAME folio_contains - Does this folio contain this index? SYNOPSIS bool folio_contains (const struct folio *folio , pgoff_t index ); ARGUMENTS folio The folio. index The page index within the file. CONTEXT The caller should have the folio locked and ensure e.g., shmem did not move this folio to t...
folio_copy(9)
NAME folio_copy - Copy the contents of one folio to another. SYNOPSIS void folio_copy (struct folio *dst , struct folio *src ); ARGUMENTS dst Folio to copy to. src Folio to copy from. DESCRIPTION The bytes in the folio represented by src are copied to dst. Assumes the caller has validated t...
folio_detach_private(9)
NAME folio_detach_private - Detach private data from a folio. SYNOPSIS void * folio_detach_private (struct folio *folio ); ARGUMENTS folio Folio to detach data from. DESCRIPTION Removes the data that was previously attached to the folio and decrements the refcount on the page. RETURN Data that was attached to...
folio_dup_file_rmap_pmd(9)
NAME folio_dup_file_rmap_pmd - duplicate a PMD mapping of a page range of a folio SYNOPSIS void folio_dup_file_rmap_pmd (struct folio *folio , struct page *page , struct vm_area_struct *dst_vma ); ARGUMENTS folio The folio to duplicate the mapping of page The first page to duplicate the mapping o...
folio_dup_file_rmap_ptes(9)
NAME folio_dup_file_rmap_ptes - duplicate PTE mappings of a page range of a folio SYNOPSIS void folio_dup_file_rmap_ptes (struct folio *folio , struct page *page , int nr_pages , struct vm_area_struct *dst_vma ); ARGUMENTS folio The folio to duplicate the mappings of page The first page to duplic...
folio_dup_swap(9)
NAME folio_dup_swap - Increase swap count of swap entries of a folio. SYNOPSIS int folio_dup_swap (struct folio *folio , struct page *subpage ); ARGUMENTS folio folio with swap entries bounded. subpage if not NULL, only increase the swap count of this subpage. DESCRIPTION Typically called when the ...
folio_end_private_2(9)
NAME folio_end_private_2 - Clear PG_private_2 and wake any waiters. SYNOPSIS void folio_end_private_2 (struct folio *folio ); ARGUMENTS folio The folio. DESCRIPTION Clear the PG_private_2 bit on a folio and wake up any sleepers waiting for it. The folio reference held for PG_private_2 being set is released....
folio_end_read(9)
NAME folio_end_read - End read on a folio. SYNOPSIS void folio_end_read (struct folio *folio , bool success ); ARGUMENTS folio The folio. success True if all reads completed successfully. DESCRIPTION When all reads against a folio have completed, filesystems should call this function to let the p...
folio_end_writeback(9)
NAME folio_end_writeback - End writeback against a folio. SYNOPSIS void folio_end_writeback (struct folio *folio ); ARGUMENTS folio The folio. DESCRIPTION The folio must actually be under writeback. CONTEXT May be called from process or interrupt context. SEE ALSO Kernel file ./mm/filemap.c filemap_remove...