Home
last modified time | relevance | path

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

/fs/9p/
Dvfs_addr.c295 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/
Dfile.c119 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()
Dinode.c484 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/
Dglock.c55 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/
Ddir.c550 if (info->last_pos != ctx->pos) { in ext4_dx_readdir()
615 info->last_pos = ctx->pos; in ext4_dx_readdir()
Dext4.h2160 loff_t last_pos; member
/fs/
Dlibfs.c501 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/
Dinode.c450 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/
Dfile.c1489 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()