Lines Matching defs:perms
1681 perm->next = avrule->perms;
1682 avrule->perms = perm;
2040 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL;
2099 perms = NULL;
2111 if (!perms)
2112 perms = cur_perms;
2143 avrule->perms = perms;
2167 xperms->perms[i] |= ~0U;
2170 xperms->perms[i] |= XPERM_SETBITS(h);
2173 xperms->perms[i] |= ~0U - XPERM_SETBITS(low);
2176 xperms->perms[i] |= XPERM_SETBITS(h) - XPERM_SETBITS(low);
2184 for (i = 0; i < sizeof(xperms->perms)/sizeof(xperms->perms[0]); i++) {
2185 if (xperms->perms[i])
2219 if (!xperm_test(low, complete_driver->perms))
2220 xperm_set(low, xperms->perms);
2221 if (!xperm_test(high, complete_driver->perms))
2222 xperm_set(high, xperms->perms);
2224 xperm_set(low, xperms->perms);
2225 xperm_set(high, xperms->perms);
2334 for (i = *bit; i < sizeof(xperms->perms)*8; i++) {
2335 if (xperm_test(i,xperms->perms)) {
2336 xperm_clear(i, xperms->perms);
2369 /* increment through the class perms and copy over */
2370 src_perms = src->perms;
2379 if (!dest->perms)
2380 dest->perms = dest_perms;
2502 class_perm_node_t *perms, *tail = NULL, *cur_perms = NULL;
2561 perms = NULL;
2572 if (!perms)
2573 perms = cur_perms;
2580 cur_perms = perms;
2635 avrule->perms = perms;