Home
last modified time | relevance | path

Searched refs:oidname (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.h50 #define SETUP_OID_RO(oidname, ...) \ argument
51 static oid oidname##_oid [] = { __VA_ARGS__ }; \
56 get_##oidname, \
57 oidname##_oid, \
59 ( oidname##_oid ), \
63 #define SETUP_OID_RW(oidname, ...) \ argument
64 static oid oidname##_oid [] = { __VA_ARGS__ }; \
69 do_##oidname, \
70 oidname##_oid, \
72 ( oidname##_oid ), \
[all …]
/freebsd/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c319 struct oidname { struct
329 oidname_init(struct oidname *on) in oidname_init() argument
337 oid_get_name(const struct oid *o, struct oidname *on) in oid_get_name()
376 oid_get_metric(const struct oidname *on, const struct oidformat *of, in oid_get_metric()
437 oidname_has_labels(const struct oidname *on) in oidname_has_labels()
490 oid_print(const struct oid *o, struct oidname *on, bool print_description, in oid_print()
572 struct oidname on; in main()
/freebsd/crypto/heimdal/lib/hx509/
H A Dname.c217 char *oidname; in _hx509_Name_to_string() local
220 oidname = oidtostring(&n->u.rdnSequence.val[i].val[j].type); in _hx509_Name_to_string()
285 append_string(str, &total_len, oidname, strlen(oidname), 0); in _hx509_Name_to_string()
286 free(oidname); in _hx509_Name_to_string()
/freebsd/sys/dev/acpica/
H A Dacpi_thermal.c204 char oidname[16]; in acpi_tz_attach() local
260 snprintf(oidname, sizeof(oidname), "tz%d", device_get_unit(dev)); in acpi_tz_attach()
262 SYSCTL_CHILDREN(acpi_tz_sysctl_tree), OID_AUTO, oidname, in acpi_tz_attach()
/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c57 get_int_via_sysctlbyname(const char *oidname) in get_int_via_sysctlbyname() argument
64 ATF_REQUIRE_EQ_MSG(sysctlbyname(oidname, &int_value, &oldlen, NULL, 0), in get_int_via_sysctlbyname()
65 0, "sysctlbyname(%s, ...) failed: %s", oidname, strerror(errno)); in get_int_via_sysctlbyname()