Lines Matching refs:bit
30 unsigned int bit; in read_typeset() local
144 for (bit = 0; bit < policydb->p_types.nprim; bit++) { in read_typeset()
145 if (ebitmap_get_bit(&typeset->negset, bit)) in read_typeset()
147 if (policydb->type_val_to_struct[bit] && in read_typeset()
148 policydb->type_val_to_struct[bit]->flavor == TYPE_ATTRIB) in read_typeset()
150 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset()
155 ebitmap_for_each_bit(&typeset->negset, n, bit) { in read_typeset()
156 if (!ebitmap_node_get_bit(n, bit)) in read_typeset()
158 if (ebitmap_set_bit(&typeset->types, bit, 0)) in read_typeset()
163 for (bit = 0; bit < policydb->p_types.nprim; bit++) { in read_typeset()
164 if (policydb->type_val_to_struct[bit] && in read_typeset()
165 policydb->type_val_to_struct[bit]->flavor == TYPE_ATTRIB) in read_typeset()
167 if (ebitmap_get_bit(&typeset->types, bit)) in read_typeset()
168 ebitmap_set_bit(&typeset->types, bit, 0); in read_typeset()
170 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset()