/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | smp_link.c | 71 devfsadm_enumerate_t rules[1] = {"smp/expd([0-9]+)", 1, MATCH_ADDR}; local 83 if (devfsadm_enumerate_int(l_path, 0, &buf, rules, 1)) {
|
H A D | tape_link.c | 69 devfsadm_enumerate_t rules[1] = {"rmt/([0-9]+)", 1, MATCH_ADDR}; local 94 if (devfsadm_enumerate_int(l_path, 0, &buf, rules, 1)) {
|
H A D | audio_link.c | 185 devfsadm_enumerate_t rules[1] = {NULL}; local 271 rules[0].re = re_string; 272 rules[0].subexp = 1; 273 rules[0].flags = MATCH_ALL; 280 if (devfsadm_enumerate_int(devpath, 0, &buf, rules, 1)) {
|
H A D | sgen_link.c | 190 devfsadm_enumerate_t rules[3] = { local 209 if (disk_enumerate_int(path, RULE_INDEX, &buf, rules, 3) == 223 rules[0].flags = MATCH_NODE | MATCH_UNCACHED; /* disks */ 224 rules[2].flags = MATCH_NODE | MATCH_UNCACHED; /* generic scsi */ 225 if (devfsadm_enumerate_int(path, RULE_INDEX, &buf, rules, 3)) {
|
H A D | misc_link.c | 263 devfsadm_enumerate_t rules[1] = {"^fb([0-9]+)$", 1, MATCH_ALL}; local 272 if (devfsadm_enumerate_int(l_path, 0, &buf, rules, 1)) { 291 devfsadm_enumerate_t rules[1] = {"mcpp([0-9]+)$", 1, MATCH_ALL}; local 307 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) { 448 devfsadm_enumerate_t rules[1] = {"fc/fp([0-9]+)$", 1, MATCH_ALL}; local 462 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1) != 0) { 477 * rules of the form: type=ddi_printer;name=bpp \M0 484 devfsadm_enumerate_t rules[1] = {"^printers$/^([0-9]+)$", 1, MATCH_ALL}; local 499 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) { 519 devfsadm_enumerate_t rules[ local 605 devfsadm_enumerate_t rules[1] = {"^av$/^([0-9]+)$", 1, MATCH_ADDR}; local [all...] |
H A D | usb_link.c | 244 devfsadm_enumerate_t rules[1]; local 304 /* Figure out which rules to apply */ 310 rules[0] = hub_rules[0]; /* For HUBs */ 316 rules[0] = audio_rules[0]; 320 rules[0] = audio_control_rules[0]; 324 rules[0] = audio_mux_rules[0]; 333 rules[0] = audio_stream_rules[0]; 337 rules[0] = video_rules[0]; 342 rules[0] = hid_rules[0]; 346 rules[ [all...] |
H A D | cfg_link.c | 164 devfsadm_enumerate_t rules[3] = { local 180 if (devfsadm_enumerate_int(path, 1, &c_num, rules, 3) 219 devfsadm_enumerate_t rules[1] = local 229 if (devfsadm_enumerate_int(path, 0, &cp, rules, 1)) { 249 devfsadm_enumerate_t rules[1] = local 266 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1) == 285 devfsadm_enumerate_t rules[1] = local 300 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1) ==
|
H A D | disk_link.c | 661 devfsadm_enumerate_t rules[3] = { local 680 if (disk_enumerate_int(path, RULE_INDEX, &buf, rules, 3) == 695 rules[0].flags = MATCH_NODE | MATCH_UNCACHED; /* disks */ 696 rules[2].flags = MATCH_NODE | MATCH_UNCACHED; /* generic scsi */ 697 if (devfsadm_enumerate_int(path, RULE_INDEX, &buf, rules, 3)) {
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen_ng.c | 47 struct irs_rule * rules; member in struct:pvt 82 pvt->rules = accpvt->map_rules[irs_ng]; 83 pvt->rule = pvt->rules; 138 for (rule = pvt->rules; rule; rule = rule->next) { 152 pvt->rule = pvt->rules; 167 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
|
H A D | gen_nw.c | 47 struct irs_rule * rules; member in struct:pvt 87 pvt->rules = accpvt->map_rules[irs_nw]; 88 pvt->rule = pvt->rules; 130 if (!(pvt->rules->flags & IRS_CONTINUE)) 151 for (rule = pvt->rules; rule; rule = rule->next) { 174 for (rule = pvt->rules; rule; rule = rule->next) { 192 pvt->rule = pvt->rules; 206 for (rule = pvt->rules; rule != NULL; rule = rule->next) { 245 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
|
H A D | gen_pr.c | 46 struct irs_rule * rules; member in struct:pvt 84 pvt->rules = accpvt->map_rules[irs_pr]; 85 pvt->rule = pvt->rules; 119 if (!(pvt->rules->flags & IRS_CONTINUE)) 138 for (rule = pvt->rules; rule; rule = rule->next) { 155 for (rule = pvt->rules; rule; rule = rule->next) { 169 pvt->rule = pvt->rules; 181 for (rule = pvt->rules; rule != NULL; rule = rule->next) { 220 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
|
H A D | gen_sv.c | 46 struct irs_rule * rules; member in struct:pvt 85 pvt->rules = accpvt->map_rules[irs_sv]; 86 pvt->rule = pvt->rules; 139 for (rule = pvt->rules; rule; rule = rule->next) { 156 for (rule = pvt->rules; rule; rule = rule->next) { 170 pvt->rule = pvt->rules; 182 for (rule = pvt->rules; rule != NULL; rule = rule->next) { 221 for (rule = pvt->rules; rule != NULL; rule = rule->next) {
|
H A D | gen_ho.c | 49 struct irs_rule * rules; member in struct:pvt 95 pvt->rules = accpvt->map_rules[irs_ho]; 96 pvt->rule = pvt->rules; 136 for (rule = pvt->rules; rule; rule = rule->next) { 179 for (rule = pvt->rules; rule; rule = rule->next) { 219 for (rule = pvt->rules; rule; rule = rule->next) { 274 pvt->rule = pvt->rules; 288 for (rule = pvt->rules; rule != NULL; rule = rule->next) { 327 for (rule = pvt->rules; rule != NULL; rule = rule->next) { 347 for (rule = pvt->rules; rul [all...] |
H A D | gen.c | 232 /* Search rules. */ 297 struct irs_rule **rules, *last, *tmp, *new; local 344 rules = &irs->map_rules[map]; 345 for (last = NULL, tmp = *rules; 350 *rules = new; 380 /* Install time honoured and proved BSD style rules as default. */
|
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 133 devfsadm_enumerate_t rules[1] = {"^ecpp([0-9]+)$", 1, MATCH_ALL}; local 148 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) {
|
/illumos-gate/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 249 devfsadm_enumerate_t rules[1] = {"^ecpp([0-9]+)$", 1, MATCH_ALL}; local 274 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) { 379 devfsadm_enumerate_t rules[1]; local 445 rules[0] = agptarget_rules[0]; 451 rules[0] = cpugart_rules[0]; 459 rules[0] = agpmaster_rules[0]; 470 if (devfsadm_enumerate_int(p_path, 0, &buf, rules, 1)) {
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 110 get_dir_list(uchar_t rules, Rt_map *lmp, uint_t flags) argument 127 switch (rules) { 291 * Get the next directory in the search rules path. The search path "cookie" 294 * Typically, a search consists of a series of rules that govern the order of 304 * Make sure there are still rules to process. 333 * All rules and search paths have been exhausted.
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_yp_util.c | 154 * then rules from 'in' should not be appended to those in 'out'. 965 * Appends mapping rules to a table_mapping structure 966 * with previously existing rules. flag controls whether 967 * the functions works on the rules From or To LDAP. 976 __nis_mapping_rule_t **rules = NULL; local 983 rules = (__nis_mapping_rule_t **) 987 if (rules == NULL) 989 dst->ruleFromLDAP = rules; 990 rules[dst->numRulesFromLDAP] = dup_mapping_rule(src_rule); 991 if (rules[ds [all...] |
H A D | nis_parse_ldap_util.c | 55 __nis_mapping_rule_t **rules, int n_rules); 806 * those have NULL objectDNs, but badly also rules 1653 dup_mapping_rules(__nis_mapping_rule_t **rules, int n_rules) argument 1662 r[i] = dup_mapping_rule(rules[i]);
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_matching.c | 758 char **rules = NULL; local 764 /* If no matching rules, select the default cert and we're done */ 766 "pkinit_cert_match", &rules); 767 if (rules == NULL) { 768 pkiDebug("%s: no matching rules found in config file\n", __FUNCTION__); 778 for (x = 0; rules[x] != NULL; x++) { 779 pkiDebug("%s: Processing rule '%s'\n", __FUNCTION__, rules[x]); 781 /* Free rules from previous time through... */ 786 retval = parse_rule_set(context, rules[x], &rs); 790 __FUNCTION__, rules[ [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 550 void *rules[2][2]; local 639 * Get pointers to each list of rules (active, inactive, in, out) 641 kmemcpy((char *)&rules, (u_long)deadlist[31].n_value, sizeof(rules)); 642 fiop->f_fin[0] = rules[0][0]; 643 fiop->f_fin[1] = rules[0][1]; 644 fiop->f_fout[0] = rules[1][0]; 645 fiop->f_fout[1] = rules[1][1]; 652 kmemcpy((char *)&rules, (u_long)deadlist[32].n_value, sizeof(rules)); [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_if.c | 1485 * The following functions are rules used to select a source address in 1492 * These rules are part of a greater "Default Address Selection for IPv6" 1495 * destination address ordering. The rules defined here implement the IPv6 1497 * libnsl, and uses a similar set of rules to implement the sorting. 1499 * Most of the rules are defined by the RFC and are not typically altered. The 1501 * scheme below, this means that new Solaris rules should normally go between 1708 * any Solaris-specific rules. 1884 * The list of ordering rules. They are applied in the order they 1890 rulef_t rules[] = { local 1898 rule_ifprefix, /* local rules afte [all...] |
H A D | spdsock.c | 73 * SPD, allowing policy rules to be added, deleted, and queried. 1039 tmprule_t rules[4], *rulep = &rules[0]; local 1148 while ((--rulep) >= &rules[0]) { 1172 while ((--rulep) >= &rules[0]) 1981 * and get some more rules.
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1876 * sorting rules for the AF_INET6 address sorting algorithm. The 2034 * rules. The rules are applied in order until one prefers one 2041 rulef_t rules[] = { local 2055 for (index = 0; rules[index] != NULL; index++) { 2056 result = (rules[index])(da, db);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 81 * rules that describe the timezone. In Solaris, the file is in 83 * on zoneinfo rules "source" files. This is all described on the zic(1M) 251 rule_t *rules[2]; member in struct:__anon2994 291 rule_t start_rule; /* For POSIX w/rules */ 292 rule_t end_rule; /* For POSIX w/rules */ 1250 * POSIX timezones. If explicit POSIX transition rules were provided 1269 * If transition rules were provided for this zone, 1270 * use them, otherwise, default to USA daylight rules, 1276 if (sp->zonerules == POSIX) { /* POSIX rules */ 1277 pdaylight.rules[ [all...] |