Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 9 of 9) sorted by relevance

/fs/9p/
Dvfs_addr.c301 loff_t last_pos = pos + copied; in v9fs_write_end() local
318 if (last_pos > inode->i_size) { in v9fs_write_end()
319 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end()
320 i_size_write(inode, last_pos); in v9fs_write_end()
/fs/udf/
Dfile.c118 loff_t last_pos = pos + copied; in udf_adinicb_write_end() local
119 if (last_pos > inode->i_size) in udf_adinicb_write_end()
120 i_size_write(inode, last_pos); in udf_adinicb_write_end()
Dinode.c489 struct extent_position *last_pos, in udf_do_extend_file() argument
528 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
537 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
546 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file()
562 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
571 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
581 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file()
583 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file()
597 struct extent_position *last_pos, in udf_do_extend_final_block() argument
613 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_final_block()
/fs/ext4/
Ddir.c567 if (info->last_pos != ctx->pos) { in ext4_dx_readdir()
632 info->last_pos = ctx->pos; in ext4_dx_readdir()
Dext4.h2522 loff_t last_pos; member
/fs/gfs2/
Dglock.c55 loff_t last_pos; /* last position */ member
2536 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2541 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
2547 gi->last_pos = *pos; in gfs2_glock_seq_start()
2557 gi->last_pos = *pos; in gfs2_glock_seq_next()
2637 gi->last_pos = -1; in __gfs2_glocks_open()
/fs/orangefs/
Dinode.c387 loff_t last_pos = pos + copied; in orangefs_write_end() local
393 if (last_pos > inode->i_size) in orangefs_write_end()
394 i_size_write(inode, last_pos); in orangefs_write_end()
/fs/
Dlibfs.c575 loff_t last_pos = pos + copied; in simple_write_end() local
590 if (last_pos > inode->i_size) in simple_write_end()
591 i_size_write(inode, last_pos); in simple_write_end()
/fs/btrfs/
Dfile.c1448 u64 last_pos; in lock_and_cleanup_extent_if_need() local
1453 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need()
1458 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1461 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
1464 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1466 last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1479 *lockend = last_pos; in lock_and_cleanup_extent_if_need()