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
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
lookup_create
- lookup a dentry, creating it if it doesn't exist
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_alloc
- allocate a new bio, memory pool backed
bio_kmalloc
- allocate a bio for I/O using kmalloc
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
bio_sector_offset
- Find hardware sector offset in bio
bioset_create
- Create a bio_set
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_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
register_filesystem
- register a new filesystem
unregister_filesystem
- unregister a file system
__mark_inode_dirty
- internal function
writeback_inodes_sb_nr
- writeback dirty inodes from given super_block
writeback_inodes_sb
- writeback dirty inodes from given super_block
writeback_inodes_sb_if_idle
- start writeback if none underway
writeback_inodes_sb_nr_if_idle
- 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
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