Home
last modified time | relevance | path

Searched refs:IOC_DRIV (Results 1 – 2 of 2) sorted by relevance

/external/selinux/checkpolicy/
Dpolicy_define.c2109 #define IOC_DRIV(x) (x >> 8) macro
2128 low = IOC_DRIV(r->range.low); in avrule_ioctl_partialdriver()
2129 high = IOC_DRIV(r->range.high); in avrule_ioctl_partialdriver()
2173 high = IOC_DRIV((uint32_t) (r->range.high + 1)); in avrule_ioctl_completedriver()
2175 low = IOC_DRIV(r->range.low); in avrule_ioctl_completedriver()
2212 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) { in avrule_ioctl_func()
2217 if (driver == IOC_DRIV(low)) { in avrule_ioctl_func()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1584 #define IOC_DRIV(x) (x >> 8) macro
1626 __avrule_xperm_setrangebits(IOC_DRIV(low), IOC_DRIV(low), complete); in __cil_permx_bitmap_to_sepol_xperms_list()
1628 if (partial && partial->driver != IOC_DRIV(low)) { in __cil_permx_bitmap_to_sepol_xperms_list()
1635 partial->driver = IOC_DRIV(low); in __cil_permx_bitmap_to_sepol_xperms_list()