/linux-6.3-rc2/fs/ceph/ |
A 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()
|
A 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()
|
A D | ioctl.h | 36 __u64 stripe_unit, stripe_count, object_size; member 60 __u64 object_size; /* out: object size */ member
|
A D | file.c | 2048 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects() local 2314 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy() local 2323 while (len >= object_size) { in ceph_do_objects_copy() 2325 object_size, &src_objnum, in ceph_do_objects_copy() 2328 object_size, &dst_objnum, in ceph_do_objects_copy() 2350 object_size, ret); in ceph_do_objects_copy() 2363 len -= object_size; in ceph_do_objects_copy() 2364 bytes += object_size; in ceph_do_objects_copy() 2365 *src_off += object_size; in ceph_do_objects_copy() 2366 *dst_off += object_size; in ceph_do_objects_copy() [all …]
|
/linux-6.3-rc2/include/linux/ |
A 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 …]
|
A D | slab_def.h | 45 int object_size; member
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A 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()
|
A 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()
|
A 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-6.3-rc2/mm/kasan/ |
A D | generic.c | 346 static inline unsigned int optimal_redzone(unsigned int object_size) in optimal_redzone() argument 349 object_size <= 64 - 16 ? 16 : in optimal_redzone() 350 object_size <= 128 - 32 ? 32 : in optimal_redzone() 351 object_size <= 512 - 64 ? 64 : in optimal_redzone() 352 object_size <= 4096 - 128 ? 128 : in optimal_redzone() 353 object_size <= (1 << 14) - 256 ? 256 : in optimal_redzone() 354 object_size <= (1 << 15) - 512 ? 512 : in optimal_redzone() 355 object_size <= (1 << 16) - 1024 ? 1024 : 2048; in optimal_redzone() 407 cache->object_size < sizeof(struct kasan_free_meta)) { in kasan_cache_create() 421 optimal_size = cache->object_size + optimal_redzone(cache->object_size); in kasan_cache_create()
|
A D | report_hw_tags.c | 45 while (size < cache->object_size) { in kasan_get_alloc_size() 54 return cache->object_size; in kasan_get_alloc_size()
|
A 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() 324 kasan_unpoison(tagged_object, cache->object_size, init); in __kasan_slab_alloc() 364 redzone_end = round_up((unsigned long)(object + cache->object_size), in ____kasan_kmalloc()
|
A D | report_sw_tags.c | 63 while (size < cache->object_size) { in kasan_get_alloc_size() 71 return cache->object_size; in kasan_get_alloc_size()
|
A D | report_generic.c | 61 while (size < cache->object_size) { in kasan_get_alloc_size() 71 return cache->object_size; in kasan_get_alloc_size()
|
/linux-6.3-rc2/fs/cachefiles/ |
A 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()
|
A 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-6.3-rc2/mm/ |
A D | slab.h | 216 unsigned int object_size;/* The original size of the object */ member 311 slab_flags_t kmem_cache_flags(unsigned int object_size, 319 static inline slab_flags_t kmem_cache_flags(unsigned int object_size, in kmem_cache_flags() argument 694 return s->object_size; in slab_ksize() 703 return s->object_size; in slab_ksize() 706 return s->object_size; in slab_ksize() 744 unsigned int zero_size = s->object_size; in slab_post_alloc_hook() 772 kmemleak_alloc_recursive(p[i], s->object_size, 1, in slab_post_alloc_hook()
|
A D | slub.c | 856 orig_size = s->object_size; in set_orig_size() 870 return s->object_size; in get_orig_size() 935 s->inuse - s->object_size); in print_trailer() 1180 if (s->object_size > orig_size && in check_object() 1191 s->inuse - s->object_size); in check_object() 1319 s->object_size); in trace() 3996 _RET_IP_, s->object_size); in __kmem_cache_alloc_bulk() 4353 unsigned int size = s->object_size; in calculate_sizes() 5080 s->object_size = max(s->object_size, size); in __kmem_cache_alias() 5364 s->object_size); in process_slab() [all …]
|
A D | slab_common.c | 85 return s->object_size; in kmem_cache_size() 208 unsigned int object_size, unsigned int align, in create_cache() argument 216 if (WARN_ON(useroffset + usersize > object_size)) in create_cache() 225 s->size = s->object_size = object_size; in create_cache() 603 if (kp.kp_slab_cache && kp.kp_slab_cache->object_size) in kmem_dump_obj() 604 pr_cont(" size %u", kp.kp_slab_cache->object_size); in kmem_dump_obj() 638 s->size = s->object_size = size; in create_boot_cache() 759 return c ? c->object_size : 0; in kmalloc_size_roundup()
|
A D | slab.c | 1436 int size = cachep->object_size; in poison_obj() 1489 size = cachep->object_size; in print_objinfo() 1509 size = cachep->object_size; in check_poison_obj() 1805 cachep->object_size = max_t(int, cachep->object_size, size); in __kmem_cache_alias() 3258 cachep->object_size); in slab_alloc_node() 3388 memset(objp, 0, cachep->object_size); in __cache_free() 3395 __kcsan_check_access(objp, cachep->object_size, in __cache_free() 3502 slab_want_init_on_alloc(flags, s), s->object_size); in kmem_cache_alloc_bulk() 3576 debug_check_no_obj_freed(objp, cachep->object_size); in __do_kmem_cache_free() 3633 debug_check_no_locks_freed(objp, s->object_size); in kmem_cache_free_bulk() [all …]
|
A D | failslab.c | 44 return should_fail_ex(&failslab.attr, s->object_size, flags); in __should_failslab()
|
/linux-6.3-rc2/tools/mm/ |
A D | slabinfo.c | 33 unsigned int hwcache_align, object_size, objs_per_slab; member 380 return slab_size(s) - s->objects * s->object_size; in slab_waste() 583 (s->slab_size - s->object_size) * s->objects); in report() 668 s->slabs ? (s->objects * s->object_size * 100) / in slabcache() 871 used = s->objects * s->object_size; in totals() 873 objwaste = s->slab_size - s->object_size; in totals() 885 if (s->object_size < min_objsize) in totals() 886 min_objsize = s->object_size; in totals() 910 if (s->object_size > max_objsize) in totals() 911 max_objsize = s->object_size; in totals() [all …]
|
/linux-6.3-rc2/fs/fscache/ |
A 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-6.3-rc2/net/ceph/ |
A 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-6.3-rc2/mm/kmsan/ |
A 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()
|