/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_hostbridge.c | 37 pci_hostbridge_init(struct pci_devinst *pi, nvlist_t *nvl) argument 45 value = get_config_value_node(nvl, "vendor"); 49 vendor = pci_config_read_reg(NULL, nvl, PCIR_VENDOR, 2, vendor); 50 value = get_config_value_node(nvl, "devid"); 54 device = pci_config_read_reg(NULL, nvl, PCIR_DEVICE, 2, device); 69 pci_amd_hostbridge_legacy_config(nvlist_t *nvl, const char *opts __unused) argument 73 pci_regs = create_relative_config_node(nvl, "pcireg");
|
H A D | tpm_device.h | 17 nvlist_t *nvl);
|
H A D | config.c | 52 nvlist_t *nvl, *new_nvl; local 58 nvl = parent; 62 nvl = NULL; 65 if (nvlist_exists_nvlist(nvl, name)) 75 nvl = __DECONST(nvlist_t *, 76 nvlist_get_nvlist(nvl, name)); 77 else if (nvlist_exists(nvl, name)) { 84 nvl = NULL; 89 * mutated after its ownership is given to "nvl". 94 nvlist_move_nvlist(nvl, nam 166 nvlist_t *nvl; local 208 nvlist_t *nvl; local 438 dump_tree(const char *prefix, const nvlist_t *nvl) argument [all...] |
H A D | tpm_emul.h | 19 int (*init)(void **sc, nvlist_t *nvl);
|
/freebsd-current/lib/libcasper/libcasper/ |
H A D | libcasper.c | 173 nvlist_t *nvl; local 179 nvl = nvlist_create(channel_nvlist_flags(chan)); 180 nvlist_add_string(nvl, "cmd", "clone"); 181 nvl = cap_xfer_nvlist(chan, nvl); 182 if (nvl == NULL) 184 if (nvlist_get_number(nvl, "error") != 0) { 185 errno = (int)nvlist_get_number(nvl, "error"); 186 nvlist_destroy(nvl); 189 newsock = nvlist_take_descriptor(nvl, "soc 277 cap_send_nvlist(const cap_channel_t *chan, const nvlist_t *nvl) argument 298 cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl) argument 312 nvlist_t *nvl; local [all...] |
H A D | zygote.c | 63 nvlist_t *nvl; local 72 nvl = nvlist_create(0); 73 nvlist_add_number(nvl, "funcidx", funcidx); 74 nvl = nvlist_xfer(zygote_sock, nvl, 0); 75 if (nvl == NULL) 77 if (nvlist_exists_number(nvl, "error")) { 78 error = (int)nvlist_get_number(nvl, "error"); 79 nvlist_destroy(nvl); 84 *chanfdp = nvlist_take_descriptor(nvl, "chanf [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_set.c | 45 nvlist_t *nvl = fnvlist_alloc(); 46 fnvlist_add_string(nvl, prop_name, prop_val); 48 dsl_props_set_sync_impl(ds, ZPROP_SRC_LOCAL, nvl, tx); 50 fnvlist_free(nvl); 63 nvlist_t *nvl = NULL; local 75 nvl = fnvlist_alloc(); 76 fnvlist_add_string(nvl, args->prop, args->val); 77 dpsa.dpsa_props = nvl; 80 nvlist_free(nvl);
|
H A D | spa_history.c | 198 spa_history_log_notify(spa_t *spa, nvlist_t *nvl) argument 204 if (nvlist_lookup_string(nvl, ZPOOL_HIST_CMD, &string) == 0) 207 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_NAME, &string) == 0) 210 if (nvlist_lookup_string(nvl, ZPOOL_HIST_ZONE, &string) == 0) 213 if (nvlist_lookup_string(nvl, ZPOOL_HIST_HOST, &string) == 0) 216 if (nvlist_lookup_string(nvl, ZPOOL_HIST_DSNAME, &string) == 0) 219 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_STR, &string) == 0) 222 if (nvlist_lookup_string(nvl, ZPOOL_HIST_IOCTL, &string) == 0) 225 if (nvlist_lookup_string(nvl, ZPOOL_HIST_INT_NAME, &string) == 0) 228 if (nvlist_lookup_uint64(nvl, ZPOOL_HIST_DSI 254 nvlist_t *nvl = arg; local 363 nvlist_t *nvl = fnvlist_alloc(); local 372 spa_history_log_nvl(spa_t *spa, nvlist_t *nvl) argument 515 log_internal(nvlist_t *nvl, const char *operation, spa_t *spa, dmu_tx_t *tx, const char *fmt, va_list adx) argument 542 spa_history_log_sync, nvl, tx); local 578 nvlist_t *nvl = fnvlist_alloc(); local 597 nvlist_t *nvl = fnvlist_alloc(); local [all...] |
/freebsd-current/tests/sys/net/if_ovpn/ |
H A D | if_ovpn_c.c | 22 nvlist_t *nvl; local 24 nvl = nvlist_create(0); 26 nvlist_add_number(nvl, "af", AF_INET); 27 nvlist_add_binary(nvl, "address", &addr, 4); 28 nvlist_add_number(nvl, "port", 1024); 30 return (nvl); 88 nvlist_t *nvl; local 108 nvl = nvlist_create(0); 110 nvlist_add_number(nvl, "peerid", 0); 111 nvlist_add_number(nvl, "f [all...] |
/freebsd-current/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.c | 75 group_unpack_string(const nvlist_t *nvl, const char *fieldname, char **fieldp, argument 81 str = nvlist_get_string(nvl, fieldname); 93 group_unpack_members(const nvlist_t *nvl, char ***fieldp, char **bufferp, argument 102 if (!nvlist_exists_number(nvl, "gr_nmem")) { 114 nmem = (size_t)nvlist_get_number(nvl, "gr_nmem"); 119 mem = dnvlist_get_string(nvl, nvlname, NULL); 133 mem = nvlist_get_string(nvl, nvlname); 150 group_unpack(const nvlist_t *nvl, struct group *grp, char *buffer, argument 155 if (!nvlist_exists_string(nvl, "gr_name")) 160 error = group_unpack_string(nvl, "gr_nam 181 nvlist_t *nvl; local 317 nvlist_t *nvl; local 338 nvlist_t *nvl; local 358 nvlist_t *nvl; local 369 nvlist_t *limits, *nvl; local 391 nvlist_t *limits, *nvl; local 586 grp_pack(const nvlist_t *limits, const struct group *grp, nvlist_t *nvl) argument [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | ioctl.c | 75 nvl2py(nvlist_t *nvl) argument 82 for (nvp = nvlist_next_nvpair(nvl, NULL); nvp; 83 nvp = nvlist_next_nvpair(nvl, nvp)) { 132 nvlist_t *nvl; local 142 err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0); 149 nvlist_free(nvl); 155 err = nvlist_add_nvlist(nvl, keystr, valnvl); 158 err = nvlist_add_boolean(nvl, keystr); 161 err = nvlist_add_string(nvl, keystr, valstr); 164 err = nvlist_add_uint64(nvl, keyst 188 add_ds_props(zfs_cmd_t *zc, PyObject *nvl) argument 213 nvlist_t *nvl; local 237 PyObject *nvl; local 273 PyObject *nvl; local 294 PyObject *nvl; local 316 nvlist_t *nvl; local 353 PyObject *nvl; local [all...] |
/freebsd-current/usr.sbin/nvmfd/ |
H A D | ctl.c | 49 nvlist_t *nvl; local 53 nvl = nvlist_create(0); 55 nvlist_add_string(nvl, "subnqn", subnqn); 58 nvlist_add_stringf(nvl, "portid", "%u", 1); 60 nvlist_add_stringf(nvl, "max_io_qsize", "%u", params->max_io_qsize); 65 req.args = nvlist_pack(nvl, &req.args_len); 77 nvlist_destroy(nvl); 78 nvl = nvlist_unpack(result_buf, req.result_len, 0); 79 if (nvl == NULL) 82 ctl_port = nvlist_get_number(nvl, "port_i 95 nvlist_t *nvl; local [all...] |
/freebsd-current/lib/libcasper/services/cap_dns/ |
H A D | cap_dns.c | 73 hostent_unpack(const nvlist_t *nvl, struct hostent *hp) argument 81 hp->h_name = strdup(nvlist_get_string(nvl, "name")); 84 hp->h_addrtype = (int)nvlist_get_number(nvl, "addrtype"); 85 hp->h_length = (int)nvlist_get_number(nvl, "length"); 87 nitems = (unsigned int)nvlist_get_number(nvl, "naliases"); 95 strdup(nvlist_get_string(nvl, nvlname)); 101 nitems = (unsigned int)nvlist_get_number(nvl, "naddrs"); 111 bcopy(nvlist_get_binary(nvl, nvlname, NULL), 134 nvlist_t *nvl; local 136 nvl 161 nvlist_t *nvl; local 183 addrinfo_unpack(const nvlist_t *nvl) argument 224 nvlist_t *nvl; local 284 nvlist_t *nvl; local 434 hostent_pack(const struct hostent *hp, nvlist_t *nvl) argument 597 nvlist_t *nvl; local [all...] |
/freebsd-current/lib/libcasper/services/cap_net/ |
H A D | cap_net.c | 93 hostent_unpack(const nvlist_t *nvl, struct hostent *hp) argument 101 hp->h_name = strdup(nvlist_get_string(nvl, "name")); 104 hp->h_addrtype = (int)nvlist_get_number(nvl, "addrtype"); 105 hp->h_length = (int)nvlist_get_number(nvl, "length"); 107 nitems = (unsigned int)nvlist_get_number(nvl, "naliases"); 115 strdup(nvlist_get_string(nvl, nvlname)); 121 nitems = (unsigned int)nvlist_get_number(nvl, "naddrs"); 131 bcopy(nvlist_get_binary(nvl, nvlname, NULL), 147 nvlist_t *nvl; local 150 nvl 200 nvlist_t *nvl; local 227 nvlist_t *nvl; local 249 addrinfo_unpack(const nvlist_t *nvl) argument 290 nvlist_t *nvl; local 352 nvlist_t *nvl; local 443 pack_family(nvlist_t *nvl, int *family, size_t size) argument 464 nvlist_t *nvl; local 496 nvlist_t *nvl; local 746 hostent_pack(const struct hostent *hp, nvlist_t *nvl, bool addtocache) argument 942 nvlist_t *nvl; local [all...] |
/freebsd-current/stand/libsa/zfs/ |
H A D | nvlist.c | 347 nvlist_destroy(nvlist_t *nvl) argument 349 if (nvl != NULL) { 351 if (nvl->nv_asize > 0) 352 free(nvl->nv_data); 354 free(nvl); 377 nvlist_t *nvl; local 380 nvl = calloc(1, sizeof(*nvl)); 381 if (nvl == NULL) 382 return (nvl); 402 nvlist_xdr_nvp(xdr_t *xdr, nvlist_t *nvl) argument 536 nvlist_xdr_nvlist(xdr_t *xdr, nvlist_t *nvl) argument 611 nvlist_next_nvpair(nvlist_t *nvl, nvp_header_t *nvh) argument 713 nvlist_export(nvlist_t *nvl) argument 742 nvlist_t *nvl; local 798 nvlist_remove(nvlist_t *nvl, const char *name, data_type_t type) argument 851 clone_nvlist(const nvlist_t *nvl, const uint8_t *ptr, unsigned size, nvlist_t **nvlist) argument 896 nvlist_find(const nvlist_t *nvl, const char *name, data_type_t type, int *elementsp, void *valuep, int *sizep) argument 1158 nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type, uint32_t nelem, const void *data) argument 1349 nvlist_add_boolean_value(nvlist_t *nvl, const char *name, int value) argument 1356 nvlist_add_byte(nvlist_t *nvl, const char *name, uint8_t value) argument 1362 nvlist_add_int8(nvlist_t *nvl, const char *name, int8_t value) argument 1368 nvlist_add_uint8(nvlist_t *nvl, const char *name, uint8_t value) argument 1374 nvlist_add_int16(nvlist_t *nvl, const char *name, int16_t value) argument 1380 nvlist_add_uint16(nvlist_t *nvl, const char *name, uint16_t value) argument 1386 nvlist_add_int32(nvlist_t *nvl, const char *name, int32_t value) argument 1392 nvlist_add_uint32(nvlist_t *nvl, const char *name, uint32_t value) argument 1398 nvlist_add_int64(nvlist_t *nvl, const char *name, int64_t value) argument 1404 nvlist_add_uint64(nvlist_t *nvl, const char *name, uint64_t value) argument 1410 nvlist_add_string(nvlist_t *nvl, const char *name, const char *value) argument 1416 nvlist_add_boolean_array(nvlist_t *nvl, const char *name, int *a, uint32_t n) argument 1422 nvlist_add_byte_array(nvlist_t *nvl, const char *name, uint8_t *a, uint32_t n) argument 1428 nvlist_add_int8_array(nvlist_t *nvl, const char *name, int8_t *a, uint32_t n) argument 1434 nvlist_add_uint8_array(nvlist_t *nvl, const char *name, uint8_t *a, uint32_t n) argument 1440 nvlist_add_int16_array(nvlist_t *nvl, const char *name, int16_t *a, uint32_t n) argument 1446 nvlist_add_uint16_array(nvlist_t *nvl, const char *name, uint16_t *a, uint32_t n) argument 1453 nvlist_add_int32_array(nvlist_t *nvl, const char *name, int32_t *a, uint32_t n) argument 1459 nvlist_add_uint32_array(nvlist_t *nvl, const char *name, uint32_t *a, uint32_t n) argument 1466 nvlist_add_int64_array(nvlist_t *nvl, const char *name, int64_t *a, uint32_t n) argument 1472 nvlist_add_uint64_array(nvlist_t *nvl, const char *name, uint64_t *a, uint32_t n) argument 1479 nvlist_add_string_array(nvlist_t *nvl, const char *name, char * const *a, uint32_t n) argument 1486 nvlist_add_nvlist(nvlist_t *nvl, const char *name, nvlist_t *val) argument 1492 nvlist_add_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **a, uint32_t n) argument 1686 nvlist_print(const nvlist_t *nvl, unsigned int indent) argument [all...] |
/freebsd-current/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_disk_event.c | 61 zed_udev_event(const char *class, const char *subclass, nvlist_t *nvl) argument 69 if (nvlist_lookup_string(nvl, DEV_NAME, &strval) == 0) 71 if (nvlist_lookup_string(nvl, DEV_PATH, &strval) == 0) 73 if (nvlist_lookup_string(nvl, DEV_IDENTIFIER, &strval) == 0) 75 if (nvlist_lookup_boolean(nvl, DEV_IS_PART) == B_TRUE) 77 if (nvlist_lookup_string(nvl, DEV_PHYS_PATH, &strval) == 0) 79 if (nvlist_lookup_uint64(nvl, DEV_SIZE, &numval) == 0) 81 if (nvlist_lookup_uint64(nvl, DEV_PARENT_SIZE, &numval) == 0) 83 if (nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, &numval) == 0) 85 if (nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUI 108 nvlist_t *nvl; local 191 nvlist_t *nvl; local [all...] |
/freebsd-current/usr.sbin/rtsold/ |
H A D | cap_llflags.c | 120 nvlist_t *nvl; local 123 nvl = nvlist_create(0); 124 nvlist_add_string(nvl, "cmd", "get"); 125 nvlist_add_string(nvl, "ifname", ifname); 126 nvl = cap_xfer_nvlist(cap, nvl); 127 if (nvl == NULL) 129 error = (int)dnvlist_get_number(nvl, "error", 0); 131 *flagsp = (int)nvlist_get_number(nvl, "flags"); 132 nvlist_destroy(nvl); [all...] |
H A D | cap_sendmsg.c | 197 nvlist_t *nvl; local 200 nvl = nvlist_create(0); 201 nvlist_add_string(nvl, "cmd", "probe_defrouters"); 202 nvlist_add_number(nvl, "ifindex", ifinfo->sdl->sdl_index); 203 nvlist_add_number(nvl, "linkid", ifinfo->linkid); 205 nvl = cap_xfer_nvlist(cap, nvl); 206 if (nvl == NULL) 208 error = (int)dnvlist_get_number(nvl, "error", 0); 209 nvlist_destroy(nvl); 224 nvlist_t *nvl = nvlist_create(0); local [all...] |
/freebsd-current/lib/libpfctl/ |
H A D | libpfctl.c | 141 pfctl_do_ioctl(int dev, uint cmd, size_t size, nvlist_t **nvl) argument 148 data = nvlist_pack(*nvl, &nvlen); 171 nvlist_destroy(*nvl); 172 *nvl = NULL; 175 *nvl = nvlist_unpack(nv.data, nv.len, 0); 176 if (*nvl == NULL) { 192 pf_nvuint_8_array(const nvlist_t *nvl, const char *name, size_t maxelems, argument 198 tmp = nvlist_get_number_array(nvl, name, &elems); 209 pf_nvuint_16_array(const nvlist_t *nvl, const char *name, size_t maxelems, argument 215 tmp = nvlist_get_number_array(nvl, nam 226 pf_nvuint_32_array(const nvlist_t *nvl, const char *name, size_t maxelems, uint32_t *numbers, size_t *nelems) argument 242 pf_nvuint_64_array(const nvlist_t *nvl, const char *name, size_t maxelems, uint64_t *numbers, size_t *nelems) argument 265 _pfctl_get_status_counters(const nvlist_t *nvl, struct pfctl_status_counters *counters) argument 446 nvlist_t *nvl; local 570 nvlist_t *nvl = nvlist_create(0); local 579 pf_nvaddr_to_addr(const nvlist_t *nvl, struct pf_addr *addr) argument 593 nvlist_t *nvl = nvlist_create(0); local 609 pf_nvaddr_wrap_to_addr_wrap(const nvlist_t *nvl, struct pf_addr_wrap *addr) argument 635 nvlist_t *nvl = nvlist_create(0); local 649 pf_nvrule_addr_to_rule_addr(const nvlist_t *nvl, struct pf_rule_addr *addr) argument 659 pf_nvmape_to_mape(const nvlist_t *nvl, struct pf_mape_portset *mape) argument 667 pf_nvpool_to_pool(const nvlist_t *nvl, struct pfctl_pool *pool) argument 687 pf_nvrule_uid_to_rule_uid(const nvlist_t *nvl, struct pf_rule_uid *uid) argument 694 pf_nvdivert_to_divert(const nvlist_t *nvl, struct pfctl_rule *rule) argument 701 pf_nvrule_to_rule(const nvlist_t *nvl, struct pfctl_rule *rule) argument 812 pfctl_nveth_addr_to_eth_addr(const nvlist_t *nvl, struct pfctl_eth_addr *addr) argument 835 nvlist_t *nvl; local 849 pfctl_nveth_rule_to_eth_rule(const nvlist_t *nvl, struct pfctl_eth_rule *rule) argument 911 nvlist_t *nvl; local 933 nvlist_t *nvl; local 959 nvlist_t *nvl; local 983 nvlist_t *nvl; local 1012 nvlist_t *nvl, *addr; local 1701 nvlist_t *nvl; local 1734 nvlist_t *nvl; local 2235 nvlist_t *nvl; local 2272 nvlist_t *nvl; local [all...] |
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_agents.c | 77 zfs_agent_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *arg) argument 88 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_CHILDREN, 100 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_SPARES, 109 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_L2CACHE, 122 (nvlist_lookup_string(nvl, ZPOOL_CONFIG_DEVID, &path) == 0) && 124 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, 126 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_EXPANSION_TIME, 137 nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, &vdev_guid) == 0 && 139 (void) nvlist_lookup_string(nvl, ZPOOL_CONFIG_DEVID, 141 (void) nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_EXPANSION_TIM 153 nvlist_t *config, *nvl; local 177 zfs_agent_post_event(const char *class, const char *subclass, nvlist_t *nvl) argument 303 zfs_agent_dispatch(const char *class, const char *subclass, nvlist_t *nvl) argument [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | ereports.c | 63 print_ereport_line(nvlist_t *nvl) argument 72 if (nvlist_lookup_string(nvl, FM_CLASS, &class) != 0 || 86 if (nvlist_lookup_nvpair(nvl, criteria_name[i], &nvp) != 0) { 133 nvlist_t *nvl; local 137 ret = zpool_events_next(zhdl, &nvl, &dropped, ZEVENT_NONBLOCK, 139 if (ret || nvl == NULL) 143 print_ereport_line(nvl); 145 nvlist_free(nvl);
|
/freebsd-current/sys/contrib/openzfs/module/nvpair/ |
H A D | nvpair.c | 138 static int nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type, 189 nvlist_lookup_nv_alloc(nvlist_t *nvl) argument 193 if (nvl == NULL || 194 (priv = (nvpriv_t *)(uintptr_t)nvl->nvl_priv) == NULL) 328 nvt_lookup_name_type(const nvlist_t *nvl, const char *name, data_type_t type) argument 330 const nvpriv_t *priv = (const nvpriv_t *)(uintptr_t)nvl->nvl_priv; 360 nvt_lookup_name(const nvlist_t *nvl, const char *name) argument 362 return (nvt_lookup_name_type(nvl, name, DATA_TYPE_DONTCARE)); 466 nvt_remove_nvpair(nvlist_t *nvl, const nvpair_t *nvp) argument 468 nvpriv_t *priv = (nvpriv_t *)(uintptr_t)nvl 504 nvt_add_nvpair(nvlist_t *nvl, nvpair_t *nvp) argument 552 nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) argument 562 nvlist_nvflag(nvlist_t *nvl) argument 620 nvp_buf_alloc(nvlist_t *nvl, size_t len) argument 645 nvp_buf_free(nvlist_t *nvl, nvpair_t *nvp) argument 657 nvp_buf_link(nvlist_t *nvl, nvpair_t *nvp) argument 676 nvp_buf_unlink(nvlist_t *nvl, nvpair_t *nvp) argument 870 nvlist_free(nvlist_t *nvl) argument 901 nvlist_contains_nvp(const nvlist_t *nvl, const nvpair_t *nvp) argument 920 nvlist_dup(const nvlist_t *nvl, nvlist_t **nvlp, int kmflag) argument 926 nvlist_xdup(const nvlist_t *nvl, nvlist_t **nvlp, nv_alloc_t *nva) argument 949 nvlist_remove_all(nvlist_t *nvl, const char *name) argument 969 nvlist_remove(nvlist_t *nvl, const char *name, data_type_t type) argument 982 nvlist_remove_nvpair(nvlist_t *nvl, nvpair_t *nvp) argument 1122 nvlist_copy_embedded(nvlist_t *nvl, nvlist_t *onvl, nvlist_t *emb_nvl) argument 1145 nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type, uint_t nelem, const void *data) argument 1280 nvlist_add_boolean(nvlist_t *nvl, const char *name) argument 1286 nvlist_add_boolean_value(nvlist_t *nvl, const char *name, boolean_t val) argument 1292 nvlist_add_byte(nvlist_t *nvl, const char *name, uchar_t val) argument 1298 nvlist_add_int8(nvlist_t *nvl, const char *name, int8_t val) argument 1304 nvlist_add_uint8(nvlist_t *nvl, const char *name, uint8_t val) argument 1310 nvlist_add_int16(nvlist_t *nvl, const char *name, int16_t val) argument 1316 nvlist_add_uint16(nvlist_t *nvl, const char *name, uint16_t val) argument 1322 nvlist_add_int32(nvlist_t *nvl, const char *name, int32_t val) argument 1328 nvlist_add_uint32(nvlist_t *nvl, const char *name, uint32_t val) argument 1334 nvlist_add_int64(nvlist_t *nvl, const char *name, int64_t val) argument 1340 nvlist_add_uint64(nvlist_t *nvl, const char *name, uint64_t val) argument 1347 nvlist_add_double(nvlist_t *nvl, const char *name, double val) argument 1354 nvlist_add_string(nvlist_t *nvl, const char *name, const char *val) argument 1360 nvlist_add_boolean_array(nvlist_t *nvl, const char *name, const boolean_t *a, uint_t n) argument 1367 nvlist_add_byte_array(nvlist_t *nvl, const char *name, const uchar_t *a, uint_t n) argument 1374 nvlist_add_int8_array(nvlist_t *nvl, const char *name, const int8_t *a, uint_t n) argument 1381 nvlist_add_uint8_array(nvlist_t *nvl, const char *name, const uint8_t *a, uint_t n) argument 1388 nvlist_add_int16_array(nvlist_t *nvl, const char *name, const int16_t *a, uint_t n) argument 1395 nvlist_add_uint16_array(nvlist_t *nvl, const char *name, const uint16_t *a, uint_t n) argument 1402 nvlist_add_int32_array(nvlist_t *nvl, const char *name, const int32_t *a, uint_t n) argument 1409 nvlist_add_uint32_array(nvlist_t *nvl, const char *name, const uint32_t *a, uint_t n) argument 1416 nvlist_add_int64_array(nvlist_t *nvl, const char *name, const int64_t *a, uint_t n) argument 1423 nvlist_add_uint64_array(nvlist_t *nvl, const char *name, const uint64_t *a, uint_t n) argument 1430 nvlist_add_string_array(nvlist_t *nvl, const char *name, const char *const *a, uint_t n) argument 1437 nvlist_add_hrtime(nvlist_t *nvl, const char *name, hrtime_t val) argument 1443 nvlist_add_nvlist(nvlist_t *nvl, const char *name, const nvlist_t *val) argument 1449 nvlist_add_nvlist_array(nvlist_t *nvl, const char *name, const nvlist_t * const *a, uint_t n) argument 1457 nvlist_next_nvpair(nvlist_t *nvl, const nvpair_t *nvp) argument 1486 nvlist_prev_nvpair(nvlist_t *nvl, const nvpair_t *nvp) argument 1510 nvlist_empty(const nvlist_t *nvl) argument 1642 nvlist_lookup_common(const nvlist_t *nvl, const char *name, data_type_t type, uint_t *nelem, void *data) argument 1659 nvlist_lookup_boolean(const nvlist_t *nvl, const char *name) argument 1665 nvlist_lookup_boolean_value(const nvlist_t *nvl, const char *name, boolean_t *val) argument 1673 nvlist_lookup_byte(const nvlist_t *nvl, const char *name, uchar_t *val) argument 1679 nvlist_lookup_int8(const nvlist_t *nvl, const char *name, int8_t *val) argument 1685 nvlist_lookup_uint8(const nvlist_t *nvl, const char *name, uint8_t *val) argument 1691 nvlist_lookup_int16(const nvlist_t *nvl, const char *name, int16_t *val) argument 1697 nvlist_lookup_uint16(const nvlist_t *nvl, const char *name, uint16_t *val) argument 1703 nvlist_lookup_int32(const nvlist_t *nvl, const char *name, int32_t *val) argument 1709 nvlist_lookup_uint32(const nvlist_t *nvl, const char *name, uint32_t *val) argument 1715 nvlist_lookup_int64(const nvlist_t *nvl, const char *name, int64_t *val) argument 1721 nvlist_lookup_uint64(const nvlist_t *nvl, const char *name, uint64_t *val) argument 1728 nvlist_lookup_double(const nvlist_t *nvl, const char *name, double *val) argument 1735 nvlist_lookup_string(const nvlist_t *nvl, const char *name, const char **val) argument 1741 nvlist_lookup_nvlist(nvlist_t *nvl, const char *name, nvlist_t **val) argument 1747 nvlist_lookup_boolean_array(nvlist_t *nvl, const char *name, boolean_t **a, uint_t *n) argument 1755 nvlist_lookup_byte_array(nvlist_t *nvl, const char *name, uchar_t **a, uint_t *n) argument 1762 nvlist_lookup_int8_array(nvlist_t *nvl, const char *name, int8_t **a, uint_t *n) argument 1768 nvlist_lookup_uint8_array(nvlist_t *nvl, const char *name, uint8_t **a, uint_t *n) argument 1775 nvlist_lookup_int16_array(nvlist_t *nvl, const char *name, int16_t **a, uint_t *n) argument 1782 nvlist_lookup_uint16_array(nvlist_t *nvl, const char *name, uint16_t **a, uint_t *n) argument 1789 nvlist_lookup_int32_array(nvlist_t *nvl, const char *name, int32_t **a, uint_t *n) argument 1796 nvlist_lookup_uint32_array(nvlist_t *nvl, const char *name, uint32_t **a, uint_t *n) argument 1803 nvlist_lookup_int64_array(nvlist_t *nvl, const char *name, int64_t **a, uint_t *n) argument 1810 nvlist_lookup_uint64_array(nvlist_t *nvl, const char *name, uint64_t **a, uint_t *n) argument 1817 nvlist_lookup_string_array(nvlist_t *nvl, const char *name, char ***a, uint_t *n) argument 1824 nvlist_lookup_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t ***a, uint_t *n) argument 1831 nvlist_lookup_hrtime(nvlist_t *nvl, const char *name, hrtime_t *val) argument 1837 nvlist_lookup_pairs(nvlist_t *nvl, int flag, ...) argument 1920 nvlist_lookup_nvpair_ei_sep(nvlist_t *nvl, const char *name, const char sep, nvpair_t **ret, int *ip, const char **ep) argument 2090 nvlist_lookup_nvpair(nvlist_t *nvl, const char *name, nvpair_t **ret) argument 2100 nvlist_lookup_nvpair_embedded_index(nvlist_t *nvl, const char *name, nvpair_t **ret, int *ip, const char **ep) argument 2107 nvlist_exists(const nvlist_t *nvl, const char *name) argument 2289 nvlist_add_nvpair(nvlist_t *nvl, nvpair_t *nvp) argument 2305 nvlist_merge(nvlist_t *dst, nvlist_t *nvl, int flag) argument 2370 nvs_encode_pairs(nvstream_t *nvs, nvlist_t *nvl) argument 2386 nvs_decode_pairs(nvstream_t *nvs, nvlist_t *nvl) argument 2430 nvs_getsize_pairs(nvstream_t *nvs, nvlist_t *nvl, size_t *buflen) argument 2453 nvs_operation(nvstream_t *nvs, nvlist_t *nvl, size_t *buflen) argument 2589 nvlist_common(nvlist_t *nvl, char *buf, size_t *buflen, int encoding, int nvs_op) argument 2676 nvlist_size(nvlist_t *nvl, size_t *size, int encoding) argument 2685 nvlist_pack(nvlist_t *nvl, char **bufp, size_t *buflen, int encoding, int kmflag) argument 2693 nvlist_xpack(nvlist_t *nvl, char **bufp, size_t *buflen, int encoding, nv_alloc_t *nva) argument 2751 nvlist_t *nvl; local 2849 nvs_native_nvlist(nvstream_t *nvs, nvlist_t *nvl, size_t *size) argument 3128 nvs_native(nvstream_t *nvs, nvlist_t *nvl, char *buf, size_t *buflen) argument 3204 nvs_xdr_nvlist(nvstream_t *nvs, nvlist_t *nvl, size_t *size) argument 3667 nvs_xdr(nvstream_t *nvs, nvlist_t *nvl, char *buf, size_t *buflen) argument [all...] |
/freebsd-current/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.c | 62 const nvlist_t *nvl; local 73 nvl = dnvlist_get_nvlist(fa->fa_cache, name, NULL); 74 if (nvl == NULL) 77 if (!nvlist_exists_binary(nvl, "stat")) { 81 buf = nvlist_get_binary(nvl, "stat", &size); 92 const nvlist_t *nvl; local 105 nvl = dnvlist_get_nvlist(fa->fa_cache, name, NULL); 106 if (nvl == NULL) 130 fileargs_set_cache(fileargs_t *fa, nvlist_t *nvl) argument 134 fa->fa_cache = nvl; 140 nvlist_t *nvl; local 317 nvlist_t *nvl; local 367 nvlist_t *nvl; local 414 nvlist_t *nvl; local [all...] |
/freebsd-current/sys/contrib/libnv/ |
H A D | nv_impl.h | 92 int *nvlist_descriptors(const nvlist_t *nvl, size_t *nitemsp); 93 size_t nvlist_ndescriptors(const nvlist_t *nvl); 94 void nvlist_set_flags(nvlist_t *nvl, int flags); 96 nvpair_t *nvlist_first_nvpair(const nvlist_t *nvl); 97 nvpair_t *nvlist_next_nvpair(const nvlist_t *nvl, const nvpair_t *nvp); 98 nvpair_t *nvlist_prev_nvpair(const nvlist_t *nvl, const nvpair_t *nvp); 100 void nvlist_add_nvpair(nvlist_t *nvl, const nvpair_t *nvp); 102 bool nvlist_move_nvpair(nvlist_t *nvl, nvpair_t *nvp); 104 void nvlist_set_parent(nvlist_t *nvl, nvpair_t *parent); 105 void nvlist_set_array_next(nvlist_t *nvl, nvpair_ [all...] |
H A D | cnvlist.c | 130 nvlist_t *nvl; \ 136 nvl = nvpair_nvlist(cookie); \ 138 nvlist_remove_nvpair(nvl, cookie); \ 158 nvlist_t *nvl; \ 164 nvl = nvpair_nvlist(cookie); \ 166 nvlist_remove_nvpair(nvl, cookie); \ 185 nvlist_t *nvl; local 189 nvl = nvpair_nvlist(cookie); 191 nvlist_remove_nvpair(nvl, cookie);
|