Lines Matching refs:xperms
1565 static char *xperms_to_str(avtab_extended_perms_t *xperms) in xperms_to_str() argument
1579 if ((xperms->specified != AVTAB_XPERMS_IOCTLFUNCTION) in xperms_to_str()
1580 && (xperms->specified != AVTAB_XPERMS_IOCTLDRIVER)) { in xperms_to_str()
1584 for (bit = 0; bit < sizeof(xperms->perms)*8; bit++) { in xperms_to_str()
1587 if (!xperm_test(bit, xperms->perms)) in xperms_to_str()
1590 if (in_range && next_bit_in_range(bit, xperms->perms)) { in xperms_to_str()
1593 } else if (next_bit_in_range(bit, xperms->perms)) { in xperms_to_str()
1600 if (xperms->specified & AVTAB_XPERMS_IOCTLFUNCTION) { in xperms_to_str()
1601 value = xperms->driver<<8 | bit; in xperms_to_str()
1602 low_value = xperms->driver<<8 | low_bit; in xperms_to_str()
1609 } else if (xperms->specified & AVTAB_XPERMS_IOCTLDRIVER) { in xperms_to_str()
1699 perms = xperms_to_str(datum->xperms); in avtab_node_to_str()