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 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/ |
D | file.c | 118 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()
|
D | inode.c | 489 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/ |
D | dir.c | 567 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 632 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2522 loff_t last_pos; member
|
/fs/gfs2/ |
D | glock.c | 55 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/ |
D | inode.c | 387 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/ |
D | libfs.c | 575 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/ |
D | file.c | 1448 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()
|