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 | 798 int token; in mutex_lock_io_nested() local 802 token = io_schedule_prepare(); in mutex_lock_io_nested() 805 io_schedule_finish(token); in mutex_lock_io_nested() 995 int token; in mutex_lock_io() local 997 token = io_schedule_prepare(); in mutex_lock_io() 999 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 | 6525 char *token; in cgroup_disable() local 6528 while ((token = strsep(&str, ",")) != NULL) { in cgroup_disable() 6529 if (!*token) in cgroup_disable() 6533 if (strcmp(token, ss->name) && in cgroup_disable() 6534 strcmp(token, ss->legacy_name)) in cgroup_disable() 6543 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 | 3696 char *token; in early_enable_events() local 3700 token = strsep(&buf, ","); in early_enable_events() 3702 if (!token) in early_enable_events() 3705 if (*token) { in early_enable_events() 3708 ftrace_set_clr_event(tr, token, 0); in early_enable_events() 3710 ret = ftrace_set_clr_event(tr, token, 1); in early_enable_events() 3712 pr_warn("Failed to enable trace event: %s\n", token); in early_enable_events()
|
/kernel/sched/ |
D | core.c | 8614 void io_schedule_finish(int token) in io_schedule_finish() argument 8616 current->in_iowait = token; in io_schedule_finish() 8625 int token; in io_schedule_timeout() local 8628 token = io_schedule_prepare(); in io_schedule_timeout() 8630 io_schedule_finish(token); in io_schedule_timeout() 8638 int token; in io_schedule() local 8640 token = io_schedule_prepare(); in io_schedule() 8642 io_schedule_finish(token); in io_schedule()
|
/kernel/events/ |
D | core.c | 10458 int state = IF_STATE_ACTION, token; in perf_event_parse_addr_filter() local 10484 token = match_token(start, if_tokens, args); in perf_event_parse_addr_filter() 10485 switch (token) { in perf_event_parse_addr_filter() 10492 filter->action = actions[token]; in perf_event_parse_addr_filter() 10511 if (token == IF_SRC_KERNEL || token == IF_SRC_FILE) { in perf_event_parse_addr_filter() 10518 if (token == IF_SRC_FILE || token == IF_SRC_FILEADDR) { in perf_event_parse_addr_filter() 10519 int fpos = token == IF_SRC_FILE ? 2 : 1; in perf_event_parse_addr_filter()
|