rule_tmp 864 src/udev/udev-rules.c static int rule_add_key(struct rule_tmp *rule_tmp, enum token_type type, rule_tmp 867 src/udev/udev-rules.c struct token *token = &rule_tmp->token[rule_tmp->token_cur]; rule_tmp 901 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); rule_tmp 904 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); rule_tmp 914 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); rule_tmp 915 src/udev/udev-rules.c token->key.attr_off = rules_add_string(rule_tmp->rules, attr); rule_tmp 918 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); rule_tmp 929 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); rule_tmp 999 src/udev/udev-rules.c rule_tmp->token_cur++; rule_tmp 1000 src/udev/udev-rules.c if (rule_tmp->token_cur >= ELEMENTSOF(rule_tmp->token)) { rule_tmp 1007 src/udev/udev-rules.c static int sort_token(struct udev_rules *rules, struct rule_tmp *rule_tmp) { rule_tmp 1010 src/udev/udev-rules.c unsigned int end = rule_tmp->token_cur; rule_tmp 1012 src/udev/udev-rules.c for (i = 0; i < rule_tmp->token_cur; i++) { rule_tmp 1019 src/udev/udev-rules.c if (rule_tmp->token[j].type == TK_UNSET) rule_tmp 1021 src/udev/udev-rules.c if (next_val == TK_UNSET || rule_tmp->token[j].type < next_val) { rule_tmp 1022 src/udev/udev-rules.c next_val = rule_tmp->token[j].type; rule_tmp 1028 src/udev/udev-rules.c if (add_token(rules, &rule_tmp->token[next_idx]) != 0) rule_tmp 1030 src/udev/udev-rules.c rule_tmp->token[next_idx].type = TK_UNSET; rule_tmp 1045 src/udev/udev-rules.c struct rule_tmp rule_tmp = { rule_tmp 1052 src/udev/udev-rules.c rule_tmp.rule.rule.filename_off = filename_off; rule_tmp 1053 src/udev/udev-rules.c rule_tmp.rule.rule.filename_line = lineno; rule_tmp 1088 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_ACTION, op, value, NULL); rule_tmp 1097 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_DEVPATH, op, value, NULL); rule_tmp 1106 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_KERNEL, op, value, NULL); rule_tmp 1122 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_SUBSYSTEM, op, "subsystem|class|bus", NULL); rule_tmp 1124 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_SUBSYSTEM, op, value, NULL); rule_tmp 1133 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_DRIVER, op, value, NULL); rule_tmp 1148 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_ATTR, op, value, attr); rule_tmp 1150 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_ATTR, op, value, attr); rule_tmp 1166 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_SECLABEL, op, value, attr); rule_tmp 1175 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_KERNELS, op, value, NULL); rule_tmp 1184 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_SUBSYSTEMS, op, value, NULL); rule_tmp 1193 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_DRIVERS, op, value, NULL); rule_tmp 1213 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_ATTRS, op, value, attr); rule_tmp 1222 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_TAGS, op, value, NULL); rule_tmp 1237 src/udev/udev-rules.c if (rule_add_key(&rule_tmp, TK_M_ENV, op, value, attr) != 0) rule_tmp 1261 src/udev/udev-rules.c if (rule_add_key(&rule_tmp, TK_A_ENV, op, value, attr) != 0) rule_tmp 1269 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_TAG, op, value, NULL); rule_tmp 1271 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_TAG, op, value, NULL); rule_tmp 1280 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_PROGRAM, op, value, NULL); rule_tmp 1289 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_RESULT, op, value, NULL); rule_tmp 1312 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_BUILTIN, op, value, &cmd); rule_tmp 1316 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_PROG, op, value, NULL); rule_tmp 1321 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_BUILTIN, op, value, &cmd); rule_tmp 1325 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_FILE, op, value, NULL); rule_tmp 1327 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_DB, op, value, NULL); rule_tmp 1329 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_CMDLINE, op, value, NULL); rule_tmp 1331 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_IMPORT_PARENT, op, value, NULL); rule_tmp 1347 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_TEST, op, value, &mode); rule_tmp 1349 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_TEST, op, value, NULL); rule_tmp 1367 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_RUN_BUILTIN, op, value, &cmd); rule_tmp 1373 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_RUN_PROGRAM, op, value, &cmd); rule_tmp 1386 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_WAITFOR, 0, value, NULL); rule_tmp 1395 src/udev/udev-rules.c rule_tmp.rule.rule.label_off = rules_add_string(rules, value); rule_tmp 1404 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_GOTO, 0, value, NULL); rule_tmp 1414 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_NAME, op, value, NULL); rule_tmp 1426 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_NAME, op, value, NULL); rule_tmp 1428 src/udev/udev-rules.c rule_tmp.rule.rule.can_set_name = true; rule_tmp 1438 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_M_DEVLINK, op, value, NULL); rule_tmp 1440 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_DEVLINK, op, value, NULL); rule_tmp 1441 src/udev/udev-rules.c rule_tmp.rule.rule.can_set_name = true; rule_tmp 1456 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_OWNER_ID, op, NULL, &uid); rule_tmp 1459 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_OWNER_ID, op, NULL, &uid); rule_tmp 1461 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_OWNER, op, value, NULL); rule_tmp 1463 src/udev/udev-rules.c rule_tmp.rule.rule.can_set_name = true; rule_tmp 1478 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_GROUP_ID, op, NULL, &gid); rule_tmp 1481 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_GROUP_ID, op, NULL, &gid); rule_tmp 1483 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_GROUP, op, value, NULL); rule_tmp 1485 src/udev/udev-rules.c rule_tmp.rule.rule.can_set_name = true; rule_tmp 1500 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_MODE_ID, op, NULL, &mode); rule_tmp 1502 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_MODE, op, value, NULL); rule_tmp 1503 src/udev/udev-rules.c rule_tmp.rule.rule.can_set_name = true; rule_tmp 1519 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_DEVLINK_PRIO, op, NULL, &prio); rule_tmp 1526 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_STRING_ESCAPE_NONE, op, NULL, NULL); rule_tmp 1528 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_STRING_ESCAPE_REPLACE, op, NULL, NULL); rule_tmp 1533 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_DB_PERSIST, op, NULL, NULL); rule_tmp 1539 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_INOTIFY_WATCH, op, NULL, &off); rule_tmp 1545 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_INOTIFY_WATCH, op, NULL, &on); rule_tmp 1551 src/udev/udev-rules.c rule_add_key(&rule_tmp, TK_A_STATIC_NODE, op, &pos[strlen("static_node=")], NULL); rule_tmp 1552 src/udev/udev-rules.c rule_tmp.rule.rule.has_static_node = true; rule_tmp 1563 src/udev/udev-rules.c rule_tmp.rule.rule.token_count = 1 + rule_tmp.token_cur; rule_tmp 1564 src/udev/udev-rules.c if (add_token(rules, &rule_tmp.rule) != 0) rule_tmp 1568 src/udev/udev-rules.c if (sort_token(rules, &rule_tmp) != 0)