Searched refs:c (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | slob.c | 536 struct kmem_cache *c; in kmem_cache_create() local 538 c = slob_alloc(sizeof(struct kmem_cache), in kmem_cache_create() 541 if (c) { in kmem_cache_create() 542 c->name = name; in kmem_cache_create() 543 c->size = size; in kmem_cache_create() 546 c->size += sizeof(struct slob_rcu); in kmem_cache_create() 548 c->flags = flags; in kmem_cache_create() 549 c->ctor = ctor; in kmem_cache_create() 551 c->align = (flags & SLAB_HWCACHE_ALIGN) ? SLOB_ALIGN : 0; in kmem_cache_create() 552 if (c->align < ARCH_SLAB_MINALIGN) in kmem_cache_create() [all …]
|
D | slub.c | 210 static inline void stat(struct kmem_cache_cpu *c, enum stat_item si) in stat() argument 213 c->stat[si]++; in stat() 1373 struct kmem_cache_cpu *c = get_cpu_slab(s, smp_processor_id()); in unfreeze_slab() local 1380 stat(c, tail ? DEACTIVATE_TO_TAIL : DEACTIVATE_TO_HEAD); in unfreeze_slab() 1382 stat(c, DEACTIVATE_FULL); in unfreeze_slab() 1389 stat(c, DEACTIVATE_EMPTY); in unfreeze_slab() 1414 static void deactivate_slab(struct kmem_cache *s, struct kmem_cache_cpu *c) in deactivate_slab() argument 1416 struct page *page = c->page; in deactivate_slab() 1420 stat(c, DEACTIVATE_REMOTE_FREES); in deactivate_slab() 1426 while (unlikely(c->freelist)) { in deactivate_slab() [all …]
|
D | oom_kill.c | 389 struct task_struct *c; in oom_kill_process() local 417 list_for_each_entry(c, &p->children, sibling) { in oom_kill_process() 418 if (c->mm == p->mm) in oom_kill_process() 420 if (!oom_kill_task(c)) in oom_kill_process()
|
D | slab.c | 3716 struct kmem_cache *c; in kfree() local 3723 c = virt_to_cache(objp); in kfree() 3724 debug_check_no_locks_freed(objp, obj_size(c)); in kfree() 3725 debug_check_no_obj_freed(objp, obj_size(c)); in kfree() 3726 __cache_free(c, (void *)objp); in kfree() 4307 static void handle_slab(unsigned long *n, struct kmem_cache *c, struct slab *s) in handle_slab() argument 4313 for (i = 0, p = s->s_mem; i < c->num; i++, p += c->buffer_size) { in handle_slab() 4316 if (!add_caller(n, (unsigned long)*dbg_userword(c, p))) in handle_slab()
|
D | mempolicy.c | 1434 int c; in offset_il_node() local 1440 c = 0; in offset_il_node() 1443 c++; in offset_il_node() 1444 } while (c <= target); in offset_il_node()
|