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()
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: