Home
last modified time | relevance | path

Searched refs:subtoken (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c998 char *cmd_buf, *cmd_buf_tmp, *subtoken; in rvu_dbg_qsize_write() local
1016 subtoken = strsep(&cmd_buf, " "); in rvu_dbg_qsize_write()
1017 ret = subtoken ? kstrtoint(subtoken, 10, &lf) : -EINVAL; in rvu_dbg_qsize_write()
1021 if (ret < 0 || !strncmp(subtoken, "help", 4)) { in rvu_dbg_qsize_write()
1301 char *subtoken; in parse_cmd_buffer_ctx() local
1316 subtoken = strsep(&cmd_buf, " "); in parse_cmd_buffer_ctx()
1317 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx()
1320 subtoken = strsep(&cmd_buf, " "); in parse_cmd_buffer_ctx()
1321 if (subtoken && strcmp(subtoken, "all") == 0) { in parse_cmd_buffer_ctx()
1324 ret = subtoken ? kstrtoint(subtoken, 10, id) : -EINVAL; in parse_cmd_buffer_ctx()
/linux-6.12.1/mm/
Dhuge_memory.c964 char *token, *range, *policy, *subtoken; in setup_thp_anon() local
985 while ((subtoken = strsep(&range, ",")) != NULL) { in setup_thp_anon()
986 if (strchr(subtoken, '-')) { in setup_thp_anon()
987 start_size = strsep(&subtoken, "-"); in setup_thp_anon()
988 end_size = subtoken; in setup_thp_anon()
993 start = end = get_order_from_str(subtoken); in setup_thp_anon()