Home
last modified time | relevance | path

Searched refs:qoid (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/systat/
H A Diolat.c87 int qoid[CTL_MAXNAME + 2]; in oid2name() local
92 qoid[0] = CTL_SYSCTL; in oid2name()
93 qoid[1] = CTL_SYSCTL_NAME; in oid2name()
94 memcpy(qoid + 2, oid, nlen * sizeof(int)); in oid2name()
96 i = sysctl(qoid, nlen + 2, name, &j, 0, 0); in oid2name()
105 int qoid[CTL_MAXNAME+2]; in oidfmt() local
110 qoid[0] = CTL_SYSCTL; in oidfmt()
111 qoid[1] = CTL_SYSCTL_OIDFMT; in oidfmt()
112 memcpy(qoid + 2, oid, len * sizeof(int)); in oidfmt()
115 i = sysctl(qoid, len + 2, buf, &j, 0, 0); in oidfmt()
[all …]
/freebsd/sbin/sysctl/
H A Dsysctl.c982 int qoid[CTL_MAXNAME+2]; in oidfmt() local
987 qoid[0] = CTL_SYSCTL; in oidfmt()
988 qoid[1] = CTL_SYSCTL_OIDFMT; in oidfmt()
989 memcpy(qoid + 2, oid, len * sizeof(int)); in oidfmt()
992 i = sysctl(qoid, len + 2, buf, &j, 0, 0); in oidfmt()
1011 show_info(char *name, const char *sep, int ctltype, char *fmt, int *qoid, int nlen) in show_info() argument
1043 qoid[1] = CTL_SYSCTL_OIDDESCR; in show_info()
1046 i = sysctl(qoid, nlen + 2, buf, &j, 0, 0); in show_info()
1069 int qoid[CTL_MAXNAME+2]; in show_var() local
1085 qoid[0] = CTL_SYSCTL; in show_var()
[all …]
/freebsd/sys/kern/
H A Dkern_sysctl.c2876 int qoid[CTL_MAXNAME + 2]; in db_show_oid_name() local
2879 qoid[0] = CTL_SYSCTL; in db_show_oid_name()
2880 qoid[1] = CTL_SYSCTL_NAME; in db_show_oid_name()
2881 memcpy(qoid + 2, oid, nlen * sizeof(int)); in db_show_oid_name()
2883 error = sysctl_find_oid(qoid, nlen + 2, &oidp, NULL, NULL); in db_show_oid_name()
2887 error = db_sysctl(oidp, qoid, nlen + 2, NULL, NULL, NULL, 0); in db_show_oid_name()
2967 int qoid[CTL_MAXNAME + 2], next[CTL_MAXNAME]; in db_show_sysctl_all() local
2970 qoid[0] = CTL_SYSCTL; in db_show_sysctl_all()
2971 qoid[1] = CTL_SYSCTL_NEXT; in db_show_sysctl_all()
2974 memcpy(&qoid[2], oid, nlen * sizeof(int)); in db_show_sysctl_all()
[all …]
/freebsd/usr.bin/truss/
H A Dsyscalls.c1547 int qoid[CTL_MAXNAME + 2]; in print_sysctl() local
1550 qoid[0] = CTL_SYSCTL; in print_sysctl()
1551 qoid[1] = CTL_SYSCTL_NAME; in print_sysctl()
1552 memcpy(qoid + 2, oid, len * sizeof(int)); in print_sysctl()
1554 if (sysctl(qoid, len + 2, name, &i, 0, 0) == -1) in print_sysctl()