Lines Matching defs:entry

171 /* default uid/gid used if /etc/minor_perm entry not found */
1878 * This is the entry point for each minor node, whether walking
3347 * cache entry will go away during link removal
4303 * as the cache entry will go away
4896 * rule specified by "index". If a match is found on a cached entry,
4898 * new_id, then cache and return that entry.
4945 * Check and see if a matching entry is already cached.
4958 /* if matching entry already cached, return it */
4969 * no cached entry, initialize a numeral struct
5025 * Check and see if a matching entry is already cached.
5046 vprint(ENUM_MID, "%s: invalid entry in enumerate"
5125 enumerate_file_t *entry;
5164 * logical nodes matching the passed re. Create a cached entry
5185 for (entry = enumerate_reserved; entry; entry = entry->er_next) {
5187 vprint(RSRV_MID, "parsing rstring: %s\n", entry->er_file);
5192 ret = enumerate_parse(entry->er_file, path_left,
5197 * We found the reserved ID for this entry.
5198 * We still keep the entry since it is needed
5202 "rule RE: %s\n", entry->er_file, path_left);
5228 * entry, we recurse down dname/fname until we find the first symbolic
5261 * Search each dir entry looking for a symlink. Return
5445 * Returns true if path_left matches the list entry.
5534 * Returns true if path_left matches the list entry.
5628 * We found a numeral_id from an entry in the enumerate_reserved file
5680 * We found a numeral_id from an entry in /dev which matched
5811 * miniroot then it would presumably have the same minor_perm entry in
6039 enumerate_file_t *entry;
6054 entry = enumerate_reserved;
6055 enumerate_reserved = entry->er_next;
6056 free(entry->er_file);
6057 free(entry->er_id);
6058 free(entry);
6076 entry = enumerate_reserved;
6077 enumerate_reserved = entry->er_next;
6078 free(entry->er_file);
6079 free(entry->er_id);
6080 free(entry);
6126 entry = s_zalloc(sizeof (enumerate_file_t));
6127 entry->er_file = s_strdup(ncp);
6128 entry->er_id = NULL;
6129 entry->er_next = enumerate_reserved;
6130 enumerate_reserved = entry;
6225 /* break each entry into fields. s_link may be NULL */
6288 * For a single line entry in devlink.tab, split the line into fields
6293 split_devlinktab_entry(char *entry, char **selector, char **p_link,
6298 *selector = entry;
6300 if ((tab = strchr(entry, TAB)) != NULL) {
6547 devlinktab_list_t *entry;
6555 vprint(INFO_MID, "'%s' entry: %s:%s\n",
6569 for (entry = devlinktab_list; entry != NULL; entry = entry->next) {
6570 if (devlink_matches(entry, minor, node) == DEVFSADM_SUCCESS) {
6572 (void) build_links(entry, minor, node);
6579 * For a given devlink.tab devlinktab_list entry, see if the selector
6584 devlink_matches(devlinktab_list_t *entry, di_minor_t minor, di_node_t node)
6586 selector_list_t *selector = entry->selector;
6644 * For the given minor node and devlinktab_list entry from devlink.tab,
6649 build_links(devlinktab_list_t *entry, di_minor_t minor, di_node_t node)
6667 if (construct_devlink(primary_link, entry->p_link, contents,
6668 minor, node, entry->p_link_pattern) == DEVFSADM_FAILURE) {
6673 if (entry->s_link == NULL) {
6677 if (construct_devlink(secondary_link, entry->s_link, primary_link,
6678 minor, node, entry->s_link_pattern) == DEVFSADM_FAILURE) {
7221 * 3. /devices entry is the clone device and either
7222 * minor_perm entry is the clone device or matches
7235 * entry matches and if so, set the
8631 enumerate_file_t *entry;
8659 entry = head ? head : enumerate_reserved;
8660 for (; entry; entry = entry->er_next) {
8661 if (entry->er_id) {
8662 vprint(RSBY_MID, "entry %s already has ID %s\n",
8663 entry->er_file, entry->er_id);
8669 if (regexec(&re_array[i].d_rcomp, entry->er_file,
8675 entry->er_id = s_malloc(size + 1);
8676 (void) strncpy(entry->er_id,
8677 &entry->er_file[pmch[subex].rm_so], size);
8678 entry->er_id[size] = '\0';
8681 "ID is %s\n", entry->er_file,
8682 re_array[i].d_re, entry->er_id);
8684 vprint(RSBY_MID, "rsrv entry(%s) matches "
8685 "RE(%s) ID is %s\n", entry->er_file,
8686 re_array[i].d_re, entry->er_id);
8698 entry = head ? head : enumerate_reserved;
8699 for (; entry; entry = entry->er_next) {
8700 if (entry->er_id == NULL)
8703 vprint(RSBY_MID, "devlink: %s\n", entry->er_file);
8704 vprint(RSBY_MID, "ID: %s\n", entry->er_id);
8706 vprint(RSBY_MID, "reserve file entry: %s\n",
8707 entry->er_file);
8709 entry->er_id);
8742 enumerate_file_t *entry;
8760 entry = enumerate_reserved;
8761 for (; entry; entry = entry->er_next) {
8762 if (entry->er_id == NULL)
8764 if (strcmp(entry->er_id, estruct.er_id) != 0)
8767 vprint(RSBY_MID, "reserve file entry (%s) and devlink (%s) "
8768 "match\n", entry->er_file, devlink);