Lines Matching refs:buf
129 char buf[64]; in sched_feat_write() local
137 if (copy_from_user(&buf, ubuf, cnt)) in sched_feat_write()
140 buf[cnt] = 0; in sched_feat_write()
141 cmp = strstrip(buf); in sched_feat_write()
176 char buf[16]; in sched_scaling_write() local
182 if (copy_from_user(&buf, ubuf, cnt)) in sched_scaling_write()
184 buf[cnt] = '\0'; in sched_scaling_write()
186 if (kstrtouint(buf, 10, &scaling)) in sched_scaling_write()
226 char buf[16]; in sched_dynamic_write() local
232 if (copy_from_user(&buf, ubuf, cnt)) in sched_dynamic_write()
235 buf[cnt] = 0; in sched_dynamic_write()
236 mode = sched_dynamic_mode(strstrip(buf)); in sched_dynamic_write()
419 char buf[32]; in update_sched_domain_debugfs() local
421 snprintf(buf, sizeof(buf), "cpu%d", cpu); in update_sched_domain_debugfs()
422 debugfs_lookup_and_remove(buf, sd_dentry); in update_sched_domain_debugfs()
423 d_cpu = debugfs_create_dir(buf, sd_dentry); in update_sched_domain_debugfs()
429 snprintf(buf, sizeof(buf), "domain%d", i); in update_sched_domain_debugfs()
430 d_sd = debugfs_create_dir(buf, d_cpu); in update_sched_domain_debugfs()
523 char buf[128]; \
524 char *bufend = buf + sizeof(buf) - 3; \
525 task_group_path(tg, buf, bufend - buf); \
527 SEQ_printf(m, fmt, buf); \