Lines Matching refs:buf
130 char buf[64]; in sched_feat_write() local
138 if (copy_from_user(&buf, ubuf, cnt)) in sched_feat_write()
141 buf[cnt] = 0; in sched_feat_write()
142 cmp = strstrip(buf); in sched_feat_write()
254 char *tmp, *buf; in sd_ctl_doflags() local
272 buf = kcalloc(data_size + 1, sizeof(*buf), GFP_KERNEL); in sd_ctl_doflags()
273 if (!buf) in sd_ctl_doflags()
279 len += snprintf(buf + len, strlen(name) + 2, "%s ", name); in sd_ctl_doflags()
282 tmp = buf + *ppos; in sd_ctl_doflags()
297 kfree(buf); in sd_ctl_doflags()
328 char buf[32]; in sd_alloc_ctl_cpu_table() local
338 snprintf(buf, 32, "domain%d", i); in sd_alloc_ctl_cpu_table()
339 entry->procname = kstrdup(buf, GFP_KERNEL); in sd_alloc_ctl_cpu_table()
356 char buf[32]; in register_sched_domain_sysctl() local
400 snprintf(buf, 32, "cpu%d", i); in register_sched_domain_sysctl()
401 e->procname = kstrdup(buf, GFP_KERNEL); in register_sched_domain_sysctl()
498 char buf[128]; \
499 char *bufend = buf + sizeof(buf) - 3; \
500 task_group_path(tg, buf, bufend - buf); \
502 SEQ_printf(m, fmt, buf); \