Searched refs:qoid (Results 1 – 2 of 2) sorted by relevance
| /f-stack/tools/sysctl/ |
| H A D | sysctl.c | 1101 int qoid[CTL_MAXNAME+2]; local 1106 qoid[0] = CTL_SYSCTL; 1107 qoid[1] = CTL_SYSCTL_OIDFMT; 1108 memcpy(qoid + 2, oid, len * sizeof(int)); 1111 i = sysctl(qoid, len + 2, buf, &j, 0, 0); 1137 int qoid[CTL_MAXNAME+2]; local 1154 qoid[0] = CTL_SYSCTL; 1155 memcpy(qoid + 2, oid, nlen * sizeof(int)); 1157 qoid[1] = CTL_SYSCTL_NAME; 1159 i = sysctl(qoid, nlen + 2, name, &j, 0, 0); [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sysctl.c | 2725 int qoid[CTL_MAXNAME+2]; in db_show_oid_name() local 2728 qoid[0] = 0; in db_show_oid_name() 2729 memcpy(qoid + 2, oid, nlen * sizeof(int)); in db_show_oid_name() 2730 qoid[1] = 1; in db_show_oid_name() 2732 error = sysctl_find_oid(qoid, nlen + 2, &oidp, NULL, NULL); in db_show_oid_name() 2736 error = db_sysctl(oidp, qoid, nlen + 2, NULL, NULL, NULL, 0); in db_show_oid_name()
|