oidname
char *oidname;
oidname = oidtostring(&n->u.rdnSequence.val[i].val[j].type);
append_string(str, &total_len, oidname, strlen(oidname), 0);
free(oidname);
get_int_via_sysctlbyname(const char *oidname)
ATF_REQUIRE_EQ_MSG(sysctlbyname(oidname, &int_value, &oldlen, NULL, 0),
0, "sysctlbyname(%s, ...) failed: %s", oidname, strerror(errno));
char oidname[16];
snprintf(oidname, sizeof(oidname), "tz%d", device_get_unit(dev));
SYSCTL_CHILDREN(acpi_tz_sysctl_tree), OID_AUTO, oidname,
oidname_init(struct oidname *on)
oid_get_name(const struct oid *o, struct oidname *on)
oid_get_metric(const struct oidname *on, const struct oidformat *of,
oidname_has_labels(const struct oidname *on)
oid_print(const struct oid *o, struct oidname *on, bool print_description,
struct oidname on;