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

12

/freebsd-13-stable/stand/libsa/zfs/
H A Dzfsimpl.c202 return (rc); /* Error while reading nvlist */
206 nvp = &data->nvl_pair; /* first pair in nvlist */
884 vdev_set_initial_state(vdev_t *vdev, const nvlist_t *nvlist) argument
891 (void) nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, NULL,
893 (void) nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, NULL,
895 (void) nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, NULL,
897 (void) nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64,
899 (void) nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64,
901 (void) nvlist_find(nvlist, ZPOOL_CONFIG_IS_LOG, DATA_TYPE_UINT64, NULL,
919 vdev_init(uint64_t guid, const nvlist_t *nvlist, vdev_ argument
1111 vdev_from_nvlist(spa_t *spa, uint64_t top_guid, const nvlist_t *nvlist) argument
1166 vdev_init_from_label(spa_t *spa, const nvlist_t *nvlist) argument
1233 vdev_update_from_nvlist(uint64_t top_guid, const nvlist_t *nvlist) argument
1273 vdev_init_from_nvlist(spa_t *spa, const nvlist_t *nvlist) argument
3458 nvlist_t *nvlist; local
[all...]
/freebsd-13-stable/sys/dev/pci/
H A Dpci_private.h171 struct nvlist *pf_schema, struct nvlist *vf_schema,
H A Dpci_iov.c103 pci_iov_attach_name(device_t dev, struct nvlist *pf_schema,
104 struct nvlist *vf_schema, const char *fmt, ...)
/freebsd-13-stable/sys/dev/cxgbe/
H A Dt4_iov.c311 t4iov_iov_init(device_t dev, uint16_t num_vfs, const struct nvlist *config)
324 t4iov_add_vf(device_t dev, uint16_t vfnum, const struct nvlist *config)
/freebsd-13-stable/sys/sys/
H A Dnv.h49 struct nvlist;
51 typedef struct nvlist nvlist_t;
119 * type) exists on nvlist.
212 * remove the given entry from the nvlist.
231 * The nvlist_free functions removes the given name/value pair from the nvlist
/freebsd-13-stable/sys/contrib/libnv/
H A Dnvlist.c98 struct nvlist { struct
113 MALLOC_DEFINE(M_NVLIST, "nvlist", "kernel nvlist");
437 * Dump content of nvlist.
638 * The function obtains size of the nvlist after nvlist_pack().
1446 NVLIST_EXISTS(nvlist, NVLIST)
1581 NVLIST_ADD(const nvlist_t *, nvlist)
1612 NVLIST_ADD_ARRAY(const nvlist_t * const *, nvlist)
1643 NVLIST_APPEND_ARRAY(const nvlist_t *, nvlist, NVLIST)
1905 NVLIST_GET(const nvlist_t *, nvlist, NVLIS
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Ddmu.h72 struct nvlist;
334 int dsl_destroy_snapshots_nvl(struct nvlist *snaps, boolean_t defer,
335 struct nvlist *errlist);
948 * Add entries to the nvlist for all the objset's properties. See
951 void dmu_objset_stats(objset_t *os, struct nvlist *nv);
H A Dnvpair.h84 /* nvlist header */
85 typedef struct nvlist { struct
96 /* nvlist pack encoding */
100 /* nvlist persistent unique name flags, stored in nvl_nvflags */
104 /* nvlist lookup pairs related flags */
/freebsd-13-stable/lib/libnv/tests/
H A Dnv_array_tests.cc275 key = "nvl/nvlist";
285 ATF_REQUIRE(nvlist_exists_nvlist_array(nvl, "nvl/nvlist"));
539 nvlist **testnv;
540 const nvlist * const *const_result;
546 key = "nvl/nvlist";
553 testnv = (nvlist**)malloc(sizeof(*testnv) * count);
705 nvlist_add_nvlist_array(nvl, "nvl/nvlist", NULL, 0);
711 nvlist_move_nvlist_array(nvl, "nvl/nvlist", NULL, 0);
737 nvlist_add_nvlist_array(nvl, "nvl/nvlist", nvladd, 1);
746 nvlist_move_nvlist_array(nvl, "nvl/nvlist", nvlmov
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair.c175 * | Default nvlist member rendering functions. |
181 * Generate functions to print single-valued nvlist members.
219 * Generate functions to print array-valued nvlist members.
265 (void) fprintf(fp, "%s = (embedded nvlist)\n", name);
444 NVLIST_PRINTCTL_REPLACE(nvlist, nvlist_t *)
577 (void) fprintf(fp, "nvlist version: %d\n", NVL_VERSION(nvl));
739 RENDER(pctl, nvlist, nvl, name, val);
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c230 * properties into a separate nvlist.
999 * Given an nvlist of properties to set, validates that they are correct, and
1740 * Given an nvlist of property names and values, set the properties for the
1769 * before computing the length of the nvlist.
2034 * True DSL properties are stored in an nvlist. The following two functions
3873 * Destroys all the snapshots named in the nvlist.
4089 * Creates snapshots. The keys in the snaps nvlist are the snapshots to be
4743 nvlist_t *nvlist = NULL; local
4751 if (nvlist_alloc(&nvlist, NV_UNIQUE_NAME, 0) != 0) {
4763 if (nvlist_add_string(nvlist, ZFS_SMB_ACL_SR
[all...]
/freebsd-13-stable/lib/libbe/
H A Dbe.c241 struct nvlist *nvl;
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc467 nvlist *result;
/freebsd-13-stable/share/man/man9/
H A DMakefile1556 nv.9 nvlist.9 \

Completed in 398 milliseconds

12