Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c556 char *cmd_buf, *cmd_buf_tmp, *subtoken; in rvu_dbg_qsize_write() local
576 subtoken = strsep(&cmd_buf, " "); in rvu_dbg_qsize_write()
577 ret = subtoken ? kstrtoint(subtoken, 10, &lf) : -EINVAL; in rvu_dbg_qsize_write()
581 if (ret < 0 || !strncmp(subtoken, "help", 4)) { in rvu_dbg_qsize_write()
856 char *subtoken; in parse_cmd_buffer_ctx() local
871 subtoken = strsep(&cmd_buf, " "); in parse_cmd_buffer_ctx()
872 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx()
875 subtoken = strsep(&cmd_buf, " "); in parse_cmd_buffer_ctx()
876 if (subtoken && strcmp(subtoken, "all") == 0) { in parse_cmd_buffer_ctx()
879 ret = subtoken ? kstrtoint(subtoken, 10, id) : -EINVAL; in parse_cmd_buffer_ctx()