Lines Matching refs:lr
143 struct selabel_lookup_rec *lr,
151 if (compat_validate(rec, lr, path, lr->lineno))
154 if (compat_validate(rec, lr, rec->spec_file, lr->lineno))
158 if (translating && !lr->ctx_trans &&
159 selinux_raw_to_trans_context(lr->ctx_raw, &lr->ctx_trans))
169 struct selabel_lookup_rec *lr;
176 lr = rec->func_lookup(rec, key, type);
177 if (!lr)
180 if (selabel_fini(rec, lr, translating))
183 return lr;
190 struct selabel_lookup_rec *lr;
197 lr = rec->func_lookup_best_match(rec, key, aliases, type);
198 if (!lr)
201 if (selabel_fini(rec, lr, translating))
204 return lr;
270 struct selabel_lookup_rec *lr;
272 lr = selabel_lookup_common(rec, 1, key, type);
273 if (!lr)
276 *con = strdup(lr->ctx_trans);
283 struct selabel_lookup_rec *lr;
285 lr = selabel_lookup_common(rec, 0, key, type);
286 if (!lr)
289 *con = strdup(lr->ctx_raw);
333 struct selabel_lookup_rec *lr;
340 lr = selabel_lookup_bm_common(rec, 1, key, type, aliases);
341 if (!lr)
344 *con = strdup(lr->ctx_trans);
351 struct selabel_lookup_rec *lr;
358 lr = selabel_lookup_bm_common(rec, 0, key, type, aliases);
359 if (!lr)
362 *con = strdup(lr->ctx_raw);