Searched defs:bit (Results 1 - 5 of 5) sorted by relevance
/security/selinux/ss/ |
H A D | ebitmap.h | 9 * an explicitly specified starting bit position within 66 unsigned int bit) 70 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); 82 #define EBITMAP_NODE_INDEX(node, bit) \ 83 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE) 84 #define EBITMAP_NODE_OFFSET(node, bit) \ 85 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE) 88 unsigned int bit) 90 unsigned int index = EBITMAP_NODE_INDEX(n, bit); 91 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); 64 ebitmap_next_positive(struct ebitmap *e, struct ebitmap_node **n, unsigned int bit) argument 87 ebitmap_node_get_bit(struct ebitmap_node *n, unsigned int bit) argument 99 ebitmap_node_set_bit(struct ebitmap_node *n, unsigned int bit) argument 109 ebitmap_node_clr_bit(struct ebitmap_node *n, unsigned int bit) argument [all...] |
H A D | ebitmap.c | 15 * Applied standard bit operations to improve bitmap scanning. 189 * if last_e2bit is non-zero, the highest set bit in e2 cannot exceed 233 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit) argument 237 if (e->highbit < bit) 241 while (n && (n->startbit <= bit)) { 242 if ((n->startbit + EBITMAP_SIZE) > bit) 243 return ebitmap_node_get_bit(n, bit); 250 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value) argument 256 while (n && n->startbit <= bit) { 257 if ((n->startbit + EBITMAP_SIZE) > bit) { 445 int bit, last_bit, last_startbit, rc; local [all...] |
H A D | policydb.c | 1682 unsigned long bit; local 1692 ebitmap_for_each_positive_bit(&user->roles, node, bit) { 1693 if (ebitmap_get_bit(&upper->roles, bit)) 1700 sym_name(p, SYM_ROLES, bit), 1719 unsigned long bit; local 1729 ebitmap_for_each_positive_bit(&role->types, node, bit) { 1730 if (ebitmap_get_bit(&upper->types, bit)) 1737 sym_name(p, SYM_TYPES, bit),
|
/security/tomoyo/ |
H A D | common.c | 781 head->r.bit = 0; 786 for ( ; head->r.bit < TOMOYO_MAX_MAC_INDEX 787 + TOMOYO_MAX_MAC_CATEGORY_INDEX; head->r.bit++) { 788 const u8 i = head->r.bit; 803 head->r.bit++; 806 if (head->r.bit == TOMOYO_MAX_MAC_INDEX 1365 u8 bit; local 1377 for (bit = 0; bit < TOMOYO_MAX_PATH_OPERATION; bit [all...] |
H A D | common.h | 808 u8 bit; member in struct:tomoyo_io_buffer::__anon43
|
Completed in 177 milliseconds