Lines Matching refs:rec
36 unsigned lineno, struct selabel_handle *rec)
38 struct saved_data *data = (struct saved_data *)rec->data;
97 static int init(struct selabel_handle *rec, const struct selinux_opt *opts,
101 struct saved_data *data = (struct saved_data *)rec->data;
130 rec->spec_file = strdup(path);
146 if (process_line(path, line_buf, pass, ++lineno, rec))
165 status = digest_add_specfile(rec->digest, fp, NULL, sb.st_size, path);
169 digest_gen_hash(rec->digest);
179 static void close(struct selabel_handle *rec)
181 struct saved_data *data = (struct saved_data *)rec->data;
198 static struct selabel_lookup_rec *lookup(struct selabel_handle *rec,
201 struct saved_data *data = (struct saved_data *)rec->data;
222 static void stats(struct selabel_handle *rec)
224 struct saved_data *data = (struct saved_data *)rec->data;
234 int selabel_x_init(struct selabel_handle *rec, const struct selinux_opt *opts,
244 rec->data = data;
245 rec->func_close = &close;
246 rec->func_lookup = &lookup;
247 rec->func_stats = &stats;
249 return init(rec, opts, nopts);