Lines Matching refs:selector
6164 char *selector; in read_devlinktab_file() local
6192 free_selector_list(devlinktab_list->selector); in read_devlinktab_file()
6239 if (split_devlinktab_entry(line, &selector, &p_link, in read_devlinktab_file()
6245 "p_link='%s' s_link='%s'\n\n", selector, in read_devlinktab_file()
6254 if ((entryp->selector = create_selector_list(selector)) in read_devlinktab_file()
6259 entryp->selector_pattern = s_strdup(selector); in read_devlinktab_file()
6262 free_selector_list(entryp->selector); in read_devlinktab_file()
6273 free_selector_list(entryp->selector); in read_devlinktab_file()
6306 split_devlinktab_entry(char *entry, char **selector, char **p_link, in split_devlinktab_entry() argument
6311 *selector = entry; in split_devlinktab_entry()
6347 create_selector_list(char *selector) in create_selector_list() argument
6356 while ((*selector != '\0') && (error == FALSE)) { in create_selector_list()
6357 if (parse_selector(&selector, &key, &val) == DEVFSADM_FAILURE) { in create_selector_list()
6429 parse_selector(char **selector, char **key, char **val) in parse_selector() argument
6434 *key = *selector; in parse_selector()
6446 *selector = semi_colon + 1; in parse_selector()
6448 *selector = equal + strlen(equal); in parse_selector()
6599 selector_list_t *selector = entry->selector; in devlink_matches() local
6604 for (; selector != NULL; selector = selector->next) { in devlink_matches()
6605 switch (selector->key) { in devlink_matches()
6607 if (strcmp(di_node_name(node), selector->val) != 0) { in devlink_matches()
6614 if (strcmp(node_type, selector->val) != 0) { in devlink_matches()
6622 if (selector->arg == 0) { in devlink_matches()
6623 if (strcmp(addr, selector->val) != 0) { in devlink_matches()
6627 if (compare_field(addr, selector->val, in devlink_matches()
6628 selector->arg) == DEVFSADM_FAILURE) { in devlink_matches()
6637 if (selector->arg == 0) { in devlink_matches()
6638 if (strcmp(minor_name, selector->val) != 0) { in devlink_matches()
6642 if (compare_field(minor_name, selector->val, in devlink_matches()
6643 selector->arg) == DEVFSADM_FAILURE) { in devlink_matches()