1<html><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.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="vfs.html" title="Chapter 1. The Linux VFS"><link rel="prev" href="API-sys-flock.html" title="sys_flock"><link rel="next" href="API-mpage-readpages.html" title="mpage_readpages"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><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="API-sys-flock.html">Prev</a> </td><th width="60%" align="center">Chapter 1. The Linux VFS</th><td width="20%" align="right"> <a accesskey="n" href="API-mpage-readpages.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="other_functions"></a>Other Functions</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-mpage-readpages.html"><span class="phrase">mpage_readpages</span></a></span><span class="refpurpose"> — 2 populate an address space with some pages & start reads against them 3 </span></dt><dt><span class="refentrytitle"><a href="API-mpage-writepages.html"><span class="phrase">mpage_writepages</span></a></span><span class="refpurpose"> — 4 walk the list of dirty pages of the given address space & <code class="function">writepage</code> all of them 5 </span></dt><dt><span class="refentrytitle"><a href="API-generic-permission.html"><span class="phrase">generic_permission</span></a></span><span class="refpurpose"> — 6 check for access rights on a Posix-like filesystem 7 </span></dt><dt><span class="refentrytitle"><a href="API---inode-permission.html"><span class="phrase">__inode_permission</span></a></span><span class="refpurpose"> — 8 Check for access rights to a given inode 9 </span></dt><dt><span class="refentrytitle"><a href="API-inode-permission.html"><span class="phrase">inode_permission</span></a></span><span class="refpurpose"> — 10 Check for access rights to a given inode 11 </span></dt><dt><span class="refentrytitle"><a href="API-path-get.html"><span class="phrase">path_get</span></a></span><span class="refpurpose"> — 12 get a reference to a path 13 </span></dt><dt><span class="refentrytitle"><a href="API-path-put.html"><span class="phrase">path_put</span></a></span><span class="refpurpose"> — 14 put a reference to a path 15 </span></dt><dt><span class="refentrytitle"><a href="API-vfs-path-lookup.html"><span class="phrase">vfs_path_lookup</span></a></span><span class="refpurpose"> — 16 lookup a file path relative to a dentry-vfsmount pair 17 </span></dt><dt><span class="refentrytitle"><a href="API-lookup-one-len.html"><span class="phrase">lookup_one_len</span></a></span><span class="refpurpose"> — 18 filesystem helper to lookup single pathname component 19 </span></dt><dt><span class="refentrytitle"><a href="API-vfs-unlink.html"><span class="phrase">vfs_unlink</span></a></span><span class="refpurpose"> — 20 unlink a filesystem object 21 </span></dt><dt><span class="refentrytitle"><a href="API-vfs-link.html"><span class="phrase">vfs_link</span></a></span><span class="refpurpose"> — 22 create a new link 23 </span></dt><dt><span class="refentrytitle"><a href="API-vfs-rename.html"><span class="phrase">vfs_rename</span></a></span><span class="refpurpose"> — 24 rename a filesystem object 25 </span></dt><dt><span class="refentrytitle"><a href="API-sync-mapping-buffers.html"><span class="phrase">sync_mapping_buffers</span></a></span><span class="refpurpose"> — 26 write out & wait upon a mapping's <span class="quote">“<span class="quote">associated</span>”</span> buffers 27 </span></dt><dt><span class="refentrytitle"><a href="API-mark-buffer-dirty.html"><span class="phrase">mark_buffer_dirty</span></a></span><span class="refpurpose"> — 28 mark a buffer_head as needing writeout 29 </span></dt><dt><span class="refentrytitle"><a href="API---bread-gfp.html"><span class="phrase">__bread_gfp</span></a></span><span class="refpurpose"> — 30 reads a specified block and returns the bh 31 </span></dt><dt><span class="refentrytitle"><a href="API-block-invalidatepage.html"><span class="phrase">block_invalidatepage</span></a></span><span class="refpurpose"> — 32 invalidate part or all of a buffer-backed page 33 </span></dt><dt><span class="refentrytitle"><a href="API-ll-rw-block.html"><span class="phrase">ll_rw_block</span></a></span><span class="refpurpose"> — 34 level access to block devices (DEPRECATED) 35 </span></dt><dt><span class="refentrytitle"><a href="API-bh-uptodate-or-lock.html"><span class="phrase">bh_uptodate_or_lock</span></a></span><span class="refpurpose"> — 36 Test whether the buffer is uptodate 37 </span></dt><dt><span class="refentrytitle"><a href="API-bh-submit-read.html"><span class="phrase">bh_submit_read</span></a></span><span class="refpurpose"> — 38 Submit a locked buffer for reading 39 </span></dt><dt><span class="refentrytitle"><a href="API-bio-reset.html"><span class="phrase">bio_reset</span></a></span><span class="refpurpose"> — 40 reinitialize a bio 41 </span></dt><dt><span class="refentrytitle"><a href="API-bio-chain.html"><span class="phrase">bio_chain</span></a></span><span class="refpurpose"> — 42 chain bio completions 43 </span></dt><dt><span class="refentrytitle"><a href="API-bio-alloc-bioset.html"><span class="phrase">bio_alloc_bioset</span></a></span><span class="refpurpose"> — 44 allocate a bio for I/O 45 </span></dt><dt><span class="refentrytitle"><a href="API-bio-put.html"><span class="phrase">bio_put</span></a></span><span class="refpurpose"> — 46 release a reference to a bio 47 </span></dt><dt><span class="refentrytitle"><a href="API---bio-clone-fast.html"><span class="phrase">__bio_clone_fast</span></a></span><span class="refpurpose"> — 48 clone a bio that shares the original bio's biovec 49 </span></dt><dt><span class="refentrytitle"><a href="API-bio-clone-fast.html"><span class="phrase">bio_clone_fast</span></a></span><span class="refpurpose"> — 50 clone a bio that shares the original bio's biovec 51 </span></dt><dt><span class="refentrytitle"><a href="API-bio-clone-bioset.html"><span class="phrase">bio_clone_bioset</span></a></span><span class="refpurpose"> — 52 clone a bio 53 </span></dt><dt><span class="refentrytitle"><a href="API-bio-get-nr-vecs.html"><span class="phrase">bio_get_nr_vecs</span></a></span><span class="refpurpose"> — 54 return approx number of vecs 55 </span></dt><dt><span class="refentrytitle"><a href="API-bio-add-pc-page.html"><span class="phrase">bio_add_pc_page</span></a></span><span class="refpurpose"> — 56 attempt to add page to bio 57 </span></dt><dt><span class="refentrytitle"><a href="API-bio-add-page.html"><span class="phrase">bio_add_page</span></a></span><span class="refpurpose"> — 58 attempt to add page to bio 59 </span></dt><dt><span class="refentrytitle"><a href="API-submit-bio-wait.html"><span class="phrase">submit_bio_wait</span></a></span><span class="refpurpose"> — 60 submit a bio, and wait until it completes 61 </span></dt><dt><span class="refentrytitle"><a href="API-bio-advance.html"><span class="phrase">bio_advance</span></a></span><span class="refpurpose"> — 62 increment/complete a bio by some number of bytes 63 </span></dt><dt><span class="refentrytitle"><a href="API-bio-alloc-pages.html"><span class="phrase">bio_alloc_pages</span></a></span><span class="refpurpose"> — 64 allocates a single page for each bvec in a bio 65 </span></dt><dt><span class="refentrytitle"><a href="API-bio-copy-data.html"><span class="phrase">bio_copy_data</span></a></span><span class="refpurpose"> — 66 copy contents of data buffers from one chain of bios to another 67 </span></dt><dt><span class="refentrytitle"><a href="API-bio-uncopy-user.html"><span class="phrase">bio_uncopy_user</span></a></span><span class="refpurpose"> — 68 finish previously mapped bio 69 </span></dt><dt><span class="refentrytitle"><a href="API-bio-unmap-user.html"><span class="phrase">bio_unmap_user</span></a></span><span class="refpurpose"> — 70 unmap a bio 71 </span></dt><dt><span class="refentrytitle"><a href="API-bio-map-kern.html"><span class="phrase">bio_map_kern</span></a></span><span class="refpurpose"> — 72 map kernel address into bio 73 </span></dt><dt><span class="refentrytitle"><a href="API-bio-copy-kern.html"><span class="phrase">bio_copy_kern</span></a></span><span class="refpurpose"> — 74 copy kernel address into bio 75 </span></dt><dt><span class="refentrytitle"><a href="API-bio-endio.html"><span class="phrase">bio_endio</span></a></span><span class="refpurpose"> — 76 end I/O on a bio 77 </span></dt><dt><span class="refentrytitle"><a href="API-bio-endio-nodec.html"><span class="phrase">bio_endio_nodec</span></a></span><span class="refpurpose"> — 78 end I/O on a bio, without decrementing bi_remaining 79 </span></dt><dt><span class="refentrytitle"><a href="API-bio-split.html"><span class="phrase">bio_split</span></a></span><span class="refpurpose"> — 80 split a bio 81 </span></dt><dt><span class="refentrytitle"><a href="API-bio-trim.html"><span class="phrase">bio_trim</span></a></span><span class="refpurpose"> — 82 trim a bio 83 </span></dt><dt><span class="refentrytitle"><a href="API-bioset-create.html"><span class="phrase">bioset_create</span></a></span><span class="refpurpose"> — 84 Create a bio_set 85 </span></dt><dt><span class="refentrytitle"><a href="API-bioset-create-nobvec.html"><span class="phrase">bioset_create_nobvec</span></a></span><span class="refpurpose"> — 86 Create a bio_set without bio_vec mempool 87 </span></dt><dt><span class="refentrytitle"><a href="API-seq-open.html"><span class="phrase">seq_open</span></a></span><span class="refpurpose"> — 88 initialize sequential file 89 </span></dt><dt><span class="refentrytitle"><a href="API-seq-read.html"><span class="phrase">seq_read</span></a></span><span class="refpurpose"> — 90 -><code class="function">read</code> method for sequential files. 91 </span></dt><dt><span class="refentrytitle"><a href="API-seq-lseek.html"><span class="phrase">seq_lseek</span></a></span><span class="refpurpose"> — 92 -><code class="function">llseek</code> method for sequential files. 93 </span></dt><dt><span class="refentrytitle"><a href="API-seq-release.html"><span class="phrase">seq_release</span></a></span><span class="refpurpose"> — 94 free the structures associated with sequential file. 95 </span></dt><dt><span class="refentrytitle"><a href="API-seq-escape.html"><span class="phrase">seq_escape</span></a></span><span class="refpurpose"> — 96 print string into buffer, escaping some characters 97 </span></dt><dt><span class="refentrytitle"><a href="API-mangle-path.html"><span class="phrase">mangle_path</span></a></span><span class="refpurpose"> — 98 mangle and copy path to buffer beginning 99 </span></dt><dt><span class="refentrytitle"><a href="API-seq-path.html"><span class="phrase">seq_path</span></a></span><span class="refpurpose"> — 100 seq_file interface to print a pathname 101 </span></dt><dt><span class="refentrytitle"><a href="API-seq-write.html"><span class="phrase">seq_write</span></a></span><span class="refpurpose"> — 102 write arbitrary data to buffer 103 </span></dt><dt><span class="refentrytitle"><a href="API-seq-pad.html"><span class="phrase">seq_pad</span></a></span><span class="refpurpose"> — 104 write padding spaces to buffer 105 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-start.html"><span class="phrase">seq_hlist_start</span></a></span><span class="refpurpose"> — 106 start an iteration of a hlist 107 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-start-head.html"><span class="phrase">seq_hlist_start_head</span></a></span><span class="refpurpose"> — 108 start an iteration of a hlist 109 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-next.html"><span class="phrase">seq_hlist_next</span></a></span><span class="refpurpose"> — 110 move to the next position of the hlist 111 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-start-rcu.html"><span class="phrase">seq_hlist_start_rcu</span></a></span><span class="refpurpose"> — 112 start an iteration of a hlist protected by RCU 113 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-start-head-rcu.html"><span class="phrase">seq_hlist_start_head_rcu</span></a></span><span class="refpurpose"> — 114 start an iteration of a hlist protected by RCU 115 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-next-rcu.html"><span class="phrase">seq_hlist_next_rcu</span></a></span><span class="refpurpose"> — 116 move to the next position of the hlist protected by RCU 117 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-start-percpu.html"><span class="phrase">seq_hlist_start_percpu</span></a></span><span class="refpurpose"> — 118 start an iteration of a percpu hlist array 119 </span></dt><dt><span class="refentrytitle"><a href="API-seq-hlist-next-percpu.html"><span class="phrase">seq_hlist_next_percpu</span></a></span><span class="refpurpose"> — 120 move to the next position of the percpu hlist array 121 </span></dt><dt><span class="refentrytitle"><a href="API-register-filesystem.html"><span class="phrase">register_filesystem</span></a></span><span class="refpurpose"> — 122 register a new filesystem 123 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-filesystem.html"><span class="phrase">unregister_filesystem</span></a></span><span class="refpurpose"> — 124 unregister a file system 125 </span></dt><dt><span class="refentrytitle"><a href="API-writeback-in-progress.html"><span class="phrase">writeback_in_progress</span></a></span><span class="refpurpose"> — 126 determine whether there is writeback in progress 127 </span></dt><dt><span class="refentrytitle"><a href="API-writeback-inodes-sb-nr.html"><span class="phrase">writeback_inodes_sb_nr</span></a></span><span class="refpurpose"> — 128 writeback dirty inodes from given super_block 129 </span></dt><dt><span class="refentrytitle"><a href="API-writeback-inodes-sb.html"><span class="phrase">writeback_inodes_sb</span></a></span><span class="refpurpose"> — 130 writeback dirty inodes from given super_block 131 </span></dt><dt><span class="refentrytitle"><a href="API-try-to-writeback-inodes-sb-nr.html"><span class="phrase">try_to_writeback_inodes_sb_nr</span></a></span><span class="refpurpose"> — 132 try to start writeback if none underway 133 </span></dt><dt><span class="refentrytitle"><a href="API-try-to-writeback-inodes-sb.html"><span class="phrase">try_to_writeback_inodes_sb</span></a></span><span class="refpurpose"> — 134 try to start writeback if none underway 135 </span></dt><dt><span class="refentrytitle"><a href="API-sync-inodes-sb.html"><span class="phrase">sync_inodes_sb</span></a></span><span class="refpurpose"> — 136 sync sb inode pages 137 </span></dt><dt><span class="refentrytitle"><a href="API-write-inode-now.html"><span class="phrase">write_inode_now</span></a></span><span class="refpurpose"> — 138 write an inode to disk 139 </span></dt><dt><span class="refentrytitle"><a href="API-sync-inode.html"><span class="phrase">sync_inode</span></a></span><span class="refpurpose"> — 140 write an inode and its pages to disk. 141 </span></dt><dt><span class="refentrytitle"><a href="API-sync-inode-metadata.html"><span class="phrase">sync_inode_metadata</span></a></span><span class="refpurpose"> — 142 write an inode to disk 143 </span></dt><dt><span class="refentrytitle"><a href="API-freeze-bdev.html"><span class="phrase">freeze_bdev</span></a></span><span class="refpurpose"> — 144 - lock a filesystem and force it into a consistent state 145 </span></dt><dt><span class="refentrytitle"><a href="API-thaw-bdev.html"><span class="phrase">thaw_bdev</span></a></span><span class="refpurpose"> — 146 - unlock filesystem 147 </span></dt><dt><span class="refentrytitle"><a href="API-bdev-read-page.html"><span class="phrase">bdev_read_page</span></a></span><span class="refpurpose"> — 148 Start reading a page from a block device 149 </span></dt><dt><span class="refentrytitle"><a href="API-bdev-write-page.html"><span class="phrase">bdev_write_page</span></a></span><span class="refpurpose"> — 150 Start writing a page to a block device 151 </span></dt><dt><span class="refentrytitle"><a href="API-bdev-direct-access.html"><span class="phrase">bdev_direct_access</span></a></span><span class="refpurpose"> — 152 Get the address for directly-accessibly memory 153 </span></dt><dt><span class="refentrytitle"><a href="API-bdgrab.html"><span class="phrase">bdgrab</span></a></span><span class="refpurpose"> — 154 - Grab a reference to an already referenced block device 155 </span></dt><dt><span class="refentrytitle"><a href="API-bd-link-disk-holder.html"><span class="phrase">bd_link_disk_holder</span></a></span><span class="refpurpose"> — 156 create symlinks between holding disk and slave bdev 157 </span></dt><dt><span class="refentrytitle"><a href="API-bd-unlink-disk-holder.html"><span class="phrase">bd_unlink_disk_holder</span></a></span><span class="refpurpose"> — 158 destroy symlinks created by <code class="function">bd_link_disk_holder</code> 159 </span></dt><dt><span class="refentrytitle"><a href="API-check-disk-size-change.html"><span class="phrase">check_disk_size_change</span></a></span><span class="refpurpose"> — 160 checks for disk size change and adjusts bdev size. 161 </span></dt><dt><span class="refentrytitle"><a href="API-revalidate-disk.html"><span class="phrase">revalidate_disk</span></a></span><span class="refpurpose"> — 162 wrapper for lower-level driver's revalidate_disk call-back 163 </span></dt><dt><span class="refentrytitle"><a href="API-blkdev-get.html"><span class="phrase">blkdev_get</span></a></span><span class="refpurpose"> — 164 open a block device 165 </span></dt><dt><span class="refentrytitle"><a href="API-blkdev-get-by-path.html"><span class="phrase">blkdev_get_by_path</span></a></span><span class="refpurpose"> — 166 open a block device by name 167 </span></dt><dt><span class="refentrytitle"><a href="API-blkdev-get-by-dev.html"><span class="phrase">blkdev_get_by_dev</span></a></span><span class="refpurpose"> — 168 open a block device by device number 169 </span></dt><dt><span class="refentrytitle"><a href="API-lookup-bdev.html"><span class="phrase">lookup_bdev</span></a></span><span class="refpurpose"> — 170 lookup a struct block_device by name 171 </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="API-sys-flock.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="vfs.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-mpage-readpages.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">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 class="phrase">mpage_readpages</span></td></tr></table></div></body></html> 172