Searched refs:IOC_DRIV (Results 1 – 2 of 2) sorted by relevance
2189 #define IOC_DRIV(x) ((x) >> 8) macro2208 low = IOC_DRIV(r->range.low); in avrule_ioctl_partialdriver()2209 high = IOC_DRIV(r->range.high); in avrule_ioctl_partialdriver()2253 high = IOC_DRIV((uint32_t) (r->range.high + 1)); in avrule_ioctl_completedriver()2255 low = IOC_DRIV(r->range.low); in avrule_ioctl_completedriver()2292 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) { in avrule_ioctl_func()2297 if (driver == IOC_DRIV(low)) { in avrule_ioctl_func()
1553 #define IOC_DRIV(x) (x >> 8) macro1593 __avrule_xperm_setrangebits(IOC_DRIV(low), IOC_DRIV(low), complete); in __cil_permx_bitmap_to_sepol_xperms_list()1595 if (partial && partial->driver != IOC_DRIV(low)) { in __cil_permx_bitmap_to_sepol_xperms_list()1602 partial->driver = IOC_DRIV(low); in __cil_permx_bitmap_to_sepol_xperms_list()