| /onnv/onnv-gate/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);
|
| /onnv/onnv-gate/usr/src/common/zfs/ |
| zfs_deleg.h | 76 int zfs_deleg_verify_nvlist(nvlist_t *nvlist);
|
| /onnv/onnv-gate/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
|
| ipqosconf.c | 439 * modify the kernel parameters of the action action_nm using the nvlist 457 /* create nvlist if NULL */ 555 /* create nvlist */ 654 /* create nvlist */ 738 /* allocate nvlist */ 795 nvlist_t *nvl = flt->nvlist; 803 /* add 'add filter' config type to filter nvlist */ 818 /* add filter name to nvlist */ 824 /* add class name to nvlist */ 831 /* add ipqosconf as originator to nvlist */ [all...] |
| /onnv/onnv-gate/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);
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| fsys_zfs.c | 991 * For a given XDR packed nvlist, verify the first 4 bytes and move on. 993 * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) : 1014 nvlist_unpack(char *nvlist, char **out) 1016 /* Verify if the 1st and 2nd byte in the nvlist are valid. */ 1017 if (nvlist[0] != NV_ENCODE_XDR || nvlist[1] != HOST_ENDIAN) 1020 nvlist += 4; 1021 *out = nvlist; 1026 nvlist_array(char *nvlist, int index) 1032 nvlist = nvlist + 4 * 2 1214 char *nvlist, *nv; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
| syseventconfd.h | 90 static struct cmd *alloc_cmd(nvlist_t *nvlist);
|
| 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) {
|
| /onnv/onnv-gate/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);
|
| /onnv/onnv-gate/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
|
| /onnv/onnv-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
| sysevent_conf_mod.h | 150 static str_t *find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, 152 static int expand_macros(sysevent_t *ev, nvlist_t *nvlist,
|
| sysevent_conf_mod.c | 1056 find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, 1141 if (nvlist) { 1144 while ((nvp = nvlist_next_nvpair(nvlist, nvp)) != NULL) { 1661 nvlist_t *nvlist; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/idm/ |
| idm_text.h | 177 idm_pdu_list_to_nvlist(list_t *pdu_list, nvlist_t **nvlist,
|
| /onnv/onnv-gate/usr/src/lib/libfru/libnvfru/ |
| nvfru.c | 325 /* create a new nvlist for each segment */ 332 /* convert the segment to an nvlist */ 340 /* add the nvlist for this segment */ 350 convert_fru(fru_nodehdl_t hdl, nvlist_t **nvlist) 375 *nvlist = nv; 383 nvlist_t **nvlist) 402 err = convert_fru(hdl, nvlist);
|
| /onnv/onnv-gate/usr/src/lib/libsysevent/ |
| libsysevent.h | 66 int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist);
|
| llib-lsysevent | 40 int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist);
|
| libsysevent.c | 236 sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist) 244 *nvlist = NULL; 252 if ((error = nvlist_dup(nvl, nvlist, 0)) != 0) { 268 /* unpack nvlist */ 271 if ((error = nvlist_unpack(attr, attr_len, nvlist, 0)) != 0) { 396 * nvlist manually here. 642 * se_unpack - unpack nvlist to a searchable list. 664 /* unpack nvlist */ [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| spa_config.c | 45 * Pool configuration is stored as a packed nvlist on the filesystem. By 51 * For each cache file, we have a single nvlist which holds all the 76 nvlist_t *nvlist, *child; local 103 * Read the nvlist from the file. 109 * Unpack the nvlist. 111 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0) 115 * Iterate over all elements in the nvlist, creating a new spa_t for 120 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) { 132 nvlist_free(nvlist); 151 * If the nvlist is empty (NULL), then remove the old cachefile [all...] |
| /onnv/onnv-gate/usr/src/cmd/rcm_daemon/common/ |
| pool_rcm.c | 230 gettext("POOL: unable to find 'old_total' in nvlist: %s\n"), 239 gettext("POOL: unable to find 'new_total' in nvlist: %s\n"), 266 gettext("POOL: 'old_cpu_list' not found in nvlist: %s\n"), 281 gettext("POOL: 'new_cpu_list' not found in nvlist: %s\n"), 361 uint_t flags, nvlist_t *nvlist, char **errorp, rcm_info_t **dependent_info) 376 return ((*registrations[i].capacity_change_cb)(nvlist, 386 uint_t flags, nvlist_t *nvlist, char **info, rcm_info_t **dependent_info)
|
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/ |
| dmu.h | 62 struct nvlist; 115 DMU_OT_FUID, /* FUID table (Packed NVLIST UINT8) */ 177 int dmu_objset_snapshot(char *fsname, char *snapname, struct nvlist *props, 567 * Add entries to the nvlist for all the objset's properties. See 570 void dmu_objset_stats(objset_t *os, struct nvlist *nv);
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| pool.c | 895 pool_propput_common(nvlist_t *nvlist, nvpair_t *pair, pool_property_t *props) 907 return (nvlist_add_nvpair(nvlist, pair)); 914 pool_proprm_common(nvlist_t *nvlist, char *name, pool_property_t *props) 922 return (nvlist_remove_all(nvlist, name)); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/idm/ |
| idm_text.c | 239 * a corresponding Solaris nvpair_t to the provided nvlist. If the last 359 * the key and value in the nvlist. If we don't recognize 604 /* We'll store the range an an nvlist with two values */ 654 * Now add the "range" nvlist to the main nvlist 730 * Convert an nvlist containing standard iSCSI key names and values into 750 /* Last nvpair in nvlist, we're done */ 790 * the key and value in the nvlist. 1157 * (list with one value choice), or as an nvlist with a single nvpair 1158 * (also a list with on value choice), or as an nvlist with multipl [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| nvpair.h | 87 /* nvlist header */ 88 typedef struct nvlist { struct 99 /* nvlist pack encoding */ 103 /* nvlist persistent unique name flags, stored in nvl_nvflags */ 107 /* nvlist lookup pairs related flags */
|
| cpuvar.h | 79 struct nvlist; 185 struct nvlist *cpu_props; /* pool-related properties */
|
| /onnv/onnv-gate/usr/src/lib/libzfs/common/ |
| libzfs_dataset.c | 223 * properties into a separate nvlist. 735 * Given an nvlist of properties to set, validates that they are correct, and 3810 nvlist_t *nvlist = NULL; local [all...] |