Home
last modified time | relevance | path

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

/fs/qnx6/
Ddir.c38 unsigned long last_byte = inode->i_size; in last_entry() local
39 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
40 if (last_byte > PAGE_SIZE) in last_entry()
41 last_byte = PAGE_SIZE; in last_entry()
42 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/fs/nilfs2/
Ddir.c79 unsigned int last_byte = inode->i_size; in nilfs_last_byte() local
81 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
82 if (last_byte > PAGE_SIZE) in nilfs_last_byte()
83 last_byte = PAGE_SIZE; in nilfs_last_byte()
84 return last_byte; in nilfs_last_byte()
/fs/ext2/
Ddir.c76 unsigned last_byte = inode->i_size; in ext2_last_byte() local
78 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte()
79 if (last_byte > PAGE_SIZE) in ext2_last_byte()
80 last_byte = PAGE_SIZE; in ext2_last_byte()
81 return last_byte; in ext2_last_byte()
/fs/ufs/
Ddir.c214 unsigned last_byte = inode->i_size; in ufs_last_byte() local
216 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()
217 if (last_byte > PAGE_SIZE) in ufs_last_byte()
218 last_byte = PAGE_SIZE; in ufs_last_byte()
219 return last_byte; in ufs_last_byte()
/fs/minix/
Ddir.c42 unsigned last_byte = PAGE_SIZE; in minix_last_byte() local
45 last_byte = inode->i_size & (PAGE_SIZE - 1); in minix_last_byte()
46 return last_byte; in minix_last_byte()
/fs/ocfs2/
Daops.c1033 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1052 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1053 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1054 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/fs/btrfs/
Dfile.c3035 u64 last_byte; in btrfs_fallocate() local
3133 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3135 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3139 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate()
3156 cur_offset = last_byte; in btrfs_fallocate()
Dioctl.c1811 u64 last_byte; in btrfs_defrag_file() local
1837 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file()
1840 last_byte = isize; in btrfs_defrag_file()
1845 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1867 while (cur < last_byte) { in btrfs_defrag_file()
1880 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
Dextent_io.c1751 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
1777 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage()
1778 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage()
1793 if (cur >= last_byte) { in btrfs_do_readpage()
Dinode.c5118 u64 last_byte; in btrfs_cont_expand() local
5146 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
5147 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
5148 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5193 cur_offset = last_byte; in btrfs_cont_expand()