Home
last modified time | relevance | path

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

/linux-4.1.27/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 ACPI_MEMSET(object, 0xCA, cache->object_size); in acpi_os_release_object()
284 ACPI_MEMSET(object, 0, cache->object_size); in acpi_os_acquire_object()
305 object = ACPI_ALLOCATE_ZEROED(cache->object_size); in acpi_os_acquire_object()
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.h703 u16 object_size, struct acpi_memory_list **return_cache);
/linux-4.1.27/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.c1210 s32 object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_zero_objects() local
1211 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects()
/linux-4.1.27/tools/vm/
Dslabinfo.c32 int hwcache_align, object_size, objs_per_slab; member
521 s->object_size, s->slabs, onoff(s->sanity_checks), in report()
525 onoff(s->red_zone), s->objects * s->object_size); in report()
528 s->slabs * (page_size << s->order) - s->objects * s->object_size); in report()
530 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report()
531 (s->slab_size - s->object_size) * s->objects); in report()
608 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()
611 s->slabs ? (s->objects * s->object_size * 100) / in slabcache()
813 used = s->objects * s->object_size; in totals()
815 objwaste = s->slab_size - s->object_size; in totals()
[all …]
/linux-4.1.27/mm/kasan/
Dkasan.c312 kasan_unpoison_shadow(object, cache->object_size); in kasan_unpoison_object_data()
318 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), in kasan_poison_object_data()
324 kasan_kmalloc(cache, object, cache->object_size); in kasan_slab_alloc()
329 unsigned long size = cache->object_size; in kasan_slab_free()
349 redzone_end = round_up((unsigned long)object + cache->object_size, in kasan_kmalloc()
/linux-4.1.27/mm/
Dslub.c295 return s->object_size; in slab_ksize()
632 print_section("Object ", p, min_t(unsigned long, s->object_size, in print_trailer()
635 print_section("Redzone ", p + s->object_size, in print_trailer()
636 s->inuse - s->object_size); in print_trailer()
679 memset(p, POISON_FREE, s->object_size - 1); in init_object()
680 p[s->object_size - 1] = POISON_END; in init_object()
684 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object()
815 u8 *endobject = object + s->object_size; in check_object()
819 endobject, val, s->inuse - s->object_size)) in check_object()
822 if ((s->flags & SLAB_POISON) && s->object_size < s->inuse) { in check_object()
[all …]
Dslab.h20 unsigned int object_size;/* The original size of the object */ member
97 unsigned long kmem_cache_flags(unsigned long object_size,
106 static inline unsigned long kmem_cache_flags(unsigned long object_size, in kmem_cache_flags() argument
Dslab_common.c66 return s->object_size; in kmem_cache_size()
93 s->object_size); in kmem_cache_sanity_check()
298 do_kmem_cache_create(const char *name, size_t object_size, size_t size, in do_kmem_cache_create() argument
311 s->object_size = object_size; in do_kmem_cache_create()
517 s = do_kmem_cache_create(cache_name, root_cache->object_size, in memcg_create_kmem_cache()
683 s->size = s->object_size = size; in create_boot_cache()
Dslab.c1676 int size = cachep->object_size; in store_stackinfo()
1708 int size = cachep->object_size; in poison_obj()
1766 size = cachep->object_size; in print_objinfo()
1783 size = cachep->object_size; in check_poison_obj()
2061 unsigned long kmem_cache_flags(unsigned long object_size, in kmem_cache_flags() argument
2082 cachep->object_size = max_t(int, cachep->object_size, size); in __kmem_cache_alias()
2200 size >= 256 && cachep->object_size > cache_line_size() && in __kmem_cache_create()
2934 return should_failslab(cachep->object_size, flags, cachep->flags); in slab_should_failslab()
3197 kmemleak_alloc_recursive(ptr, cachep->object_size, 1, cachep->flags, in slab_alloc_node()
3201 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.1.27/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.1.27/include/acpi/
Dacpiosxf.h214 u16 object_size,
Dactypes.h1229 u16 object_size; member
/linux-4.1.27/tools/perf/util/
Devsel.h122 int perf_evsel__object_config(size_t object_size,
Devsel.c60 int perf_evsel__object_config(size_t object_size, in perf_evsel__object_config() argument
65 if (object_size == 0) in perf_evsel__object_config()
68 if (perf_evsel__object.size > object_size) in perf_evsel__object_config()
71 perf_evsel__object.size = object_size; in perf_evsel__object_config()
/linux-4.1.27/include/linux/ceph/
Dceph_fs.h377 __le32 object_size; member
/linux-4.1.27/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.1.27/drivers/block/
Drbd.c2361 u64 object_size = rbd_obj_bytes(&rbd_dev->header); in rbd_img_obj_request_fill() local
2368 if (!offset && length == object_size && in rbd_img_obj_request_fill()
2372 } else if ((offset + length == object_size)) { in rbd_img_obj_request_fill()
2387 object_size, object_size); in rbd_img_obj_request_fill()
/linux-4.1.27/net/ceph/
Dosd_client.c791 u32 object_size = le32_to_cpu(layout->fl_object_size); in ceph_osdc_new_request() local
798 if (truncate_size > object_size) in ceph_osdc_new_request()
799 truncate_size = object_size; in ceph_osdc_new_request()
/linux-4.1.27/kernel/
Dmodule.c245 size_t object_size, in section_objs() argument
251 *num = info->sechdrs[sec].sh_size / object_size; in section_objs()