Lines Matching refs:tok
529 char *tok, *tok_end, *tok_step, *tok_len, *tok_mul; in parse_setup_cpu_list() local
534 tok = strsep(&str, ","); in parse_setup_cpu_list()
535 if (!tok) in parse_setup_cpu_list()
538 tok_end = strstr(tok, "-"); in parse_setup_cpu_list()
540 dprintf("\ntoken: {%s}, end: {%s}\n", tok, tok_end); in parse_setup_cpu_list()
543 bind_cpu_0 = bind_cpu_1 = atol(tok); in parse_setup_cpu_list()
546 bind_cpu_0 = atol(tok); in parse_setup_cpu_list()
551 tok_step = strstr(tok, "#"); in parse_setup_cpu_list()
563 tok_len = strstr(tok, "_"); in parse_setup_cpu_list()
571 tok_mul = strstr(tok, "x"); in parse_setup_cpu_list()
666 char *tok, *tok_end, *tok_step, *tok_mul; in parse_setup_node_list() local
670 tok = strsep(&str, ","); in parse_setup_node_list()
671 if (!tok) in parse_setup_node_list()
674 tok_end = strstr(tok, "-"); in parse_setup_node_list()
676 dprintf("\ntoken: {%s}, end: {%s}\n", tok, tok_end); in parse_setup_node_list()
679 bind_node_0 = bind_node_1 = atol(tok); in parse_setup_node_list()
682 bind_node_0 = atol(tok); in parse_setup_node_list()
687 tok_step = strstr(tok, "#"); in parse_setup_node_list()
695 tok_mul = strstr(tok, "x"); in parse_setup_node_list()