Home
last modified time | relevance | path

Searched refs:ctltype (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/sbin/sysctl/
H A Dsysctl.c965 show_info(char *name, const char *sep, int ctltype, char *fmt, int *qoid, int nlen) in show_info() argument
975 if (ctl_typename[ctltype] != NULL) in show_info()
976 prntype = ctl_typename[ctltype]; in show_info()
1026 int i, hexlen, sign, ctltype; in show_var() local
1066 ctltype = (kind & CTLTYPE); in show_var()
1068 return show_info(name, sep, ctltype, fmt, qoid, nlen); in show_var()
1088 if (ctltype == CTLTYPE_OPAQUE) { in show_var()
1132 if (i != 0 || (len == 0 && ctltype != CTLTYPE_STRING)) { in show_var()
1144 sign = ctl_sign[ctltype]; in show_var()
1145 intlen = ctl_size[ctltype]; in show_var()
[all …]
/freebsd-14.2/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c242 #define GET_VALUE(ctltype, type) \ in oid_get_value() argument
243 case (ctltype): { \ in oid_get_value()
/freebsd-14.2/sys/kern/
H A Dkern_sysctl.c2574 int sign, ctltype, hexlen, xflag, error; in sysctl_old_ddb() local
2593 ctltype = (g_ddb_oid->oid_kind & CTLTYPE); in sysctl_old_ddb()
2594 sign = ctl_sign[ctltype]; in sysctl_old_ddb()
2595 intlen = ctl_size[ctltype]; in sysctl_old_ddb()
2597 switch (ctltype) { in sysctl_old_ddb()
2619 switch (ctltype) { in sysctl_old_ddb()