Lines Matching refs:tok
557 char *tok, *tok_end, *tok_step, *tok_len, *tok_mul; in parse_setup_cpu_list() local
562 tok = strsep(&str, ","); in parse_setup_cpu_list()
563 if (!tok) in parse_setup_cpu_list()
566 tok_end = strstr(tok, "-"); in parse_setup_cpu_list()
568 dprintf("\ntoken: {%s}, end: {%s}\n", tok, tok_end); in parse_setup_cpu_list()
571 bind_cpu_0 = bind_cpu_1 = atol(tok); in parse_setup_cpu_list()
574 bind_cpu_0 = atol(tok); in parse_setup_cpu_list()
579 tok_step = strstr(tok, "#"); in parse_setup_cpu_list()
591 tok_len = strstr(tok, "_"); in parse_setup_cpu_list()
599 tok_mul = strstr(tok, "x"); in parse_setup_cpu_list()
705 char *tok, *tok_end, *tok_step, *tok_mul; in parse_setup_node_list() local
709 tok = strsep(&str, ","); in parse_setup_node_list()
710 if (!tok) in parse_setup_node_list()
713 tok_end = strstr(tok, "-"); in parse_setup_node_list()
715 dprintf("\ntoken: {%s}, end: {%s}\n", tok, tok_end); in parse_setup_node_list()
718 bind_node_0 = bind_node_1 = atol(tok); in parse_setup_node_list()
721 bind_node_0 = atol(tok); in parse_setup_node_list()
726 tok_step = strstr(tok, "#"); in parse_setup_node_list()
734 tok_mul = strstr(tok, "x"); in parse_setup_node_list()