Home
last modified time | relevance | path

Searched refs:object_size (Results 1 – 25 of 53) sorted by relevance

123

/linux/include/linux/
A Dfscache.h115 loff_t object_size; /* Size of the netfs object */ member
252 loff_t object_size) in fscache_acquire_cookie() argument
259 object_size); in fscache_acquire_cookie()
289 const loff_t *object_size) in fscache_unuse_cookie() argument
292 __fscache_unuse_cookie(cookie, aux_data, object_size); in fscache_unuse_cookie()
330 const void *aux_data, const loff_t *object_size) in fscache_update_aux() argument
336 if (object_size) in fscache_update_aux()
337 cookie->object_size = *object_size; in fscache_update_aux()
346 const loff_t *object_size) in __fscache_update_cookie() argument
351 fscache_update_aux(cookie, aux_data, object_size); in __fscache_update_cookie()
[all …]
/linux/drivers/acpi/acpica/
A Dutcache.c33 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 Ddbstats.c80 (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 Duttrack.c60 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/fs/ceph/
A Dioctl.c28 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout()
44 if ((l->object_size & ~PAGE_MASK) || in __validate_layout()
47 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) in __validate_layout()
92 if (l.object_size) in ceph_ioctl_set_layout()
93 nl.object_size = l.object_size; in ceph_ioctl_set_layout()
95 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout()
123 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout()
167 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout_policy()
202 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
A Dutil.c15 __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 Dioctl.h36 __u64 stripe_unit, stripe_count, object_size; member
60 __u64 object_size; /* out: object size */ member
A Dfile.c2619 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects() local
2890 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy() local
2900 while (len >= object_size) { in ceph_do_objects_copy()
2902 object_size, &src_objnum, in ceph_do_objects_copy()
2905 object_size, &dst_objnum, in ceph_do_objects_copy()
2927 object_size, ret); in ceph_do_objects_copy()
2941 len -= object_size; in ceph_do_objects_copy()
2942 bytes += object_size; in ceph_do_objects_copy()
2943 *src_off += object_size; in ceph_do_objects_copy()
2944 *dst_off += object_size; in ceph_do_objects_copy()
[all …]
/linux/mm/kasan/
A Dgeneric.c341 static inline unsigned int optimal_redzone(unsigned int object_size) in optimal_redzone() argument
344 object_size <= 64 - 16 ? 16 : in optimal_redzone()
345 object_size <= 128 - 32 ? 32 : in optimal_redzone()
346 object_size <= 512 - 64 ? 64 : in optimal_redzone()
347 object_size <= 4096 - 128 ? 128 : in optimal_redzone()
348 object_size <= (1 << 14) - 256 ? 256 : in optimal_redzone()
349 object_size <= (1 << 15) - 512 ? 512 : in optimal_redzone()
350 object_size <= (1 << 16) - 1024 ? 1024 : 2048; in optimal_redzone()
407 if (sizeof(struct kasan_free_meta) <= cache->object_size) { in kasan_cache_create()
421 cache->object_size; in kasan_cache_create()
[all …]
A Dreport_hw_tags.c45 while (size < cache->object_size) { in kasan_get_alloc_size()
54 return cache->object_size; in kasan_get_alloc_size()
A Dreport_sw_tags.c63 while (size < cache->object_size) { in kasan_get_alloc_size()
71 return cache->object_size; in kasan_get_alloc_size()
A Dcommon.c158 kasan_unpoison(object, cache->object_size, false); in __kasan_unpoison_new_object()
163 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in __kasan_poison_new_object()
243 kasan_poison(object, round_up(cache->object_size, KASAN_GRANULE_SIZE), in poison_slab_object()
315 kasan_unpoison(object, cache->object_size, init); in unpoison_slab_object()
367 redzone_end = round_up((unsigned long)(object + cache->object_size), in poison_kmalloc_redzone()
A Dreport_generic.c61 while (size < cache->object_size) { in kasan_get_alloc_size()
71 return cache->object_size; in kasan_get_alloc_size()
A Dreport_tags.c63 info->cache->object_size != entry->size) in kasan_complete_mode_report_info()
/linux/lib/
A Dobjpool.c118 int objpool_init(struct objpool_head *pool, int nr_objs, int object_size, in objpool_init() argument
126 object_size <= 0 || object_size > OBJPOOL_OBJECT_SIZE_MAX) in objpool_init()
130 object_size = ALIGN(object_size, sizeof(long)); in objpool_init()
140 pool->obj_size = object_size; in objpool_init()
/linux/mm/
A Dslab_common.c81 return s->object_size; in kmem_cache_size()
218 unsigned int object_size, in create_cache() argument
231 (args->freeptr_offset >= object_size || in create_cache()
270 unsigned int object_size, in __kmem_cache_create_args() argument
294 err = kmem_cache_sanity_check(name, object_size); in __kmem_cache_create_args()
316 WARN_ON(object_size < args->usersize || in __kmem_cache_create_args()
317 object_size - args->usersize < args->useroffset)) in __kmem_cache_create_args()
333 s = create_cache(cache_name, object_size, args, flags); in __kmem_cache_create_args()
414 size = kmalloc_caches[KMALLOC_NORMAL][idx]->object_size; in kmem_buckets_create()
618 if (kp.kp_slab_cache && kp.kp_slab_cache->object_size) in kmem_dump_obj()
[all …]
A Dslub.c789 return s->object_size; in get_orig_size()
1082 s->inuse - s->object_size); in print_trailer()
1352 s->inuse - s->object_size)) in check_object()
1496 s->object_size); in trace()
4142 s->object_size); in kmem_cache_alloc_noprof()
4154 s->object_size); in kmem_cache_alloc_lru_noprof()
4939 _RET_IP_, s->object_size); in __kmem_cache_alloc_bulk()
5971 s->object_size = max(s->object_size, size); in __kmem_cache_alias()
5985 s->size = s->object_size = size; in do_kmem_cache_create()
6317 s->object_size); in process_slab()
[all …]
A Dfailslab.c46 return should_fail_ex(&failslab.attr, s->object_size, flags) ? -ENOMEM : 0; in should_failslab()
A Dslab.h261 unsigned int object_size; /* Object size without metadata */ member
612 return s->object_size; in slab_ksize()
615 return s->object_size; in slab_ksize()
/linux/fs/cachefiles/
A Dxattr.c21 __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()
133 } else if (be64_to_cpu(buf->object_size) != object->cookie->object_size) { in cachefiles_check_auxdata()
A Dinterface.c122 ni_size = object->cookie->object_size; in cachefiles_adjust_size()
286 loff_t old_size = cookie->object_size; in cachefiles_resize_cookie()
294 object->cookie->object_size = new_size; in cachefiles_resize_cookie()
302 cookie->object_size = new_size; in cachefiles_resize_cookie()
391 _enter("o=%x,[%llu]", object->debug_id, object->cookie->object_size); in cachefiles_invalidate_cookie()
/linux/tools/mm/
A Dslabinfo.c33 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/fs/netfs/
A Dfscache_cookie.c330 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/net/ceph/
A Dstriper.c28 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/mm/kmsan/
A Dhooks.c63 kmsan_internal_unpoison_memory(object, s->object_size, in kmsan_slab_alloc()
66 kmsan_internal_poison_memory(object, s->object_size, flags, in kmsan_slab_alloc()
87 kmsan_internal_poison_memory(object, s->object_size, GFP_KERNEL, in kmsan_slab_free()

Completed in 51 milliseconds

123