| /src/lib/libbe/ |
| H A D | be_info.c | 161 nvlist_add_string(props, "dataset", dataset); in prop_list_builder_cb() 168 nvlist_add_string(props, "name", name); in prop_list_builder_cb() 173 nvlist_add_string(props, "mounted", mountpoint); in prop_list_builder_cb() 177 nvlist_add_string(props, "mountpoint", buf); in prop_list_builder_cb() 181 nvlist_add_string(props, "origin", buf); in prop_list_builder_cb() 185 nvlist_add_string(props, "creation", buf); in prop_list_builder_cb() 192 nvlist_add_string(props, "used", buf); in prop_list_builder_cb() 196 nvlist_add_string(props, "usedds", buf); in prop_list_builder_cb() 200 nvlist_add_string(props, "usedsnap", buf); in prop_list_builder_cb() 204 nvlist_add_string(props, "usedrefreserv", buf); in prop_list_builder_cb() [all …]
|
| /src/lib/libcasper/services/cap_pwd/ |
| H A D | cap_pwd.c | 144 nvlist_add_string(nvl, "cmd", cmd); in cap_getpwcommon_r() 149 nvlist_add_string(nvl, "name", login); in cap_getpwcommon_r() 278 nvlist_add_string(nvl, "cmd", "setpassent"); in cap_setpassent() 299 nvlist_add_string(nvl, "cmd", cmd); in cap_set_end_pwent() 387 nvlist_add_string(users, nvlname, names[i]); in cap_pwd_limit_users() 555 nvlist_add_string(nvl, "pw_name", pwd->pw_name); in pwd_pack() 557 nvlist_add_string(nvl, "pw_name", ""); in pwd_pack() 579 nvlist_add_string(nvl, "pw_passwd", pwd->pw_passwd); in pwd_pack() 581 nvlist_add_string(nvl, "pw_passwd", ""); in pwd_pack() 585 nvlist_add_string(nvl, "pw_class", pwd->pw_class); in pwd_pack() [all …]
|
| /src/usr.sbin/syslogd/ |
| H A D | syslogd_cap_config.c | 56 nvlist_add_string(nvl_prop_filter, "pflt_strval", pfilter->pflt_strval); in prop_filter_to_nvlist() 111 nvlist_add_string(nvl_filed, "f_host", filed->f_host); in filed_to_nvlist() 112 nvlist_add_string(nvl_filed, "f_program", filed->f_program); in filed_to_nvlist() 138 nvlist_add_string(nvl_filed, "f_fname", filed->f_fname); in filed_to_nvlist() 140 nvlist_add_string(nvl_filed, "f_hname", filed->f_hname); in filed_to_nvlist() 146 nvlist_add_string(nvl_filed, "f_pname", filed->f_pname); in filed_to_nvlist() 253 nvlist_add_string(nvl, "cmd", "readconfigfile"); in cap_readconfigfile() 254 nvlist_add_string(nvl, "path", path); in cap_readconfigfile() 256 nvlist_add_string(nvl, "LocalHostName", LocalHostName); in cap_readconfigfile()
|
| H A D | syslogd_cap_log.c | 46 nvlist_add_string(nvl, "cmd", "p_open"); in cap_p_open() 48 nvlist_add_string(nvl, "prog", prog); in cap_p_open() 102 nvlist_add_string(nvl, "cmd", "ttymsg"); in cap_ttymsg() 105 nvlist_add_string(nvl, "line", line); in cap_ttymsg() 150 nvlist_add_string(nvlout, "errstr", line); in casper_ttymsg() 163 nvlist_add_string(nvl, "cmd", "wallmsg"); in cap_wallmsg()
|
| /src/lib/libcasper/services/cap_syslog/ |
| H A D | cap_syslog.c | 67 nvlist_add_string(nvl, "cmd", "vsyslog"); in cap_vsyslog() 69 nvlist_add_string(nvl, "message", message); in cap_vsyslog() 83 nvlist_add_string(nvl, "cmd", "openlog"); in cap_openlog() 85 nvlist_add_string(nvl, "ident", ident); in cap_openlog() 105 nvlist_add_string(nvl, "cmd", "closelog"); in cap_closelog() 120 nvlist_add_string(nvl, "cmd", "setlogmask"); in cap_setlogmask()
|
| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | fm.c | 698 ret = nvlist_add_string(payload, name, in i_fm_payload_set() 776 if (nvlist_add_string(ereport, FM_CLASS, ereport_class) != 0) { in fm_ereport_set() 824 nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC) != 0) { in fm_fmri_hc_set_common() 861 if (nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name) != 0 || in fm_fmri_hc_set() 862 nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr) != 0) { in fm_fmri_hc_set() 923 if (nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, hcname) != 0 || in fm_fmri_hc_create() 924 nvlist_add_string(pairs[i], FM_FMRI_HC_ID, hcid) != 0) { in fm_fmri_hc_create() 948 if (nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name) != 0 || in fm_fmri_hc_create() 949 nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr) != 0) { in fm_fmri_hc_create() 1010 err |= nvlist_add_string(fmri_dev, FM_FMRI_SCHEME, FM_FMRI_SCHEME_DEV); in fm_fmri_dev_set() [all …]
|
| /src/lib/libcasper/services/cap_grp/ |
| H A D | cap_grp.c | 185 nvlist_add_string(nvl, "cmd", cmd); in cap_getgrcommon_r() 190 nvlist_add_string(nvl, "name", name); in cap_getgrcommon_r() 319 nvlist_add_string(nvl, "cmd", "setgroupent"); in cap_setgroupent() 340 nvlist_add_string(nvl, "cmd", "setgrent"); in cap_setgrent() 360 nvlist_add_string(nvl, "cmd", "endgrent"); in cap_endgrent() 434 nvlist_add_string(groups, nvlname, names[i]); in cap_grp_limit_groups() 600 nvlist_add_string(nvl, "gr_name", grp->gr_name); in grp_pack() 602 nvlist_add_string(nvl, "gr_name", ""); in grp_pack() 604 nvlist_add_string(nvl, "gr_passwd", grp->gr_passwd); in grp_pack() 606 nvlist_add_string(nvl, "gr_passwd", ""); in grp_pack() [all …]
|
| /src/lib/libcasper/services/cap_dns/ |
| H A D | cap_dns.c | 136 nvlist_add_string(nvl, "cmd", "gethostbyname"); in cap_gethostbyname2() 138 nvlist_add_string(nvl, "name", name); in cap_gethostbyname2() 163 nvlist_add_string(nvl, "cmd", "gethostbyaddr"); in cap_gethostbyaddr() 227 nvlist_add_string(nvl, "cmd", "getaddrinfo"); in cap_getaddrinfo() 229 nvlist_add_string(nvl, "hostname", hostname); in cap_getaddrinfo() 231 nvlist_add_string(nvl, "servname", servname); in cap_getaddrinfo() 287 nvlist_add_string(nvl, "cmd", "getnameinfo"); in cap_getnameinfo() 345 nvlist_add_string(limits, nvlname, types[i]); in cap_dns_type_limit() 439 nvlist_add_string(nvl, "name", hp->h_name); in hostent_pack() 449 nvlist_add_string(nvl, nvlname, hp->h_aliases[ii]); in hostent_pack() [all …]
|
| /src/lib/libcasper/services/cap_netdb/ |
| H A D | cap_netdb.c | 85 nvlist_add_string(nvl, "cmd", "getprotobyname"); in cap_getprotobyname() 86 nvlist_add_string(nvl, "name", name); in cap_getprotobyname() 102 nvlist_add_string(nvl, "name", pp->p_name); in protoent_pack()
|
| /src/lib/libcasper/libcasper/ |
| H A D | libcasper.c | 180 nvlist_add_string(nvl, "cmd", "clone"); in cap_clone() 234 nvlist_add_string(nvlmsg, "cmd", "limit_set"); in cap_limit_set() 258 nvlist_add_string(nvlmsg, "cmd", "limit_get"); in cap_limit_get() 319 nvlist_add_string(nvl, "cmd", "open"); in cap_service_open() 320 nvlist_add_string(nvl, "service", name); in cap_service_open()
|
| /src/sys/netpfil/pf/ |
| H A D | pf_nv.c | 336 nvlist_add_string(nvl, "ifname", addr->v.ifname); in pf_addr_wrap_to_nvaddr_wrap() 344 nvlist_add_string(nvl, "tblname", addr->v.tblname); in pf_addr_wrap_to_nvaddr_wrap() 716 nvlist_add_string(nvl, "label", rule->label[0]); in pf_krule_to_nvrule() 718 nvlist_add_string(nvl, "ifname", rule->ifname); in pf_krule_to_nvrule() 719 nvlist_add_string(nvl, "qname", rule->qname); in pf_krule_to_nvrule() 720 nvlist_add_string(nvl, "pqname", rule->pqname); in pf_krule_to_nvrule() 724 nvlist_add_string(nvl, "tagname", rule->tagname); in pf_krule_to_nvrule() 725 nvlist_add_string(nvl, "match_tagname", rule->match_tagname); in pf_krule_to_nvrule() 726 nvlist_add_string(nvl, "overload_tblname", rule->overload_tblname); in pf_krule_to_nvrule() 944 nvlist_add_string(nvl, "ifname", s->kif->pfik_name); in pf_state_to_nvstate() [all …]
|
| /src/lib/libcasper/services/cap_sysctl/ |
| H A D | cap_sysctl.c | 95 nvlist_add_string(lnv, "name", name); in cap_sysctl_limit_name() 200 nvlist_add_string(req, "cmd", "sysctl"); in cap_sysctl() 212 nvlist_add_string(req, "cmd", "sysctlbyname"); in cap_sysctlbyname() 213 nvlist_add_string(req, "name", name); in cap_sysctlbyname() 227 nvlist_add_string(req, "cmd", "sysctlnametomib"); in cap_sysctlnametomib() 228 nvlist_add_string(req, "name", name); in cap_sysctlnametomib()
|
| /src/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_util.c | 1446 if (nvlist_add_string(prop, "value", value) != 0) { in zprop_nvlist_one_property() 1454 if (nvlist_add_string(src_nv, "type", "NONE") != 0 || in zprop_nvlist_one_property() 1455 (nvlist_add_string(src_nv, "data", "-") != 0)) { in zprop_nvlist_one_property() 1461 if (nvlist_add_string(src_nv, "type", "DEFAULT") != 0 || in zprop_nvlist_one_property() 1462 (nvlist_add_string(src_nv, "data", "-") != 0)) { in zprop_nvlist_one_property() 1468 if (nvlist_add_string(src_nv, "type", "LOCAL") != 0 || in zprop_nvlist_one_property() 1469 (nvlist_add_string(src_nv, "data", "-") != 0)) { in zprop_nvlist_one_property() 1475 if (nvlist_add_string(src_nv, "type", "TEMPORARY") != 0 || in zprop_nvlist_one_property() 1476 (nvlist_add_string(src_nv, "data", "-") != 0)) { in zprop_nvlist_one_property() 1482 if (nvlist_add_string(src_nv, "type", "INHERITED") != 0 || in zprop_nvlist_one_property() [all …]
|
| /src/sys/contrib/openzfs/cmd/zed/ |
| H A D | zed_disk_event.c | 118 (void) nvlist_add_string(nvl, DEV_IDENTIFIER, strval); in dev_event_nvlist() 120 (void) nvlist_add_string(nvl, DEV_PHYS_PATH, strval); in dev_event_nvlist() 122 (void) nvlist_add_string(nvl, DEV_NAME, path); in dev_event_nvlist() 124 (void) nvlist_add_string(nvl, DEV_PATH, value); in dev_event_nvlist()
|
| /src/lib/libcasper/services/cap_net/ |
| H A D | cap_net.c | 151 nvlist_add_string(nvl, "cmd", name); in request_cb() 203 nvlist_add_string(nvl, "cmd", "gethostbyname"); in cap_gethostbyname2() 205 nvlist_add_string(nvl, "name", name); in cap_gethostbyname2() 230 nvlist_add_string(nvl, "cmd", "gethostbyaddr"); in cap_gethostbyaddr() 294 nvlist_add_string(nvl, "cmd", "getaddrinfo"); in cap_getaddrinfo() 296 nvlist_add_string(nvl, "hostname", hostname); in cap_getaddrinfo() 298 nvlist_add_string(nvl, "servname", servname); in cap_getaddrinfo() 358 nvlist_add_string(nvl, "cmd", "getnameinfo"); in cap_getnameinfo() 508 nvlist_add_string(nvl, in cap_net_limit_name2addr() 756 nvlist_add_string(nvl, "name", hp->h_name); in hostent_pack() [all …]
|
| /src/lib/libcasper/services/cap_fileargs/ |
| H A D | cap_fileargs.c | 147 nvlist_add_string(nvl, "cmd", cmd); in fileargs_fetch() 148 nvlist_add_string(nvl, "name", name); in fileargs_fetch() 660 nvlist_add_string(nvlout, "cmd", "cache"); in fileargs_command_lstat() 663 nvlist_add_string(nvlout, "cmd", "lstat"); in fileargs_command_lstat() 712 nvlist_add_string(nvlout, "cmd", "cache"); in fileargs_command_open() 715 nvlist_add_string(nvlout, "cmd", "open"); in fileargs_command_open()
|
| /src/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | zfs_agents.c | 228 (void) nvlist_add_string(payload, FM_CLASS, class); in zfs_agent_post_event() 278 (void) nvlist_add_string(payload, in zfs_agent_post_event() 283 (void) nvlist_add_string(payload, in zfs_agent_post_event() 287 (void) nvlist_add_string(payload, in zfs_agent_post_event()
|
| H A D | zfs_mod.c | 549 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, VDEV_TYPE_DISK) != 0 || in zfs_process_add() 550 nvlist_add_string(newvd, ZPOOL_CONFIG_PATH, path) != 0 || in zfs_process_add() 551 nvlist_add_string(newvd, ZPOOL_CONFIG_DEVID, new_devid) != 0 || in zfs_process_add() 552 (physpath != NULL && nvlist_add_string(newvd, in zfs_process_add() 554 (enc_sysfs_path != NULL && nvlist_add_string(newvd, in zfs_process_add() 557 nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, VDEV_TYPE_ROOT) != 0 || in zfs_process_add() 691 (void) nvlist_add_string(nvl, "new_devid", in zfs_iter_vdev()
|
| /src/lib/libnv/tests/ |
| H A D | nvlist_get_test.c | 100 nvlist_add_string(nvl, "nvlist/string/", ""); in main() 105 nvlist_add_string(nvl, "nvlist/string/x", "x"); in main() 110 nvlist_add_string(nvl, "nvlist/string/abcdefghijklmnopqrstuvwxyz", "abcdefghijklmnopqrstuvwxyz"); in main()
|
| H A D | nvlist_add_test.c | 101 nvlist_add_string(nvl, "nvlist/string/", ""); in main() 106 nvlist_add_string(nvl, "nvlist/string/x", "x"); in main() 111 nvlist_add_string(nvl, "nvlist/string/abcdefghijklmnopqrstuvwxyz", "abcdefghijklmnopqrstuvwxyz"); in main()
|
| H A D | nvlist_append_test.c | 82 nvlist_add_string(nvl1, "key1", "test1"); in main() 87 nvlist_add_string(nvl2, "key2", "test2"); in main()
|
| /src/usr.sbin/rtsold/ |
| H A D | cap_llflags.c | 124 nvlist_add_string(nvl, "cmd", "get"); in cap_llflags_get() 125 nvlist_add_string(nvl, "ifname", ifname); in cap_llflags_get()
|
| H A D | cap_script.c | 95 nvlist_add_string(nvl, "cmd", "script_run"); in cap_script_run() 135 nvlist_add_string(nvl, "cmd", "script_wait"); in cap_script_wait()
|
| /src/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 372 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_PATH, path) == 0); in make_leaf_vdev() 373 verify(nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE, type) == 0); in make_leaf_vdev() 1099 verify(nvlist_add_string(nv, ZPOOL_CONFIG_PATH, udevpath) == 0); in make_disks() 1665 verify(nvlist_add_string(nv, ZPOOL_CONFIG_TYPE, in construct_spec() 1670 verify(nvlist_add_string(nv, in construct_spec() 1675 verify(nvlist_add_string(nv, in construct_spec() 1680 verify(nvlist_add_string(nv, in construct_spec() 1723 verify(nvlist_add_string(nv, in construct_spec() 1730 verify(nvlist_add_string(nv, in construct_spec() 1735 verify(nvlist_add_string(nv, in construct_spec() [all …]
|
| /src/tools/tools/nvmf/nvmfd/ |
| H A D | ctl.c | 55 nvlist_add_string(nvl, "subnqn", subnqn); in init_ctl_port() 101 nvlist_add_string(nvl, "subnqn", subnqn); in shutdown_ctl_port()
|