Lines Matching refs:level
45 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy()
46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
50 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy()
51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
53 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy()
65 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low()
66 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
70 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low()
71 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
73 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low()
85 dst->range.level[0].sens = src->range.level[1].sens; in mls_context_cpy_high()
86 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high()
90 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy_high()
91 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high()
93 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_high()
105 if (r1->level[1].sens < r2->level[0].sens || in mls_context_glblub()
106 r2->level[1].sens < r1->level[0].sens) in mls_context_glblub()
111 dr->level[0].sens = max(r1->level[0].sens, r2->level[0].sens); in mls_context_glblub()
114 dr->level[1].sens = min(r1->level[1].sens, r2->level[1].sens); in mls_context_glblub()
116 rc = ebitmap_and(&dr->level[0].cat, in mls_context_glblub()
117 &r1->level[0].cat, &r2->level[0].cat); in mls_context_glblub()
121 rc = ebitmap_and(&dr->level[1].cat, in mls_context_glblub()
122 &r1->level[1].cat, &r2->level[1].cat); in mls_context_glblub()
132 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp()
133 ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && in mls_context_cmp()
134 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp()
135 ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); in mls_context_cmp()
140 ebitmap_destroy(&c->range.level[0].cat); in mls_context_destroy()
141 ebitmap_destroy(&c->range.level[1].cat); in mls_context_destroy()