Searched refs:token (Results 1 – 9 of 9) sorted by relevance
/kernel/locking/ |
D | rtmutex_api.c | 533 int token; in mutex_lock_io_nested() local 537 token = io_schedule_prepare(); in mutex_lock_io_nested() 539 io_schedule_finish(token); in mutex_lock_io_nested() 565 int token = io_schedule_prepare(); in mutex_lock_io() local 568 io_schedule_finish(token); in mutex_lock_io()
|
D | mutex.c | 796 int token; in mutex_lock_io_nested() local 800 token = io_schedule_prepare(); in mutex_lock_io_nested() 803 io_schedule_finish(token); in mutex_lock_io_nested() 993 int token; in mutex_lock_io() local 995 token = io_schedule_prepare(); in mutex_lock_io() 997 io_schedule_finish(token); in mutex_lock_io()
|
/kernel/cgroup/ |
D | misc.c | 255 char *token; in misc_cg_max_write() local 258 token = strsep(&buf, " "); in misc_cg_max_write() 260 if (!token || !buf) in misc_cg_max_write() 264 if (!strcmp(misc_res_name[i], token)) { in misc_cg_max_write()
|
D | cgroup-v1.c | 1280 char *token; in cgroup_no_v1() local 1283 while ((token = strsep(&str, ",")) != NULL) { in cgroup_no_v1() 1284 if (!*token) in cgroup_no_v1() 1287 if (!strcmp(token, "all")) { in cgroup_no_v1() 1292 if (!strcmp(token, "named")) { in cgroup_no_v1() 1298 if (strcmp(token, ss->name) && in cgroup_no_v1() 1299 strcmp(token, ss->legacy_name)) in cgroup_no_v1()
|
D | cgroup.c | 6528 char *token; in cgroup_disable() local 6531 while ((token = strsep(&str, ",")) != NULL) { in cgroup_disable() 6532 if (!*token) in cgroup_disable() 6536 if (strcmp(token, ss->name) && in cgroup_disable() 6537 strcmp(token, ss->legacy_name)) in cgroup_disable() 6546 if (strcmp(token, cgroup_opt_feature_names[i])) in cgroup_disable()
|
/kernel/trace/ |
D | blktrace.c | 1725 char *buf, *s, *token; in blk_trace_str2mask() local 1733 token = strsep(&s, ","); in blk_trace_str2mask() 1734 if (token == NULL) in blk_trace_str2mask() 1737 if (*token == '\0') in blk_trace_str2mask() 1741 if (strcasecmp(token, mask_maps[i].str) == 0) { in blk_trace_str2mask()
|
D | trace_events.c | 3698 char *token; in early_enable_events() local 3702 token = strsep(&buf, ","); in early_enable_events() 3704 if (!token) in early_enable_events() 3707 if (*token) { in early_enable_events() 3710 ftrace_set_clr_event(tr, token, 0); in early_enable_events() 3712 ret = ftrace_set_clr_event(tr, token, 1); in early_enable_events() 3714 pr_warn("Failed to enable trace event: %s\n", token); in early_enable_events()
|
/kernel/sched/ |
D | core.c | 8630 void io_schedule_finish(int token) in io_schedule_finish() argument 8632 current->in_iowait = token; in io_schedule_finish() 8641 int token; in io_schedule_timeout() local 8644 token = io_schedule_prepare(); in io_schedule_timeout() 8646 io_schedule_finish(token); in io_schedule_timeout() 8654 int token; in io_schedule() local 8656 token = io_schedule_prepare(); in io_schedule() 8658 io_schedule_finish(token); in io_schedule()
|
/kernel/events/ |
D | core.c | 10552 int state = IF_STATE_ACTION, token; in perf_event_parse_addr_filter() local 10578 token = match_token(start, if_tokens, args); in perf_event_parse_addr_filter() 10579 switch (token) { in perf_event_parse_addr_filter() 10586 filter->action = actions[token]; in perf_event_parse_addr_filter() 10605 if (token == IF_SRC_KERNEL || token == IF_SRC_FILE) { in perf_event_parse_addr_filter() 10612 if (token == IF_SRC_FILE || token == IF_SRC_FILEADDR) { in perf_event_parse_addr_filter() 10613 int fpos = token == IF_SRC_FILE ? 2 : 1; in perf_event_parse_addr_filter()
|