Lines Matching refs:tok
33 char *str, *sep, *tok; in mitigations_set() local
43 for (sep = str; (tok = strsep(&sep, ","));) { in mitigations_set()
48 tok = strim(tok); in mitigations_set()
53 if (!strcmp(tok, "auto")) in mitigations_set()
57 if (!strcmp(tok, "off")) in mitigations_set()
61 if (*tok == '!') { in mitigations_set()
63 tok++; in mitigations_set()
66 if (!strncmp(tok, "no", 2)) { in mitigations_set()
68 tok += 2; in mitigations_set()
71 if (*tok == '\0') in mitigations_set()
75 if (!strcmp(tok, names[i])) { in mitigations_set()
85 DRIVER_NAME, val, tok); in mitigations_set()