Searched refs:nvlist_t (Results 1 - 25 of 176) sorted by relevance

12345678

/freebsd-11-stable/usr.sbin/iovctl/
H A Diovctl.h33 nvlist_t * parse_config_file(const char *, const nvlist_t *);
34 void validate_config(nvlist_t *, const nvlist_t *, const regex_t *);
/freebsd-11-stable/sys/dev/pci/
H A Dschema_private.h32 int pci_iov_validate_schema(const nvlist_t *schema);
34 int pci_iov_schema_validate_config(const nvlist_t *, nvlist_t *);
35 uint16_t pci_iov_config_get_num_vfs(const nvlist_t *);
H A Dpci_iov_schema.c52 const nvlist_t *, const char *name);
54 const nvlist_t *);
131 pci_iov_schema_add_type(nvlist_t *entry, const char *type)
142 pci_iov_schema_add_required(nvlist_t *entry, uint32_t flags)
156 pci_iov_schema_add_bool(nvlist_t *schema, const char *name, uint32_t flags,
159 nvlist_t *entry;
176 pci_iov_schema_add_string(nvlist_t *schema, const char *name, uint32_t flags,
179 nvlist_t *entry;
196 pci_iov_schema_int(nvlist_t *schema, const char *name, const char *type,
199 nvlist_t *entr
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs_core/common/
H A Dlibzfs_core.h53 int lzc_snapshot(nvlist_t *, nvlist_t *, nvlist_t **);
54 int lzc_create(const char *, enum lzc_dataset_type, nvlist_t *);
55 int lzc_clone(const char *, const char *, nvlist_t *);
57 int lzc_destroy_snaps(nvlist_t *, boolean_t, nvlist_t **);
58 int lzc_bookmark(nvlist_t *, nvlist_t **);
59 int lzc_get_bookmarks(const char *, nvlist_t *, nvlist_
[all...]
H A Dlibzfs_core_compat.h39 int lzc_compat_pre(zfs_cmd_t *, zfs_ioc_t *, nvlist_t **);
41 int lzc_compat_outnvl(zfs_cmd_t *, const zfs_ioc_t, nvlist_t **);
H A Dlibzfs_core.c136 nvlist_t *source, nvlist_t **resultp)
142 nvlist_t *oldsource;
241 lzc_create(const char *fsname, enum lzc_dataset_type type, nvlist_t *props)
244 nvlist_t *args = fnvlist_alloc();
255 nvlist_t *props)
258 nvlist_t *args = fnvlist_alloc();
293 nvlist_t *args = fnvlist_alloc();
321 nvlist_t *args = fnvlist_alloc();
343 lzc_snapshot(nvlist_t *snap
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_bookmark.h40 int dsl_bookmark_create(nvlist_t *, nvlist_t *);
41 int dsl_get_bookmarks(const char *, nvlist_t *, nvlist_t *);
42 int dsl_get_bookmarks_impl(dsl_dataset_t *, nvlist_t *, nvlist_t *);
43 int dsl_bookmark_destroy(nvlist_t *, nvlist_t *);
H A Ddsl_userhold.h43 int dsl_dataset_user_hold(nvlist_t *holds, minor_t cleanup_minor,
44 nvlist_t *errlist);
45 int dsl_dataset_user_release(nvlist_t *holds, nvlist_t *errlist);
46 int dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl);
47 void dsl_dataset_user_release_tmp(struct dsl_pool *dp, nvlist_t *holds);
/freebsd-11-stable/sys/sys/
H A Dnv.h49 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
84 nvlist_t *nvlist_create(int flags);
85 void nvlist_destroy(nvlist_t *nvl);
86 int nvlist_error(const nvlist_t *nvl);
87 bool nvlist_empty(const nvlist_t *nvl);
88 int nvlist_flags(const nvlist_t *nvl);
89 void nvlist_set_error(nvlist_t *nvl, int error);
91 nvlist_t *nvlist_clone(const nvlist_t *nvl);
94 void nvlist_dump(const nvlist_t *nv
[all...]
H A Ddnv.h48 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
61 bool dnvlist_get_bool(const nvlist_t *nvl, const char *name, bool defval);
62 uint64_t dnvlist_get_number(const nvlist_t *nvl, const char *name, uint64_t defval);
63 const char *dnvlist_get_string(const nvlist_t *nvl, const char *name, const char *defval);
64 const nvlist_t *dnvlist_get_nvlist(const nvlist_t *nvl, const char *name, const nvlist_t *defval);
65 int dnvlist_get_descriptor(const nvlist_t *nvl, const char *name, int defval);
66 const void *dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, const void *defval, size_t defsize);
76 bool dnvlist_take_bool(nvlist_t *nv
[all...]
H A Diov_schema.h35 nvlist_t *pci_iov_schema_alloc_node(void);
37 void pci_iov_schema_add_bool(nvlist_t *schema, const char *name,
39 void pci_iov_schema_add_string(nvlist_t *schema, const char *name,
41 void pci_iov_schema_add_uint8(nvlist_t *schema, const char *name,
43 void pci_iov_schema_add_uint16(nvlist_t *schema, const char *name,
45 void pci_iov_schema_add_uint32(nvlist_t *schema, const char *name,
47 void pci_iov_schema_add_uint64(nvlist_t *schema, const char *name,
49 void pci_iov_schema_add_unicast_mac(nvlist_t *schema, const char *name,
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dnvpair.h95 } nvlist_t; typedef in typeref:struct:nvlist
154 int nvlist_alloc(nvlist_t **, uint_t, int);
155 void nvlist_free(nvlist_t *);
156 int nvlist_size(nvlist_t *, size_t *, int);
157 int nvlist_pack(nvlist_t *, char **, size_t *, int, int);
158 int nvlist_unpack(char *, size_t, nvlist_t **, int);
159 int nvlist_dup(nvlist_t *, nvlist_t **, int);
160 int nvlist_merge(nvlist_t *, nvlist_t *, in
[all...]
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dzfsd_exception.h54 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
98 ZfsdException(nvlist_t *poolConfig, const char *, ...);
105 nvlist_t *m_poolConfig;
106 nvlist_t *m_vdevConfig;
H A Dvdev_iterator.h52 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
80 VdevIterator(nvlist_t *poolConfig);
92 nvlist_t *Next();
107 nvlist_t *Find(DevdCtl::Guid vdevGUID);
119 nvlist_t *m_poolConfig;
120 std::list<nvlist_t *> m_vdevQueue;
H A Dvdev.h55 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
80 Vdev(zpool_handle_t *pool, nvlist_t *vdevConfig);
96 Vdev(nvlist_t *poolConfig, nvlist_t *vdevConfig);
105 Vdev(nvlist_t *vdevConfig);
131 nvlist_t *PoolConfig() const;
132 nvlist_t *Config() const;
146 nvlist_t *m_poolConfig;
147 nvlist_t *m_config;
170 inline nvlist_t *
[all...]
H A Dvdev_iterator.cc69 VdevIterator::VdevIterator(nvlist_t *poolConfig)
78 nvlist_t *rootVdev;
99 nvlist_t *
102 nvlist_t *vdevConfig;
108 nvlist_t **vdevChildren;
138 nvlist_t *vdevConfig;
149 nvlist_t *
152 nvlist_t *vdevConfig;
/freebsd-11-stable/lib/libcasper/libcasper/
H A Dlibcasper_service.h40 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
46 typedef int service_limit_func_t(const nvlist_t *, const nvlist_t *);
47 typedef int service_command_func_t(const char *cmd, const nvlist_t *,
48 nvlist_t *, nvlist_t *);
H A Dlibcasper.h42 typedef struct nvlist nvlist_t; typedef in typeref:struct:nvlist
94 int cap_limit_set(const cap_channel_t *chan, nvlist_t *limits);
99 int cap_limit_get(const cap_channel_t *chan, nvlist_t **limitsp);
104 int cap_send_nvlist(const cap_channel_t *chan, const nvlist_t *nvl);
108 nvlist_t *cap_recv_nvlist(const cap_channel_t *chan, int flags);
113 nvlist_t *cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl, int flags);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/nvpair/
H A Dopensolaris_fnvpair.c53 nvlist_t *
56 nvlist_t *nvl;
62 fnvlist_free(nvlist_t *nvl)
68 fnvlist_size(nvlist_t *nvl)
80 fnvlist_pack(nvlist_t *nvl, size_t *sizep)
99 nvlist_t *
102 nvlist_t *rv;
107 nvlist_t *
108 fnvlist_dup(nvlist_t *nvl)
110 nvlist_t *r
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_comutil.h36 extern boolean_t zfs_allocatable_devs(nvlist_t *);
37 extern void zpool_get_load_policy(nvlist_t *, zpool_load_policy_t *);
/freebsd-11-stable/sys/contrib/libnv/
H A Dnvlist_impl.h43 nvpair_t *nvlist_get_nvpair_parent(const nvlist_t *nvl);
44 const unsigned char *nvlist_unpack_header(nvlist_t *nvl,
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_util.h40 uint_t num_logs(nvlist_t *nv);
46 nvlist_t *make_root_vdev(zpool_handle_t *zhp, int force, int check_rep,
49 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
50 nvlist_t *props, splitflags_t flags, int argc, char **argv);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libnvpair/
H A Dlibnvpair.h49 extern void nvlist_print(FILE *, nvlist_t *);
50 extern int nvlist_print_json(FILE *, nvlist_t *);
51 extern void dump_nvlist(nvlist_t *, int);
93 extern void nvlist_prt(nvlist_t *, nvlist_prtctl_t);
126 * nvlist_t * The full nvlist that is being processed. The
143 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, valtype), \
160 NVLIST_PRINTCTL_SVDECL(nvlist_prtctlop_nvlist, nvlist_t *);
174 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, uint_t), \
188 NVLIST_PRINTCTL_AVDECL(nvlist_prtctlop_nvlist_array, nvlist_t **);
/freebsd-11-stable/lib/libbe/
H A Dbe.h77 int be_get_bootenv_props(libbe_handle_t *, nvlist_t *);
78 int be_get_dataset_props(libbe_handle_t *, const char *, nvlist_t *);
79 int be_get_dataset_snapshots(libbe_handle_t *, const char *, nvlist_t *);
80 int be_prop_list_alloc(nvlist_t **be_list);
81 void be_prop_list_free(nvlist_t *be_list);
116 int be_mounted_at(libbe_handle_t *, const char *path, nvlist_t *);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/fm/
H A Dprotocol.h333 extern nvlist_t *fm_nvlist_create(nv_alloc_t *);
334 extern void fm_nvlist_destroy(nvlist_t *, int);
339 extern void fm_ereport_set(nvlist_t *, int, const char *, uint64_t,
340 const nvlist_t *, ...);
341 extern void fm_payload_set(nvlist_t *, ...);
342 extern int i_fm_payload_set(nvlist_t *, const char *, va_list);
343 extern void fm_fmri_hc_set(nvlist_t *, int, const nvlist_t *, nvlist_t *,
345 extern void fm_fmri_dev_set(nvlist_t *, in
[all...]

Completed in 237 milliseconds

12345678