/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | tsearch.c | 65 NODE **rootp = (NODE **)rtp; in tsearch() local 68 if (rootp == NULL) in tsearch() 70 while (*rootp != NULL) { /* T1: */ in tsearch() 71 int r = (*compar)(key, (*rootp)->key); /* T2: */ in tsearch() 73 return ((void *)*rootp); /* Key found */ in tsearch() 74 rootp = (r < 0) ? in tsearch() 75 &(*rootp)->llink : /* T3: Take left branch */ in tsearch() 76 &(*rootp)->rlink; /* T4: Take right branch */ in tsearch() 80 *rootp = q; /* Link new node to old */ in tsearch() 92 NODE **rootp in tdelete() local [all...] |
H A D | tfind.c | 62 NODE **rootp = (NODE **)rtp; in tfind() local 63 if (rootp == NULL) in tfind() 65 while (*rootp != NULL) { /* T1: */ in tfind() 66 int r = (*compar)(key, (*rootp)->key); /* T2: */ in tfind() 68 return ((void *)*rootp); /* Key found */ in tfind() 69 rootp = (r < 0) ? in tfind() 70 &(*rootp)->llink : /* T3: Take left branch */ in tfind() 71 &(*rootp)->rlink; /* T4: Take right branch */ in tfind()
|
H A D | nss_common.c | 90 void (*nss_delete_fp)(nss_db_root_t *rootp); 91 nss_status_t (*nss_search_fp)(nss_db_root_t *rootp, 100 void (*end_iter_u_fp)(nss_db_root_t *rootp, 965 * rootp->s has already been dealt with). 1134 nss_delete(nss_db_root_t *rootp) in nss_delete() argument 1142 NSS_ROOTLOCK(rootp, &s); in nss_delete() 1144 NSS_UNLOCK(rootp); in nss_delete() 1146 rootp->s = 0; in nss_delete() 1147 NSS_UNREF_UNLOCK(rootp, s); in nss_delete() 1152 nss_search(nss_db_root_t *rootp, nss_db_initf_ argument 1301 nss_setent(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_setent() argument 1312 nss_getent(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) nss_getent() argument 1327 nss_endent(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_endent() argument 1343 end_iter_u(nss_db_root_t * rootp,struct nss_getent_context * contextp) end_iter_u() argument 1366 nss_setent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_setent_u() argument 1451 nss_getent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) nss_getent_u() argument 1535 nss_endent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_endent_u() argument 1656 nss_pack(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,int search_fnum,void * search_args) nss_pack() argument 1764 nss_pack_ent(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_pack_ent() argument 1838 nss_unpack(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,int search_fnum,void * search_args) nss_unpack() argument 1939 nss_unpack_ent(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) nss_unpack_ent() argument 2011 _nsc_search(nss_db_root_t * rootp,nss_db_initf_t initf,int search_fnum,void * search_args) _nsc_search() argument 2086 _nsc_setent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) _nsc_setent_u() argument 2163 _nsc_getent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) _nsc_getent_u() argument 2230 _nsc_endent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) _nsc_endent_u() argument [all...] |
/titanic_51/usr/src/lib/libbc/libc/gen/common/ |
H A D | tsearch.c | 48 * rootp: Address of the root of the tree 52 tsearch(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) in tsearch() argument 56 if (rootp == NULL) in tsearch() 58 while (*rootp != NULL) { /* T1: */ in tsearch() 59 int r = (*compar)(key, (*rootp)->key); /* T2: */ in tsearch() 61 return (*rootp); /* Key found */ in tsearch() 62 rootp = (r < 0) ? in tsearch() 63 &(*rootp)->llink : /* T3: Take left branch */ in tsearch() 64 &(*rootp)->rlink; /* T4: Take right branch */ in tsearch() 68 *rootp in tsearch() 84 tdelete(POINTER key,NODE ** rootp,int (* compar)(POINTER,POINTER)) tdelete() argument [all...] |
H A D | tfind.c | 44 tfind(key, rootp, compar) in tfind() argument 46 register NODE **rootp; /* Address of the root of the tree */ 49 if (rootp == NULL) 51 while (*rootp != NULL) { /* T1: */ 52 int r = (*compar)(key, (*rootp)->key); /* T2: */ 54 return (*rootp); /* Key found */ 55 rootp = (r < 0) ? 56 &(*rootp)->llink : /* T3: Take left branch */ 57 &(*rootp)->rlink; /* T4: Take right branch */
|
/titanic_51/usr/src/lib/libslp/clib/ |
H A D | slp_search.c | 78 NODE **rootp = (NODE **)rtp; in slp_tsearch() local 81 if (rootp == NULL) in slp_tsearch() 83 while (*rootp != NULL) { /* T1: */ in slp_tsearch() 84 int r = (*compar)(key, (*rootp)->key); /* T2: */ in slp_tsearch() 86 return ((void *)*rootp); /* Key found */ in slp_tsearch() 87 rootp = (r < 0) ? in slp_tsearch() 88 &(*rootp)->llink : /* T3: Take left branch */ in slp_tsearch() 89 &(*rootp)->rlink; /* T4: Take right branch */ in slp_tsearch() 93 *rootp = q; /* Link new node to old */ in slp_tsearch() 103 NODE **rootp in slp_tfind() local [all...] |
/titanic_51/usr/src/lib/libast/common/comp/ |
H A D | tsearch.c | 101 Void_t* tsearch(const Void_t* key, Void_t** rootp, in tsearch() argument 104 Void_t* tsearch(key, rootp, comparf) in tsearch() 106 Void_t** rootp; 113 if(!rootp || 114 (!(dt = *((Dt_t**)rootp)) && !(dt = dtopen((Dtdisc_t*)(&Treedisc),Dtorder))) ) 128 *rootp = (Void_t*)dt; 129 else if(*rootp == NIL(Void_t*) ) 137 Void_t* tfind(const Void_t* key, Void_t*const* rootp, in tfind() argument 140 Void_t* tfind(key, rootp, comparf) in tfind() 142 Void_t** rootp; [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | tsearch.c | 103 Void_t* tsearch(const Void_t* key, Void_t** rootp, in tsearch() argument 106 Void_t* tsearch(key, rootp, comparf) in tsearch() 108 Void_t** rootp; 115 if(!rootp || 116 (!(dt = *((Dt_t**)rootp)) && !(dt = dtopen((Dtdisc_t*)(&Treedisc),Dtoset))) ) 130 *rootp = (Void_t*)dt; 131 else if(*rootp == NIL(Void_t*) ) 139 Void_t* tfind(const Void_t* key, Void_t*const* rootp, in tfind() argument 142 Void_t* tfind(key, rootp, comparf) in tfind() 144 Void_t** rootp; 165 tdelete(const Void_t * key,Void_t ** rootp,int (* comparf)(const Void_t *,const Void_t *)) tdelete() argument [all...] |
/titanic_51/usr/src/cmd/nscd/ |
H A D | nscd_switch.c | 624 nss_search(nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum, in nss_search() argument 641 (me, "rootp = %p, initf = %p, search_fnum = %d, " in nss_search() 642 "search_args = %p\n", rootp, initf, in nss_search() 664 return ((func)(rootp, initf, search_fnum, in nss_search() 1019 nss_setent(nss_db_root_t *rootp, nss_db_initf_t initf, in nss_setent() argument 1024 nss_setent_u(rootp, initf, contextpp); in nss_setent() 1028 nss_getent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp, in nss_getent() argument 1036 status = nss_getent_u(rootp, initf, contextpp, args); in nss_getent() 1041 nss_endent(nss_db_root_t *rootp, nss_db_initf_t initf, in nss_endent() argument 1046 nss_endent_u(rootp, init in nss_endent() 1051 end_iter_u(nss_db_root_t * rootp,struct nss_getent_context * contextp) end_iter_u() argument 1073 nss_setent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_setent_u() argument 1190 nss_getent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) nss_getent_u() argument 1284 nss_endent_u(nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp) nss_endent_u() argument 1319 nss_delete(nss_db_root_t * rootp) nss_delete() argument [all...] |
H A D | nscd_nswstate.c | 383 nss_db_root_t *rootp, in _get_nsw_state_int() argument 417 rootp->s = (struct nss_db_state *)ret; in _get_nsw_state_int() 666 rootp->s = (struct nss_db_state *)ret; in _get_nsw_state_int() 673 nss_db_root_t *rootp, in _nscd_get_nsw_state() argument 676 return (_get_nsw_state_int(rootp, params, NULL)); in _nscd_get_nsw_state() 681 nss_db_root_t *rootp, in _nscd_get_nsw_state_thread() argument 685 return (_get_nsw_state_int(rootp, params, &tid)); in _nscd_get_nsw_state_thread()
|
H A D | nscd_switch.h | 287 nss_db_root_t *rootp, 292 nss_db_root_t *rootp,
|
/titanic_51/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_split.c | 400 __bam_broot(dbc, rootp, lp, rp) in __bam_broot() argument 402 PAGE *rootp, *lp, *rp; 417 P_INIT(rootp, dbp->pgsize, 433 RE_NREC_SET(rootp, bi.nrecs); 438 __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) 451 RE_NREC_ADJ(rootp, bi.nrecs); 457 if ((ret = __db_pitem(dbc, rootp, 1, 477 RE_NREC_ADJ(rootp, bi.nrecs); 483 if ((ret = __db_pitem(dbc, rootp, 1, 494 RE_NREC_ADJ(rootp, b 525 __ram_root(dbc,rootp,lp,rp) __ram_root() argument [all...] |
/titanic_51/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 93 *rootp[NRECURS][16], variable 412 for (i = 0; rootp[nfp][i]; i++) { in findfile() 413 (void) snprintf(host, sizeof (host), "%s/%s", rootp[nfp][i], in findfile() 484 for (n = 0; rootp[nfp][n]; n++) in dorsearch() 485 free(rootp[nfp][n]); in dorsearch() 497 rootp[nfp][n++] = qstrdup(pt); in dorsearch() 499 rootp[nfp][n] = NULL; in dorsearch() 690 rootp[nfp][0] = NULL; in pushenv() 754 for (i = 0; rootp[nfp][i]; i++) in popenv() 755 free(rootp[nf in popenv() [all...] |
/titanic_51/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 137 hp_node_t *rootp) in copy_devinfo() argument 165 *rootp = (rv == 0) ? hp_root : NULL; in copy_devinfo() 176 copy_devices(hp_node_t parent, di_node_t dev, uint_t flags, hp_node_t *rootp) in copy_devices() argument 184 *rootp = NULL; in copy_devices() 204 *rootp = self; in copy_devices() 227 *rootp = self; in copy_devices()
|
H A D | hotplugd_impl.h | 65 hp_node_t *rootp);
|
/titanic_51/usr/src/cmd/logadm/ |
H A D | lut.c | 94 struct lut **rootp = (struct lut **)arg; in dooper() local 96 *rootp = lut_add(*rootp, lhs, rhs); in dooper()
|
/titanic_51/usr/src/uts/common/avs/ns/dsw/ |
H A D | ii_tree.c | 512 NODE *rootp = NULL; in ii_tsearch() local 515 if ((rootp = read_node(ip, chunk_id)) == NULL) { in ii_tsearch() 519 n = rootp->vchunk_id; in ii_tsearch() 521 release_node(ip, rootp, 0); in ii_tsearch() 527 rootp->vchunk_id = n; in ii_tsearch() 528 write_node(ip, rootp, chunk_id); in ii_tsearch() 530 release_node(ip, rootp, 0); in ii_tsearch()
|
/titanic_51/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 340 md_node_t *rootp; in get_devinfo() local 348 rootp = md_new_node(mdp, "root"); in get_devinfo() 349 if (rootp == NULL) { in get_devinfo() 354 if (device_tree_to_md(mdp, rootp) != 0) { in get_devinfo()
|
/titanic_51/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 57 char *rootp, in mount_autofs() argument 81 sprintf(rel_mntpnt, ".%s", mntpnt+strlen(rootp)); in mount_autofs()
|
H A D | automount.h | 315 char *rootp, char *subdir, char *key);
|
/titanic_51/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.h | 104 nss_db_root_t *rootp,
|
H A D | compat_common.c | 1224 _nss_compat_constr(ops, n_ops, filename, min_bufsize, rootp, initf, netgroups, in _nss_compat_constr() argument 1230 nss_db_root_t *rootp; 1248 be->db_rootp = rootp;
|
/titanic_51/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 1332 i_hp_parse_results(nvlist_t *results, hp_node_t *rootp, char **optionsp) in i_hp_parse_results() argument 1337 if (rootp) { in i_hp_parse_results() 1341 *rootp = NULL; in i_hp_parse_results() 1344 if ((rv = hp_unpack(buf, len, rootp)) != 0) in i_hp_parse_results()
|
/titanic_51/usr/src/uts/common/io/pciex/ |
H A D | pciev.c | 57 pcie_find_dip_by_bdf(dev_info_t *rootp, pcie_req_id_t bdf) in pcie_find_dip_by_bdf() argument 63 dip = ddi_get_child(rootp); in pcie_find_dip_by_bdf()
|
/titanic_51/usr/src/uts/common/sys/ |
H A D | pcie_impl.h | 599 extern dev_info_t *pcie_find_dip_by_bdf(dev_info_t *rootp, pcie_req_id_t bdf);
|