Home
last modified time | relevance | path

Searched refs:npp (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c192 ddi_prop_t *plist, *npp, *plast; in get_proplist() local
206 if (npp == 0) 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()
219 plist = npp; in get_proplist()
221 plast->prop_next = npp; in get_proplist()
[all …]
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c782 *npp = NULL; in LEFT1()
783 npp = node; in LEFT1()
810 *npp = NULL; in RIGHT1()
811 npp = node; in RIGHT1()
844 *npp = NULL; in BULEFT2()
845 npp = node; in BULEFT2()
878 *npp = NULL; in BURIGHT2()
879 npp = node; in BURIGHT2()
906 *npp = NULL; in TDLEFT2()
907 npp = node; in TDLEFT2()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c816 char **cpp, **npp; local
869 if (*npp == NULL)
878 memcpy(*npp, *cpp,
882 npp++;
890 if (*npp == NULL)
903 npp++;
913 npp = he->h_aliases;
917 *npp = memget(len);
918 if (*npp == NULL)
920 strcpy(*npp, *cpp);
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c244 if (npp) { in freedomnames()
245 tpp = npp; in freedomnames()
249 free(npp); in freedomnames()
302 tpp = npp; in getdomnames()
317 npp = realloc(npp, sizeof(char *) * (n + 2)); in getdomnames()
318 if (!npp) { in getdomnames()
323 if (!npp[n]) { in getdomnames()
339 tpp = npp; in getdomnames()
348 if (npp) { in getdomnames()
350 npp = NULL; in getdomnames()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c868 rc_node_t **npp; in cache_remove_unlocked() local
874 for (npp = &bp->cb_head; *npp != NULL; npp = &(*npp)->rn_hash_next) in cache_remove_unlocked()
875 if (*npp == np) in cache_remove_unlocked()
878 assert(*npp == np); in cache_remove_unlocked()
879 *npp = np->rn_hash_next; in cache_remove_unlocked()
2833 if (npp->rnp_deleted) in rc_node_ptr_check_and_lock()
2843 rc_node_clear(npp, 1); in rc_node_ptr_check_and_lock()
3287 rc_node_clear(npp, 1); in rc_node_update()
4810 rc_node_clear(npp, 1); in rc_node_delete()
4980 rc_node_clear(npp, 1); in rc_node_delete()
[all …]
H A Dconfigd.h357 #define NODE_PTR_NOT_HELD(npp) \ argument
358 ((npp)->rnp_node == NULL || !MUTEX_HELD(&(npp)->rnp_node->rn_lock))
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_mapping.c992 char **cpp, **npp; in __ns_ldap_mapAttributeList() local
1007 npp = __ns_ldap_getMappedAttributes(service, *opp); in __ns_ldap_mapAttributeList()
1008 if (npp && npp[0]) { in __ns_ldap_mapAttributeList()
1009 cpp[i] = strdup(npp[0]); in __ns_ldap_mapAttributeList()
1010 __s_api_free2dArray(npp); in __ns_ldap_mapAttributeList()
1011 npp = NULL; in __ns_ldap_mapAttributeList()
1032 char **npp; in __ns_ldap_mapAttribute() local
1038 npp = __ns_ldap_getMappedAttributes(service, origAttr); in __ns_ldap_mapAttribute()
1039 if (npp && npp[0]) { in __ns_ldap_mapAttribute()
1040 mappedAttr = strdup(npp[0]); in __ns_ldap_mapAttribute()
[all …]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c1283 send_notification(notif_param_t *npp) in send_notification() argument
1288 if (npp->np_signo) in send_notification()
1289 (void) __sigqueue(__pid, npp->np_signo, npp->np_user, in send_notification()
1291 else if (npp->np_port >= 0) in send_notification()
1292 (void) _port_dispatch(npp->np_port, 0, PORT_SOURCE_AIO, in send_notification()
1293 npp->np_event, npp->np_object, npp->np_user); in send_notification()
1295 if (npp->np_lio_signo) in send_notification()
1296 (void) __sigqueue(__pid, npp->np_lio_signo, npp->np_lio_user, in send_notification()
1298 else if (npp->np_lio_port >= 0) in send_notification()
1299 (void) _port_dispatch(npp->np_lio_port, 0, PORT_SOURCE_AIO, in send_notification()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk4.c586 register NODE **alist, **npp; in f_asort() local
634 npp = alist; in f_asort()
636 *npp++ = tnp; in f_asort()
637 *npp = NNULL; in f_asort()
643 npp = alist; in f_asort()
645 tnp = tnp->n_alink = *npp; in f_asort()
646 } while (*npp++ != NNULL); in f_asort()
H A Dawk3.c1832 getlist(NODE **npp) in getlist() argument
1836 if ((np = *npp) == NNULL) in getlist()
1839 *npp = np->n_right; in getlist()
1842 *npp = NNULL; in getlist()
2045 symwalk(int *buckp, NODE **npp) in symwalk() argument
2049 np = *npp; in symwalk()
2053 return (*npp = NNULL); in symwalk()
2058 *npp = np->n_next; in symwalk()
H A Dawk2.c45 static NODE *nextarg(NODE **npp);
876 nextarg(NODE **npp) in nextarg() argument
880 if ((np = getlist(npp)) == NNULL) in nextarg()
H A Dawk.h318 NODE *getlist(NODE **npp);
319 NODE *symwalk(int *buckp, NODE **npp);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c2448 PP_CLRFREE(npp); in page_create_va()
2449 PP_CLRAGED(npp); in page_create_va()
2462 pp = npp; in page_create_va()
2463 npp = NULL; in page_create_va()
2556 if (npp != NULL) { in page_create_va()
2562 PP_SETFREE(npp); in page_create_va()
2563 PP_SETAGED(npp); in page_create_va()
2566 page_unlock(npp); in page_create_va()
4051 npp->p_cowcnt++; in page_pp_useclaim()
6625 page_t *npp; in page_capture_clean_page() local
[all …]
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c154 struct namenode *np, **npp; in nameremove() local
158 for (npp = NM_FILEVP_HASH(nodep->nm_filevp); (np = *npp) != NULL; in nameremove()
159 npp = &np->nm_nextp) { in nameremove()
161 *npp = np->nm_nextp; in nameremove()
/illumos-gate/usr/src/uts/common/os/
H A Dsunndi.c960 nvpair_t *npp; in i_dc_devi_create() local
979 for (npp = nvlist_next_nvpair(nvlp, NULL); (npp != NULL && !rv); in i_dc_devi_create()
980 npp = nvlist_next_nvpair(nvlp, npp)) { in i_dc_devi_create()
982 np = nvpair_name(npp); in i_dc_devi_create()
990 switch (nvpair_type(npp)) { in i_dc_devi_create()
995 if ((rv = nvpair_value_int32(npp, &prop_val)) != 0) in i_dc_devi_create()
1006 if ((rv = nvpair_value_string(npp, &prop_val)) != 0) in i_dc_devi_create()
1018 if ((rv = nvpair_value_byte_array(npp, &val, in i_dc_devi_create()
1031 if ((rv = nvpair_value_int32_array(npp, &val, in i_dc_devi_create()
1044 if ((rv = nvpair_value_string_array(npp, &val, in i_dc_devi_create()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c3515 page_t *npp = NULL; in page_create_io() local
3607 if (npp == NULL) { in page_create_io()
3614 if (npp == NULL) { in page_create_io()
3661 PP_CLRFREE(npp); in page_create_io()
3662 PP_CLRAGED(npp); in page_create_io()
3675 pp = npp; in page_create_io()
3676 npp = NULL; in page_create_io()
3743 if (npp != NULL) { in page_create_io()
3749 PP_SETFREE(npp); in page_create_io()
3750 PP_SETAGED(npp); in page_create_io()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_proc.c698 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c851 tnode_t *npp; in tnh_walk_step() local
864 if (mdb_vread(&npp, sizeof (tnode_t *), in tnh_walk_step()
871 wsp->walk_addr = (uintptr_t)npp; in tnh_walk_step()
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c917 stripped_name(char **sp, size_t *slenp, nltype **npp) in stripped_name() argument
922 name = d = demangled_name(*npp); in stripped_name()
934 if ((*npp)->name != name) in stripped_name()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c448 nfs4_fname_t **npp, nfs4_ga_res_t *garp, in makenfs4node_by_fh() argument
459 ASSERT(npp && *npp); in makenfs4node_by_fh()
460 name = *npp; in makenfs4node_by_fh()
461 *npp = NULL; in makenfs4node_by_fh()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c733 cpusram_map(caddr_t *vaddrp, pgcnt_t *npp) in cpusram_map() argument
766 *npp = npages; in cpusram_map()
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_clts.c1928 struct endpnt_type **npp; in endpnt_destructor() local
1947 npp = &endpnt_type_list; in endpnt_destructor()
1948 while ((np = *npp) != NULL) { in endpnt_destructor()
1950 npp = &np->e_next; in endpnt_destructor()
1971 *npp = np->e_next; in endpnt_destructor()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c1689 cache_node_t **npp; in delete_unused_nodes() local
1703 npp = &cnp->parent->child; in delete_unused_nodes()
1704 for (; *npp != NULL; npp = &(*npp)->sib) { in delete_unused_nodes()
1705 if (*npp == cnp) in delete_unused_nodes()
1709 if (*npp == NULL) { in delete_unused_nodes()
1713 *npp = cnp->sib; in delete_unused_nodes()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c2196 page_t *npp = NULL, *opp = NULL, *cpp = pp; in udf_pageio() local
2257 page_list_break(&cpp, &npp, btop(cur_len)); in udf_pageio()
2302 cpp = npp; in udf_pageio()
2303 npp = NULL; in udf_pageio()
2307 ASSERT(error || (cpp == NULL && npp == NULL && done_len == io_len)); in udf_pageio()
2311 page_list_concat(&cpp, &npp); in udf_pageio()
2320 page_list_concat(&opp, &npp); in udf_pageio()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c5803 page_t *npp = NULL, *opp = NULL, *cpp = pp; in ufs_pageio() local
5933 page_list_break(&cpp, &npp, btopr(cur_len)); in ufs_pageio()
5976 cpp = npp; in ufs_pageio()
5977 npp = NULL; in ufs_pageio()
5982 ASSERT(err || (cpp == NULL && npp == NULL && done_len == io_len)); in ufs_pageio()
5986 page_list_concat(&cpp, &npp); in ufs_pageio()
5994 page_list_concat(&opp, &npp); in ufs_pageio()