Searched refs:object_size (Results 1 – 10 of 10) sorted by relevance
/fs/ceph/ |
D | ioctl.c | 27 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout() 43 if ((l->object_size & ~PAGE_MASK) || in __validate_layout() 46 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) in __validate_layout() 91 if (l.object_size) in ceph_ioctl_set_layout() 92 nl.object_size = l.object_size; in ceph_ioctl_set_layout() 94 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout() 122 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout() 166 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout_policy() 201 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
|
D | util.c | 15 __u32 os = layout->object_size; in ceph_file_layout_is_valid() 36 fl->object_size = le32_to_cpu(legacy->fl_object_size); in ceph_file_layout_from_legacy() 39 fl->stripe_count == 0 && fl->object_size == 0) in ceph_file_layout_from_legacy() 48 legacy->fl_object_size = cpu_to_le32(fl->object_size); in ceph_file_layout_to_legacy()
|
D | ioctl.h | 36 __u64 stripe_unit, stripe_count, object_size; member 60 __u64 object_size; /* out: object size */ member
|
D | file.c | 2045 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects() local 2046 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects() 2311 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy() local 2320 while (len >= object_size) { in ceph_do_objects_copy() 2322 object_size, &src_objnum, in ceph_do_objects_copy() 2325 object_size, &dst_objnum, in ceph_do_objects_copy() 2347 object_size, ret); in ceph_do_objects_copy() 2360 len -= object_size; in ceph_do_objects_copy() 2361 bytes += object_size; in ceph_do_objects_copy() 2362 *src_off += object_size; in ceph_do_objects_copy() [all …]
|
D | xattr.c | 53 fl->object_size > 0 || fl->pool_id >= 0 || in ceph_vxattrcb_layout_exists() 79 ci->i_layout.object_size); in ceph_vxattrcb_layout() 85 ci->i_layout.object_size, pool); in ceph_vxattrcb_layout() 157 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size() 404 XATTR_LAYOUT_FIELD(dir, layout, object_size), 461 XATTR_LAYOUT_FIELD(file, layout, object_size),
|
/fs/cachefiles/ |
D | xattr.c | 21 __be64 object_size; /* Actual size of the object */ member 57 buf->object_size = cpu_to_be64(object->cookie->object_size); in cachefiles_set_object_xattr() 125 } else if (be64_to_cpu(buf->object_size) != object->cookie->object_size) { in cachefiles_check_auxdata()
|
D | interface.c | 117 ni_size = object->cookie->object_size; in cachefiles_adjust_size() 281 loff_t old_size = cookie->object_size; in cachefiles_resize_cookie() 289 object->cookie->object_size = new_size; in cachefiles_resize_cookie() 297 cookie->object_size = new_size; in cachefiles_resize_cookie() 386 _enter("o=%x,[%llu]", object->debug_id, object->cookie->object_size); in cachefiles_invalidate_cookie()
|
D | ondemand.c | 172 cookie->object_size = size; in cachefiles_ondemand_copen()
|
D | namei.c | 477 ni_size = object->cookie->object_size; in cachefiles_create_tmpfile()
|
/fs/fscache/ |
D | cookie.c | 330 loff_t object_size) in fscache_alloc_cookie() argument 344 cookie->object_size = object_size; in fscache_alloc_cookie() 345 if (object_size == 0) in fscache_alloc_cookie() 455 loff_t object_size) in __fscache_acquire_cookie() argument 473 object_size); in __fscache_acquire_cookie() 666 const void *aux_data, const loff_t *object_size) in __fscache_unuse_cookie() argument 673 if (aux_data || object_size) in __fscache_unuse_cookie() 674 __fscache_update_cookie(cookie, aux_data, object_size); in __fscache_unuse_cookie()
|