/Linux-v6.1/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 | 2042 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects() local 2043 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects() 2300 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy() local 2309 while (len >= object_size) { in ceph_do_objects_copy() 2311 object_size, &src_objnum, in ceph_do_objects_copy() 2314 object_size, &dst_objnum, in ceph_do_objects_copy() 2336 object_size, ret); in ceph_do_objects_copy() 2349 len -= object_size; in ceph_do_objects_copy() 2350 bytes += object_size; in ceph_do_objects_copy() 2351 *src_off += object_size; in ceph_do_objects_copy() [all …]
|
/Linux-v6.1/include/linux/ |
D | fscache.h | 115 loff_t object_size; /* Size of the netfs object */ member 249 loff_t object_size) in fscache_acquire_cookie() argument 256 object_size); in fscache_acquire_cookie() 286 const loff_t *object_size) in fscache_unuse_cookie() argument 289 __fscache_unuse_cookie(cookie, aux_data, object_size); in fscache_unuse_cookie() 327 const void *aux_data, const loff_t *object_size) in fscache_update_aux() argument 333 if (object_size) in fscache_update_aux() 334 cookie->object_size = *object_size; in fscache_update_aux() 343 const loff_t *object_size) in __fscache_update_cookie() argument 348 fscache_update_aux(cookie, aux_data, object_size); in __fscache_update_cookie() [all …]
|
D | slab_def.h | 45 int object_size; member
|
D | slub_def.h | 96 unsigned int object_size;/* The size of an object without metadata */ member
|
/Linux-v6.1/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()
|
/Linux-v6.1/mm/kasan/ |
D | generic.c | 343 static inline unsigned int optimal_redzone(unsigned int object_size) in optimal_redzone() argument 346 object_size <= 64 - 16 ? 16 : in optimal_redzone() 347 object_size <= 128 - 32 ? 32 : in optimal_redzone() 348 object_size <= 512 - 64 ? 64 : in optimal_redzone() 349 object_size <= 4096 - 128 ? 128 : in optimal_redzone() 350 object_size <= (1 << 14) - 256 ? 256 : in optimal_redzone() 351 object_size <= (1 << 15) - 512 ? 512 : in optimal_redzone() 352 object_size <= (1 << 16) - 1024 ? 1024 : 2048; in optimal_redzone() 404 cache->object_size < sizeof(struct kasan_free_meta)) { in kasan_cache_create() 418 optimal_size = cache->object_size + optimal_redzone(cache->object_size); in kasan_cache_create()
|
D | common.c | 138 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_object_data() 143 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_object_data() 229 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in ____kasan_slab_free() 321 kasan_unpoison(tagged_object, cache->object_size, init); in __kasan_slab_alloc() 361 redzone_end = round_up((unsigned long)(object + cache->object_size), in ____kasan_kmalloc()
|
D | report.c | 222 object, cache->name, cache->object_size); in describe_object_addr() 227 } else if (access_addr >= object_addr + cache->object_size) { in describe_object_addr() 229 rel_bytes = access_addr - (object_addr + cache->object_size); in describe_object_addr() 237 rel_bytes, rel_type, cache->object_size, (void *)object_addr, in describe_object_addr() 238 (void *)(object_addr + cache->object_size)); in describe_object_addr()
|
D | tags.c | 123 WRITE_ONCE(entry->size, cache->object_size); in save_stack_info()
|
/Linux-v6.1/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()
|
/Linux-v6.1/mm/ |
D | slab.h | 206 unsigned int object_size;/* The original size of the object */ member 303 slab_flags_t kmem_cache_flags(unsigned int object_size, 311 static inline slab_flags_t kmem_cache_flags(unsigned int object_size, in kmem_cache_flags() argument 676 return s->object_size; in slab_ksize() 685 return s->object_size; in slab_ksize() 688 return s->object_size; in slab_ksize() 739 memset(p[i], 0, s->object_size); in slab_post_alloc_hook() 740 kmemleak_alloc_recursive(p[i], s->object_size, 1, in slab_post_alloc_hook()
|
D | slub.c | 843 return s->object_size; in get_orig_size() 900 min_t(unsigned int, s->object_size, PAGE_SIZE)); in print_trailer() 902 print_section(KERN_ERR, "Redzone ", p + s->object_size, in print_trailer() 903 s->inuse - s->object_size); in print_trailer() 974 memset(p, POISON_FREE, s->object_size - 1); in init_object() 975 p[s->object_size - 1] = POISON_END; in init_object() 979 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object() 1122 u8 *endobject = object + s->object_size; in check_object() 1130 endobject, val, s->inuse - s->object_size)) in check_object() 1133 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object() [all …]
|
D | slab_common.c | 85 return s->object_size; in kmem_cache_size() 206 unsigned int object_size, unsigned int align, in create_cache() argument 214 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 223 s->size = s->object_size = object_size; in create_cache() 633 s->size = s->object_size = size; in create_boot_cache() 753 return c ? c->object_size : 0; in kmalloc_size_roundup()
|
D | failslab.c | 44 return should_fail_ex(&failslab.attr, s->object_size, flags); in __should_failslab()
|
D | slab.c | 1438 int size = cachep->object_size; in poison_obj() 1491 size = cachep->object_size; in print_objinfo() 1511 size = cachep->object_size; in check_poison_obj() 1787 slab_flags_t kmem_cache_flags(unsigned int object_size, in kmem_cache_flags() argument 1807 cachep->object_size = max_t(int, cachep->object_size, size); in __kmem_cache_alias() 1835 if (cachep->num * sizeof(freelist_idx_t) > cachep->object_size) in set_objfreelist_slab_cache() 2016 size >= 256 && cachep->object_size > cache_line_size()) { in __kmem_cache_create() 3387 memset(objp, 0, cachep->object_size); in __cache_free() 3394 __kcsan_check_access(objp, cachep->object_size, in __cache_free() 3442 void *ret = slab_alloc(cachep, lru, flags, cachep->object_size, _RET_IP_); in __kmem_cache_alloc_lru() [all …]
|
/Linux-v6.1/tools/vm/ |
D | slabinfo.c | 33 unsigned int hwcache_align, object_size, objs_per_slab; member 378 return slab_size(s) - s->objects * s->object_size; in slab_waste() 571 s->object_size, s->slabs, onoff(s->sanity_checks), in report() 575 onoff(s->red_zone), s->objects * s->object_size); in report() 578 s->slabs * (page_size << s->order) - s->objects * s->object_size); in report() 580 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report() 581 (s->slab_size - s->object_size) * s->objects); in report() 663 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache() 666 s->slabs ? (s->objects * s->object_size * 100) / in slabcache() 869 used = s->objects * s->object_size; in totals() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/mm/kmsan/ |
D | hooks.c | 65 kmsan_internal_unpoison_memory(object, s->object_size, in kmsan_slab_alloc() 68 kmsan_internal_poison_memory(object, s->object_size, flags, in kmsan_slab_alloc() 89 kmsan_internal_poison_memory(object, s->object_size, GFP_KERNEL, in kmsan_slab_free()
|