Home
last modified time | relevance | path

Searched refs:last_byte (Results 1 – 10 of 10) sorted by relevance

/fs/qnx6/
Ddir.c42 unsigned long last_byte = inode->i_size; in last_entry() local
43 last_byte -= page_nr << PAGE_CACHE_SHIFT; in last_entry()
44 if (last_byte > PAGE_CACHE_SIZE) in last_entry()
45 last_byte = PAGE_CACHE_SIZE; in last_entry()
46 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/fs/nilfs2/
Ddir.c75 unsigned last_byte = inode->i_size; in nilfs_last_byte() local
77 last_byte -= page_nr << PAGE_CACHE_SHIFT; in nilfs_last_byte()
78 if (last_byte > PAGE_CACHE_SIZE) in nilfs_last_byte()
79 last_byte = PAGE_CACHE_SIZE; in nilfs_last_byte()
80 return last_byte; in nilfs_last_byte()
/fs/exofs/
Ddir.c55 loff_t last_byte = inode->i_size; in exofs_last_byte() local
57 last_byte -= page_nr << PAGE_CACHE_SHIFT; in exofs_last_byte()
58 if (last_byte > PAGE_CACHE_SIZE) in exofs_last_byte()
59 last_byte = PAGE_CACHE_SIZE; in exofs_last_byte()
60 return last_byte; in exofs_last_byte()
/fs/ufs/
Ddir.c215 unsigned last_byte = inode->i_size; in ufs_last_byte() local
217 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ufs_last_byte()
218 if (last_byte > PAGE_CACHE_SIZE) in ufs_last_byte()
219 last_byte = PAGE_CACHE_SIZE; in ufs_last_byte()
220 return last_byte; in ufs_last_byte()
/fs/ext2/
Ddir.c85 unsigned last_byte = inode->i_size; in ext2_last_byte() local
87 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ext2_last_byte()
88 if (last_byte > PAGE_CACHE_SIZE) in ext2_last_byte()
89 last_byte = PAGE_CACHE_SIZE; in ext2_last_byte()
90 return last_byte; in ext2_last_byte()
/fs/minix/
Ddir.c41 unsigned last_byte = PAGE_CACHE_SIZE; in minix_last_byte() local
44 last_byte = inode->i_size & (PAGE_CACHE_SIZE - 1); in minix_last_byte()
45 return last_byte; in minix_last_byte()
/fs/btrfs/
Dfile.c2146 u64 last_byte; in btrfs_fallocate() local
2240 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
2242 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
2248 last_byte - cur_offset, in btrfs_fallocate()
2270 cur_offset = last_byte; in btrfs_fallocate()
Dextent_io.c2720 u64 last_byte = i_size_read(inode); in __extent_read_full_page() local
2755 if (page->index == last_byte >> PAGE_CACHE_SHIFT) { in __extent_read_full_page()
2757 size_t zero_offset = last_byte & (PAGE_CACHE_SIZE - 1); in __extent_read_full_page()
2768 unsigned long pnr = (last_byte >> PAGE_CACHE_SHIFT) + 1; in __extent_read_full_page()
2770 if (cur >= last_byte) { in __extent_read_full_page()
2925 u64 last_byte = i_size_read(inode); in __extent_writepage() local
3068 if (last_byte <= start) { in __extent_writepage()
3078 if (cur >= last_byte) { in __extent_writepage()
Dinode.c4393 u64 last_byte; in btrfs_cont_expand() local
4424 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4425 last_byte = ALIGN(last_byte , root->sectorsize); in btrfs_cont_expand()
4428 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4492 cur_offset = last_byte; in btrfs_cont_expand()
/fs/ocfs2/
Daops.c1132 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1151 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1152 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1153 end_index = ((last_byte - 1) >> PAGE_CACHE_SHIFT) + 1; in ocfs2_grab_pages_for_write()