Home
last modified time | relevance | path

Searched refs:cache_serial (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsemanage/src/
Ddatabase_llist.c19 int cache_serial; in dbase_llist_needs_resync() local
21 if (dbase->cache_serial < 0) in dbase_llist_needs_resync()
24 cache_serial = handle->funcs->get_serial(handle); in dbase_llist_needs_resync()
25 if (cache_serial < 0) in dbase_llist_needs_resync()
28 if (cache_serial != dbase->cache_serial) { in dbase_llist_needs_resync()
30 dbase->cache_serial = -1; in dbase_llist_needs_resync()
73 if (dbase->cache_serial < 0) in dbase_llist_drop_cache()
84 dbase->cache_serial = -1; in dbase_llist_drop_cache()
91 int cache_serial = handle->funcs->get_serial(handle); in dbase_llist_set_serial() local
92 if (cache_serial < 0) { in dbase_llist_set_serial()
[all …]
Ddatabase_policydb.c39 int cache_serial; member
47 if (dbase->cache_serial >= 0) { in dbase_policydb_drop_cache()
49 dbase->cache_serial = -1; in dbase_policydb_drop_cache()
58 int cache_serial = handle->funcs->get_serial(handle); in dbase_policydb_set_serial() local
59 if (cache_serial < 0) { in dbase_policydb_set_serial()
64 dbase->cache_serial = cache_serial; in dbase_policydb_set_serial()
72 int cache_serial; in dbase_policydb_needs_resync() local
74 if (dbase->cache_serial < 0) in dbase_policydb_needs_resync()
77 cache_serial = handle->funcs->get_serial(handle); in dbase_policydb_needs_resync()
78 if (cache_serial < 0) in dbase_policydb_needs_resync()
[all …]
Ddatabase_llist.h28 int cache_serial; member
40 dbase->cache_serial = -1; in dbase_llist_cache_init()