/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 780 nvlist_t **nvlp = NULL; local 790 nvlp = &(dir->sdev_prof.dev_glob_incdir); 792 nvlp = &(dir->sdev_prof.dev_name); 796 nvlp = &(dir->sdev_prof.dev_glob_excdir); 798 nvlp = &(dir->sdev_prof.dev_name); 801 nvlp = &(dir->sdev_prof.dev_map); 804 nvlp = &(dir->sdev_prof.dev_symlink); 809 if (*nvlp == NULL) { 810 error = nvlist_alloc(nvlp, NV_UNIQUE_NAME, KM_SLEEP); 815 rv = nvlist_add_string(*nvlp, nam 892 copyin_nvlist(char *packed_usr, size_t packed_sz, nvlist_t **nvlp) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 2173 nvlist_t *nvlp; local 2183 if (nvlist_unpack((char *)event_arg, size, &nvlp, NULL)) { 2187 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, 2189 nvlist_free(nvlp); 2195 nvlist_free(nvlp); 2201 nvlist_free(nvlp); 2205 if (nvlist_lookup_string(nvlp, PICLEVENTARG_STATE, 2207 nvlist_free(nvlp); 2214 nvlist_free(nvlp); 2221 nvlist_free(nvlp); [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1481 nvlist_t *nvlp; local 1495 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) { 1498 if ((nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, 1500 nvlist_free(nvlp); 1503 if (nvlist_lookup_string(nvlp, PICLEVENTARG_STATE, &value)) { 1504 nvlist_free(nvlp); 1511 nvlist_free(nvlp); 1517 nvlist_free(nvlp); 1523 nvlist_free(nvlp); 1528 nvlist_free(nvlp); [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 1582 nvlist_t *nvlp; local 1589 nvlp = cmd_cpu_mkfru(hdl, frustr, serialstr, partstr); 1594 return (nvlp);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool.c | 1116 pool_propget(char *name, int class, int subclass, id_t id, nvlist_t **nvlp) argument 1157 *nvlp = nvl;
|
H A D | evchannels.c | 1583 evch_chgetpropnvl(evch_bind_t *bp, nvlist_t **nvlp, int64_t *genp) argument 1591 rc = (nvlist_dup(chp->ch_propnvl, nvlp, 0) == 0) ? 0 : ENOMEM; 1593 *nvlp = NULL; /* rc still 0 */ 1601 *nvlp = NULL; 2030 sysevent_evc_getpropnvl(evchan_t *scp, nvlist_t **nvlp) argument 2032 return (evch_chgetpropnvl((evch_bind_t *)scp, nvlp, NULL)); 2341 evch_usrgetpropnvl(evchan_t *bp, nvlist_t **nvlp, int64_t *genp) argument 2343 return (evch_chgetpropnvl((evch_bind_t *)bp, nvlp, genp));
|
H A D | sunndi.c | 957 nvlist_t *nvlp = dcp->nvl_user; local 964 if ((nvlp == NULL) || 965 (nvlist_lookup_string(nvlp, DC_DEVI_NODENAME, &cname) != 0)) 977 for (npp = nvlist_next_nvpair(nvlp, NULL); (npp != NULL && !rv); 978 npp = nvlist_next_nvpair(nvlp, npp)) {
|
H A D | log_sysevent.c | 595 nvlist_t **nvlp = (nvlist_t **)ev_attr_list; local 597 if (nvlp == NULL || se_value == NULL) { 612 if ((*nvlp == NULL) && 613 (nvlist_alloc(nvlp, NV_UNIQUE_NAME_TYPE, flag) != 0))
|
H A D | zone.c | 4236 parse_rctls(caddr_t ubuf, size_t buflen, nvlist_t **nvlp) argument 4244 *nvlp = NULL; 4293 *nvlp = nvl;
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_xprt.c | 1092 nvlist_t **nvlp; local 1122 (void) nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, &nvlp, 1131 (void) nvlist_xdup(nvlp[i], &flt_copy, &fmd.d_nva); 1132 (void) nvlist_lookup_nvlist(nvlp[i], FM_FAULT_RESOURCE, &rsrc); 1137 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_FRU, &fru) != 0 && 1143 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, &asru) != 0 && 1149 if (nvlist_lookup_string(nvlp[i], FM_FAULT_LOCATION, 1202 nvlist_t **nvlp; local 1229 (void) nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, &nvlp, 1248 if (nvlist_lookup_nvlist(nvlp[ [all...] |
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippctl.c | 207 static int ippctl_attach_modname(nvlist_t *nvlp, char *val); 208 static int ippctl_attach_modname_array(nvlist_t *nvlp, char **val, int); 209 static int ippctl_attach_aname_array(nvlist_t *nvlp, char **val, int); 762 nvlist_t *nvlp, 772 if ((rc = nvlist_lookup_byte(nvlp, IPPCTL_OP, valp)) != 0) 775 (void) nvlist_remove_all(nvlp, IPPCTL_OP); 783 nvlist_t *nvlp, 794 if ((rc = nvlist_lookup_string(nvlp, IPPCTL_ANAME, &ptr)) != 0) 799 (void) nvlist_remove_all(nvlp, IPPCTL_ANAME); 807 nvlist_t *nvlp, 761 ippctl_extract_op( nvlist_t *nvlp, uint8_t *valp) argument 782 ippctl_extract_aname( nvlist_t *nvlp, char **valp) argument 806 ippctl_extract_modname( nvlist_t *nvlp, char **valp) argument 830 ippctl_attach_modname( nvlist_t *nvlp, char *modname) argument 845 ippctl_attach_modname_array( nvlist_t *nvlp, char **modname_array, int nelt) argument 862 ippctl_attach_aname_array( nvlist_t *nvlp, char **aname_array, int nelt) argument 879 ippctl_extract_flags( nvlist_t *nvlp, ipp_flags_t *valp) argument 906 nvlist_t *nvlp = NULL; local 1130 ippctl_action_create( char *modname, char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument 1222 ippctl_action_modify( char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument 1313 nvlist_t *nvlp; local 1367 nvlist_t *nvlp; local 1453 nvlist_t *nvlp; local 1627 ippctl_add_nvlist( nvlist_t *nvlp, int i) argument 1669 ippctl_callback( nvlist_t *nvlp, void *arg) argument 1708 nvlist_t *nvlp; local [all...] |
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 616 be_nvl_alloc(nvlist_t **nvlp) argument 618 assert(nvlp != NULL); 620 if (nvlist_alloc(nvlp, NV_UNIQUE_NAME, 0) != 0) {
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 211 xattr_fill_nvlist(vnode_t *vp, xattr_view_t xattr_view, nvlist_t *nvlp, argument 293 VERIFY(nvlist_add_uint64(nvlp, attr_to_name(attr), 323 VERIFY(nvlist_add_boolean_value(nvlp, 328 VERIFY(nvlist_add_boolean_value(nvlp, 333 VERIFY(nvlist_add_boolean_value(nvlp, 338 VERIFY(nvlist_add_boolean_value(nvlp, 343 VERIFY(nvlist_add_boolean_value(nvlp, 348 VERIFY(nvlist_add_boolean_value(nvlp, 353 VERIFY(nvlist_add_boolean_value(nvlp, 358 VERIFY(nvlist_add_boolean_value(nvlp, [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 820 zcmd_read_dst_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t **nvlp) argument 823 zc->zc_nvlist_dst_size, nvlp, 0) != 0)
|
H A D | libzfs_sendrecv.c | 876 nvlist_t **nvlp, avl_tree_t **avlp) 897 *nvlp = NULL; 903 *nvlp = NULL; 907 *nvlp = sd.fss; 874 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, const char *tosnap, boolean_t recursive, boolean_t verbose, nvlist_t **nvlp, avl_tree_t **avlp) argument
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 1442 platform_set_payloadnvp(nvlist_t *nvlp) argument 1445 * cannot replace a non-NULL payloadnvp with a non-NULL nvlp 1447 ASSERT(payloadnvp != NULL ? nvlp == NULL : 1); 1448 payloadnvp = nvlp;
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 577 * ipgpc_parse_filter(filter, nvlp) 584 ipgpc_parse_filter(ipgpc_filter_t *filter, nvlist_t *nvlp) argument 594 if (nvlist_lookup_string(nvlp, CLASSIFIER_FILTER_NAME, &s) != 0) { 599 if (nvlist_lookup_uint32(nvlp, IPP_CONFIG_ORIGINATOR, 615 if (nvlist_lookup_uint32(nvlp, IPGPC_UID, &filter->uid) != 0) { 620 if (nvlist_lookup_int32(nvlp, IPGPC_PROJID, &filter->projid) != 0) { 625 if (nvlist_lookup_uint32(nvlp, IPGPC_IF_INDEX, &filter->if_index) 631 if (nvlist_lookup_uint32(nvlp, IPGPC_DIR, &filter->direction) != 0) { 636 if (nvlist_lookup_byte(nvlp, IPGPC_PROTO, &filter->proto) != 0) { 644 if (nvlist_lookup_byte(nvlp, IPGPC_DSFIELD_MAS 1173 ipgpc_parse_class(ipgpc_class_t *out_class, nvlist_t *nvlp) argument 2113 nvlist_t *nvlp; local 2152 nvlist_t *nvlp = *nvlpp; local 2215 nvlist_t *nvlp; local 2256 nvlist_t *nvlp = *nvlpp; local 2451 nvlist_t *nvlp; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 2154 nvlist_t *nvlp; local 2167 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) 2170 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { 2171 nvlist_free(nvlp); 2176 nvlist_free(nvlp); 2180 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) { 2181 nvlist_free(nvlp); 2185 if (nvlist_lookup_string(nvlp, PICLEVENTARG_HINT, &hint)) { 2186 nvlist_free(nvlp); 2191 nvlist_free(nvlp); 2350 nvlist_t *nvlp; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 555 nvlist_t *nvlp; local 570 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) { 574 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, 576 nvlist_free(nvlp); 580 if (nvlist_lookup_string(nvlp, PICLEVENTARG_STATE, 582 nvlist_free(nvlp); 588 nvlist_free(nvlp); 594 nvlist_free(nvlp); 601 nvlist_free(nvlp); 608 nvlist_free(nvlp); 651 nvlist_t *nvlp; local 854 nvlist_t *nvlp; local 961 nvlist_t *nvlp; local 4631 nvlist_t *nvlp; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 3616 nvlist_t *nvlp; local 3629 nvlp = NULL; 3630 if (nvlist_unpack((char *)earg, size, &nvlp, NULL) || 3631 nvlist_lookup_string(nvlp, PICLEVENTARG_DEVFS_PATH, &devfs_path) || 3634 nvlist_free(nvlp); 3641 nvlist_free(nvlp);
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair.c | 275 nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag) argument 278 return (nvlist_xalloc(nvlp, nvflag, 281 return (nvlist_xalloc(nvlp, nvflag, nv_alloc_nosleep)); 286 nvlist_xalloc(nvlist_t **nvlp, uint_t nvflag, nv_alloc_t *nva) argument 290 if (nvlp == NULL || nva == NULL) 296 if ((*nvlp = nv_mem_zalloc(priv, 302 nvlist_init(*nvlp, nvflag, priv); 544 nvlist_t **nvlp = EMBEDDED_NVL_ARRAY(nvp); local 548 nvlist_free(nvlp[i]); 610 nvlist_dup(nvlist_t *nvl, nvlist_t **nvlp, in argument 621 nvlist_xdup(nvlist_t *nvl, nvlist_t **nvlp, nv_alloc_t *nva) argument 956 nvlist_t **nvlp = EMBEDDED_NVL_ARRAY(nvp); local 2217 nvlist_t **nvlp = EMBEDDED_NVL_ARRAY(nvp); local 2429 nvlist_unpack(char *buf, size_t buflen, nvlist_t **nvlp, int kmflag) argument 2440 nvlist_xunpack(char *buf, size_t buflen, nvlist_t **nvlp, nv_alloc_t *nva) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 1474 nvlist_t *nvlp; local 1491 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) { 1495 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { 1496 nvlist_free(nvlp); 1501 nvlist_free(nvlp); 1505 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) { 1506 nvlist_free(nvlp); 1525 nvlist_free(nvlp); 1529 if (nvlist_lookup_string(nvlp, PICLEVENTARG_HINT, &hint)) { 1530 nvlist_free(nvlp); 1741 nvlist_t *nvlp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 9617 vn_find_nfs_record(vnode_t *vp, nvlist_t **nvlp, char **svcp, char **datap) argument 9647 *nvlp = nvl;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 5050 nvlist_t **nvlp, 5113 res = nvlist_add_byte(*nvlp, tmpname, 5124 res = nvlist_add_uint32(*nvlp, tmpname, 5690 * ref'd by nvlp; If this list is NULL it will be created to accomodate 5694 * nvp to point at the element with the nvlp ref'd list. 5702 nvlist_t **nvlp, 5808 if (*nvlp == NULL) { 5809 res = nvlist_alloc(nvlp, NV_UNIQUE_NAME, 0); 5821 if (find_nvpair(*nvlp, name)) { 5837 res = nvlist_add_uint32(*nvlp, IPGPC_IF_INDE 5048 read_mapped_values( FILE *tfp, nvlist_t **nvlp, char *module, char *mapped_list, int value) argument 5699 readnvpair( FILE *cfp, FILE *tfp, nvlist_t **nvlp, nvpair_t **nvp, ipqos_nvtype_t *type, place_t place, char *module_name) argument [all...] |
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 5014 construct_fsacl_list(boolean_t un, struct allow_opts *opts, nvlist_t **nvlp) argument 5016 if (nvlist_alloc(nvlp, NV_UNIQUE_NAME, 0) != 0) 5021 opts->descend, opts->who, opts->perms, *nvlp); 5024 opts->descend, NULL, opts->perms, *nvlp); 5027 opts->descend, NULL, opts->perms, *nvlp); 5109 opts->descend, who, opts->perms, *nvlp);
|