Home
last modified time | relevance | path

Searched refs:nvlist (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-14.2/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py75 nvlist = _ffi.gc(nvlistp[0], _lib.nvlist_free)
76 _dict_to_nvlist(props, nvlist)
77 return nvlist
170 def _nvlist_add_array(nvlist, key, array): argument
220 ret = cfunc(nvlist, key, array, len(array))
225 ret = cfunc(nvlist, key, array, len(array))
232 def _nvlist_to_dict(nvlist, props): argument
266 def _dict_to_nvlist(props, nvlist): argument
274 _nvlist_add_array(nvlist, k, v)
284 ret = cfunc(nvlist, k, v)
[all …]
H A D_libzfs_core.py125 nvlist = nvlist_in(props)
160 nvlist = nvlist_in(props)
334 nvlist = nvlist_in(bookmarks)
484 nvlist = nvlist_in(holds)
803 nvlist = nvlist_in(props)
865 nvlist = nvlist_in(props)
1059 nvlist = nvlist_in(props)
1146 nvlist = nvlist_in(props)
1296 nvlist = nvlist_in(props)
1416 nvlist = nvlist_in(props)
[all …]
/freebsd-14.2/sbin/zfsbootcfg/
H A Dzfsbootcfg.c45 add_pair(const char *name, const char *nvlist, const char *key, in add_pair() argument
53 rv = lzbe_nvlist_get(name, nvlist, &nv); in add_pair()
155 rv = lzbe_nvlist_set(name, nvlist, nv); in add_pair()
168 rv = lzbe_nvlist_get(name, nvlist, &nv); in delete_pair()
173 rv = lzbe_nvlist_set(name, nvlist, nv); in delete_pair()
190 const char *key, *value, *type, *nvlist; in main() local
194 nvlist = NULL; in main()
210 nvlist = optarg; in main()
262 rv = delete_pair(name, nvlist, key); in main()
266 rv = add_pair(name, nvlist, key, type, value); in main()
[all …]
/freebsd-14.2/sys/dev/pci/
H A Dpci_iov.h32 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 Dpci_iov_if.m33 struct nvlist;
40 const struct nvlist *config;
50 const struct nvlist *config;
/freebsd-14.2/sys/dev/sound/pcm/
H A Dsndstat.c849 sndstat_dsp_nvlist_is_sane(const nvlist_t *nvlist) in sndstat_dsp_nvlist_is_sane() argument
863 nvlist_exists_number(nvlist, "pmaxrate") && in sndstat_dsp_nvlist_is_sane()
864 nvlist_exists_number(nvlist, "pfmts"))) in sndstat_dsp_nvlist_is_sane()
874 nvlist_exists_number(nvlist, "rmaxrate") && in sndstat_dsp_nvlist_is_sane()
875 nvlist_exists_number(nvlist, "rfmts"))) in sndstat_dsp_nvlist_is_sane()
914 desc = nvlist_get_string(nvlist, SNDST_DSPS_DESC); in sndstat_dsp_unpack_nvlist()
919 diinfo = nvlist_get_nvlist(nvlist, in sndstat_dsp_unpack_nvlist()
924 pminrate = nvlist_get_number(nvlist, "pminrate"); in sndstat_dsp_unpack_nvlist()
926 pfmts = nvlist_get_number(nvlist, "pfmts"); in sndstat_dsp_unpack_nvlist()
931 diinfo = nvlist_get_nvlist(nvlist, in sndstat_dsp_unpack_nvlist()
[all …]
/freebsd-14.2/stand/libsa/zfs/
H A Dnvlist.c406 nvlist_t nvlist; in nvlist_xdr_nvp() local
424 bzero(&nvlist, sizeof(nvlist)); in nvlist_xdr_nvp()
426 nvlist.nv_idx = nvlist.nv_data; in nvlist_xdr_nvp()
438 &nvlist.nv_size)) in nvlist_xdr_nvp()
442 &nvlist.nv_size)) in nvlist_xdr_nvp()
852 nvlist_t **nvlist) in clone_nvlist() argument
870 *nvlist = nv; in clone_nvlist()
953 if (nvlist == NULL) in nvlist_find()
979 free(nvlist[i]); in nvlist_find()
981 free(nvlist); in nvlist_find()
[all …]
H A Dzfsimpl.c961 nvlist_find(nvlist, in vdev_init()
965 nvlist_find(nvlist, in vdev_init()
969 nvlist_find(nvlist, in vdev_init()
983 vdev_set_initial_state(vdev, nvlist); in vdev_init()
985 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT, in vdev_init()
989 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASIZE, in vdev_init()
999 if (nvlist_find(nvlist, ZPOOL_CONFIG_PATH, in vdev_init()
1240 vdev_set_initial_state(vdev, nvlist); in vdev_update_from_nvlist()
3508 nvlist_t *nvlist; in zfs_spa_init() local
3564 rc = vdev_init_from_nvlist(spa, nvlist); in zfs_spa_init()
[all …]
H A DMakefile.inc11 ZFS_SRC= zfs.c nvlist.c skein.c skein_block.c list.c
54 CFLAGS_EARLY.nvlist.c+= ${ZFS_EARLY}
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Ddsl_destroy.h34 struct nvlist;
39 int dsl_destroy_snapshots_nvl(struct nvlist *, boolean_t,
40 struct nvlist *);
/freebsd-14.2/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c251 const char *passphrase, nvlist_t *nvlist) in prepare_passphrase() argument
259 if (nvlist != NULL) { in prepare_passphrase()
280 if (nvlist_add_uint64(nvlist, in prepare_passphrase()
334 nvlist_t *nvlist = fnvlist_alloc(); in change_key() local
337 nvlist_free(nvlist); in change_key()
341 if (nvlist_add_string(nvlist, in change_key()
346 nvlist_free(nvlist); in change_key()
350 if (nvlist_add_uint64(nvlist, in change_key()
355 nvlist_free(nvlist); in change_key()
364 nvlist_free(nvlist); in change_key()
[all …]
/freebsd-14.2/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_util.c24 lzbe_bootenv_print(const char *pool, const char *nvlist, FILE *of) in lzbe_bootenv_print() argument
32 rv = lzbe_nvlist_get(pool, nvlist, (void **)&nv); in lzbe_bootenv_print()
/freebsd-14.2/cddl/usr.sbin/zfsd/
H A Dzfsd_exception.h51 struct nvlist;
52 typedef struct nvlist nvlist_t;
H A Dvdev_iterator.h49 struct nvlist;
50 typedef struct nvlist nvlist_t;
H A Dzpool_list.h54 struct nvlist;
55 typedef struct nvlist nvlist_t;
H A Dzfsd.h68 struct nvlist;
69 typedef struct nvlist nvlist_t;
H A Dzfsd_event.h58 struct nvlist;
59 typedef struct nvlist nvlist_t;
H A Dvdev.h52 struct nvlist;
53 typedef struct nvlist nvlist_t;
H A Dvdev_iterator.cc78 nvlist **cache_child; in Reset()
79 nvlist **spare_child; in Reset()
/freebsd-14.2/usr.sbin/makefs/zfs/
H A DMakefile.inc10 SRCS+= nvlist.c
12 CFLAGS.nvlist.c+= -I${SRCTOP}/stand/libsa -Wno-cast-qual
/freebsd-14.2/lib/libcasper/libcasper/
H A Dlibcasper_service.h38 struct nvlist;
40 typedef struct nvlist nvlist_t;
/freebsd-14.2/sys/sys/
H A Ddnv.h46 struct nvlist;
48 typedef struct nvlist nvlist_t;
H A Dcnv.h44 struct nvlist;
46 typedef struct nvlist nvlist_t;
/freebsd-14.2/sys/contrib/libnv/
H A Dcnvlist.c87 CNVLIST_GET(const nvlist_t *, nvlist, NVLIST) in CNVLIST_GET()
146 CNVLIST_TAKE(nvlist_t *, nvlist, NVLIST)
208 CNVLIST_FREE(nvlist)
H A Ddnvlist.c70 DNVLIST_GET(const nvlist_t *, nvlist) in DNVLIST_GET()
107 DNVLIST_TAKE(nvlist_t *, nvlist) in DNVLIST_TAKE()

123