Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/acpi/acpica/
Dutcache.c67 u16 object_size, in acpi_os_create_cache() argument
74 if (!cache_name || !return_cache || (object_size < 16)) { in acpi_os_create_cache()
89 cache->object_size = object_size; in acpi_os_create_cache()
215 memset(object, 0xCA, cache->object_size); in acpi_os_release_object()
284 memset(object, 0, cache->object_size); in acpi_os_acquire_object()
305 object = ACPI_ALLOCATE_ZEROED(cache->object_size); in acpi_os_acquire_object()
Ddbstats.c116 (list->current_depth * list->object_size)); in acpi_db_list_info()
123 list->requests - list->hits, list->object_size); in acpi_db_list_info()
128 if (list->object_size) { in acpi_db_list_info()
133 outstanding * list->object_size, outstanding); in acpi_db_list_info()
Duttrack.c94 u16 object_size, struct acpi_memory_list **return_cache) in acpi_ut_create_list() argument
106 cache->object_size = object_size; in acpi_ut_create_list()
Dacutils.h644 u16 object_size, struct acpi_memory_list **return_cache);
/linux-4.4.14/fs/ceph/
Dioctl.c26 l.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_layout()
42 if ((l->object_size & ~PAGE_MASK) || in __validate_layout()
45 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) in __validate_layout()
90 if (l.object_size) in ceph_ioctl_set_layout()
91 nl.object_size = l.object_size; in ceph_ioctl_set_layout()
93 nl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_set_layout()
121 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout()
165 cpu_to_le32(l.object_size); in ceph_ioctl_set_layout_policy()
205 dl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_dataloc()
Dioctl.h35 __u64 stripe_unit, stripe_count, object_size; member
59 __u64 object_size; /* out: object size */ member
Dxattr.c240 XATTR_LAYOUT_FIELD(dir, layout, object_size),
267 XATTR_LAYOUT_FIELD(file, layout, object_size),
Dfile.c1301 s32 object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_zero_objects() local
1302 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects()
/linux-4.4.14/tools/vm/
Dslabinfo.c32 int hwcache_align, object_size, objs_per_slab; member
350 return slab_size(s) - s->objects * s->object_size; in slab_waste()
538 s->object_size, s->slabs, onoff(s->sanity_checks), in report()
542 onoff(s->red_zone), s->objects * s->object_size); in report()
545 s->slabs * (page_size << s->order) - s->objects * s->object_size); in report()
547 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report()
548 (s->slab_size - s->object_size) * s->objects); in report()
627 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
630 s->slabs ? (s->objects * s->object_size * 100) / in slabcache()
833 used = s->objects * s->object_size; in totals()
[all …]
/linux-4.4.14/mm/kasan/
Dkasan.c326 kasan_unpoison_shadow(object, cache->object_size); in kasan_unpoison_object_data()
332 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), in kasan_poison_object_data()
338 kasan_kmalloc(cache, object, cache->object_size); in kasan_slab_alloc()
343 unsigned long size = cache->object_size; in kasan_slab_free()
363 redzone_end = round_up((unsigned long)object + cache->object_size, in kasan_kmalloc()
/linux-4.4.14/mm/
Dslab.h20 unsigned int object_size;/* The original size of the object */ member
98 unsigned long kmem_cache_flags(unsigned long object_size,
107 static inline unsigned long kmem_cache_flags(unsigned long object_size, in kmem_cache_flags() argument
Dslub.c295 return s->object_size; in slab_ksize()
634 print_section("Object ", p, min_t(unsigned long, s->object_size, in print_trailer()
637 print_section("Redzone ", p + s->object_size, in print_trailer()
638 s->inuse - s->object_size); in print_trailer()
681 memset(p, POISON_FREE, s->object_size - 1); in init_object()
682 p[s->object_size - 1] = POISON_END; in init_object()
686 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object()
817 u8 *endobject = object + s->object_size; in check_object()
821 endobject, val, s->inuse - s->object_size)) in check_object()
824 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
[all …]
Dslab_common.c65 return s->object_size; in kmem_cache_size()
92 s->object_size); in kmem_cache_sanity_check()
320 size_t object_size, size_t size, size_t align, in create_cache() argument
333 s->object_size = object_size; in create_cache()
529 s = create_cache(cache_name, root_cache->object_size, in memcg_create_kmem_cache()
770 s->size = s->object_size = size; in create_boot_cache()
Dslab.c1678 int size = cachep->object_size; in store_stackinfo()
1710 int size = cachep->object_size; in poison_obj()
1768 size = cachep->object_size; in print_objinfo()
1785 size = cachep->object_size; in check_poison_obj()
2052 unsigned long kmem_cache_flags(unsigned long object_size, in kmem_cache_flags() argument
2073 cachep->object_size = max_t(int, cachep->object_size, size); in __kmem_cache_alias()
2191 size >= 256 && cachep->object_size > cache_line_size() && in __kmem_cache_create()
2925 return should_failslab(cachep->object_size, flags, cachep->flags); in slab_should_failslab()
3188 kmemleak_alloc_recursive(ptr, cachep->object_size, 1, cachep->flags, in slab_alloc_node()
3192 kmemcheck_slab_alloc(cachep, flags, ptr, cachep->object_size); in slab_alloc_node()
[all …]
Dslob.c545 trace_kmem_cache_alloc_node(_RET_IP_, b, c->object_size, in slob_alloc_node()
550 trace_kmem_cache_alloc_node(_RET_IP_, b, c->object_size, in slob_alloc_node()
/linux-4.4.14/include/linux/
Dslab_def.h44 int object_size; member
Dslub_def.h68 int object_size; /* The size of an object without meta data */ member
/linux-4.4.14/include/acpi/
Dacpiosxf.h215 u16 object_size,
Dactypes.h1234 u16 object_size; member
/linux-4.4.14/tools/perf/util/
Devsel.h155 int perf_evsel__object_config(size_t object_size,
Devsel.c62 int perf_evsel__object_config(size_t object_size, in perf_evsel__object_config() argument
67 if (object_size == 0) in perf_evsel__object_config()
70 if (perf_evsel__object.size > object_size) in perf_evsel__object_config()
73 perf_evsel__object.size = object_size; in perf_evsel__object_config()
/linux-4.4.14/include/linux/ceph/
Dceph_fs.h377 __le32 object_size; member
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-kernel-slab300 What: /sys/kernel/slab/cache/object_size
306 The object_size file is read-only and specifies the cache's
/linux-4.4.14/drivers/block/
Drbd.c2382 u64 object_size = rbd_obj_bytes(&rbd_dev->header); in rbd_img_obj_request_fill() local
2389 if (!offset && length == object_size && in rbd_img_obj_request_fill()
2393 } else if ((offset + length == object_size)) { in rbd_img_obj_request_fill()
2406 if (!offset && length == object_size) in rbd_img_obj_request_fill()
2411 object_size, object_size); in rbd_img_obj_request_fill()
/linux-4.4.14/net/ceph/
Dosd_client.c807 u32 object_size = le32_to_cpu(layout->fl_object_size); in ceph_osdc_new_request() local
814 if (truncate_size > object_size) in ceph_osdc_new_request()
815 truncate_size = object_size; in ceph_osdc_new_request()
/linux-4.4.14/kernel/
Dmodule.c394 size_t object_size, in section_objs() argument
400 *num = info->sechdrs[sec].sh_size / object_size; in section_objs()