id
stringlengths
4
63
text
stringlengths
153
8.81M
folioq_is_marked2(9)
NAME folioq_is_marked2 - Check second folio mark in a folio queue segment SYNOPSIS bool folioq_is_marked2 (const struct folio_queue *folioq , unsigned int slot ); ARGUMENTS folioq The segment to query slot The slot number of the folio to query DESCRIPTION Determine if the second mark is set for t...
folioq_mark(9)
NAME folioq_mark - Set the first mark on a folio in a folio queue segment SYNOPSIS void folioq_mark (struct folio_queue *folioq , unsigned int slot ); ARGUMENTS folioq The segment to modify slot The slot number of the folio to modify DESCRIPTION Set the first mark for the folio in the specified s...
folioq_mark2(9)
NAME folioq_mark2 - Set the second mark on a folio in a folio queue segment SYNOPSIS void folioq_mark2 (struct folio_queue *folioq , unsigned int slot ); ARGUMENTS folioq The segment to modify slot The slot number of the folio to modify DESCRIPTION Set the second mark for the folio in the specifi...
folioq_nr_slots(9)
NAME folioq_nr_slots - Query the capacity of a folio queue segment SYNOPSIS unsigned int folioq_nr_slots (const struct folio_queue *folioq ); ARGUMENTS folioq The segment to query DESCRIPTION Query the number of folios that a particular folio queue segment might hold. [!] NOTE: This must not be assumed to be t...
folioq_unmark(9)
NAME folioq_unmark - Clear the first mark on a folio in a folio queue segment SYNOPSIS void folioq_unmark (struct folio_queue *folioq , unsigned int slot ); ARGUMENTS folioq The segment to modify slot The slot number of the folio to modify DESCRIPTION Clear the first mark for the folio in the spe...
folioq_unmark2(9)
NAME folioq_unmark2 - Clear the second mark on a folio in a folio queue segment SYNOPSIS void folioq_unmark2 (struct folio_queue *folioq , unsigned int slot ); ARGUMENTS folioq The segment to modify slot The slot number of the folio to modify DESCRIPTION Clear the second mark for the folio in the...
folios_put(9)
NAME folios_put - Decrement the reference count on an array of folios. SYNOPSIS void folios_put (struct folio_batch *folios ); ARGUMENTS folios The folios. DESCRIPTION Like folio_put, but for a batch of folios. This is more efficient than writing the loop yourself as it will optimise the locks which need to be...
folios_put_refs(9)
NAME folios_put_refs - Reduce the reference count on a batch of folios. SYNOPSIS void folios_put_refs (struct folio_batch *folios , unsigned int *refs ); ARGUMENTS folios The folios. refs The number of refs to subtract from each folio. DESCRIPTION Like folio_put, but for a batch of folios. This ...
follow_page_mask(9)
NAME follow_page_mask - look up a page descriptor from a user-virtual address SYNOPSIS struct page * follow_page_mask (struct vm_area_struct *vma , unsigned long address , unsigned int flags , unsigned long *page_mask ); ARGUMENTS vma vm_area_struct mapping address address virtual address to look ...
follow_pfnmap_end(9)
NAME follow_pfnmap_end - End a follow_pfnmap_start() process SYNOPSIS void follow_pfnmap_end (struct follow_pfnmap_args *args ); ARGUMENTS args Pointer to struct follow_pfnmap_args DESCRIPTION Must be used in pair of follow_pfnmap_start. See the start function above for more information. SEE ALSO Kernel fi...
follow_pfnmap_start(9)
NAME follow_pfnmap_start - Look up a pfn mapping at a user virtual address SYNOPSIS int follow_pfnmap_start (struct follow_pfnmap_args *args ); ARGUMENTS args Pointer to struct follow_pfnmap_args DESCRIPTION The caller needs to setup args->vma and args->address to point to the virtual address as the target of...
fontinst(1)
NAME fontinst - utility to run TeX as fontinst SYNOPSIS fontinst package DESCRIPTION fontinst runs tex(1) with the --progname flag set to pretend to be the program fontinst (affecting Karl Berry paths). Typing fontinst fontinst.sty will start tex(1) and give the user an interactive prompt (*) ...
fonts-conf(5)
NAME fonts.conf - Font configuration files SYNOPSIS /etc/fonts /fonts.conf /etc/fonts /fonts.dtd /etc/fonts /conf.d $XDG_CONFIG_HOME/fontconfig/conf.d $XDG_CONFIG_HOME/fontconfig/fonts.conf ~/.fonts.conf.d ~/.fonts.conf DESCRIPTION Fontconfig is a library designed to provide system-wide font configuration, customizat...
fopen(3)
NAME fopen, fdopen, freopen - stream open functions LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> FILE *fopen(const char *restrict path, const char *restrict mode); FILE *fdopen(int fd, const char *mode); FILE *freopen(const char *restrict path, const char *restrict mode, ...
fopen(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 fopen — open a stream SYNOPSIS #include <stdio.h> FILE...
fopencookie(3)
NAME fopencookie - open a custom stream LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #define _FILE_OFFSET_BITS 64 #include <stdio.h> FILE *fopencookie(void *restrict cookie, const char *restrict mode, cookie_io_functions_...
for_each_acpi_consumer_dev(9)
NAME for_each_acpi_consumer_dev - iterate over the consumer ACPI devices for a given supplier SYNOPSIS for_each_acpi_consumer_dev (supplier , consumer ); ARGUMENTS supplier Pointer to the supplier's ACPI device consumer Pointer to struct acpi_device to hold the consumer, initially NULL SEE ALSO Kernel ...
for_each_acpi_dev_match(9)
NAME for_each_acpi_dev_match - iterate over ACPI devices that matching the criteria SYNOPSIS for_each_acpi_dev_match (adev , hid , uid , hrv ); ARGUMENTS adev pointer to the matching ACPI device, NULL at the end of the loop hid Hardware ID of the device. uid Unique ID of the dev...
for_each_active_interface(9)
NAME for_each_active_interface - iterate active interfaces under wiphy mutex SYNOPSIS for_each_active_interface (vif , hw ); ARGUMENTS vif the iterator variable hw the HW to iterate for SEE ALSO Kernel file ./include/net/mac80211.h Kernel API(9), Kernel API(9), Kernel API(9), Kernel...
for_each_active_route(9)
NAME for_each_active_route - iterate on all active routes of a routing table SYNOPSIS for_each_active_route (routing , route ); ARGUMENTS routing The routing table route The route iterator SEE ALSO Kernel file ./include/media/v4l2-subdev.h struct v4l2_decode_vbi_line(9), enum v4l2_subdev_io_p...
for_each_clear_bitrange(9)
NAME for_each_clear_bitrange - iterate over all unset bit ranges [b; e) SYNOPSIS for_each_clear_bitrange (b , e , addr , size ); ARGUMENTS b bit offset of start of current bitrange (first unset bit) e bit offset of end of current bitrange (first set bit) addr bitmap address ...
for_each_clear_bitrange_from(9)
NAME for_each_clear_bitrange_from - iterate over all unset bit ranges [b; e) SYNOPSIS for_each_clear_bitrange_from (b , e , addr , size ); ARGUMENTS b bit offset of start of current bitrange (first set bit); must be initialized e bit offset of end of current bitrange (first unset bit) ...
for_each_console(9)
NAME for_each_console - Iterator over registered consoles SYNOPSIS for_each_console (con ); ARGUMENTS con struct console pointer used as loop cursor DESCRIPTION The console list and the console.flags are immutable while iterating. Requires console_list_lock to be held. SEE ALSO Kernel file ./include/linux...
for_each_console_srcu(9)
NAME for_each_console_srcu - Iterator over registered consoles SYNOPSIS for_each_console_srcu (con ); ARGUMENTS con struct console pointer used as loop cursor DESCRIPTION Although SRCU guarantees the console list will be consistent, the struct console fields may be updated by other CPUs while iterating. Req...
for_each_cpu(9)
NAME for_each_cpu - iterate over every cpu in a mask SYNOPSIS for_each_cpu (cpu , mask ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask the cpumask pointer DESCRIPTION After the loop, cpu is >= nr_cpu_ids. SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9)...
for_each_cpu_and(9)
NAME for_each_cpu_and - iterate over every cpu in both masks SYNOPSIS for_each_cpu_and (cpu , mask1 , mask2 ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask1 the first cpumask pointer mask2 the second cpumask pointer DESCRIPTION This saves a temporary CPU mask in m...
for_each_cpu_andnot(9)
NAME for_each_cpu_andnot - iterate over every cpu present in one mask, excluding those present in another. SYNOPSIS for_each_cpu_andnot (cpu , mask1 , mask2 ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask1 the first cpumask pointer mask2 the second cpumask pointer ...
for_each_cpu_from(9)
NAME for_each_cpu_from - iterate over CPUs present in @mask, from @cpu to the end of @mask. SYNOPSIS for_each_cpu_from (cpu , mask ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask the cpumask pointer DESCRIPTION After the loop, cpu is >= nr_cpu_ids. SEE ALSO Kernel file ./...
for_each_cpu_or(9)
NAME for_each_cpu_or - iterate over every cpu present in either mask SYNOPSIS for_each_cpu_or (cpu , mask1 , mask2 ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask1 the first cpumask pointer mask2 the second cpumask pointer DESCRIPTION This saves a temporary CPU ma...
for_each_cpu_wrap(9)
NAME for_each_cpu_wrap - iterate over every cpu in a mask, starting at a specified location SYNOPSIS for_each_cpu_wrap (cpu , mask , start ); ARGUMENTS cpu the (optionally unsigned) integer iterator mask the cpumask pointer start the start location DESCRIPTION The implementation ...
for_each_cpuid_0x2_desc(9)
NAME for_each_cpuid_0x2_desc - Iterator for parsed CPUID(0x2) descriptors SYNOPSIS for_each_cpuid_0x2_desc (_regs , _ptr , _desc ); ARGUMENTS _regs CPUID(0x2) register output, as returned by cpuid_leaf_0x2 _ptr u8 pointer, for macro internal use only _desc Pointer to the parsed CPUI...
for_each_css(9)
NAME for_each_css - iterate all css's of a cgroup SYNOPSIS for_each_css (css , ssid , cgrp ); ARGUMENTS css the iteration cursor ssid the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end cgrp the target cgroup to iterate css's of DESCRIPTION Should be called un...
for_each_efi_memory_desc(9)
NAME for_each_efi_memory_desc - iterate over descriptors in efi.memmap SYNOPSIS for_each_efi_memory_desc (md ); ARGUMENTS md the efi_memory_desc_t * iterator DESCRIPTION Once the loop finishes md must not be accessed. SEE ALSO Kernel file ./include/linux/efi.h efi_range_is_wc(9) April 2026 ...
for_each_element_completed(9)
NAME for_each_element_completed - determine if element parsing consumed all data SYNOPSIS bool for_each_element_completed (const struct element *element , const void *data , size_t datalen ); ARGUMENTS element element pointer after for_each_element or friends data same data pointer as passed to for...
for_each_endpoint_of_node(9)
NAME for_each_endpoint_of_node - iterate over every endpoint in a device node SYNOPSIS for_each_endpoint_of_node (parent , child ); ARGUMENTS parent parent device node containing ports and endpoints child loop variable pointing to the current endpoint node DESCRIPTION When breaking out of the loop...
for_each_free_mem_range(9)
NAME for_each_free_mem_range - iterate through free memblock areas SYNOPSIS for_each_free_mem_range (i , nid , flags , p_start , p_end , p_nid ); ARGUMENTS i u64 used as loop variable nid node selector, NUMA_NO_NODE for all nodes flags pick from blocks based on memory attribute...
for_each_free_mem_range_reverse(9)
NAME for_each_free_mem_range_reverse - rev-iterate through free memblock areas SYNOPSIS for_each_free_mem_range_reverse (i , nid , flags , p_start , p_end , p_nid ); ARGUMENTS i u64 used as loop variable nid node selector, NUMA_NO_NODE for all nodes flags pick from blocks based...
for_each_ggtt_vma(9)
NAME for_each_ggtt_vma - Iterate over the GGTT VMA belonging to an object. SYNOPSIS for_each_ggtt_vma (V , OBJ ); ARGUMENTS V the #i915_vma iterator OBJ the #drm_i915_gem_object DESCRIPTION GGTT VMA are placed at the being of the object's vma_list, see vma_create, so we can stop our walk as...
for_each_hwgpio(9)
NAME for_each_hwgpio - Iterates over all GPIOs for given chip. SYNOPSIS for_each_hwgpio (_chip , _i , _label ); ARGUMENTS _chip Chip to iterate over. _i Loop counter. _label Place to store the address of the label if the GPIO is requested. Set to NULL for unused GPIOs. SEE ALSO K...
for_each_hwgpio_in_range(9)
NAME for_each_hwgpio_in_range - Iterates over all GPIOs in a given range SYNOPSIS for_each_hwgpio_in_range (_chip , _i , _base , _size , _label ); ARGUMENTS _chip Chip to iterate over. _i Loop counter. _base First GPIO in the ranger. _size Amount of GPIOs to check st...
for_each_ie(9)
NAME for_each_ie - iterate over continuous IEs SYNOPSIS for_each_ie (ie , buf , buf_len ); ARGUMENTS ie buf buf_len SEE ALSO Kernel file ./drivers/staging/rtl8723bs/include/ieee80211.h enum rtw_ieee80211_channel_flags(9) April 2026 ...
for_each_if(9)
NAME for_each_if - helper for handling conditionals in various for_each macros SYNOPSIS for_each_if (condition ); ARGUMENTS condition The condition to check DESCRIPTION Typical use:: #define for_each_foo_bar(x, y) ' list_for_each_entry(x, y->list, head) ' for_each_if(x->something == SOMETHING) The for_each_if macr...
for_each_insn_prefix(9)
NAME for_each_insn_prefix - - Iterate prefixes in the instruction SYNOPSIS for_each_insn_prefix (insn , prefix ); ARGUMENTS insn Pointer to struct insn. prefix Prefix byte. DESCRIPTION Iterate prefix bytes of given insn. Each prefix byte is stored in prefix and the index is stored in idx (note th...
for_each_interface(9)
NAME for_each_interface - iterate interfaces under wiphy mutex SYNOPSIS for_each_interface (vif , hw , flags ); ARGUMENTS vif the iterator variable hw the HW to iterate for flags the iteration flags, see enum ieee80211_interface_iteration_flags SEE ALSO Kernel file ./include/...
for_each_kernel_tracepoint(9)
NAME for_each_kernel_tracepoint - iteration on all kernel tracepoints SYNOPSIS void for_each_kernel_tracepoint (void (*fct)(struct tracepoint *tp, void *priv) , void *priv ); ARGUMENTS fct callback priv private data SEE ALSO Kernel file ./kernel/tracepoint.c tracepoint_probe_register_prio_ma...
for_each_media_entity_data_link(9)
NAME for_each_media_entity_data_link - Iterate through an entity's data links SYNOPSIS for_each_media_entity_data_link (entity , link ); ARGUMENTS entity pointer to the media_entity link pointer to a media_link to hold the iterated values DESCRIPTION Iterate over a media_entity's data links SEE ...
for_each_mem_pfn_range(9)
NAME for_each_mem_pfn_range - early memory pfn range iterator SYNOPSIS for_each_mem_pfn_range (i , nid , p_start , p_end , p_nid ); ARGUMENTS i an integer used as loop variable nid node selector, MAX_NUMNODES for all nodes p_start ptr to ulong for start pfn of the range, can be N...
for_each_mem_range(9)
NAME for_each_mem_range - iterate through memory areas. SYNOPSIS for_each_mem_range (i , p_start , p_end ); ARGUMENTS i u64 used as loop variable p_start ptr to phys_addr_t for start address of the range, can be NULL p_end ptr to phys_addr_t for end address of the range, can be NUL...
for_each_mem_range_rev(9)
NAME for_each_mem_range_rev - reverse iterate through memblock areas from type_a and not included in type_b. Or just type_a if type_b is NULL. SYNOPSIS for_each_mem_range_rev (i , p_start , p_end ); ARGUMENTS i u64 used as loop variable p_start ptr to phys_addr_t for start address of the range, ...
for_each_mem_region(9)
NAME for_each_mem_region - iterate over memory regions SYNOPSIS for_each_mem_region (region ); ARGUMENTS region loop variable SEE ALSO Kernel file ./include/linux/memblock.h enum memblock_flags(9), struct memblock_region(9), struct memblock_type(9), struct memblock(9), for_each_physmem_range(9), __for_eac...
for_each_memory_block(9)
NAME for_each_memory_block - walk through all present memory blocks SYNOPSIS int for_each_memory_block (void *arg , walk_memory_blocks_func_t func ); ARGUMENTS arg argument passed to func func callback for each memory block walked DESCRIPTION This function walks through all present memory bloc...
for_each_module_tracepoint(9)
NAME for_each_module_tracepoint - iteration on all tracepoints in all modules SYNOPSIS void for_each_module_tracepoint (void (*fct)(struct tracepoint *tp, struct module *mod, void *priv) , void *priv ); ARGUMENTS fct callback priv private data SEE ALSO Kernel file ./kernel/tracepoint.c trace...
for_each_new_colorop_in_state(9)
NAME for_each_new_colorop_in_state - iterate over all colorops in an atomic update SYNOPSIS for_each_new_colorop_in_state (__state , colorop , new_colorop_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer colorop struct drm_colorop iteration cursor new_colorop_state ...
for_each_new_connector_in_state(9)
NAME for_each_new_connector_in_state - iterate over all connectors in an atomic update SYNOPSIS for_each_new_connector_in_state (__state , connector , new_connector_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer connector struct drm_connector iteration cursor new_connector_stat...
for_each_new_crtc_in_state(9)
NAME for_each_new_crtc_in_state - iterate over all CRTCs in an atomic update SYNOPSIS for_each_new_crtc_in_state (__state , crtc , new_crtc_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer crtc struct drm_crtc iteration cursor new_crtc_state struct drm_crt...
for_each_new_mst_mgr_in_state(9)
NAME for_each_new_mst_mgr_in_state - iterate over all DP MST topology managers in an atomic update SYNOPSIS for_each_new_mst_mgr_in_state (__state , mgr , new_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer mgr struct drm_dp_mst_topology_mgr iteration cursor new_state st...
for_each_new_plane_in_state(9)
NAME for_each_new_plane_in_state - iterate over all planes in an atomic update SYNOPSIS for_each_new_plane_in_state (__state , plane , new_plane_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer plane struct drm_plane iteration cursor new_plane_state struct ...
for_each_new_plane_in_state_reverse(9)
NAME for_each_new_plane_in_state_reverse - other than only tracking new state, it's the same as for_each_oldnew_plane_in_state_reverse SYNOPSIS for_each_new_plane_in_state_reverse (__state , plane , new_plane_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer plane struct drm_plane ite...
for_each_new_private_obj_in_state(9)
NAME for_each_new_private_obj_in_state - iterate over all private objects in an atomic update SYNOPSIS for_each_new_private_obj_in_state (__state , obj , new_obj_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer obj struct drm_private_obj iteration cursor new_obj_state ...
for_each_nhlt_endpoint(9)
NAME for_each_nhlt_endpoint - Iterate over endpoints in a NHLT table. SYNOPSIS for_each_nhlt_endpoint (tb , ep ); ARGUMENTS tb the pointer to a NHLT table. ep the pointer to endpoint to use as loop cursor. SEE ALSO Kernel file ./include/acpi/nhlt.h acpi_nhlt_endpoint_fmtscfg(9), for_each_nh...
for_each_nhlt_endpoint_fmtcfg(9)
NAME for_each_nhlt_endpoint_fmtcfg - Iterate over format configurations in an endpoint. SYNOPSIS for_each_nhlt_endpoint_fmtcfg (ep , fmt ); ARGUMENTS ep the pointer to an endpoint. fmt the pointer to format to use as loop cursor. SEE ALSO Kernel file ./include/acpi/nhlt.h acpi_nhlt_endpoint_...
for_each_nhlt_fmtcfg(9)
NAME for_each_nhlt_fmtcfg - Iterate over format configurations. SYNOPSIS for_each_nhlt_fmtcfg (fmts , fmt ); ARGUMENTS fmts the pointer to formats configuration space. fmt the pointer to format to use as loop cursor. SEE ALSO Kernel file ./include/acpi/nhlt.h acpi_nhlt_endpoint_fmtscfg(9), for...
for_each_node_numadist(9)
NAME for_each_node_numadist - iterate over nodes in increasing distance order, starting from a given node SYNOPSIS for_each_node_numadist (node , unvisited ); ARGUMENTS node the iteration variable and the starting node. unvisited a nodemask to keep track of the unvisited nodes. DESCRIPTION This mac...
for_each_numa_hop_mask(9)
NAME for_each_numa_hop_mask - iterate over cpumasks of increasing NUMA distance from a given node. SYNOPSIS for_each_numa_hop_mask (mask , node ); ARGUMENTS mask the iteration variable. node the NUMA node to start the search from. DESCRIPTION Requires rcu_lock to be held. Yields cpu_online_mas...
for_each_of_graph_port(9)
NAME for_each_of_graph_port - iterate over every port in a device or ports node SYNOPSIS for_each_of_graph_port (parent , child ); ARGUMENTS parent parent device or ports node containing port child loop variable pointing to the current port node DESCRIPTION When breaking out of the loop, and conti...
for_each_of_graph_port_endpoint(9)
NAME for_each_of_graph_port_endpoint - iterate over every endpoint in a port node SYNOPSIS for_each_of_graph_port_endpoint (parent , child ); ARGUMENTS parent parent port node child loop variable pointing to the current endpoint node DESCRIPTION When breaking out of the loop, and continue to use t...
for_each_old_connector_in_state(9)
NAME for_each_old_connector_in_state - iterate over all connectors in an atomic update SYNOPSIS for_each_old_connector_in_state (__state , connector , old_connector_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer connector struct drm_connector iteration cursor old_connector_stat...
for_each_old_crtc_in_state(9)
NAME for_each_old_crtc_in_state - iterate over all CRTCs in an atomic update SYNOPSIS for_each_old_crtc_in_state (__state , crtc , old_crtc_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer crtc struct drm_crtc iteration cursor old_crtc_state struct drm_crt...
for_each_old_mst_mgr_in_state(9)
NAME for_each_old_mst_mgr_in_state - iterate over all DP MST topology managers in an atomic update SYNOPSIS for_each_old_mst_mgr_in_state (__state , mgr , old_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer mgr struct drm_dp_mst_topology_mgr iteration cursor old_state st...
for_each_old_plane_in_state(9)
NAME for_each_old_plane_in_state - iterate over all planes in an atomic update SYNOPSIS for_each_old_plane_in_state (__state , plane , old_plane_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer plane struct drm_plane iteration cursor old_plane_state struct ...
for_each_old_private_obj_in_state(9)
NAME for_each_old_private_obj_in_state - iterate over all private objects in an atomic update SYNOPSIS for_each_old_private_obj_in_state (__state , obj , old_obj_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer obj struct drm_private_obj iteration cursor old_obj_state ...
for_each_oldnew_colorop_in_state(9)
NAME for_each_oldnew_colorop_in_state - iterate over all colorops in an atomic update SYNOPSIS for_each_oldnew_colorop_in_state (__state , colorop , old_colorop_state , new_colorop_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer colorop struct drm_colorop iteration cursor old_...
for_each_oldnew_connector_in_state(9)
NAME for_each_oldnew_connector_in_state - iterate over all connectors in an atomic update SYNOPSIS for_each_oldnew_connector_in_state (__state , connector , old_connector_state , new_connector_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer connector struct drm_connector iteration curso...
for_each_oldnew_crtc_in_state(9)
NAME for_each_oldnew_crtc_in_state - iterate over all CRTCs in an atomic update SYNOPSIS for_each_oldnew_crtc_in_state (__state , crtc , old_crtc_state , new_crtc_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer crtc struct drm_crtc iteration cursor old_crtc_state ...
for_each_oldnew_mst_mgr_in_state(9)
NAME for_each_oldnew_mst_mgr_in_state - iterate over all DP MST topology managers in an atomic update SYNOPSIS for_each_oldnew_mst_mgr_in_state (__state , mgr , old_state , new_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer mgr struct drm_dp_mst_topology_mgr iteration cursor ...
for_each_oldnew_plane_in_state(9)
NAME for_each_oldnew_plane_in_state - iterate over all planes in an atomic update SYNOPSIS for_each_oldnew_plane_in_state (__state , plane , old_plane_state , new_plane_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer plane struct drm_plane iteration cursor old_plane_state ...
for_each_oldnew_plane_in_state_reverse(9)
NAME for_each_oldnew_plane_in_state_reverse - iterate over all planes in an atomic update in reverse order SYNOPSIS for_each_oldnew_plane_in_state_reverse (__state , plane , old_plane_state , new_plane_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer plane struct drm_plane iteration ...
for_each_oldnew_private_obj_in_state(9)
NAME for_each_oldnew_private_obj_in_state - iterate over all private objects in an atomic update SYNOPSIS for_each_oldnew_private_obj_in_state (__state , obj , old_obj_state , new_obj_state , __i ); ARGUMENTS __state struct drm_atomic_state pointer obj struct drm_private_obj iteration cursor ...
for_each_online_cpu_gic(9)
NAME for_each_online_cpu_gic - Iterate over online CPUs, access local registers SYNOPSIS for_each_online_cpu_gic (cpu , gic_lock ); ARGUMENTS cpu An integer variable to hold the current CPU number gic_lock A pointer to raw spin lock used as a guard DESCRIPTION Iterate over online CPUs & configur...
for_each_online_pgdat(9)
NAME for_each_online_pgdat - helper macro to iterate over all online nodes SYNOPSIS for_each_online_pgdat (pgdat ); ARGUMENTS pgdat pointer to a pg_data_t variable SEE ALSO Kernel file ./include/linux/mmzone.h is_highmem(9), for_each_zone(9), next_zones_zonelist(9), first_zones_zonelist(9), for_each_zone_zonel...
for_each_padev(9)
NAME for_each_padev - Iterate over all devices in the tree SYNOPSIS int for_each_padev (int (*fn)(struct device *, void *) , void * data ); ARGUMENTS fn Function to call for each device. data Data to pass to the called function. DESCRIPTION This performs a depth-first traversal of the tree, c...
for_each_page_ext(9)
NAME for_each_page_ext - iterate through page_ext objects. SYNOPSIS for_each_page_ext (__page , __pgcount , __page_ext , __iter ); ARGUMENTS __page the page we're interested in __pgcount how many pages to iterate through __page_ext struct page_ext pointer where the current page_ext object is r...
for_each_physmem_range(9)
NAME for_each_physmem_range - iterate through physmem areas not included in type. SYNOPSIS for_each_physmem_range (i , type , p_start , p_end ); ARGUMENTS i u64 used as loop variable type ptr to memblock_type which excludes from the iteration, can be NULL p_start ptr to phys_addr_...
for_each_physmem_usable_range(9)
NAME for_each_physmem_usable_range - early online memory range iterator SYNOPSIS for_each_physmem_usable_range (i , p_start , p_end ); ARGUMENTS i an integer used as loop variable p_start ptr to unsigned long for start address of the range p_end ptr to unsigned long for end address...
for_each_pool(9)
NAME for_each_pool - iterate through all worker_pools in the system SYNOPSIS for_each_pool (pool , pi ); ARGUMENTS pool iteration cursor pi integer used for iteration DESCRIPTION This must be called either with wq_pool_mutex held or RCU read locked. If the pool needs to be used beyond the lo...
for_each_pool_worker(9)
NAME for_each_pool_worker - iterate through all workers of a worker_pool SYNOPSIS for_each_pool_worker (worker , pool ); ARGUMENTS worker iteration cursor pool worker_pool to iterate workers of DESCRIPTION This must be called with wq_pool_attach_mutex. The if/else clause exists only for the lock...
for_each_prime_number(9)
NAME for_each_prime_number - iterate over each prime upto a value SYNOPSIS for_each_prime_number (prime , max ); ARGUMENTS prime the current prime number in this iteration max the upper limit DESCRIPTION Starting from the first prime number 2 iterate over each prime number up to the max valu...
for_each_prime_number_from(9)
NAME for_each_prime_number_from - iterate over each prime upto a value SYNOPSIS for_each_prime_number_from (prime , from , max ); ARGUMENTS prime the current prime number in this iteration from the initial value max the upper limit DESCRIPTION Starting from from iterate over each...
for_each_pt_level_entry(9)
NAME for_each_pt_level_entry - For loop wrapper over entries in the range SYNOPSIS for_each_pt_level_entry (pts ); ARGUMENTS pts Iteration State DESCRIPTION This is the basic iteration primitive. It iterates over all the entries in pts->range that fall within the pts's current table level. Each step does pt_...
for_each_pwq(9)
NAME for_each_pwq - iterate through all pool_workqueues of the specified workqueue SYNOPSIS for_each_pwq (pwq , wq ); ARGUMENTS pwq iteration cursor wq the target workqueue DESCRIPTION This must be called either with wq->mutex held or RCU read locked. If the pwq needs to be used beyond th...
for_each_requested_gpio_in_range(9)
NAME for_each_requested_gpio_in_range - iterates over requested GPIOs in a given range SYNOPSIS for_each_requested_gpio_in_range (_chip , _i , _base , _size , _label ); ARGUMENTS _chip the chip to query _i loop variable _base first GPIO in the range _size amount of G...
for_each_reserved_mem_range(9)
NAME for_each_reserved_mem_range - iterate over all reserved memblock areas SYNOPSIS for_each_reserved_mem_range (i , p_start , p_end ); ARGUMENTS i u64 used as loop variable p_start ptr to phys_addr_t for start address of the range, can be NULL p_end ptr to phys_addr_t for end add...
for_each_reserved_mem_region(9)
NAME for_each_reserved_mem_region - itereate over reserved memory regions SYNOPSIS for_each_reserved_mem_region (region ); ARGUMENTS region loop variable SEE ALSO Kernel file ./include/linux/memblock.h enum memblock_flags(9), struct memblock_region(9), struct memblock_type(9), struct memblock(9), for_each...
for_each_sband_iftype_data(9)
NAME for_each_sband_iftype_data - iterate sband iftype data entries SYNOPSIS for_each_sband_iftype_data (sband , i , iftd ); ARGUMENTS sband the sband whose iftype_data array to iterate i iterator counter iftd iftype data pointer to set SEE ALSO Kernel file ./include/net/cfg80...
for_each_set_bit_wrap(9)
NAME for_each_set_bit_wrap - iterate over all set bits starting from @start, and wrapping around the end of bitmap. SYNOPSIS for_each_set_bit_wrap (bit , addr , size , start ); ARGUMENTS bit offset for current iteration addr bitmap address to base the search on size bitmap size i...
for_each_set_bitrange(9)
NAME for_each_set_bitrange - iterate over all set bit ranges [b; e) SYNOPSIS for_each_set_bitrange (b , e , addr , size ); ARGUMENTS b bit offset of start of current bitrange (first set bit) e bit offset of end of current bitrange (first unset bit) addr bitmap address to bas...
for_each_set_bitrange_from(9)
NAME for_each_set_bitrange_from - iterate over all set bit ranges [b; e) SYNOPSIS for_each_set_bitrange_from (b , e , addr , size ); ARGUMENTS b bit offset of start of current bitrange (first set bit); must be initialized e bit offset of end of current bitrange (first unset bit) ad...
for_each_set_clump8(9)
NAME for_each_set_clump8 - iterate over bitmap for each 8-bit clump with set bits SYNOPSIS for_each_set_clump8 (start , clump , bits , size ); ARGUMENTS start bit offset to start search and to store the current iteration offset clump location to store copy of current 8-bit clump bits ...
for_each_sg_dma_page(9)
NAME for_each_sg_dma_page - iterate over the pages of the given sg list SYNOPSIS for_each_sg_dma_page (sglist , dma_iter , dma_nents , pgoffset ); ARGUMENTS sglist sglist to iterate over dma_iter DMA page iterator to hold current page dma_nents maximum number of sg entries to iterate over, t...
for_each_sg_page(9)
NAME for_each_sg_page - iterate over the pages of the given sg list SYNOPSIS for_each_sg_page (sglist , piter , nents , pgoffset ); ARGUMENTS sglist sglist to iterate over piter page iterator to hold current page, sg, sg_pgoffset nents maximum number of sg entries to iterate over ...