Searched refs:IOC_DRIV (Results 1 – 2 of 2) sorted by relevance
2194 #define IOC_DRIV(x) (x >> 8) macro2213 low = IOC_DRIV(r->range.low); in avrule_ioctl_partialdriver()2214 high = IOC_DRIV(r->range.high); in avrule_ioctl_partialdriver()2258 high = IOC_DRIV((uint32_t) (r->range.high + 1)); in avrule_ioctl_completedriver()2260 low = IOC_DRIV(r->range.low); in avrule_ioctl_completedriver()2297 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) { in avrule_ioctl_func()2302 if (driver == IOC_DRIV(low)) { in avrule_ioctl_func()
1602 #define IOC_DRIV(x) (x >> 8) macro1644 __avrule_xperm_setrangebits(IOC_DRIV(low), IOC_DRIV(low), complete); in __cil_permx_bitmap_to_sepol_xperms_list()1646 if (partial && partial->driver != IOC_DRIV(low)) { in __cil_permx_bitmap_to_sepol_xperms_list()1653 partial->driver = IOC_DRIV(low); in __cil_permx_bitmap_to_sepol_xperms_list()