Home
last modified time | relevance | path

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

12

/mm/
Dslab_common.c71 static int kmem_cache_sanity_check(const char *name, size_t size) in kmem_cache_sanity_check() argument
75 if (!name || in_interrupt() || size < sizeof(void *) || in kmem_cache_sanity_check()
77 pr_err("kmem_cache_create(%s) integrity check failed\n", name); in kmem_cache_sanity_check()
90 res = probe_kernel_address(s->name, tmp); in kmem_cache_sanity_check()
98 WARN_ON(strchr(name, ' ')); /* It confuses parsers */ in kmem_cache_sanity_check()
102 static inline int kmem_cache_sanity_check(const char *name, size_t size) in kmem_cache_sanity_check() argument
228 unsigned long flags, const char *name, void (*ctor)(void *)) in find_mergeable() argument
241 flags = kmem_cache_flags(size, flags, name, NULL); in find_mergeable()
299 do_kmem_cache_create(char *name, size_t object_size, size_t size, size_t align, in do_kmem_cache_create() argument
311 s->name = name; in do_kmem_cache_create()
[all …]
Ddmapool.c52 char name[32]; member
97 pool->name, blocks, in show_pools()
131 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create() argument
162 strlcpy(retval->name, name, sizeof(retval->name)); in dma_pool_create()
292 pool->name, page->vaddr); in dma_pool_destroy()
296 pool->name, page->vaddr); in dma_pool_destroy()
361 pool->name, retval); in dma_pool_alloc()
364 pool->name, retval); in dma_pool_alloc()
417 pool->name, vaddr, (unsigned long)dma); in dma_pool_free()
420 pool->name, vaddr, (unsigned long)dma); in dma_pool_free()
[all …]
Dslab.h24 const char *name; /* Slab name for sysfs */ member
84 extern struct kmem_cache *create_kmalloc_cache(const char *name, size_t size,
86 extern void create_boot_cache(struct kmem_cache *, const char *name,
93 unsigned long flags, const char *name, void (*ctor)(void *));
96 __kmem_cache_alias(const char *name, size_t size, size_t align,
100 unsigned long flags, const char *name,
104 __kmem_cache_alias(const char *name, size_t size, size_t align, in __kmem_cache_alias() argument
109 unsigned long flags, const char *name, in kmem_cache_flags() argument
188 return s->memcg_params->root_cache->name; in cache_name()
189 return s->name; in cache_name()
[all …]
Dhugetlb_cgroup.c247 int idx, name; in hugetlb_cgroup_read_u64() local
251 name = MEMFILE_ATTR(cft->private); in hugetlb_cgroup_read_u64()
253 return res_counter_read_u64(&h_cg->hugepage[idx], name); in hugetlb_cgroup_read_u64()
259 int idx, name, ret; in hugetlb_cgroup_write() local
265 name = MEMFILE_ATTR(of_cft(of)->private); in hugetlb_cgroup_write()
267 switch (name) { in hugetlb_cgroup_write()
291 int idx, name, ret = 0; in hugetlb_cgroup_reset() local
295 name = MEMFILE_ATTR(of_cft(of)->private); in hugetlb_cgroup_reset()
297 switch (name) { in hugetlb_cgroup_reset()
333 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.limit_in_bytes", buf); in __hugetlb_cgroup_file_init()
[all …]
Dbacking-dev.c18 .name = "default",
26 .name = "noop",
137 static void bdi_debug_register(struct backing_dev_info *bdi, const char *name) in bdi_debug_register() argument
139 bdi->debug_dir = debugfs_create_dir(name, bdi_debug_root); in bdi_debug_register()
154 const char *name) in bdi_debug_register() argument
181 #define BDI_SHOW(name, expr) \ argument
182 static ssize_t name##_show(struct device *dev, \
189 static DEVICE_ATTR_RW(name);
522 int bdi_setup_and_register(struct backing_dev_info *bdi, char *name, in bdi_setup_and_register() argument
527 bdi->name = name; in bdi_setup_and_register()
[all …]
Dshmem.c2528 for (xattr = xattr_array; xattr->name != NULL; xattr++) { in shmem_initxattrs()
2533 len = strlen(xattr->name) + 1; in shmem_initxattrs()
2534 new_xattr->name = kmalloc(XATTR_SECURITY_PREFIX_LEN + len, in shmem_initxattrs()
2536 if (!new_xattr->name) { in shmem_initxattrs()
2541 memcpy(new_xattr->name, XATTR_SECURITY_PREFIX, in shmem_initxattrs()
2543 memcpy(new_xattr->name + XATTR_SECURITY_PREFIX_LEN, in shmem_initxattrs()
2544 xattr->name, len); in shmem_initxattrs()
2560 static int shmem_xattr_validate(const char *name) in shmem_xattr_validate() argument
2570 if (strncmp(name, arr[i].prefix, preflen) == 0) { in shmem_xattr_validate()
2571 if (!name[preflen]) in shmem_xattr_validate()
[all …]
Dslub.c387 pr_info("%s %s: cmpxchg double redo ", n, s->name); in __cmpxchg_double_slab()
428 pr_info("%s %s: cmpxchg double redo ", n, s->name); in cmpxchg_double_slab()
605 pr_err("BUG %s (%s): %pV\n", s->name, print_tainted(), &vaf); in slab_bug()
620 pr_err("FIX %s: %pV\n", s->name, &vaf); in slab_fix()
889 s->name, page->objects, maxobj); in check_slab()
894 s->name, page->inuse, page->objects); in check_slab()
960 s->name, in trace()
1207 unsigned long flags, const char *name, in kmem_cache_flags() argument
1213 if (slub_debug && (!slub_debug_slabs || (name && in kmem_cache_flags()
1214 !strncmp(slub_debug_slabs, name, strlen(slub_debug_slabs))))) in kmem_cache_flags()
[all …]
Dmemcontrol.c1986 .name = "memcg_oom_lock",
4049 int name = MEMFILE_ATTR(cft->private); in mem_cgroup_read_u64() local
4053 if (name == RES_USAGE) in mem_cgroup_read_u64()
4055 return res_counter_read_u64(&memcg->res, name); in mem_cgroup_read_u64()
4057 if (name == RES_USAGE) in mem_cgroup_read_u64()
4059 return res_counter_read_u64(&memcg->memsw, name); in mem_cgroup_read_u64()
4061 return res_counter_read_u64(&memcg->kmem, name); in mem_cgroup_read_u64()
4191 int name; in mem_cgroup_write() local
4197 name = MEMFILE_ATTR(of_cft(of)->private); in mem_cgroup_write()
4199 switch (name) { in mem_cgroup_write()
[all …]
Dzsmalloc.c250 char *name; member
316 static void *zs_zpool_create(char *name, gfp_t gfp, struct zpool_ops *zpool_ops) in zs_zpool_create() argument
318 return zs_create_pool(name, gfp); in zs_zpool_create()
551 static int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create() argument
558 entry = debugfs_create_dir(name, zs_stat_root); in zs_pool_stat_create()
560 pr_warn("debugfs dir <%s> creation failed\n", name); in zs_pool_stat_create()
569 name, "classes"); in zs_pool_stat_create()
608 static inline int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create() argument
1788 struct zs_pool *zs_create_pool(char *name, gfp_t flags) in zs_create_pool() argument
1805 pool->name = kstrdup(name, GFP_KERNEL); in zs_create_pool()
[all …]
Dmm_init.c52 zone->name); in mminit_verify_zonelist()
58 zone->node, zone->name); in mminit_verify_zonelist()
60 printk(KERN_CONT "0:%s ", zone->name); in mminit_verify_zonelist()
Dslab.c465 .name = "kmem_cache",
568 function, cachep->name, msg); in __slab_error()
1531 cachep->name, cachep->size, cachep->gfporder); in slab_out_of_memory()
1782 print_tainted(), cachep->name, realobj, size); in check_poison_obj()
2048 unsigned long flags, const char *name, in kmem_cache_flags() argument
2055 __kmem_cache_alias(const char *name, size_t size, size_t align, in __kmem_cache_alias() argument
2060 cachep = find_mergeable(size, align, flags, name, ctor); in __kmem_cache_alias()
2563 "'%s', objp %p\n", cachep->name, objp); in slab_put_obj()
3798 cachep->name, -err); in enable_cpucache()
3909 const char *name; in get_slabinfo() local
[all …]
Dvmstat.c915 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); in frag_show_print()
939 zone->name, in pagetypeinfo_showfree_print()
1001 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); in pagetypeinfo_showblockcount_print()
1085 seq_printf(m, "Node %d, zone %8s", pgdat->node_id, zone->name); in zoneinfo_show_print()
1490 zone->name); in unusable_show_print()
1552 zone->name); in extfrag_show_print()
Dzpool.c144 struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp, in zpool_create_pool() argument
173 zpool->pool = driver->create(name, gfp, ops); in zpool_create_pool()
Dswapfile.c2392 struct filename *name; in SYSCALL_DEFINE2() local
2420 name = getname(specialfile); in SYSCALL_DEFINE2()
2421 if (IS_ERR(name)) { in SYSCALL_DEFINE2()
2422 error = PTR_ERR(name); in SYSCALL_DEFINE2()
2423 name = NULL; in SYSCALL_DEFINE2()
2426 swap_file = file_open_name(name, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE2()
2558 p->pages<<(PAGE_SHIFT-10), name->name, p->prio, in SYSCALL_DEFINE2()
2601 if (name) in SYSCALL_DEFINE2()
2602 putname(name); in SYSCALL_DEFINE2()
Dinit-mm.c13 #define INIT_MM_CONTEXT(name) argument
Ddebug.c72 pr_cont("%s%s", delim, names[i].name); in dump_flags()
Dmemblock.c1494 static void __init_memblock memblock_dump(struct memblock_type *type, char *name) in memblock_dump() argument
1500 pr_info(" %s.cnt = 0x%lx\n", name, type->cnt); in memblock_dump()
1515 name, i, base, base + size - 1, size, nid_buf, flags); in memblock_dump()
Dswap_state.c37 .name = "swap",
Dzbud.c133 static void *zbud_zpool_create(char *name, gfp_t gfp, in zbud_zpool_create() argument
Dpage_alloc.c279 pfn, zone_to_nid(zone), zone->name, in page_outside_zone_boundaries()
3232 printk("%s per-cpu:\n", zone->name); in show_free_areas()
3307 zone->name, in show_free_areas()
3352 printk("%s: ", zone->name); in show_free_areas()
4412 zone->name, zone->present_pages, in zone_pcp_init()
4934 zone->name = zone_names[j]; in free_area_init_core()
Dslob.c627 .name = "kmem_cache",
Dmemory_hotplug.c70 .dep_map = {.name = "mem_hotplug.lock" },
136 res->name = "System RAM"; in register_memory_resource()
Dhugetlb.c1957 hstate_kobjs[hi] = kobject_create_and_add(h->name, parent); in hugetlb_sysfs_add_hstate()
1981 pr_err("Hugetlb: Unable to add hstate %s", h->name); in hugetlb_sysfs_init()
2105 h->name, node->dev.id); in hugetlb_register_node()
2226 snprintf(h->name, HSTATE_NAME_LEN, "hugepages-%lukB", in hugetlb_add_hstate()
Dmmap.c2988 return ((struct vm_special_mapping *)vma->vm_private_data)->name; in special_mapping_name()
2994 .name = special_mapping_name,
Dksm.c2299 .name = "ksm",

12