Other Functions
Prev
Chapter 1. The Linux VFS
Next
Other Functions
mpage_readpages
— populate an address space with some pages & start reads against them
mpage_writepages
— walk the list of dirty pages of the given address space &
writepage
all of them
generic_permission
— check for access rights on a Posix-like filesystem
__inode_permission
— Check for access rights to a given inode
inode_permission
— Check for access rights to a given inode
path_get
— get a reference to a path
path_put
— put a reference to a path
vfs_path_lookup
— lookup a file path relative to a dentry-vfsmount pair
lookup_one_len
— filesystem helper to lookup single pathname component
vfs_unlink
— unlink a filesystem object
vfs_link
— create a new link
vfs_rename
— rename a filesystem object
sync_mapping_buffers
— write out & wait upon a mapping's
“
associated
”
buffers
mark_buffer_dirty
— mark a buffer_head as needing writeout
__bread_gfp
— reads a specified block and returns the bh
block_invalidatepage
— invalidate part or all of a buffer-backed page
ll_rw_block
— level access to block devices (DEPRECATED)
bh_uptodate_or_lock
— Test whether the buffer is uptodate
bh_submit_read
— Submit a locked buffer for reading
bio_reset
— reinitialize a bio
bio_chain
— chain bio completions
bio_alloc_bioset
— allocate a bio for I/O
bio_put
— release a reference to a bio
__bio_clone_fast
— clone a bio that shares the original bio's biovec
bio_clone_fast
— clone a bio that shares the original bio's biovec
bio_clone_bioset
— clone a bio
bio_get_nr_vecs
— return approx number of vecs
bio_add_pc_page
— attempt to add page to bio
bio_add_page
— attempt to add page to bio
submit_bio_wait
— submit a bio, and wait until it completes
bio_advance
— increment/complete a bio by some number of bytes
bio_alloc_pages
— allocates a single page for each bvec in a bio
bio_copy_data
— copy contents of data buffers from one chain of bios to another
bio_uncopy_user
— finish previously mapped bio
bio_unmap_user
— unmap a bio
bio_map_kern
— map kernel address into bio
bio_copy_kern
— copy kernel address into bio
bio_endio
— end I/O on a bio
bio_endio_nodec
— end I/O on a bio, without decrementing bi_remaining
bio_split
— split a bio
bio_trim
— trim a bio
bioset_create
— Create a bio_set
bioset_create_nobvec
— Create a bio_set without bio_vec mempool
seq_open
— initialize sequential file
seq_read
— ->
read
method for sequential files.
seq_lseek
— ->
llseek
method for sequential files.
seq_release
— free the structures associated with sequential file.
seq_escape
— print string into buffer, escaping some characters
mangle_path
— mangle and copy path to buffer beginning
seq_path
— seq_file interface to print a pathname
seq_write
— write arbitrary data to buffer
seq_pad
— write padding spaces to buffer
seq_hlist_start
— start an iteration of a hlist
seq_hlist_start_head
— start an iteration of a hlist
seq_hlist_next
— move to the next position of the hlist
seq_hlist_start_rcu
— start an iteration of a hlist protected by RCU
seq_hlist_start_head_rcu
— start an iteration of a hlist protected by RCU
seq_hlist_next_rcu
— move to the next position of the hlist protected by RCU
seq_hlist_start_percpu
— start an iteration of a percpu hlist array
seq_hlist_next_percpu
— move to the next position of the percpu hlist array
register_filesystem
— register a new filesystem
unregister_filesystem
— unregister a file system
writeback_in_progress
— determine whether there is writeback in progress
writeback_inodes_sb_nr
— writeback dirty inodes from given super_block
writeback_inodes_sb
— writeback dirty inodes from given super_block
try_to_writeback_inodes_sb_nr
— try to start writeback if none underway
try_to_writeback_inodes_sb
— try to start writeback if none underway
sync_inodes_sb
— sync sb inode pages
write_inode_now
— write an inode to disk
sync_inode
— write an inode and its pages to disk.
sync_inode_metadata
— write an inode to disk
freeze_bdev
— - lock a filesystem and force it into a consistent state
thaw_bdev
— - unlock filesystem
bdev_read_page
— Start reading a page from a block device
bdev_write_page
— Start writing a page to a block device
bdev_direct_access
— Get the address for directly-accessibly memory
bdgrab
— - Grab a reference to an already referenced block device
bd_link_disk_holder
— create symlinks between holding disk and slave bdev
bd_unlink_disk_holder
— destroy symlinks created by
bd_link_disk_holder
check_disk_size_change
— checks for disk size change and adjusts bdev size.
revalidate_disk
— wrapper for lower-level driver's revalidate_disk call-back
blkdev_get
— open a block device
blkdev_get_by_path
— open a block device by name
blkdev_get_by_dev
— open a block device by device number
lookup_bdev
— lookup a struct block_device by name