Searched refs:_ioctls (Results 1 – 3 of 3) sorted by relevance
654 static const ioctl_fn _ioctls[] = { in lookup_dev_ioctl() local672 if (idx >= ARRAY_SIZE(_ioctls)) in lookup_dev_ioctl()674 idx = array_index_nospec(idx, ARRAY_SIZE(_ioctls)); in lookup_dev_ioctl()675 return _ioctls[idx]; in lookup_dev_ioctl()
1865 } _ioctls[] = { in lookup_ioctl() local1890 if (unlikely(cmd >= ARRAY_SIZE(_ioctls))) in lookup_ioctl()1893 cmd = array_index_nospec(cmd, ARRAY_SIZE(_ioctls)); in lookup_ioctl()1894 *ioctl_flags = _ioctls[cmd].flags; in lookup_ioctl()1895 return _ioctls[cmd].fn; in lookup_ioctl()
462 .. _ioctls: