Home
last modified time | relevance | path

Searched refs:this_len (Results 1 – 7 of 7) sorted by relevance

/fs/
Dsplice.c393 unsigned int this_len; in __generic_file_splice_read() local
401 this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); in __generic_file_splice_read()
483 this_len = min(this_len, plen - loff); in __generic_file_splice_read()
484 len = this_len; in __generic_file_splice_read()
488 spd.partial[page_nr].len = this_len; in __generic_file_splice_read()
489 len -= this_len; in __generic_file_splice_read()
619 size_t this_len; in default_file_splice_read() local
653 this_len = min_t(size_t, len, PAGE_CACHE_SIZE - offset); in default_file_splice_read()
655 vec[i].iov_len = this_len; in default_file_splice_read()
658 len -= this_len; in default_file_splice_read()
[all …]
/fs/overlayfs/
Dcopy_up.c119 size_t this_len = OVL_COPY_UP_CHUNK_SIZE; in ovl_copy_up_data() local
122 if (len < this_len) in ovl_copy_up_data()
123 this_len = len; in ovl_copy_up_data()
132 this_len, SPLICE_F_MOVE); in ovl_copy_up_data()
/fs/btrfs/
Dprops.c176 u32 total_len, cur, this_len; in iterate_object_props() local
212 this_len = sizeof(*di) + name_len + data_len; in iterate_object_props()
251 cur += this_len; in iterate_object_props()
252 di = (struct btrfs_dir_item *)((char *) di + this_len); in iterate_object_props()
Ddir-item.c390 u32 this_len; in btrfs_match_dir_item_name() local
400 this_len = sizeof(*dir_item) + in btrfs_match_dir_item_name()
409 cur += this_len; in btrfs_match_dir_item_name()
411 this_len); in btrfs_match_dir_item_name()
Dtree-log.c2107 u32 this_len = sizeof(*di) + name_len + data_len; in replay_xattr_deletes() local
2145 cur += this_len; in replay_xattr_deletes()
2146 di = (struct btrfs_dir_item *)((char *)di + this_len); in replay_xattr_deletes()
4500 u32 this_len; in btrfs_check_ref_name_override() local
4511 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override()
4520 this_len = sizeof(*extref) + this_name_len; in btrfs_check_ref_name_override()
4548 cur_offset += this_len; in btrfs_check_ref_name_override()
/fs/proc/
Dbase.c891 size_t this_len = min_t(size_t, count, PAGE_SIZE); in mem_rw() local
893 if (write && copy_from_user(page, buf, this_len)) { in mem_rw()
898 this_len = access_remote_vm(mm, addr, page, this_len, flags); in mem_rw()
899 if (!this_len) { in mem_rw()
905 if (!write && copy_to_user(buf, page, this_len)) { in mem_rw()
910 buf += this_len; in mem_rw()
911 addr += this_len; in mem_rw()
912 copied += this_len; in mem_rw()
913 count -= this_len; in mem_rw()
999 size_t this_len, max_len; in environ_read() local
[all …]
/fs/ceph/
Dfile.c419 u64 pos, this_len, left; in striped_read() local
442 this_len = left; in striped_read()
444 &ci->i_layout, pos, &this_len, in striped_read()
450 hit_stripe = this_len < left; in striped_read()
451 was_short = ret >= 0 && ret < this_len; in striped_read()
458 int zlen = min(this_len - ret, in striped_read()