Searched refs:kbuf (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | page_owner.c | 104 char *kbuf; in print_page_owner() local 110 kbuf = kmalloc(count, GFP_KERNEL); in print_page_owner() 111 if (!kbuf) in print_page_owner() 114 ret = snprintf(kbuf, count, in print_page_owner() 124 ret += snprintf(kbuf + ret, count - ret, in print_page_owner() 146 ret += snprint_stack_trace(kbuf + ret, count - ret, &trace, 0); in print_page_owner() 150 ret += snprintf(kbuf + ret, count - ret, "\n"); in print_page_owner() 154 if (copy_to_user(buf, kbuf, ret)) in print_page_owner() 157 kfree(kbuf); in print_page_owner() 161 kfree(kbuf); in print_page_owner()
|
D | backing-dev.c | 1053 char kbuf[] = "0\n"; in pdflush_proc_obsolete() local 1055 if (*ppos || *lenp < sizeof(kbuf)) { in pdflush_proc_obsolete() 1060 if (copy_to_user(buffer, kbuf, sizeof(kbuf))) in pdflush_proc_obsolete()
|
D | slab.c | 4061 char kbuf[MAX_SLABINFO_WRITE + 1], *tmp; in slabinfo_write() local 4067 if (copy_from_user(&kbuf, buffer, count)) in slabinfo_write() 4069 kbuf[MAX_SLABINFO_WRITE] = '\0'; in slabinfo_write() 4071 tmp = strchr(kbuf, ' '); in slabinfo_write() 4083 if (!strcmp(cachep->name, kbuf)) { in slabinfo_write()
|