Lines Matching refs:tok
366 char *tok, *tmp, *orig; in setup_output_field() local
387 while ((tok = strsep(&tmp, ",")) != NULL){ in setup_output_field()
388 ret = add_output_field(contention, tok); in setup_output_field()
2352 char *s, *tmp, *tok; in parse_lock_type() local
2359 for (tok = strtok_r(s, ", ", &tmp); tok; tok = strtok_r(NULL, ", ", &tmp)) { in parse_lock_type()
2360 unsigned int flags = get_type_flag(tok); in parse_lock_type()
2363 pr_err("Unknown lock flags: %s\n", tok); in parse_lock_type()
2418 char *s, *tmp, *tok; in parse_lock_addr() local
2426 for (tok = strtok_r(s, ", ", &tmp); tok; tok = strtok_r(NULL, ", ", &tmp)) { in parse_lock_addr()
2429 addr = strtoul(tok, &end, 16); in parse_lock_addr()
2442 if (!add_lock_sym(tok)) { in parse_lock_addr()
2455 char *s, *tmp, *tok; in parse_call_stack() local
2462 for (tok = strtok_r(s, ", ", &tmp); tok; tok = strtok_r(NULL, ", ", &tmp)) { in parse_call_stack()
2465 entry = malloc(sizeof(*entry) + strlen(tok) + 1); in parse_call_stack()
2472 strcpy(entry->name, tok); in parse_call_stack()
2530 char *s, *tmp, *tok; in parse_cgroup_filter() local
2537 for (tok = strtok_r(s, ", ", &tmp); tok; tok = strtok_r(NULL, ", ", &tmp)) { in parse_cgroup_filter()
2538 if (!add_lock_cgroup(tok)) { in parse_cgroup_filter()