Lines Matching defs:file
3 * fs/bfs/file.c
4 * BFS file operations.
7 * Make the file block allocation algorithm understand the size
84 * If the file is not empty and the requested block is within the
85 * range of blocks allocated for this file, we can grant it.
94 /* The file will be extended, so let's see if there is enough space. */
102 * If the last data block for this file is the last allocated
103 * block, we can extend the file trivially, without moving it
117 /* Ok, we have to move this entire file to the next free block. */
158 static int bfs_readpage(struct file *file, struct page *page)
171 static int bfs_write_begin(struct file *file, struct address_space *mapping,