Lines Matching refs:tok
32 char *str, *sep, *tok; in mitigations_set() local
42 for (sep = str; (tok = strsep(&sep, ","));) { in mitigations_set()
47 tok = strim(tok); in mitigations_set()
52 if (!strcmp(tok, "auto")) in mitigations_set()
56 if (!strcmp(tok, "off")) in mitigations_set()
60 if (*tok == '!') { in mitigations_set()
62 tok++; in mitigations_set()
65 if (!strncmp(tok, "no", 2)) { in mitigations_set()
67 tok += 2; in mitigations_set()
70 if (*tok == '\0') in mitigations_set()
74 if (!strcmp(tok, names[i])) { in mitigations_set()
84 DRIVER_NAME, val, tok); in mitigations_set()