/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getexecattr.c | 51 * or, entry cannot be found because of error; 181 * be called again for further key-value pairs, or returns non-zero to stop the 228 * it can't be the entry we want, so don't bother looking more closely 259 _exec_nis_lookup(nis_backend_ptr_t be, nss_XbyY_args_t *argp, int getby_flag) argument 282 ypres = _nss_nis_ypmatch(be->domain, NIS_MAP_EXECATTR, 321 ypstatus = __yp_all_cflookup((char *)(be->domain), 322 (char *)(be->enum_map), &cback, 0); 361 get_wild(nis_backend_ptr_t be, nss_XbyY_args_t *argp, int getby_flag) argument 374 res = _exec_nis_lookup(be, argp, getby_flag); 387 getbynam(nis_backend_ptr_t be, voi argument 400 getbyid(nis_backend_ptr_t be, void *a) argument 419 getbynameid(nis_backend_ptr_t be, void *a) argument [all...] |
H A D | nis_common.c | 58 * be necessary. If we're interested in performance we should provide 103 _nss_nis_setent(be, dummy) 104 nis_backend_ptr_t be; 107 if (be->enum_key != 0) { 108 free(be->enum_key); 109 be->enum_key = 0; 111 be->enum_keylen = 0; 116 _nss_nis_endent(be, dummy) 117 nis_backend_ptr_t be; 120 return (_nss_nis_setent(be, dumm 619 nis_backend_ptr_t be; local [all...] |
H A D | getnetgrent.c | 80 getnetgr_set(be, a) 81 struct nis_getnetgr_be *be; 86 if (be->netgroup != 0 && 87 strcmp(be->netgroup, netgroup) == 0) { 89 be->next_member = be->all_members; 96 getnetgr_get(be, a) 97 struct nis_getnetgr_be *be; 103 if ((mem = be->next_member) == 0) { 128 be 336 top_down(struct nis_netgr_be *be, const char **groups, int ngroups, int (*func)(ccp triple[3], void *iter_args, nss_status_t *return_val), void *iter_args) argument 881 struct nis_netgr_be *be; local [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswstate.c | 58 * be freed 71 (me, "release db be ptr %p\n", s->be_db_pp[i]); 76 if (s->be != NULL) { 78 if (s->be[i] == NULL) 81 (void) NSS_INVOKE_DBOP(s->be[i], 83 (void) NSS_INVOKE_DBOP(s->be[i], 86 free(s->be); 201 s->be = calloc(s->max_src, sizeof (nss_backend_t **)); 202 if (s->be == NULL) { 204 (me, "not able to allocate s->be\ 251 nss_backend_t *be; local [all...] |
H A D | nscd_switch.h | 105 extern void *_nscd_be_version; /* default version for supported be */ 110 nscd_bool_t recheck_be; /* if set, check/init be */ 115 nss_backend_t **be; /* array of backends */ member in struct:nscd_nsw_state 116 nss_backend_constr_t *be_constr; /* be constructor array */ 149 nss_backend_t *be; member in struct:nscd_getent_context 172 * should be used
|
H A D | nscd_switch.c | 187 * determine if an NSS lookup is to be performed 384 * Determine if a request should be done locally in the getXbyY caller's 385 * process. Return none zero if yes, 0 otherwise. This should be called 415 * Determine if a request should be done locally in the getXbyY caller's 416 * process. Return none zero if yes, 0 otherwise. This should be called 595 * data_len in the packed buf header may be changed 617 "may be needed\n"); 682 * for door request that should be processed by the client, 747 nss_backend_t *be = NULL; local 817 /* stop if the source is one that should be TRYLOCA 1055 nss_backend_t *be; local 1081 nss_backend_t *be; local 1197 nss_backend_t *be; local [all...] |
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 224 _nss_ad_marshall_data(ad_backend_ptr be, nss_XbyY_args_t *argp) argument 242 stat = (*argp->str2ent)(be->buffer, be->buflen, 253 _nss_ad_sanitize_status(ad_backend_ptr be, nss_XbyY_args_t *argp, argument 256 if (be->buffer != NULL) { 257 free(be->buffer); 258 be->buffer = NULL; 259 be->buflen = 0; 260 be->db_type = NSS_AD_DB_NONE; 308 * This way the LRU entry can be foun 423 _nss_ad_lookup(ad_backend_ptr be, nss_XbyY_args_t *argp, const char *database, const char *searchfilter, const char *dname, int *try_idmap) argument 467 _clean_ad_backend(ad_backend_ptr be) argument 486 _nss_ad_destr(ad_backend_ptr be, void *a) argument 496 _nss_ad_setent(ad_backend_ptr be, void *a) argument 504 _nss_ad_endent(ad_backend_ptr be, void *a) argument 512 _nss_ad_getent(ad_backend_ptr be, void *a) argument 522 ad_backend_ptr be; local [all...] |
H A D | getpwnam.c | 55 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, argument 63 if (be->db_type == NSS_AD_DB_PASSWD_BYNAME) { 80 buffer = be->buffer = malloc(buflen); 81 if (be->buffer == NULL) 83 be->buflen = buflen; 91 if (be->db_type == NSS_AD_DB_PASSWD_BYNAME) 105 * a /net format. This needs to be revisited later but is fine for now 171 _nss_ad_passwd2str(ad_backend_ptr be, nss_XbyY_args_t *argp) argument 174 adutils_result_t *result = be->result; 224 if (be 295 getbyname(ad_backend_ptr be, void *a) argument 389 getbyuid(ad_backend_ptr be, void *a) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 116 getbyname(be, a) 117 files_backend_ptr_t be; 123 res = __nss_files_XY_hostbyname(be, argp, argp->key.name, AF_INET); 212 getbyaddr(be, a) 213 files_backend_ptr_t be; 219 res = _nss_files_XY_all(be, argp, 1, 0, check_addr); 271 getent_hosts(files_backend_ptr_t be, void *a) argument 277 return (_nss_files_XY_all(be, args, 1, 0, 0)); 284 rc = _nss_files_XY_all(be, args, 1, 0, 0); 293 * These addresses have to be filtere [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 266 _nss_ldap_exec2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 269 ns_ldap_result_t *result = be->result; 335 if ((be->buffer = calloc(1, len)) == NULL) { 339 buffer = be->buffer; 348 be->buflen = strlen(buffer); 350 (void) __ns_ldap_freeResult(&be->result); 356 _exec_process_val(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 362 ns_ldap_result_t *result = be->result; 368 (void) __ns_ldap_freeResult(&be->result); 409 get_wild(ldap_backend_ptr be, nss_XbyY_args_ argument 487 exec_attr_process_val(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 535 getbynam(ldap_backend_ptr be, void *a) argument 570 getbyid(ldap_backend_ptr be, void *a) argument 585 getbynameid(ldap_backend_ptr be, void *a) argument [all...] |
H A D | ldap_common.c | 125 _nss_ldap_lookup(ldap_backend_ptr be, nss_XbyY_args_t *argp, argument 143 (void) __ns_ldap_freeResult(&be->result); 146 be->attrs, NULL, 0, &be->result, &error, NULL, 157 be->ldapobj2str(be, argp)) != NSS_STR_PARSE_SUCCESS) { 163 * a string to be returned in NSS. 167 if (be->db_type == NSS_LDAP_DB_PUBLICKEY) { 170 be->db_type = NSS_LDAP_DB_NONE; 178 * for different purpose so ethers has to be treate 248 _nss_ldap_nocb_lookup(ldap_backend_ptr be, nss_XbyY_args_t *argp, char *database, char *searchfilter, char *domain, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const void *userdata) argument 286 _clean_ldap_backend(ldap_backend_ptr be) argument 322 _nss_ldap_destr(ldap_backend_ptr be, void *a) argument 341 _nss_ldap_setent(ldap_backend_ptr be, void *a) argument 377 _nss_ldap_endent(ldap_backend_ptr be, void *a) argument 412 _nss_ldap_getent(ldap_backend_ptr be, void *a) argument 536 ldap_backend_ptr be; local [all...] |
H A D | getnetgrent.c | 218 if (l1 > l2) { /* Can't be a suffix */ 665 netgr_in(ldap_backend_ptr be, void *a) argument 685 getnetgr_ldap_setent(ldap_backend_ptr be, void *a) argument 694 cookie = (getnetgrent_cookie_t *)be->netgroup_cookie; 725 getnetgr_ldap_endent(ldap_backend_ptr be, void *a) argument 732 free_getnetgrent_cookie((getnetgrent_cookie_t **)&be->netgroup_cookie); 740 getnetgr_ldap_destr(ldap_backend_ptr be, void *a) argument 747 free_getnetgrent_cookie((getnetgrent_cookie_t **)&be->netgroup_cookie); 748 free(be); 755 getnetgr_ldap_getent(ldap_backend_ptr be, voi argument 933 netgr_set(ldap_backend_ptr be, void *a) argument 987 netgr_ldap_destr(ldap_backend_ptr be, void *a) argument [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 103 ntlmssp_backend_t *be; local 105 be = malloc(sizeof (*be)); 106 if (be == 0) 108 bzero(be, sizeof (*be)); 109 be->expect_type = NTLMSSP_MSGTYPE_NEGOTIATE; 110 ctx->ctx_backend = be; 128 ntlmssp_backend_t *be = ctx->ctx_backend; local 138 if (mtype != be 174 ntlmssp_backend_t *be = ctx->ctx_backend; local 397 ntlmssp_backend_t *be = ctx->ctx_backend; local [all...] |
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 64 static boolean_t convertBEInfoToDictionary(be_node_list_t *be, 288 be_node_list_t *be = NULL; local 307 for (be = list; be != NULL; be = be->be_next_node) { 308 be_dataset_list_t *ds = be->be_node_datasets; 309 be_snapshot_list_t *ss = be->be_node_snapshots; 316 if (!convertBEInfoToDictionary(be, &dict)) { 822 convertBEInfoToDictionary(be_node_list_t *be, PyObjec argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 183 * the above line will be followed by: 272 dns_backend_ptr_t be; local 274 if ((be = (dns_backend_ptr_t)malloc(sizeof (*be))) == 0) 277 be->ops = ops; 278 be->n_ops = n_ops; 279 return ((nss_backend_t *)be); 286 * Within DNS there should be only one canonical name, aliases should 456 * There may be flags set when we are handling ipnode. There are three 466 * something to be desire [all...] |
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 250 _nss_mdns_querybyname(mdns_backend_ptr_t be, char *qname, argument 273 while ((srchidx = searchdomain(be, name, srchidx, &sname)) != -1) { 372 _nss_mdns_querybyaddr(mdns_backend_ptr_t be, char *name, int af, argument 385 if (validdomain(be, name, 0) == B_FALSE) { 436 mdns_backend_ptr_t be; local 438 if ((be = (mdns_backend_ptr_t)calloc(1, sizeof (*be))) == NULL) 440 be->ops = ops; 441 be->n_ops = n_ops; 442 _nss_mdns_updatecfg(be); 447 _nss_mdns_destr(mdns_backend_ptr_t be) argument 456 searchdomain(mdns_backend_ptr_t be, char *name, int srchidx, char **sname) argument 503 validdomain(mdns_backend_ptr_t be, char *name, int chksrchdmns) argument 580 _nss_mdns_updatecfg(mdns_backend_ptr_t be) argument 638 _nss_mdns_loadsmfcfg(mdns_backend_ptr_t be) argument 662 _nss_mdns_freesmfcfg(mdns_backend_ptr_t be) argument 700 mdns_backend_ptr_t be = NULL; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 398 * Unpack a domain name from a message, source may be compressed. 412 * Unpack a domain name from a message, source may be compressed. 473 * there must be a loop. 743 ns_nname_ct ae = a + as, be = b + bs; local 751 if (a + ac >= ae || b + bc >= be) { 767 /* If A is shorter, it cannot be owned by B. */ 781 /* A might be longer or not, but either way, B owns it. */ 1102 * MUST be just sufficient to contain the number of bits specified 1104 * hexadecimal or octal digit, they MUST be zero. 1138 /* should be avoide [all...] |
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | ldap_ping.c | 236 * there should probably be some boundary checks on str && cp 262 char val[512]; /* how big should val be? */ 347 * Sockaddr_size && sockaddr might be useful at some point 391 struct _berelement *be, *rbe; local 426 be = (struct _berelement *)req; 427 be_len = be->ber_end - be->ber_buf; 447 send_to_cds(send_ds, be->ber_buf, be_len, fd);
|
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 89 * directory list can be created from auditd_plugin_open() while the 118 static dirlist_t *activeDir = NULL; /* to be current directory */ 193 char *bs, *be; local 228 be = bs + strlen(bs) - 1; 229 while (be > bs) { /* trim trailing blanks */ 232 be--; 234 *(be + 1) = '\0'; 382 * NOTE: if we want to use gmtime, we have to be aware that the 438 * oldname - the new name for the file to be closed 641 * log_mutex must be hel [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | cyclic.c | 40 * absolute time. As a result, these parts cannot typically be reprogrammed 48 * present a time-based interrupt source which can be reprogrammed arbitrarily 63 * can be specified to fire at high, lock or low interrupt level, and may be 65 * partition binding may be changed dynamically; the cyclic will be "juggled" 67 * be specified to be "omnipresent", denoting firing on all online CPUs. 146 * the array will be doubled. The array will never shrink. Cyclics are 165 * (guaranteed to be th 854 cyc_backend_t *be = cpu->cyp_backend; local 944 cyc_backend_t *be = cpu->cyp_backend; local 1330 cyc_backend_t *be = cpu->cyp_backend; local 1343 cyc_backend_t *be = cpu->cyp_backend; local 1444 cyc_backend_t *be = cpu->cyp_backend; local 1653 cyc_backend_t *be = cpu->cyp_backend; local 1719 cyc_backend_t *be = cpu->cyp_backend; local 1759 cyc_backend_t *be = cpu->cyp_backend; local 1896 cyc_backend_t *be = cpu->cyp_backend; local 1957 cyc_backend_t *be = cpu->cyp_backend; local 2022 cyc_backend_t *be = cpu->cyp_backend; local 2337 cyc_backend_t *be = cpu->cyp_backend; local 2420 cyc_backend_t *be = cpu->cyp_backend; local 2450 cyc_backend_t *be = cpu->cyp_backend; local 3121 cyclic_init(cyc_backend_t *be, hrtime_t resolution) argument 3563 cyc_backend_t *be; local 3615 cyc_backend_t *be; local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | magic.c | 1593 register char* be; local 1604 if (!(be = strchr(t, ' '))) 1606 be = b + strlen(b); 1609 if (*(be - 1) == ',' || strneq(be + 1, "data", 4) || strneq(be + 1, "file", 4)) 1612 t = be + 1; 1614 while (m < me && b < be)
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regnexec.c | 139 short be; /* which end of pair */ member in struct:__anon2665 224 * around alternate attempts, so that fossils will not be 281 pospush(Env_t* env, Rex_t* rex, unsigned char* p, int be) argument 292 pos->be = be; 317 DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;}); 339 if (oe->be != END_ANY) 349 if (ne->be != END_ANY)
|
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 103 * sorted list of be commands 425 print_be_snapshots(be_node_list_t *be, struct hdr_info *hdr, boolean_t parsable) argument 431 for (snap = be->be_node_snapshots; snap != NULL; 435 const char *be_name = be->be_node_name; 436 const char *root_ds = be->be_root_ds; 458 be->be_policy_type, 465 be->be_policy_type, 475 hdr->cols[4].width, be->be_policy_type, 481 hdr->cols[4].width, be->be_policy_type, 596 "This action cannot be undon [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 107 delete_stack_push(delete_info_t *dip, uint32_t be, delete_cb_func *cb, argument 130 ent->de_backend = be; 174 assert(cur->ds_next == NULL); /* should only be one */ 215 uint32_t be = ent->de_backend; local 220 backend_tx_t *tx = (be == BACKEND_TYPE_NORMAL)? dip->di_tx : 240 uint32_t be = ent->de_backend; local 245 backend_tx_t *tx = (be == BACKEND_TYPE_NORMAL)? dip->di_tx : 254 * group. If we are, there's nothing to be done. 256 if (be == BACKEND_TYPE_NORMAL) { 275 info.dci_be = be; 301 uint32_t be = ent->de_backend; local 328 uint32_t be = ent->de_backend; local 362 uint32_t be = ent->de_backend; local 405 uint32_t be = ent->de_backend; local [all...] |
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 300 /* Don't try to init a dev that may be closing */ 616 * ring will be re-initialized after re-grant succeed 617 * ring will be freed if fails to re-grant access to backend domain 1182 char *be = NULL; local 1192 if ((xenbus_read(XBT_NULL, "", vec[XS_WATCH_PATH], (void *)be, &bel) 1193 == 0) && (strcmp(be, pdp->xd_xsdev.otherend) != 0)) 1196 if (be != NULL) { 1198 kmem_free(be, bel); 1325 /* Don't allow duplicate watches to be registered */ 1399 * Set nthreads to 1 to make sure that events can be delivere [all...] |