| /netvirt/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
| defaults.c | 66 * df_build_cache(): builds the defaults nvlist cache 69 * output: a pointer to an nvlist of the current defaults, or NULL on failure 79 nvlist_t *nvlist; local 85 if (nvlist_alloc(&nvlist, NV_UNIQUE_NAME, 0) != 0) { 133 if (nvlist_add_string(nvlist, &entry[i], value) != 0) { 136 nvlist_free(nvlist); 137 nvlist = NULL; 143 return (nvlist);
|
| /netvirt/usr/src/cmd/mdb/common/modules/genunix/ |
| nvpair.c | 46 nvlist_t nvlist; local 55 if (mdb_vread(&nvlist, sizeof (nvlist), wsp->walk_addr) == -1) { 56 mdb_warn("failed to read nvlist at %p", wsp->walk_addr); 60 if (mdb_vread(&nvpriv, sizeof (nvpriv), nvlist.nvl_priv) == -1) { 61 mdb_warn("failed to read nvpriv at %p", nvlist.nvl_priv); 94 * ::nvlist [-v] 96 * Print out an entire nvlist. This is shorthand for '::walk nvpair | 126 * -r Recursively print any nvlist elements
|
| /netvirt/usr/src/cmd/picl/plugins/common/piclevent/ |
| picl_slm.c | 54 char *nvq_item; /* packed nvlist */ 249 nvlist_t *nvlist = NULL; local 253 if (sysevent_get_attr_list(ev, &nvlist)) { 257 if (nvlist_lookup_string(nvlist, DR_AP_ID, &ap_id) != 0 || 259 nvlist_free(nvlist); 264 nvlist_free(nvlist); 269 if (nvlist_lookup_string(nvlist, DR_REQ_TYPE, &dr_req) != 0) 274 nvlist_free(nvlist); 282 nvlist_free(nvlist);
|
| /netvirt/usr/src/lib/libdiskmgt/common/ |
| events.c | 350 nvlist_t *nvlist = NULL; local 353 (void) sysevent_get_attr_list(ev, &nvlist); 354 if (nvlist != NULL) { 355 (void) nvlist_lookup_string(nvlist, DEV_NAME, &dev_name); 358 print_nvlist("**** ", nvlist); 366 if (nvlist != NULL) { 367 nvlist_free(nvlist);
|
| /netvirt/usr/src/uts/common/fs/zfs/ |
| spa_config.c | 46 * Pool configuration is stored as a packed nvlist on the filesystem. By 52 * For each cache file, we have a single nvlist which holds all the 77 nvlist_t *nvlist, *child; local 100 * Read the nvlist from the file. 106 * Unpack the nvlist. 108 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0) 112 * Iterate over all elements in the nvlist, creating a new spa_t for 117 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) { 136 nvlist_free(nvlist);
|
| /netvirt/usr/src/cmd/syseventd/daemons/syseventconfd/ |
| syseventconfd.c | 40 * The events and associated nvlist are delivered via a door upcall 245 nvlist_t *nvlist; local 248 nvlist = NULL; 249 if (sysevent_get_attr_list(event, &nvlist) != 0) { 254 if ((cmd = alloc_cmd(nvlist)) != NULL) { 268 nvlist_free(nvlist); 274 * All command attributes are packed into the nvlist bundled with 605 alloc_cmd(nvlist_t *nvlist) 611 if (nvlist_dup(nvlist, &cmd->cmd_nvlist, 0) != 0) {
|
| /netvirt/usr/src/uts/common/sys/ |
| nvpair.h | 84 /* nvlist header */ 85 typedef struct nvlist { struct 96 /* nvlist pack encoding */ 100 /* nvlist persistent unique name flags, stored in nvl_nvflags */ 104 /* nvlist lookup pairs related flags */
|
| /netvirt/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
| sysevent_conf_mod.c | 1059 find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, 1144 if (nvlist) { 1147 while ((nvp = nvlist_next_nvpair(nvlist, nvp)) != NULL) { 1664 nvlist_t *nvlist; local [all...] |
| /netvirt/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
| ipqosconf.h | 170 /* nvlist parameters */ 249 nvlist_t *nvlist; member in struct:ipqos_conf_filter_s 275 nvlist_t *nvlist; member in struct:ipqos_conf_act_ref_s 284 nvlist_t *nvlist; member in struct:ipqos_conf_class_s 301 nvlist_t *nvlist; member in struct:ipqos_conf_params_s 324 nvlist_t *nvlist; member in struct:ipqos_conf_action_s
|
| /netvirt/usr/src/lib/libzfs/common/ |
| libzfs_dataset.c | 224 * properties into a separate nvlist. 515 * Given an nvlist of properties to set, validates that they are correct, and 1020 * Construct nvlist to pass down to kernel for setting/removing permissions. 1022 * The nvlist is constructed as a series of nvpairs with an optional embedded 1023 * nvlist of permissions to remove or set. The topmost nvpairs are the actual 1035 * nvp The constructed nvlist to pass to zfs_perm_set(). 1098 * Build up nvlist(s) of permissions. Two nvlists are maintained. 1099 * The first nvlist perms_nvp will have normal permissions and the 1134 * Now create the nvlist(s) 1384 nvlist_t *nvlist; local [all...] |
| /netvirt/usr/src/uts/common/io/ |
| bofi.c | 4726 nvlist_t *nvlist; local [all...] |
| /netvirt/usr/src/uts/common/os/ |
| zone.c | 2742 nvlist_t *nvlist; member in struct:zsched_arg [all...] |