/kernel/linux/linux-5.10/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 | 2036 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects() local 2037 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects() 2248 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy() local 2256 while (len >= object_size) { in ceph_do_objects_copy() 2258 object_size, &src_objnum, in ceph_do_objects_copy() 2261 object_size, &dst_objnum, in ceph_do_objects_copy() 2291 len -= object_size; in ceph_do_objects_copy() 2292 bytes += object_size; in ceph_do_objects_copy() 2293 *src_off += object_size; in ceph_do_objects_copy() 2294 *dst_off += object_size; in ceph_do_objects_copy() [all …]
|
D | cache.c | 110 loff_t object_size) in ceph_fscache_inode_check_aux() argument 117 i_size_read(inode) != object_size) in ceph_fscache_inode_check_aux()
|
D | xattr.c | 52 fl->object_size > 0 || fl->pool_id >= 0 || in ceph_vxattrcb_layout_exists() 78 ci->i_layout.object_size); in ceph_vxattrcb_layout() 84 ci->i_layout.object_size, pool); in ceph_vxattrcb_layout() 156 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size() 355 XATTR_LAYOUT_FIELD(dir, layout, object_size), 404 XATTR_LAYOUT_FIELD(file, layout, object_size),
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | utcache.c | 33 u16 object_size, in acpi_os_create_cache() argument 40 if (!cache_name || !return_cache || !object_size) { in acpi_os_create_cache() 55 cache->object_size = object_size; in acpi_os_create_cache() 180 memset(object, 0xCA, cache->object_size); in acpi_os_release_object() 250 memset(object, 0, cache->object_size); in acpi_os_acquire_object() 271 object = ACPI_ALLOCATE_ZEROED(cache->object_size); in acpi_os_acquire_object()
|
D | dbstats.c | 80 (list->current_depth * list->object_size)); in acpi_db_list_info() 87 list->requests - list->hits, list->object_size); in acpi_db_list_info() 92 if (list->object_size) { in acpi_db_list_info() 97 outstanding * list->object_size, outstanding); in acpi_db_list_info()
|
D | uttrack.c | 60 u16 object_size, struct acpi_memory_list **return_cache) in acpi_ut_create_list() argument 70 cache->object_size = object_size; in acpi_ut_create_list()
|
/kernel/linux/linux-5.10/mm/kasan/ |
D | common.c | 209 static inline unsigned int optimal_redzone(unsigned int object_size) in optimal_redzone() argument 215 object_size <= 64 - 16 ? 16 : in optimal_redzone() 216 object_size <= 128 - 32 ? 32 : in optimal_redzone() 217 object_size <= 512 - 64 ? 64 : in optimal_redzone() 218 object_size <= 4096 - 128 ? 128 : in optimal_redzone() 219 object_size <= (1 << 14) - 256 ? 256 : in optimal_redzone() 220 object_size <= (1 << 15) - 512 ? 512 : in optimal_redzone() 221 object_size <= (1 << 16) - 1024 ? 1024 : 2048; in optimal_redzone() 238 cache->object_size < sizeof(struct kasan_free_meta))) { in kasan_cache_create() 243 redzone_size = optimal_redzone(cache->object_size); in kasan_cache_create() [all …]
|
D | report.c | 148 object, cache->name, cache->object_size); in describe_object_addr() 156 } else if (access_addr >= object_addr + cache->object_size) { in describe_object_addr() 158 rel_bytes = access_addr - (object_addr + cache->object_size); in describe_object_addr() 166 rel_bytes, rel_type, cache->object_size, (void *)object_addr, in describe_object_addr() 167 (void *)(object_addr + cache->object_size)); in describe_object_addr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | fscache.h | 91 loff_t object_size); 330 loff_t object_size, in fscache_acquire_cookie() argument 337 netfs_data, object_size, enable); in fscache_acquire_cookie() 676 loff_t object_size, in fscache_write_page() argument 680 return __fscache_write_page(cookie, page, object_size, gfp); in fscache_write_page() 834 loff_t object_size, in fscache_enable_cookie() argument 839 __fscache_enable_cookie(cookie, aux_data, object_size, in fscache_enable_cookie()
|
D | slab_def.h | 45 int object_size; member
|
/kernel/linux/linux-5.10/mm/ |
D | slab.h | 21 unsigned int object_size;/* The original size of the object */ member 112 slab_flags_t kmem_cache_flags(unsigned int object_size, 120 static inline slab_flags_t kmem_cache_flags(unsigned int object_size, in kmem_cache_flags() argument 477 return s->object_size; in slab_ksize() 486 return s->object_size; in slab_ksize() 489 return s->object_size; in slab_ksize() 534 kmemleak_alloc_recursive(p[i], s->object_size, 1, in slab_post_alloc_hook()
|
D | slub.c | 708 min_t(unsigned int, s->object_size, PAGE_SIZE)); in print_trailer() 710 print_section(KERN_ERR, "Redzone ", p + s->object_size, in print_trailer() 711 s->inuse - s->object_size); in print_trailer() 757 memset(p, POISON_FREE, s->object_size - 1); in init_object() 758 p[s->object_size - 1] = POISON_END; in init_object() 762 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object() 896 u8 *endobject = object + s->object_size; in check_object() 904 endobject, val, s->inuse - s->object_size)) in check_object() 907 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object() 910 s->inuse - s->object_size); in check_object() [all …]
|
D | slab.c | 1448 int size = cachep->object_size; in poison_obj() 1501 size = cachep->object_size; in print_objinfo() 1521 size = cachep->object_size; in check_poison_obj() 1791 slab_flags_t kmem_cache_flags(unsigned int object_size, in kmem_cache_flags() argument 1811 cachep->object_size = max_t(int, cachep->object_size, size); in __kmem_cache_alias() 1839 if (cachep->num * sizeof(freelist_idx_t) > cachep->object_size) in set_objfreelist_slab_cache() 2020 size >= 256 && cachep->object_size > cache_line_size()) { in __kmem_cache_create() 3253 memset(ptr, 0, cachep->object_size); in slab_alloc_node() 3311 memset(objp, 0, cachep->object_size); in slab_alloc() 3424 __kcsan_check_access(objp, cachep->object_size, in __cache_free() [all …]
|
D | slab_common.c | 83 return s->object_size; in kmem_cache_size() 232 unsigned int object_size, unsigned int align, in create_cache() argument 240 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 249 s->size = s->object_size = object_size; in create_cache() 548 s->size = s->object_size = size; in create_boot_cache()
|
D | failslab.c | 33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
|
/kernel/linux/linux-5.10/fs/fscache/ |
D | fsdef.c | 16 loff_t object_size); 77 loff_t object_size) in fscache_fsdef_netfs_check_aux() argument
|
D | cookie.c | 24 loff_t object_size); 129 loff_t object_size) in fscache_alloc_cookie() argument 243 loff_t object_size, in __fscache_acquire_cookie() argument 279 netfs_data, object_size); in __fscache_acquire_cookie() 314 if (fscache_acquire_non_index_cookie(cookie, object_size) == 0) { in __fscache_acquire_cookie() 342 loff_t object_size, in __fscache_enable_cookie() argument 364 if (fscache_acquire_non_index_cookie(cookie, object_size) == 0) in __fscache_enable_cookie() 382 loff_t object_size) in fscache_acquire_non_index_cookie() argument 433 fscache_set_store_limit(object, object_size); in fscache_acquire_non_index_cookie()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | cache.c | 14 loff_t object_size); 43 loff_t object_size) in afs_vnode_cache_check_aux() argument
|
/kernel/linux/linux-5.10/tools/vm/ |
D | slabinfo.c | 33 unsigned int hwcache_align, object_size, objs_per_slab; member 360 return slab_size(s) - s->objects * s->object_size; in slab_waste() 549 s->object_size, s->slabs, onoff(s->sanity_checks), in report() 553 onoff(s->red_zone), s->objects * s->object_size); in report() 556 s->slabs * (page_size << s->order) - s->objects * s->object_size); in report() 558 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report() 559 (s->slab_size - s->object_size) * s->objects); in report() 641 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache() 644 s->slabs ? (s->objects * s->object_size * 100) / in slabcache() 847 used = s->objects * s->object_size; in totals() [all …]
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cache.c | 84 loff_t object_size) in cifs_fscache_super_check_aux() argument 116 loff_t object_size) in cifs_fscache_inode_check_aux() argument
|
/kernel/linux/linux-5.10/net/ceph/ |
D | striper.c | 28 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_calc_file_object_mapping() 216 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_extent_to_file() 265 u64 period = (u64)l->stripe_count * l->object_size; in ceph_get_num_objects()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | fscache-index.c | 78 loff_t object_size) in nfs_fscache_inode_check_aux() argument
|