/titanic_44/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 192 ddi_prop_t *plist, *npp, *plast; in get_proplist() local 205 npp = (ddi_prop_t *)malloc(sizeof (ddi_prop_t)); in get_proplist() 206 if (npp == 0) in get_proplist() 208 propval = prom_getprop(curprop, &npp->prop_len); in get_proplist() 209 npp->prop_name = curprop; in get_proplist() 211 npp->prop_val = (char *)malloc(npp->prop_len); in get_proplist() 212 if (npp->prop_val == 0) in get_proplist() 214 memcpy(npp->prop_val, propval, npp->prop_len); in get_proplist() 216 npp->prop_val = NULL; in get_proplist() 217 npp->prop_next = NULL; in get_proplist() [all …]
|
/titanic_44/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 747 in_list(TREE *tp, TREE **npp) in in_list() argument 751 while ((sp = *npp++) != NULL) in in_list() 767 TREE **npp = node; in LEFT1() local 771 unprotect(*npp++ = RIGHT(x)); in LEFT1() 775 unprotect(*npp++ = PARENT(x)); in LEFT1() 784 *npp = NULL; in LEFT1() 785 npp = node; in LEFT1() 786 while ((tp = *npp++) != NULL) in LEFT1() 787 if (tp != x && tp != y && !in_list(tp, npp)) in LEFT1() 795 TREE **npp = node; in RIGHT1() local [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 820 char **cpp, **npp; local 868 npp = he->h_addr_list; 872 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ); 873 if (*npp == NULL) 877 memcpy(*npp, in6addr_mapped, 879 memcpy(*npp + sizeof in6addr_mapped, *cpp, 882 memcpy(*npp, *cpp, 886 npp++; 893 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ); 894 if (*npp == NULL) [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 240 freedomnames(char **npp) in freedomnames() argument 244 if (npp) { in freedomnames() 245 tpp = npp; in freedomnames() 249 free(npp); in freedomnames() 267 char **npp = NULL, **tpp=NULL; in getdomnames() local 302 tpp = npp; in getdomnames() 317 npp = realloc(npp, sizeof(char *) * (n + 2)); in getdomnames() 318 if (!npp) { in getdomnames() 322 npp[n] = strdup(hp->h_name); in getdomnames() 323 if (!npp[n]) { in getdomnames() [all …]
|
/titanic_44/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 878 rc_node_t **npp; in cache_remove_unlocked() local 884 for (npp = &bp->cb_head; *npp != NULL; npp = &(*npp)->rn_hash_next) in cache_remove_unlocked() 885 if (*npp == np) in cache_remove_unlocked() 888 assert(*npp == np); in cache_remove_unlocked() 889 *npp = np->rn_hash_next; in cache_remove_unlocked() 2763 rc_node_ptr_free_mem(rc_node_ptr_t *npp) in rc_node_ptr_free_mem() argument 2765 if (npp->rnp_auth_string != NULL) { in rc_node_ptr_free_mem() 2766 free((void *)npp->rnp_auth_string); in rc_node_ptr_free_mem() 2767 npp->rnp_auth_string = NULL; in rc_node_ptr_free_mem() 2839 rc_node_ptr_check_and_lock(rc_node_ptr_t *npp, int *res) in rc_node_ptr_check_and_lock() argument [all …]
|
H A D | configd.h | 358 #define NODE_PTR_NOT_HELD(npp) \ argument 359 ((npp)->rnp_node == NULL || !MUTEX_HELD(&(npp)->rnp_node->rn_lock))
|
/titanic_44/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 993 char **cpp, **npp; in __ns_ldap_mapAttributeList() local 1008 npp = __ns_ldap_getMappedAttributes(service, *opp); in __ns_ldap_mapAttributeList() 1009 if (npp && npp[0]) { in __ns_ldap_mapAttributeList() 1010 cpp[i] = strdup(npp[0]); in __ns_ldap_mapAttributeList() 1011 __s_api_free2dArray(npp); in __ns_ldap_mapAttributeList() 1012 npp = NULL; in __ns_ldap_mapAttributeList() 1033 char **npp; in __ns_ldap_mapAttribute() local 1039 npp = __ns_ldap_getMappedAttributes(service, origAttr); in __ns_ldap_mapAttribute() 1040 if (npp && npp[0]) { in __ns_ldap_mapAttribute() 1041 mappedAttr = strdup(npp[0]); in __ns_ldap_mapAttribute() [all …]
|
/titanic_44/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_power.c | 154 _nsc_power_t *pp, *npp; in _nsc_deinit_power() local 159 npp = pp->next; in _nsc_deinit_power() 161 pp = npp; in _nsc_deinit_power()
|
/titanic_44/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 1286 send_notification(notif_param_t *npp) in send_notification() argument 1291 if (npp->np_signo) in send_notification() 1292 (void) __sigqueue(__pid, npp->np_signo, npp->np_user, in send_notification() 1294 else if (npp->np_port >= 0) in send_notification() 1295 (void) _port_dispatch(npp->np_port, 0, PORT_SOURCE_AIO, in send_notification() 1296 npp->np_event, npp->np_object, npp->np_user); in send_notification() 1298 if (npp->np_lio_signo) in send_notification() 1299 (void) __sigqueue(__pid, npp->np_lio_signo, npp->np_lio_user, in send_notification() 1301 else if (npp->np_lio_port >= 0) in send_notification() 1302 (void) _port_dispatch(npp->np_lio_port, 0, PORT_SOURCE_AIO, in send_notification() [all …]
|
/titanic_44/usr/src/cmd/awk_xpg4/ |
H A D | awk4.c | 587 register NODE **alist, **npp; in f_asort() local 635 npp = alist; in f_asort() 637 *npp++ = tnp; in f_asort() 638 *npp = NNULL; in f_asort() 644 npp = alist; in f_asort() 646 tnp = tnp->n_alink = *npp; in f_asort() 647 } while (*npp++ != NNULL); in f_asort()
|
H A D | awk3.c | 1835 getlist(NODE **npp) in getlist() argument 1839 if ((np = *npp) == NNULL) in getlist() 1842 *npp = np->n_right; in getlist() 1845 *npp = NNULL; in getlist() 2048 symwalk(int *buckp, NODE **npp) in symwalk() argument 2052 np = *npp; in symwalk() 2056 return (*npp = NNULL); in symwalk() 2061 *npp = np->n_next; in symwalk()
|
H A D | awk2.c | 47 static NODE *nextarg(NODE **npp); 878 nextarg(NODE **npp) in nextarg() argument 882 if ((np = getlist(npp)) == NNULL) in nextarg()
|
H A D | awk.h | 320 NODE *getlist(NODE **npp); 321 NODE *symwalk(int *buckp, NODE **npp);
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | vm_page.c | 2270 page_t *npp = NULL; in page_create_va() local 2391 if (npp == NULL) { in page_create_va() 2411 npp = page_get_freelist(vp, off, seg, vaddr, PAGESIZE, in page_create_va() 2413 if (npp == NULL) { in page_create_va() 2414 npp = page_get_cachelist(vp, off, seg, in page_create_va() 2416 if (npp == NULL) { in page_create_va() 2417 npp = page_create_get_something(vp, in page_create_va() 2422 if (PP_ISAGED(npp) == 0) { in page_create_va() 2428 page_hashout(npp, NULL); in page_create_va() 2436 ASSERT(PAGE_EXCL(npp)); in page_create_va() [all …]
|
/titanic_44/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 152 struct namenode *np, **npp; in nameremove() local 156 for (npp = NM_FILEVP_HASH(nodep->nm_filevp); (np = *npp) != NULL; in nameremove() 157 npp = &np->nm_nextp) { in nameremove() 159 *npp = np->nm_nextp; in nameremove()
|
/titanic_44/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 3424 page_t *npp = NULL; in page_create_io() local 3516 if (npp == NULL) { in page_create_io() 3521 npp = page_get_anylist(vp, off, as, vaddr, MMU_PAGESIZE, in page_create_io() 3523 if (npp == NULL) { in page_create_io() 3554 if (PP_ISAGED(npp) == 0) { in page_create_io() 3560 page_hashout(npp, (kmutex_t *)NULL); in page_create_io() 3567 ASSERT(PAGE_EXCL(npp)); in page_create_io() 3568 ASSERT(npp->p_vnode == NULL); in page_create_io() 3569 ASSERT(!hat_page_is_mapped(npp)); in page_create_io() 3570 PP_CLRFREE(npp); in page_create_io() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sunndi.c | 958 nvpair_t *npp; in i_dc_devi_create() local 977 for (npp = nvlist_next_nvpair(nvlp, NULL); (npp != NULL && !rv); in i_dc_devi_create() 978 npp = nvlist_next_nvpair(nvlp, npp)) { in i_dc_devi_create() 980 np = nvpair_name(npp); in i_dc_devi_create() 988 switch (nvpair_type(npp)) { in i_dc_devi_create() 993 if ((rv = nvpair_value_int32(npp, &prop_val)) != 0) in i_dc_devi_create() 1004 if ((rv = nvpair_value_string(npp, &prop_val)) != 0) in i_dc_devi_create() 1016 if ((rv = nvpair_value_byte_array(npp, &val, in i_dc_devi_create() 1029 if ((rv = nvpair_value_int32_array(npp, &val, in i_dc_devi_create() 1042 if ((rv = nvpair_value_string_array(npp, &val, in i_dc_devi_create()
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 698 dt_proc_notify_t *npr, **npp; in dt_proc_destroy() local 761 npp = &dph->dph_notify; in dt_proc_destroy() 763 while ((npr = *npp) != NULL) { in dt_proc_destroy() 765 *npp = npr->dprn_next; in dt_proc_destroy() 768 npp = &npr->dprn_next; in dt_proc_destroy()
|
/titanic_44/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 850 tnode_t *npp; in tnh_walk_step() local 863 if (mdb_vread(&npp, sizeof (tnode_t *), in tnh_walk_step() 870 wsp->walk_addr = (uintptr_t)npp; in tnh_walk_step()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_rnode.c | 447 nfs4_fname_t **npp, nfs4_ga_res_t *garp, in makenfs4node_by_fh() argument 458 ASSERT(npp && *npp); in makenfs4node_by_fh() 459 name = *npp; in makenfs4node_by_fh() 460 *npp = NULL; in makenfs4node_by_fh()
|
/titanic_44/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 732 cpusram_map(caddr_t *vaddrp, pgcnt_t *npp) in cpusram_map() argument 765 *npp = npages; in cpusram_map()
|
/titanic_44/usr/src/uts/common/rpc/ |
H A D | clnt_clts.c | 1914 struct endpnt_type **npp; in endpnt_destructor() local 1933 npp = &endpnt_type_list; in endpnt_destructor() 1934 while ((np = *npp) != NULL) { in endpnt_destructor() 1936 npp = &np->e_next; in endpnt_destructor() 1957 *npp = np->e_next; in endpnt_destructor()
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 1688 cache_node_t **npp; in delete_unused_nodes() local 1702 npp = &cnp->parent->child; in delete_unused_nodes() 1703 for (; *npp != NULL; npp = &(*npp)->sib) { in delete_unused_nodes() 1704 if (*npp == cnp) in delete_unused_nodes() 1708 if (*npp == NULL) { in delete_unused_nodes() 1712 *npp = cnp->sib; in delete_unused_nodes()
|
/titanic_44/usr/src/cmd/sgs/gprof/common/ |
H A D | printgprof.c | 883 striped_name(char *s, nltype **npp) in striped_name() argument 889 d = demangled_name(*npp); in striped_name()
|
/titanic_44/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 2194 page_t *npp = NULL, *opp = NULL, *cpp = pp; in udf_pageio() local 2255 page_list_break(&cpp, &npp, btop(cur_len)); in udf_pageio() 2300 cpp = npp; in udf_pageio() 2301 npp = NULL; in udf_pageio() 2305 ASSERT(error || (cpp == NULL && npp == NULL && done_len == io_len)); in udf_pageio() 2309 page_list_concat(&cpp, &npp); in udf_pageio() 2318 page_list_concat(&opp, &npp); in udf_pageio()
|