Lines Matching refs:records
16 record_t ** records, in clear_obsolete() argument
31 if (rtable->key_extract(handle, records[i], &key) < 0) in clear_obsolete()
41 rtable->free(records[i]); in clear_obsolete()
42 records[i] = NULL; in clear_obsolete()
61 record_t ** records, unsigned int nrecords, int mode) in load_records() argument
74 if (!records[i]) in load_records()
77 if (rtable->key_extract(handle, records[i], &rkey) < 0) in load_records()
81 dtable->set(handle, dbase, rkey, records[i]) < 0) in load_records()
85 dtable->modify(handle, dbase, rkey, records[i]) < 0) in load_records()
146 record_t **records = NULL; in semanage_base_merge_components() local
162 &records, &nrecords) < 0) in semanage_base_merge_components()
167 qsort(records, nrecords, sizeof(record_t *), in semanage_base_merge_components()
174 clear_obsolete(handle, records, nrecords, src, dst) < 0) { in semanage_base_merge_components()
180 if (load_records(handle, dst, records, nrecords, mode) < 0) { in semanage_base_merge_components()
189 rtable->free(records[j]); in semanage_base_merge_components()
190 free(records); in semanage_base_merge_components()