Lines Matching refs:iop
47 struct_ioctlent *iop; in ioctl_lookup() local
49 iop = bsearch((const void *) (const uintptr_t) code, ioctlent, in ioctl_lookup()
51 while (iop > ioctlent) { in ioctl_lookup()
52 iop--; in ioctl_lookup()
53 if (iop->code != code) { in ioctl_lookup()
54 iop++; in ioctl_lookup()
58 return iop; in ioctl_lookup()
62 ioctl_next_match(const struct_ioctlent *iop) in ioctl_next_match() argument
64 const unsigned int code = iop->code; in ioctl_next_match()
65 iop++; in ioctl_next_match()
66 if (iop < ioctlent + nioctlents && iop->code == code) in ioctl_next_match()
67 return iop; in ioctl_next_match()
340 const struct_ioctlent *iop; in SYS_FUNC() local
354 iop = ioctl_lookup(tcp->u_arg[1]); in SYS_FUNC()
355 if (iop) { in SYS_FUNC()
358 tprints(iop->symbol); in SYS_FUNC()
359 while ((iop = ioctl_next_match(iop))) in SYS_FUNC()
360 tprintf(" or %s", iop->symbol); in SYS_FUNC()