Lines Matching refs:cache_serial
39 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()
81 if (cache_serial != dbase->cache_serial) { in dbase_policydb_needs_resync()
83 dbase->cache_serial = -1; in dbase_policydb_needs_resync()
197 tmp_dbase->cache_serial = -1; in dbase_policydb_init()