Searched refs:last_pos (Results 1 – 9 of 9) sorted by relevance
/fs/9p/ |
D | vfs_addr.c | 301 loff_t last_pos = pos + copied; in v9fs_write_end() local 320 if (last_pos > inode->i_size) { in v9fs_write_end() 321 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end() 322 i_size_write(inode, last_pos); in v9fs_write_end() 325 &last_pos); in v9fs_write_end()
|
/fs/udf/ |
D | inode.c | 283 loff_t last_pos; in udf_write_end() local 288 last_pos = pos + copied; in udf_write_end() 289 if (last_pos > inode->i_size) in udf_write_end() 290 i_size_write(inode, last_pos); in udf_write_end() 502 struct extent_position *last_pos, in udf_do_extend_file() argument 542 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 551 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 560 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file() 577 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 587 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() [all …]
|
/fs/ceph/ |
D | file.c | 1694 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local 1702 if (first && last_pos == first_pos) in ceph_sync_write() 1710 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1753 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1768 offset_in_page(last_pos), in ceph_sync_write() 1800 offset_in_page(last_pos), in ceph_sync_write() 1816 offset_in_page(last_pos), in ceph_sync_write() 1831 offset_in_page(last_pos), in ceph_sync_write() 1862 offset_in_page(last_pos), in ceph_sync_write() 1863 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
|
/fs/ext4/ |
D | dir.c | 566 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 631 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2536 loff_t last_pos; member
|
/fs/gfs2/ |
D | glock.c | 58 loff_t last_pos; /* last position */ member 2574 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2579 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2585 gi->last_pos = *pos; in gfs2_glock_seq_start() 2595 gi->last_pos = *pos; in gfs2_glock_seq_next() 2675 gi->last_pos = -1; in __gfs2_glocks_open()
|
/fs/btrfs/ |
D | file.c | 984 u64 last_pos; in lock_and_cleanup_extent_if_need() local 989 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need() 995 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1006 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need() 1010 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 1013 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 1014 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1028 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
/fs/orangefs/ |
D | inode.c | 378 loff_t last_pos = pos + copied; in orangefs_write_end() local 384 if (last_pos > inode->i_size) in orangefs_write_end() 385 i_size_write(inode, last_pos); in orangefs_write_end()
|
/fs/ |
D | libfs.c | 875 loff_t last_pos = pos + copied; in simple_write_end() local 890 if (last_pos > inode->i_size) in simple_write_end() 891 i_size_write(inode, last_pos); in simple_write_end()
|