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
vfs_permission
— check for access rights to a given path
file_permission
— check for additional access rights to a given file
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
filp_open
— open file and return file pointer
lookup_create
— lookup a dentry, creating it if it doesn't exist
freeze_bdev
— - lock a filesystem and force it into a consistent state
thaw_bdev
— - unlock filesystem
sync_mapping_buffers
— write out & wait upon a mapping's “
associated
” buffers
mark_buffer_dirty
— mark a buffer_head as needing writeout
__bread
— reads a specified block and returns the bh
block_invalidatepage
— invalidate part of 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_alloc_bioset
— allocate a bio for I/O
bio_put
— release a reference to a bio
__bio_clone
— clone a bio
bio_clone
— 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
bio_uncopy_user
— finish previously mapped bio
bio_copy_user
— copy user data to bio
bio_map_user
— map user address into 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
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
register_filesystem
— register a new filesystem
unregister_filesystem
— unregister a file system
__mark_inode_dirty
— internal function
write_inode_now
— write an inode to disk
sync_inode
— write an inode and its pages to disk.
generic_osync_inode
— flush all dirty data for a given inode to disk
bd_claim_by_disk
— wrapper function for
bd_claim_by_kobject
bd_release_from_disk
— wrapper function for
bd_release_from_kobject
open_bdev_excl
— open a block device by name and set it up for use
close_bdev_excl
— release a blockdevice openen by
open_bdev_excl