<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Other Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Filesystems API" /><link rel="up" href="ch01.html" title="Chapter 1. The Linux VFS" /><link rel="prev" href="re71.html" title="sys_flock" /><link rel="next" href="re72.html" title="mpage_readpages" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Other Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re71.html">Prev</a> </td><th width="60%" align="center">Chapter 1. The Linux VFS</th><td width="20%" align="right"> <a accesskey="n" href="re72.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Other Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="other_functions"></a>Other Functions</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re72.html"><span>mpage_readpages</span></a></span><span class="refpurpose"> — populate an address space with some pages & start reads against them </span></dt><dt><span class="refentrytitle"><a href="re73.html"><span>mpage_writepages</span></a></span><span class="refpurpose"> — walk the list of dirty pages of the given address space & <code class="function">writepage</code> all of them </span></dt><dt><span class="refentrytitle"><a href="re74.html"><span>generic_permission</span></a></span><span class="refpurpose"> — check for access rights on a Posix-like filesystem </span></dt><dt><span class="refentrytitle"><a href="re75.html"><span>inode_permission</span></a></span><span class="refpurpose"> — check for access rights to a given inode </span></dt><dt><span class="refentrytitle"><a href="re76.html"><span>file_permission</span></a></span><span class="refpurpose"> — check for additional access rights to a given file </span></dt><dt><span class="refentrytitle"><a href="re77.html"><span>path_get</span></a></span><span class="refpurpose"> — get a reference to a path </span></dt><dt><span class="refentrytitle"><a href="re78.html"><span>path_put</span></a></span><span class="refpurpose"> — put a reference to a path </span></dt><dt><span class="refentrytitle"><a href="re79.html"><span>vfs_path_lookup</span></a></span><span class="refpurpose"> — lookup a file path relative to a dentry-vfsmount pair </span></dt><dt><span class="refentrytitle"><a href="re80.html"><span>lookup_one_len</span></a></span><span class="refpurpose"> — filesystem helper to lookup single pathname component </span></dt><dt><span class="refentrytitle"><a href="re81.html"><span>filp_open</span></a></span><span class="refpurpose"> — open file and return file pointer </span></dt><dt><span class="refentrytitle"><a href="re82.html"><span>lookup_create</span></a></span><span class="refpurpose"> — lookup a dentry, creating it if it doesn't exist </span></dt><dt><span class="refentrytitle"><a href="re83.html"><span>sync_mapping_buffers</span></a></span><span class="refpurpose"> — write out & wait upon a mapping's <span class="quote">“<span class="quote">associated</span>”</span> buffers </span></dt><dt><span class="refentrytitle"><a href="re84.html"><span>mark_buffer_dirty</span></a></span><span class="refpurpose"> — mark a buffer_head as needing writeout </span></dt><dt><span class="refentrytitle"><a href="re85.html"><span>__bread</span></a></span><span class="refpurpose"> — reads a specified block and returns the bh </span></dt><dt><span class="refentrytitle"><a href="re86.html"><span>block_invalidatepage</span></a></span><span class="refpurpose"> — invalidate part of all of a buffer-backed page </span></dt><dt><span class="refentrytitle"><a href="re87.html"><span>ll_rw_block</span></a></span><span class="refpurpose"> — level access to block devices (DEPRECATED) </span></dt><dt><span class="refentrytitle"><a href="re88.html"><span>bh_uptodate_or_lock</span></a></span><span class="refpurpose"> — Test whether the buffer is uptodate </span></dt><dt><span class="refentrytitle"><a href="re89.html"><span>bh_submit_read</span></a></span><span class="refpurpose"> — Submit a locked buffer for reading </span></dt><dt><span class="refentrytitle"><a href="re90.html"><span>bio_alloc_bioset</span></a></span><span class="refpurpose"> — allocate a bio for I/O </span></dt><dt><span class="refentrytitle"><a href="re91.html"><span>bio_alloc</span></a></span><span class="refpurpose"> — allocate a new bio, memory pool backed </span></dt><dt><span class="refentrytitle"><a href="re92.html"><span>bio_kmalloc</span></a></span><span class="refpurpose"> — allocate a bio for I/O using <code class="function">kmalloc</code> </span></dt><dt><span class="refentrytitle"><a href="re93.html"><span>bio_put</span></a></span><span class="refpurpose"> — release a reference to a bio </span></dt><dt><span class="refentrytitle"><a href="re94.html"><span>__bio_clone</span></a></span><span class="refpurpose"> — clone a bio </span></dt><dt><span class="refentrytitle"><a href="re95.html"><span>bio_clone</span></a></span><span class="refpurpose"> — clone a bio </span></dt><dt><span class="refentrytitle"><a href="re96.html"><span>bio_get_nr_vecs</span></a></span><span class="refpurpose"> — return approx number of vecs </span></dt><dt><span class="refentrytitle"><a href="re97.html"><span>bio_add_pc_page</span></a></span><span class="refpurpose"> — attempt to add page to bio </span></dt><dt><span class="refentrytitle"><a href="re98.html"><span>bio_add_page</span></a></span><span class="refpurpose"> — attempt to add page to bio </span></dt><dt><span class="refentrytitle"><a href="re99.html"><span>bio_uncopy_user</span></a></span><span class="refpurpose"> — finish previously mapped bio </span></dt><dt><span class="refentrytitle"><a href="re100.html"><span>bio_copy_user</span></a></span><span class="refpurpose"> — copy user data to bio </span></dt><dt><span class="refentrytitle"><a href="re101.html"><span>bio_map_user</span></a></span><span class="refpurpose"> — map user address into bio </span></dt><dt><span class="refentrytitle"><a href="re102.html"><span>bio_unmap_user</span></a></span><span class="refpurpose"> — unmap a bio </span></dt><dt><span class="refentrytitle"><a href="re103.html"><span>bio_map_kern</span></a></span><span class="refpurpose"> — map kernel address into bio </span></dt><dt><span class="refentrytitle"><a href="re104.html"><span>bio_copy_kern</span></a></span><span class="refpurpose"> — copy kernel address into bio </span></dt><dt><span class="refentrytitle"><a href="re105.html"><span>bio_endio</span></a></span><span class="refpurpose"> — end I/O on a bio </span></dt><dt><span class="refentrytitle"><a href="re106.html"><span>bio_sector_offset</span></a></span><span class="refpurpose"> — Find hardware sector offset in bio </span></dt><dt><span class="refentrytitle"><a href="re107.html"><span>bioset_create</span></a></span><span class="refpurpose"> — Create a bio_set </span></dt><dt><span class="refentrytitle"><a href="re108.html"><span>seq_open</span></a></span><span class="refpurpose"> — initialize sequential file </span></dt><dt><span class="refentrytitle"><a href="re109.html"><span>seq_read</span></a></span><span class="refpurpose"> — -><code class="function">read</code> method for sequential files. </span></dt><dt><span class="refentrytitle"><a href="re110.html"><span>seq_lseek</span></a></span><span class="refpurpose"> — -><code class="function">llseek</code> method for sequential files. </span></dt><dt><span class="refentrytitle"><a href="re111.html"><span>seq_release</span></a></span><span class="refpurpose"> — free the structures associated with sequential file. </span></dt><dt><span class="refentrytitle"><a href="re112.html"><span>seq_escape</span></a></span><span class="refpurpose"> — print string into buffer, escaping some characters </span></dt><dt><span class="refentrytitle"><a href="re113.html"><span>mangle_path</span></a></span><span class="refpurpose"> — mangle and copy path to buffer beginning </span></dt><dt><span class="refentrytitle"><a href="re114.html"><span>seq_path</span></a></span><span class="refpurpose"> — seq_file interface to print a pathname </span></dt><dt><span class="refentrytitle"><a href="re115.html"><span>seq_write</span></a></span><span class="refpurpose"> — write arbitrary data to buffer </span></dt><dt><span class="refentrytitle"><a href="re116.html"><span>register_filesystem</span></a></span><span class="refpurpose"> — register a new filesystem </span></dt><dt><span class="refentrytitle"><a href="re117.html"><span>unregister_filesystem</span></a></span><span class="refpurpose"> — unregister a file system </span></dt><dt><span class="refentrytitle"><a href="re118.html"><span>__mark_inode_dirty</span></a></span><span class="refpurpose"> — internal function </span></dt><dt><span class="refentrytitle"><a href="re119.html"><span>writeback_inodes_sb</span></a></span><span class="refpurpose"> — writeback dirty inodes from given super_block </span></dt><dt><span class="refentrytitle"><a href="re120.html"><span>writeback_inodes_sb_if_idle</span></a></span><span class="refpurpose"> — start writeback if none underway </span></dt><dt><span class="refentrytitle"><a href="re121.html"><span>sync_inodes_sb</span></a></span><span class="refpurpose"> — sync sb inode pages </span></dt><dt><span class="refentrytitle"><a href="re122.html"><span>write_inode_now</span></a></span><span class="refpurpose"> — write an inode to disk </span></dt><dt><span class="refentrytitle"><a href="re123.html"><span>sync_inode</span></a></span><span class="refpurpose"> — write an inode and its pages to disk. </span></dt><dt><span class="refentrytitle"><a href="re124.html"><span>freeze_bdev</span></a></span><span class="refpurpose"> — - lock a filesystem and force it into a consistent state </span></dt><dt><span class="refentrytitle"><a href="re125.html"><span>thaw_bdev</span></a></span><span class="refpurpose"> — - unlock filesystem </span></dt><dt><span class="refentrytitle"><a href="re126.html"><span>bd_claim_by_disk</span></a></span><span class="refpurpose"> — wrapper function for <code class="function">bd_claim_by_kobject</code> </span></dt><dt><span class="refentrytitle"><a href="re127.html"><span>bd_release_from_disk</span></a></span><span class="refpurpose"> — wrapper function for <code class="function">bd_release_from_kobject</code> </span></dt><dt><span class="refentrytitle"><a href="re128.html"><span>check_disk_size_change</span></a></span><span class="refpurpose"> — checks for disk size change and adjusts bdev size. </span></dt><dt><span class="refentrytitle"><a href="re129.html"><span>revalidate_disk</span></a></span><span class="refpurpose"> — wrapper for lower-level driver's revalidate_disk call-back </span></dt><dt><span class="refentrytitle"><a href="re130.html"><span>lookup_bdev</span></a></span><span class="refpurpose"> — lookup a struct block_device by name </span></dt><dt><span class="refentrytitle"><a href="re131.html"><span>open_bdev_exclusive</span></a></span><span class="refpurpose"> — open a block device by name and set it up for use </span></dt><dt><span class="refentrytitle"><a href="re132.html"><span>close_bdev_exclusive</span></a></span><span class="refpurpose"> — close a blockdevice opened by <code class="function">open_bdev_exclusive</code> </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re71.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re72.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>sys_flock</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>mpage_readpages</span></td></tr></table></div></body></html>