/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 346 nvlist_t *nvlist = NULL; local 349 (void) sysevent_get_attr_list(ev, &nvlist); 350 if (nvlist != NULL) { 351 (void) nvlist_lookup_string(nvlist, DEV_NAME, &dev_name); 354 print_nvlist("**** ", nvlist); 362 if (nvlist != NULL) { 363 nvlist_free(nvlist);
|
/osnet-11/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 324 /* create a new nvlist for each segment */ 331 /* convert the segment to an nvlist */ 339 /* add the nvlist for this segment */ 349 convert_fru(fru_nodehdl_t hdl, nvlist_t **nvlist) argument 374 *nvlist = nv; 382 nvlist_t **nvlist) 401 err = convert_fru(hdl, nvlist); 381 rawfru_to_nvlist(uint8_t *buffer, size_t bufsize, char *cont_type, nvlist_t **nvlist) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/ |
H A D | zfsinfo.c | 42 print_state (char *nvlist, int tab) argument 50 if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_REMOVED, &ival)) 56 if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_FAULTED, &ival)) 62 if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_OFFLINE, &ival)) 68 if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_FAULTED, &ival)) 79 print_vdev_info (char *nvlist, int tab) argument 83 type = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_TYPE); 101 print_state (nvlist, tab); 104 grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_PHYS_PATH); 111 path = grub_zfs_nvlist_lookup_string (nvlist, "pat 174 get_bootpath(char *nvlist, grub_uint64_t devguid, char **bootpath, char **devid) argument 255 char *nvlist = 0; local 330 char *nvlist = 0; local 427 char *nvlist = 0; local [all...] |
H A D | zfs.c | 52 * For nvlist manipulation. (from nvpair.h) 585 zfs_fetch_nvlist (struct grub_zfs_device_desc *diskdesc, char **nvlist) argument 592 *nvlist = grub_malloc (VDEV_PHYS_SIZE); 598 VDEV_PHYS_SIZE, *nvlist); 603 grub_free (*nvlist); 604 *nvlist = 0; 640 const char *nvlist, 647 type = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_TYPE); 653 if (!grub_zfs_nvlist_lookup_uint64 (nvlist, "id", &(fill->id))) 659 if (!grub_zfs_nvlist_lookup_uint64 (nvlist, "gui 639 fill_vdev_info_real(struct grub_zfs_data *data, const char *nvlist, struct grub_zfs_device_desc *fill, struct grub_zfs_device_desc *insert, int *inserted) argument 778 fill_vdev_info(struct grub_zfs_data *data, char *nvlist, struct grub_zfs_device_desc *diskdesc, int *inserted) argument 828 char *nvlist; local 943 char *nvlist = NULL; local 1029 char *nvlist, *vdev_nv; local 3665 const char *nvpair, *nvp_name, *nvlist = nvlist_in; local 3736 grub_zfs_nvlist_lookup_uint64(const char *nvlist, const char *name, grub_uint64_t * out) argument 3757 grub_zfs_nvlist_lookup_string(const char *nvlist, const char *name) argument 3785 grub_zfs_nvlist_lookup_nvlist(const char *nvlist, const char *name) argument 3806 grub_zfs_nvlist_lookup_nvlist_array_get_nelm(const char *nvlist, const char *name) argument 3836 grub_zfs_nvlist_lookup_nvlist_array(const char *nvlist, const char *name, grub_size_t index) argument 4177 grub_zfs_fetch_nvlist(grub_device_t dev, char **nvlist) argument 4199 char *nvlist; local [all...] |
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg.c | 195 * netcfgd. If the arg datalen is non-zero, unpack the object nvlist. 302 /* pack the nvlist of identifiers */ 320 /* obj will be filled in when the returned nvlist is unpacked */ 341 /* add the packed id nvlist */ 345 /* and the packed data nvlist for updates */ 466 nvlist_t *nvlist, *objp; local 476 * dbname pair (and optional zoneid pair) returns an nvlist with 478 * an array of nvlists, where each nvlist is the list of 481 if ((nerr = netcfg_read_object(idlist, flags, &nvlist)) 485 if ((nverr = nvlist_lookup_nvpair(nvlist, NETCFG_OBJECT_ID_LIS 550 nvlist_t *nvlist; local [all...] |
/osnet-11/usr/src/lib/libshare_plugins/legacy/ |
H A D | libshare_legacy.c | 571 void *nvlist; local 581 nvlist = malloc(nvlistsize); 583 if (nvlist == NULL) { 603 nvlist, nvlistsize) >= 0) { 604 if (nvlist_unpack(nvlist, 633 if (nvlist != NULL) 634 free(nvlist);
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 1034 * For a given XDR packed nvlist, verify the first 4 bytes and move on. 1036 * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) : 1057 nvlist_unpack(char *nvlist, char **out) argument 1059 /* Verify if the 1st and 2nd byte in the nvlist are valid. */ 1060 if (nvlist[0] != NV_ENCODE_XDR || nvlist[1] != HOST_ENDIAN) 1063 nvlist += 4; 1064 *out = nvlist; 1069 nvlist_array(char *nvlist, int index) argument 1075 nvlist 1087 nvlist_lookup_value(char *nvlist, char *name, void *val, int valtype, int *nelmp) argument 1257 char *nvlist, *nv; local [all...] |
/osnet-11/usr/src/lib/libsysevent/ |
H A D | libsysevent.c | 238 sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist) argument 246 *nvlist = NULL; 254 if ((error = nvlist_dup(nvl, nvlist, 0)) != 0) { 270 /* unpack nvlist */ 273 if ((error = nvlist_unpack(attr, attr_len, nvlist, 0)) != 0) { 398 * nvlist manually here. 644 * se_unpack - unpack nvlist to a searchable list. 666 /* unpack nvlist */
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_share.c | 475 * read a share (packed nvlist) named 'sh_name' 476 * It is the callers responsibility to free the nvlist. 1345 * Return a validated share nvlist from the indicated zfs_handle_t 2911 * performance, we traverse the property nvlist instead and do the faster lookup 3297 * Translates an nvlist obtained from zfs_get_share_props() or 3405 * Validate sharing properties from an nvlist. 3409 * from the nvlist 3546 * the proto-nvlist for the disabled protocol stays in the share nvlist. 3547 * Hence, just sending the new share nvlist t 3807 nvlist_t *nvlist = NULL; local [all...] |