Searched refs:last_pos (Results 1 – 9 of 9) sorted by relevance
/fs/9p/ |
D | vfs_addr.c | 295 loff_t last_pos = pos + copied; in v9fs_write_end() local 312 if (last_pos > inode->i_size) { in v9fs_write_end() 313 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end() 314 i_size_write(inode, last_pos); in v9fs_write_end()
|
/fs/udf/ |
D | file.c | 119 loff_t last_pos = pos + copied; in udf_adinicb_write_end() local 120 if (last_pos > inode->i_size) in udf_adinicb_write_end() 121 i_size_write(inode, last_pos); in udf_adinicb_write_end()
|
D | inode.c | 484 struct extent_position *last_pos, in udf_do_extend_file() argument 538 udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 545 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 551 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file() 567 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 576 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 586 err = udf_add_aext(inode, last_pos, &prealloc_loc, in udf_do_extend_file() 597 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file() 599 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file() 608 struct extent_position *last_pos, in udf_do_extend_final_block() argument [all …]
|
/fs/gfs2/ |
D | glock.c | 55 loff_t last_pos; /* last position */ member 2078 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2083 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2089 gi->last_pos = *pos; in gfs2_glock_seq_start() 2099 gi->last_pos = *pos; in gfs2_glock_seq_next() 2179 gi->last_pos = -1; in __gfs2_glocks_open()
|
/fs/ext4/ |
D | dir.c | 550 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 615 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2160 loff_t last_pos; member
|
/fs/ |
D | libfs.c | 501 loff_t last_pos = pos + copied; in simple_write_end() local 516 if (last_pos > inode->i_size) in simple_write_end() 517 i_size_write(inode, last_pos); in simple_write_end()
|
/fs/orangefs/ |
D | inode.c | 450 loff_t last_pos = pos + copied; in orangefs_write_end() local 456 if (last_pos > inode->i_size) in orangefs_write_end() 457 i_size_write(inode, last_pos); in orangefs_write_end()
|
/fs/btrfs/ |
D | file.c | 1489 u64 last_pos; in lock_and_cleanup_extent_if_need() local 1494 last_pos = start_pos in lock_and_cleanup_extent_if_need() 1501 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1504 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 1507 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 1509 last_pos, cached_state); in lock_and_cleanup_extent_if_need() 1523 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|