Lines Matching refs:i
38 int i, l, len, head, prev; in mls_compute_context_len() local
55 ebitmap_for_each_positive_bit(e, node, i) { in mls_compute_context_len()
56 if (i - prev > 1) { in mls_compute_context_len()
62 nm = sym_name(p, SYM_CATS, i); in mls_compute_context_len()
64 head = i; in mls_compute_context_len()
66 prev = i; in mls_compute_context_len()
94 int i, l, head, prev; in mls_sid_to_context() local
115 ebitmap_for_each_positive_bit(e, node, i) { in mls_sid_to_context()
116 if (i - prev > 1) { in mls_sid_to_context()
131 nm = sym_name(p, SYM_CATS, i); in mls_sid_to_context()
134 head = i; in mls_sid_to_context()
136 prev = i; in mls_sid_to_context()
244 int l, rc, i; in mls_context_to_sid() local
335 for (i = catdatum->value; i < rngdatum->value; i++) { in mls_context_to_sid()
336 rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); in mls_context_to_sid()
455 int l, i; in mls_convert_context() local
470 node, i) { in mls_convert_context()
474 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()