Lines Matching refs:kind
115 static int oidfmt(int *oid, int len, char *fmt, uint32_t *kind) in oidfmt() argument
132 if (kind) { in oidfmt()
133 *kind = *(uint32_t *)buf; in oidfmt()
157 static void h2g_old_sysctl(void *holdp, size_t *holdlen, uint32_t kind) in h2g_old_sysctl() argument
171 hlen = host_ctl_size[kind & CTLTYPE]; in h2g_old_sysctl()
172 glen = guest_ctl_size[kind & CTLTYPE]; in h2g_old_sysctl()
208 switch (kind & CTLTYPE) { in h2g_old_sysctl()
255 uint32_t kind = 0; in do_freebsd_sysctl_oid() local
263 oidfmt(snamep, namelen, NULL, &kind); in do_freebsd_sysctl_oid()
415 if (kind == CTLTYPE_LONG || kind == CTLTYPE_ULONG) { in do_freebsd_sysctl_oid()
445 h2g_old_sysctl(holdp, &holdlen, kind); in do_freebsd_sysctl_oid()
454 h2g_old_sysctl(holdp, &holdlen, kind); in do_freebsd_sysctl_oid()
460 if (kind == CTLTYPE_LONG || kind == CTLTYPE_ULONG) { in do_freebsd_sysctl_oid()