Searched refs:IOC_DRIV (Results 1 – 2 of 2) sorted by relevance
2094 #define IOC_DRIV(x) (x >> 8) macro2113 low = IOC_DRIV(r->range.low); in avrule_ioctl_partialdriver()2114 high = IOC_DRIV(r->range.high); in avrule_ioctl_partialdriver()2158 high = IOC_DRIV((uint32_t) (r->range.high + 1)); in avrule_ioctl_completedriver()2160 low = IOC_DRIV(r->range.low); in avrule_ioctl_completedriver()2197 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) { in avrule_ioctl_func()2202 if (driver == IOC_DRIV(low)) { in avrule_ioctl_func()
1482 #define IOC_DRIV(x) (x >> 8) macro1524 __avrule_xperm_setrangebits(IOC_DRIV(low), IOC_DRIV(low), complete); in __cil_permx_bitmap_to_sepol_xperms_list()1526 if (partial && partial->driver != IOC_DRIV(low)) { in __cil_permx_bitmap_to_sepol_xperms_list()1533 partial->driver = IOC_DRIV(low); in __cil_permx_bitmap_to_sepol_xperms_list()