frame_aligned (9) Linux Manual Page
frame_aligned – Check whether the byte size is aligned to frames Synopsis int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes); Arguments runtime PCM runtime instance bytes size in bytes Copyright
The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.
frame_aligned – Check whether the byte size is aligned to frames Synopsis int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes); Arguments runtime PCM runtime instance bytes size in bytes Copyright
for_each_itlb_entry – Iterate over free (non-wired) ITLB entries Synopsis for_each_itlb_entry(tlb); Arguments tlb TLB entry Author Paul Mundt <lethal [at] linux-sh.org> Author. Copyright
for_each_dtlb_entry – Iterate over free (non-wired) DTLB entries Synopsis for_each_dtlb_entry(tlb); Arguments tlb TLB entry Author Paul Mundt <lethal [at] linux-sh.org> Author. Copyright
follow_pfn – look up PFN at a user virtual address Synopsis int follow_pfn(struct vm_area_struct *vma, unsigned long address, unsigned long *pfn); Arguments vma memory mapping address user virtual address pfn location to store found PFN Description Only IO mappings and raw PFN mappings are allowed. Returns zero and the pfn at pfn on success, -ve…
fls64 – find last set bit in a 64-bit word Synopsis int fls64(__u64 x); Arguments x the word to search Description This is defined in a similar way as the libc and compiler builtin ffsll, but returns the position of the most significant set bit. fls64(value) returns 0 if value is 0 or the position…
fls – find last set bit in word Synopsis int fls(int x); Arguments x the word to search Description This is defined in a similar way as the libc and compiler builtin ffs, but returns the position of the most significant set bit. fls(value) returns 0 if value is 0 or the position of the…
flock_lock_inode_wait – Apply a FLOCK-style lock to a file Synopsis int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl); Arguments inode inode of the file to apply to fl The lock to be applied Description Apply a FLOCK style lock request to an inode. Copyright
fixup_owner – Post lock pi_state and corner case management Synopsis int fixup_owner(u32 __user *uaddr, struct futex_q *q, int locked); Arguments uaddr user address of the futex q futex_q (contains pi_state and access to the rt_mutex) locked if the attempt to take the rt_mutex succeeded (1) or not (0) Description After attempting to lock an rt_mutex,…
find_next_best_node – find the next node that should appear in a given node’s fallback list Synopsis int find_next_best_node(int node, nodemask_t *used_node_mask); Arguments node node whose fallback list we’re appending used_node_mask nodemask_t of already used nodes Description We use a number of factors to determine which is the next node that should appear on a given…
find_min_pfn_with_active_regions – Find the minimum PFN registered Synopsis unsigned long find_min_pfn_with_active_regions(void); Arguments void no arguments Description It returns the minimum PFN based on information provided via memblock_set_node. Copyright
find_lock_entry – locate, pin and lock a page cache entry Synopsis struct page *find_lock_entry(struct address_space *mapping, pgoff_t offset); Arguments mapping the address_space to search offset the page cache index Description Looks up the page cache slot at mapping & offset. If there is a page cache page, it is returned locked and with an increased…
find_inode_nowait – find an inode in the inode cache Synopsis struct inode *find_inode_nowait(struct super_block *sb, unsigned long hashval, int (*match)(struct inode *, unsigned long, void *), void *data); Arguments sb super block of file system to search hashval hash value (usually inode number) to search for match callback used for comparisons between inodes data opaque…
find_get_pages_tag – find and return pages that match tag Synopsis unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index, int tag, unsigned int nr_pages, struct page **pages); Arguments mapping the address_space to search index the starting page index tag the tag index nr_pages the maximum number of pages pages where the resulting pages are placed Description Like find_get_pages,…
find_get_pages_contig – gang contiguous pagecache lookup Synopsis unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t index, unsigned int nr_pages, struct page **pages); Arguments mapping The address_space to search index The starting page index nr_pages The maximum number of pages pages Where the resulting pages are placed Description find_get_pages_contig works exactly like find_get_pages, except that the returned number of…
find_get_entry – find and get a page cache entry Synopsis struct page *find_get_entry(struct address_space *mapping, pgoff_t offset); Arguments mapping the address_space to search offset the page cache index Description Looks up the page cache slot at mapping & offset. If there is a page cache page, it is returned with an increased refcount. If the…
find_get_entries_tag – find and return entries that match tag Synopsis unsigned find_get_entries_tag(struct address_space *mapping, pgoff_t start, int tag, unsigned int nr_entries, struct page **entries, pgoff_t *indices); Arguments mapping the address_space to search start the starting page cache index tag the tag index nr_entries the maximum number of entries entries where the resulting entries are placed…
filemap_write_and_wait_range – write out & wait on a file range Synopsis int filemap_write_and_wait_range(struct address_space *mapping, loff_t lstart, loff_t lend); Arguments mapping the address_space for the pages lstart offset in bytes where the range starts lend offset in bytes where the range ends (inclusive) Description Write out and wait upon file offsets lstart->lend, inclusive. Note that…
filemap_flush – mostly a non-blocking flush Synopsis int filemap_flush(struct address_space *mapping); Arguments mapping target address_space Description This is a mostly non-blocking flush. Not suitable for data-integrity purposes – I/O may not be started against all dirty pages. Copyright
filemap_fdatawait_range – wait for writeback to complete Synopsis int filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, loff_t end_byte); Arguments mapping address space structure to wait for start_byte offset in bytes where the range starts end_byte offset in bytes where the range ends (inclusive) Description Walk the list of under-writeback pages of the given address space in the…
filemap_fdatawait – wait for all under-writeback pages to complete Synopsis int filemap_fdatawait(struct address_space *mapping); Arguments mapping address space structure to wait for Description Walk the list of under-writeback pages of the given address space and wait for all of them. Check error status of the address space and return it. Since the error status of…