Home | History | Annotate | Download | only in src

Lines Matching full:handle

16 #include "handle.h"
32 static int dbase_activedb_cache(semanage_handle_t * handle,
44 if (!dbase_llist_needs_resync(handle, &dbase->llist))
49 if (dbase_llist_set_serial(handle, &dbase->llist) < 0)
53 if (ratable->read_list(handle, &records, &rcount) < 0)
58 if (dbase_llist_cache_prepend(handle, &dbase->llist, records[i])
68 ERR(handle, "could not cache active database");
76 static int dbase_activedb_flush(semanage_handle_t * handle,
92 if (dbase_llist_list(handle, &dbase->llist, &records, &rcount) < 0)
96 if (ratable->commit_list(handle, records, rcount) < 0)
109 ERR(handle, "could not flush active database");
113 int dbase_activedb_init(semanage_handle_t * handle,
133 ERR(handle, "out of memory, could not initialize active database");