Searched refs:_ioctls (Results 1 – 3 of 3) sorted by relevance
568 static const ioctl_fn _ioctls[] = { in lookup_dev_ioctl() local586 if (idx >= ARRAY_SIZE(_ioctls)) in lookup_dev_ioctl()588 idx = array_index_nospec(idx, ARRAY_SIZE(_ioctls)); in lookup_dev_ioctl()589 return _ioctls[idx]; in lookup_dev_ioctl()
1770 } _ioctls[] = { in lookup_ioctl() local1795 if (unlikely(cmd >= ARRAY_SIZE(_ioctls))) in lookup_ioctl()1798 cmd = array_index_nospec(cmd, ARRAY_SIZE(_ioctls)); in lookup_ioctl()1799 *ioctl_flags = _ioctls[cmd].flags; in lookup_ioctl()1800 return _ioctls[cmd].fn; in lookup_ioctl()
462 .. _ioctls: