| /freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _nvlist.py | 76 nvlist = _ffi.gc(nvlistp[0], _lib.nvlist_free) 77 _dict_to_nvlist(props, nvlist) 78 return nvlist 171 def _nvlist_add_array(nvlist, key, array): argument 210 ret = _lib.nvlist_add_nvlist_array(nvlist, key, c_array, len(c_array)) 215 ret = _lib.nvlist_add_string_array(nvlist, key, c_array, len(c_array)) 217 ret = _lib.nvlist_add_boolean_array(nvlist, key, array, len(array)) 221 ret = cfunc(nvlist, key, array, len(array)) 226 ret = cfunc(nvlist, key, array, len(array)) 233 def _nvlist_to_dict(nvlist, props): argument [all …]
|
| H A D | _libzfs_core.py | 87 nvlist = nvlist_in(props) 88 ret = _lib.lzc_create(name, ds_type, nvlist, key, len(key)) 122 nvlist = nvlist_in(props) 123 ret = _lib.lzc_clone(name, origin, nvlist) 296 nvlist = nvlist_in(bookmarks) 298 ret = _lib.lzc_bookmark(nvlist, errlist_nvlist) 333 nvlist = nvlist_in(props_dict) 335 ret = _lib.lzc_get_bookmarks(fsname, nvlist, bmarks_nvlist) 362 nvlist = nvlist_in(bmarks_dict) 364 ret = _lib.lzc_destroy_bookmarks(nvlist, errlist_nvlist) [all …]
|
| /freebsd/sbin/zfsbootcfg/ |
| H A D | zfsbootcfg.c | 44 add_pair(const char *name, const char *nvlist, const char *key, in add_pair() argument 52 rv = lzbe_nvlist_get(name, nvlist, &nv); in add_pair() 154 rv = lzbe_nvlist_set(name, nvlist, nv); in add_pair() 162 delete_pair(const char *name, const char *nvlist, const char *key) in delete_pair() argument 167 rv = lzbe_nvlist_get(name, nvlist, &nv); in delete_pair() 172 rv = lzbe_nvlist_set(name, nvlist, nv); in delete_pair() 189 const char *key, *value, *type, *nvlist; in main() local 193 nvlist = NULL; in main() 209 nvlist = optarg; in main() 261 rv = delete_pair(name, nvlist, key); in main() [all …]
|
| /freebsd/sys/dev/pci/ |
| H A D | pci_iov.h | 32 struct nvlist; 34 int pci_iov_attach_name(device_t dev, struct nvlist *pf_schema, 35 struct nvlist *vf_schema, const char *fmt, ...) __printflike(4, 5); 38 pci_iov_attach(device_t dev, struct nvlist *pf_schema, struct nvlist *vf_schema) in pci_iov_attach()
|
| H A D | pci_iov_if.m | 33 struct nvlist; 40 const struct nvlist *config; 50 const struct nvlist *config;
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zstream/ |
| HD | beadtin-new.dump.bz2 | ... )
32
33 snapprops = (embedded nvlist)
34 nvlist version: 0
35 clean = (embedded nvlist) ... |
| HD | beadtix-new.dump.bz2 | |
| HD | leadtix-new.dump.bz2 | ... )
32
33 snapprops = (embedded nvlist)
34 nvlist version: 0
35 clean = (embedded nvlist) ... |
| HD | leadtin-new.dump.bz2 | ... )
32
33 snapprops = (embedded nvlist)
34 nvlist version: 0
35 clean = (embedded nvlist) ... |
| HD | beadtin-old.dump.bz2 | |
| HD | leadtin-old.dump.bz2 | ... )
31
32 snapprops = (embedded nvlist)
33 nvlist version: 0
34 clean = (embedded nvlist) ... |
| HD | beadtix-old.dump.bz2 | |
| HD | leadtix-old.dump.bz2 | ... )
31
32 snapprops = (embedded nvlist)
33 nvlist version: 0
34 clean = (embedded nvlist) ... |
| /freebsd/sys/dev/sound/ |
| H A D | sndstat.c | 858 sndstat_dsp_nvlist_is_sane(const nvlist_t *nvlist) in sndstat_dsp_nvlist_is_sane() argument 860 if (!(nvlist_exists_string(nvlist, SNDST_DSPS_DEVNODE) && in sndstat_dsp_nvlist_is_sane() 861 nvlist_exists_string(nvlist, SNDST_DSPS_DESC) && in sndstat_dsp_nvlist_is_sane() 862 nvlist_exists_number(nvlist, SNDST_DSPS_PCHAN) && in sndstat_dsp_nvlist_is_sane() 863 nvlist_exists_number(nvlist, SNDST_DSPS_RCHAN))) in sndstat_dsp_nvlist_is_sane() 866 if (nvlist_get_number(nvlist, SNDST_DSPS_PCHAN) > 0) { in sndstat_dsp_nvlist_is_sane() 867 if (nvlist_exists_nvlist(nvlist, SNDST_DSPS_INFO_PLAY)) { in sndstat_dsp_nvlist_is_sane() 868 if (!sndstat_diinfo_is_sane(nvlist_get_nvlist(nvlist, in sndstat_dsp_nvlist_is_sane() 871 } else if (!(nvlist_exists_number(nvlist, "pminrate") && in sndstat_dsp_nvlist_is_sane() 872 nvlist_exists_number(nvlist, "pmaxrate") && in sndstat_dsp_nvlist_is_sane() [all …]
|
| /freebsd/stand/libsa/zfs/ |
| H A D | nvlist.c | 406 nvlist_t nvlist; in nvlist_xdr_nvp() local 424 bzero(&nvlist, sizeof(nvlist)); in nvlist_xdr_nvp() 425 nvlist.nv_data = xdr->xdr_idx; in nvlist_xdr_nvp() 426 nvlist.nv_idx = nvlist.nv_data; in nvlist_xdr_nvp() 430 nv_xdr.xdr_buf = nvlist.nv_data; in nvlist_xdr_nvp() 431 nv_xdr.xdr_idx = nvlist.nv_data; in nvlist_xdr_nvp() 433 nvl->nv_data + nvl->nv_size - nvlist.nv_data; in nvlist_xdr_nvp() 438 &nvlist.nv_size)) in nvlist_xdr_nvp() 442 &nvlist.nv_size)) in nvlist_xdr_nvp() 445 if (nvlist_xdr_nvlist(xdr, &nvlist) != 0) in nvlist_xdr_nvp() [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | dsl_destroy.h | 25 struct nvlist; 30 int dsl_destroy_snapshots_nvl(struct nvlist *, boolean_t, 31 struct nvlist *);
|
| /freebsd/sys/sys/ |
| H A D | _nv.h | 40 struct nvlist; 42 typedef struct nvlist nvlist_t;
|
| /freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/ |
| H A D | pam_zfs_key.c | 253 const char *passphrase, nvlist_t *nvlist) in prepare_passphrase() argument 261 if (nvlist != NULL) { in prepare_passphrase() 282 if (nvlist_add_uint64(nvlist, in prepare_passphrase() 290 if (nvlist_add_uint64(nvlist, zfs_prop_to_name( in prepare_passphrase() 336 nvlist_t *nvlist = fnvlist_alloc(); in change_key() local 337 pw_password_t *key = prepare_passphrase(pamh, ds, passphrase, nvlist); in change_key() 339 nvlist_free(nvlist); in change_key() 343 if (nvlist_add_string(nvlist, in change_key() 348 nvlist_free(nvlist); in change_key() 352 if (nvlist_add_uint64(nvlist, in change_key() [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libzfsbootenv/ |
| H A D | lzbe_util.c | 25 lzbe_bootenv_print(const char *pool, const char *nvlist, FILE *of) in lzbe_bootenv_print() argument 33 rv = lzbe_nvlist_get(pool, nvlist, (void **)&nv); in lzbe_bootenv_print()
|
| /freebsd/cddl/usr.sbin/zfsd/ |
| H A D | zfsd_exception.h | 51 struct nvlist; 52 typedef struct nvlist nvlist_t;
|
| H A D | vdev_iterator.h | 49 struct nvlist; 50 typedef struct nvlist nvlist_t;
|
| H A D | zpool_list.h | 54 struct nvlist; 55 typedef struct nvlist nvlist_t;
|
| /freebsd/usr.sbin/ctladm/ |
| H A D | ctladm.c | 3871 struct cctl_nvlist_data *nvlist; in cctl_nvlist_start_element() local 3874 nvlist = (struct cctl_nvlist_data *)user_data; in cctl_nvlist_start_element() 3875 cur_conn = nvlist->cur_conn; in cctl_nvlist_start_element() 3876 nvlist->level++; in cctl_nvlist_start_element() 3877 if ((u_int)nvlist->level >= nitems(nvlist->cur_sb)) in cctl_nvlist_start_element() 3879 nitems(nvlist->cur_sb)); in cctl_nvlist_start_element() 3881 nvlist->cur_sb[nvlist->level] = sbuf_new_auto(); in cctl_nvlist_start_element() 3882 if (nvlist->cur_sb[nvlist->level] == NULL) in cctl_nvlist_start_element() 3895 nvlist->num_conns++; in cctl_nvlist_start_element() 3896 nvlist->cur_conn = cur_conn; in cctl_nvlist_start_element() [all …]
|
| /freebsd/usr.sbin/makefs/zfs/ |
| H A D | Makefile.inc | 10 SRCS+= nvlist.c 12 CFLAGS.nvlist.c+= -I${SRCTOP}/stand/libsa -Wno-cast-qual
|
| /freebsd/lib/libcasper/libcasper/ |
| H A D | libcasper_service.h | 38 struct nvlist; 40 typedef struct nvlist nvlist_t;
|