Searched refs:this_len (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | props.c | 133 u32 total_len, cur, this_len; in iterate_object_props() local 169 this_len = sizeof(*di) + name_len + data_len; in iterate_object_props() 208 cur += this_len; in iterate_object_props() 209 di = (struct btrfs_dir_item *)((char *) di + this_len); in iterate_object_props()
|
D | dir-item.c | 407 u32 this_len; in btrfs_match_dir_item_name() local 415 this_len = sizeof(*dir_item) + in btrfs_match_dir_item_name() 424 cur += this_len; in btrfs_match_dir_item_name() 426 this_len); in btrfs_match_dir_item_name()
|
D | xattr.c | 343 u32 this_len = sizeof(*di) + name_len + data_len; in btrfs_listxattr() local 365 cur += this_len; in btrfs_listxattr() 366 di = (struct btrfs_dir_item *)((char *)di + this_len); in btrfs_listxattr()
|
D | tree-log.c | 2382 u32 this_len = sizeof(*di) + name_len + data_len; in replay_xattr_deletes() local 2420 cur += this_len; in replay_xattr_deletes() 2421 di = (struct btrfs_dir_item *)((char *)di + this_len); in replay_xattr_deletes() 4841 u32 this_len; in btrfs_check_ref_name_override() local 4852 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override() 4861 this_len = sizeof(*extref) + this_name_len; in btrfs_check_ref_name_override() 4902 cur_offset += this_len; in btrfs_check_ref_name_override()
|
/fs/fuse/ |
D | virtio_fs.c | 1035 unsigned int this_len; in sg_count_fuse_pages() local 1038 this_len = min(page_descs[i].length, total_len); in sg_count_fuse_pages() 1039 total_len -= this_len; in sg_count_fuse_pages() 1086 unsigned int this_len; in sg_init_fuse_pages() local 1090 this_len = min(page_descs[i].length, total_len); in sg_init_fuse_pages() 1091 sg_set_page(&sg[i], pages[i], this_len, page_descs[i].offset); in sg_init_fuse_pages() 1092 total_len -= this_len; in sg_init_fuse_pages()
|
/fs/proc/ |
D | base.c | 859 size_t this_len = min_t(size_t, count, PAGE_SIZE); in mem_rw() local 861 if (write && copy_from_user(page, buf, this_len)) { in mem_rw() 866 this_len = access_remote_vm(mm, addr, page, this_len, flags); in mem_rw() 867 if (!this_len) { in mem_rw() 873 if (!write && copy_to_user(buf, page, this_len)) { in mem_rw() 878 buf += this_len; in mem_rw() 879 addr += this_len; in mem_rw() 880 copied += this_len; in mem_rw() 881 count -= this_len; in mem_rw() 967 size_t this_len, max_len; in environ_read() local [all …]
|
/fs/overlayfs/ |
D | copy_up.c | 171 size_t this_len = OVL_COPY_UP_CHUNK_SIZE; in ovl_copy_up_data() local 174 if (len < this_len) in ovl_copy_up_data() 175 this_len = len; in ovl_copy_up_data() 214 this_len, SPLICE_F_MOVE); in ovl_copy_up_data()
|
/fs/ |
D | splice.c | 667 size_t this_len = buf->len; in iter_file_splice_write() local 669 if (this_len > left) in iter_file_splice_write() 670 this_len = left; in iter_file_splice_write() 680 array[n].bv_len = this_len; in iter_file_splice_write() 682 left -= this_len; in iter_file_splice_write()
|