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

12

/freebsd-13-stable/sys/dev/pci/
H A Dpci_iov.h34 struct nvlist;
36 int pci_iov_attach_name(device_t dev, struct nvlist *pf_schema,
37 struct nvlist *vf_schema, const char *fmt, ...) __printflike(4, 5);
40 pci_iov_attach(device_t dev, struct nvlist *pf_schema, struct nvlist *vf_schema)
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dzfsd_exception.h53 struct nvlist;
54 typedef struct nvlist nvlist_t;
H A Dvdev_iterator.h51 struct nvlist;
52 typedef struct nvlist nvlist_t;
H A Dzpool_list.h56 struct nvlist;
57 typedef struct nvlist nvlist_t;
H A Dzfsd.h70 struct nvlist;
71 typedef struct nvlist nvlist_t;
H A Dzfsd_event.h60 struct nvlist;
61 typedef struct nvlist nvlist_t;
137 * \return If label information is available, an nvlist describing
H A Dvdev.h54 struct nvlist;
55 typedef struct nvlist nvlist_t;
H A Dvdev_iterator.cc80 nvlist **cache_child;
/freebsd-13-stable/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-13-stable/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_util.c24 lzbe_bootenv_print(const char *pool, const char *nvlist, FILE *of) argument
32 rv = lzbe_nvlist_get(pool, nvlist, (void **)&nv);
/freebsd-13-stable/lib/libcasper/libcasper/
H A Dlibcasper_service.h40 struct nvlist;
42 typedef struct nvlist nvlist_t;
H A Dlibcasper.h52 struct nvlist;
54 typedef struct nvlist nvlist_t;
270 * Function sends nvlist over the given capability.
279 * Function receives nvlist over the given capability.
288 * Function sends the given nvlist, destroys it and receives new nvlist in
/freebsd-13-stable/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
92 nvlist.
144 _lib.DATA_TYPE_NVLIST: _TypeInfo("nvlist", "nvlist_t **", False, lambda x: _nvlist_to_dict(x, {})), # noqa: E501
170 def _nvlist_add_array(nvlist, key, array):
209 ret = _lib.nvlist_add_nvlist_array(nvlist, key, c_array, len(c_array))
214 ret = _lib.nvlist_add_string_array(nvlist, key, c_array, len(c_array))
216 ret = _lib.nvlist_add_boolean_array(nvlist, key, array, len(array))
220 ret = cfunc(nvlist, ke
[all...]
H A D_libzfs_core.py125 nvlist = nvlist_in(props)
126 ret = _lib.lzc_create(name, ds_type, nvlist, key, len(key))
160 nvlist = nvlist_in(props)
161 ret = _lib.lzc_clone(name, origin, nvlist)
334 nvlist = nvlist_in(bookmarks)
336 ret = _lib.lzc_bookmark(nvlist, errlist_nvlist)
371 nvlist = nvlist_in(props_dict)
373 ret = _lib.lzc_get_bookmarks(fsname, nvlist, bmarks_nvlist)
400 nvlist = nvlist_in(bmarks_dict)
402 ret = _lib.lzc_destroy_bookmarks(nvlist, errlist_nvlis
1416 nvlist = nvlist_in(props) variable
[all...]
/freebsd-13-stable/sbin/zfsbootcfg/
H A Dzfsbootcfg.c47 add_pair(const char *name, const char *nvlist, const char *key, argument
55 rv = lzbe_nvlist_get(name, nvlist, &nv);
157 rv = lzbe_nvlist_set(name, nvlist, nv);
165 delete_pair(const char *name, const char *nvlist, const char *key) argument
170 rv = lzbe_nvlist_get(name, nvlist, &nv);
175 rv = lzbe_nvlist_set(name, nvlist, nv);
183 * zfsbootcfg [-z pool] -n nvlist [-d key] [-k key -t type -v value] [-p]
185 * if nvlist is set, we will update nvlist in bootenv.
186 * if nvlist i
192 const char *key, *value, *type, *nvlist; local
[all...]
/freebsd-13-stable/lib/libnv/
H A DMakefile17 SRCS+= nvlist.c
/freebsd-13-stable/sys/sys/
H A Dcnv.h45 struct nvlist;
47 typedef struct nvlist nvlist_t;
80 * remove the given entry from the nvlist.
99 * The cnvlist_free functions removes the given name/value pair from the nvlist based on cookie
H A Ddnv.h48 struct nvlist;
50 typedef struct nvlist nvlist_t;
/freebsd-13-stable/sys/contrib/openzfs/include/
H A Dzfs_deleg.h90 int zfs_deleg_verify_nvlist(nvlist_t *nvlist);
/freebsd-13-stable/stand/libsa/zfs/
H A DMakefile.inc7 ZFSSRC= zfs.c nvlist.c skein.c skein_block.c list.c
29 CFLAGS.nvlist.c+= -I${ZFSOSINC}/spl
H A Dnvlist.c340 * nvlist management functions.
367 * Create empty nvlist.
368 * The nvlist is terminated by 2x zeros (8 bytes).
389 /* data in nvlist is byte stream */
402 nvlist_t nvlist; local
420 bzero(&nvlist, sizeof(nvlist));
421 nvlist.nv_data = xdr->xdr_idx;
422 nvlist.nv_idx = nvlist
847 clone_nvlist(const nvlist_t *nvl, const uint8_t *ptr, unsigned size, nvlist_t **nvlist) argument
899 nvlist_t **nvlist, *nv; local
1558 nvlist_t nvlist; local
[all...]
/freebsd-13-stable/sys/contrib/libnv/
H A Ddnvlist.c71 DNVLIST_GET(const nvlist_t *, nvlist)
108 DNVLIST_TAKE(nvlist_t *, nvlist)
H A Dcnvlist.c87 CNVLIST_GET(const nvlist_t *, nvlist, NVLIST)
146 CNVLIST_TAKE(nvlist_t *, nvlist, NVLIST)
208 CNVLIST_FREE(nvlist)
/freebsd-13-stable/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c207 const char *passphrase, nvlist_t *nvlist)
215 if (nvlist != NULL) {
236 if (nvlist_add_uint64(nvlist,
239 "failed to add salt to nvlist");
244 if (nvlist_add_uint64(nvlist, zfs_prop_to_name(
247 "failed to add iters to nvlist");
290 nvlist_t *nvlist = fnvlist_alloc(); local
291 pw_password_t *key = prepare_passphrase(pamh, ds, passphrase, nvlist);
293 nvlist_free(nvlist);
297 if (nvlist_add_string(nvlist,
206 prepare_passphrase(pam_handle_t *pamh, zfs_handle_t *ds, const char *passphrase, nvlist_t *nvlist) argument
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dspa_config.c50 * Pool configuration is stored as a packed nvlist on the filesystem. By
56 * For each cache file, we have a single nvlist which holds all the
82 nvlist_t *nvlist, *child; local
120 * Read the nvlist from the file.
126 * Unpack the nvlist.
128 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0)
132 * Iterate over all elements in the nvlist, creating a new spa_t for
137 while ((nvpair = nvlist_next_nvpair(nvlist, nvpair)) != NULL) {
149 nvlist_free(nvlist);
194 * If the nvlist i
[all...]

Completed in 128 milliseconds

12