Home
last modified time | relevance | path

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

/fs/qnx6/
A Ddir.c40 unsigned long last_byte = inode->i_size; in last_entry() local
41 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
42 if (last_byte > PAGE_SIZE) in last_entry()
43 last_byte = PAGE_SIZE; in last_entry()
44 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/fs/nilfs2/
A Ddir.c73 u64 last_byte = inode->i_size; in nilfs_last_byte() local
75 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
76 if (last_byte > PAGE_SIZE) in nilfs_last_byte()
77 last_byte = PAGE_SIZE; in nilfs_last_byte()
78 return last_byte; in nilfs_last_byte()
/fs/ufs/
A Ddir.c215 unsigned last_byte = inode->i_size; in ufs_last_byte() local
217 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()
218 if (last_byte > PAGE_SIZE) in ufs_last_byte()
219 last_byte = PAGE_SIZE; in ufs_last_byte()
220 return last_byte; in ufs_last_byte()
/fs/ext2/
A 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/btrfs/
A Ddefrag.c1365 u64 last_byte; in btrfs_defrag_file() local
1408 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file()
1411 last_byte = isize; in btrfs_defrag_file()
1416 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1426 while (cur < last_byte) { in btrfs_defrag_file()
1439 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
A Dextent_io.c919 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
930 if (folio_contains(folio, last_byte >> PAGE_SHIFT)) { in btrfs_do_readpage()
931 size_t zero_offset = offset_in_folio(folio, last_byte); in btrfs_do_readpage()
947 if (cur >= last_byte) { in btrfs_do_readpage()
4185 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_set() local
4186 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set()
4200 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set()
4204 kaddr = extent_buffer_get_byte(eb, last_byte); in extent_buffer_bitmap_set()
4223 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_clear()
4237 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_clear()
[all …]
A Dfile.c3093 u64 last_byte; in btrfs_fallocate() local
3191 last_byte = min(btrfs_extent_map_end(em), alloc_end); in btrfs_fallocate()
3193 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3197 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate()
3214 cur_offset = last_byte; in btrfs_fallocate()
A Dinode.c5116 u64 last_byte; in btrfs_cont_expand() local
5143 last_byte = min(btrfs_extent_map_end(em), block_end); in btrfs_cont_expand()
5144 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
5145 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5186 cur_offset = last_byte; in btrfs_cont_expand()
/fs/minix/
A Ddir.c36 unsigned last_byte = PAGE_SIZE; in minix_last_byte() local
39 last_byte = inode->i_size & (PAGE_SIZE - 1); in minix_last_byte()
40 return last_byte; in minix_last_byte()
/fs/ocfs2/
A Daops.c1009 loff_t last_byte; in ocfs2_grab_folios_for_write() local
1028 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_folios_for_write()
1029 BUG_ON(last_byte < 1); in ocfs2_grab_folios_for_write()
1030 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_folios_for_write()
/fs/iomap/
A Dbuffered-io.c1081 loff_t last_byte; in iomap_write_delalloc_ifs_punch() local
1095 last_byte = min_t(loff_t, end_byte - 1, in iomap_write_delalloc_ifs_punch()
1098 last_blk = offset_in_folio(folio, last_byte) >> blkbits; in iomap_write_delalloc_ifs_punch()

Completed in 53 milliseconds