Searched refs:nvlist (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_destroy.h34 struct nvlist;
38 int dsl_destroy_snapshots_nvl(struct nvlist *, boolean_t,
39 struct nvlist *);
H A Ddmu.h74 struct nvlist;
282 int dsl_destroy_snapshots_nvl(struct nvlist *snaps, boolean_t defer,
283 struct nvlist *errlist);
837 * Add entries to the nvlist for all the objset's properties. See
840 void dmu_objset_stats(objset_t *os, struct nvlist *nv);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Ddefaults.c66 * 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);
/illumos-gate/usr/src/common/zfs/
H A Dzfs_deleg.h80 int zfs_deleg_verify_nvlist(nvlist_t *nvlist);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.h170 /* 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
H A Dipqosconf.c437 * modify the kernel parameters of the action action_nm using the nvlist
455 /* create nvlist if NULL */
553 /* create nvlist */
651 /* create nvlist */
734 /* allocate nvlist */
790 nvlist_t *nvl = flt->nvlist;
798 /* add 'add filter' config type to filter nvlist */
813 /* add filter name to nvlist */
819 /* add class name to nvlist */
826 /* add ipqosconf as originator to nvlist */
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c350 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);
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.h90 static struct cmd *alloc_cmd(nvlist_t *nvlist);
H A Dsyseventconfd.c40 * 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) argument
611 if (nvlist_dup(nvlist, &cmd->cmd_nvlist, 0) != 0) {
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpicl_slm.c54 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);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnvpair.c46 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
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1221 * For a given XDR packed nvlist, verify the first 4 bytes and move on.
1223 * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) :
1244 nvlist_unpack(char *nvlist, char **out) argument
1246 /* Verify if the 1st and 2nd byte in the nvlist are valid. */
1247 if (nvlist[0] != NV_ENCODE_XDR || nvlist[1] != HOST_ENDIAN)
1250 *out = nvlist + 4;
1255 nvlist_array(char *nvlist, int index) argument
1261 nvlist = nvlist
1409 nvlist_lookup_value(char *nvlist, char *name, void *val, int valtype, int *nelmp) argument
1533 char *nvlist, *nv, *features; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c157 nvlist_find(const unsigned char *nvlist, const char *name, int type, argument
164 p = nvlist;
216 nvlist_check_features_for_read(const unsigned char *nvlist) argument
225 p = nvlist;
267 * Return the next nvlist in an nvlist array.
270 nvlist_next(const unsigned char *nvlist) argument
276 p = nvlist;
297 nvlist_print(const unsigned char *nvlist, unsigned int indent) argument
334 p = nvlist;
510 vdev_init_from_nvlist(const unsigned char *nvlist, vdev_t *pvdev, vdev_t **vdevp, int is_newer) argument
911 const unsigned char *nvlist; local
[all...]
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.h150 static str_t *find_macro_definition(sysevent_t *ev, nvlist_t *nvlist,
152 static int expand_macros(sysevent_t *ev, nvlist_t *nvlist,
H A Dsysevent_conf_mod.c1056 find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, argument
1141 if (nvlist) {
1144 while ((nvp = nvlist_next_nvpair(nvlist, nvp)) != NULL) {
1414 expand_macros(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, argument
1462 replacement = find_macro_definition(ev, nvlist,
1648 * Instead, we build a separate event and nvlist with the
1661 nvlist_t *nvlist; local
1690 if (sysevent_get_attr_list(ev, &nvlist) != 0) {
1697 if (expand_macros(ev, nvlist, sep, line, hdr)) {
1699 nvlist_free(nvlist);
[all...]
/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c326 /* create a new nvlist for each segment */
333 /* convert the segment to an nvlist */
341 /* add the nvlist for this segment */
351 convert_fru(fru_nodehdl_t hdl, nvlist_t **nvlist) argument
376 *nvlist = nv;
384 nvlist_t **nvlist)
403 err = convert_fru(hdl, nvlist);
383 rawfru_to_nvlist(uint8_t *buffer, size_t bufsize, char *cont_type, nvlist_t **nvlist) argument
/illumos-gate/usr/src/uts/common/sys/idm/
H A Didm_text.h177 idm_pdu_list_to_nvlist(list_t *pdu_list, nvlist_t **nvlist,
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.h62 int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist);
H A Dllib-lsysevent40 int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c48 * Pool configuration is stored as a packed nvlist on the filesystem. By
54 * For each cache file, we have a single nvlist which holds all the
79 nvlist_t *nvlist, *child; local
106 * Read the nvlist from the file.
112 * Unpack the nvlist.
114 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
118 * Iterate over all elements in the nvlist, creating a new spa_t for
123 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) {
135 nvlist_free(nvlist);
155 * If the nvlist i
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c229 gettext("POOL: unable to find 'old_total' in nvlist: %s\n"),
238 gettext("POOL: unable to find 'new_total' in nvlist: %s\n"),
265 gettext("POOL: 'old_cpu_list' not found in nvlist: %s\n"),
280 gettext("POOL: 'new_cpu_list' not found in nvlist: %s\n"),
360 uint_t flags, nvlist_t *nvlist, char **errorp, rcm_info_t **dependent_info)
375 return ((*registrations[i].capacity_change_cb)(nvlist,
385 uint_t flags, nvlist_t *nvlist, char **info, rcm_info_t **dependent_info)
359 pool_request_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, nvlist_t *nvlist, char **errorp, rcm_info_t **dependent_info) argument
384 pool_notify_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, nvlist_t *nvlist, char **info, rcm_info_t **dependent_info) argument
/illumos-gate/usr/src/uts/common/os/
H A Dlog_sysevent.c445 * Set up the nvlist based data cache. User by lofi to find
610 * Allocate nvlist
1774 nvlist_t *nvlist; local
1784 (void) sysevent_get_attr_list(ev, &nvlist);
1785 driver = fnvlist_lookup_string(nvlist, DEV_DRIVER_NAME);
1786 instance = fnvlist_lookup_int32(nvlist, DEV_INSTANCE);
1790 fnvlist_free(nvlist);
1801 fnvlist_add_nvlist(lofi_devlink_cache.ln_data, name, nvlist);
1809 fnvlist_free(nvlist);
H A Dpool.c947 pool_propput_common(nvlist_t *nvlist, nvpair_t *pair, pool_property_t *props) argument
959 return (nvlist_add_nvpair(nvlist, pair));
966 pool_proprm_common(nvlist_t *nvlist, char *name, pool_property_t *props) argument
974 return (nvlist_remove_all(nvlist, name));
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c239 * 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 wit
1455 idm_pdu_list_to_nvlist(list_t *pdu_list, nvlist_t **nvlist, uint8_t *error_detail) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h72 struct nvlist;
178 struct nvlist *cpu_props; /* pool-related properties */

Completed in 144 milliseconds

12