Lines Matching refs:rc
44 int rc; in mls_context_cpy() local
47 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
48 if (rc) in mls_context_cpy()
52 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
53 if (rc) in mls_context_cpy()
56 return rc; in mls_context_cpy()
64 int rc; in mls_context_cpy_low() local
67 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
68 if (rc) in mls_context_cpy_low()
72 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
73 if (rc) in mls_context_cpy_low()
76 return rc; in mls_context_cpy_low()
84 int rc; in mls_context_cpy_high() local
87 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high()
88 if (rc) in mls_context_cpy_high()
92 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high()
93 if (rc) in mls_context_cpy_high()
96 return rc; in mls_context_cpy_high()
121 int rc; in context_cpy() local
135 rc = mls_context_cpy(dst, src); in context_cpy()
136 if (rc) { in context_cpy()
138 return rc; in context_cpy()