Searched refs:in_cache (Results 1 – 3 of 3) sorted by relevance
/drivers/md/ |
D | dm-cache-policy-mq.c | 551 static bool in_cache(struct mq_policy *mq, struct entry *e) in in_cache() function 565 if (in_cache(mq, e)) in push() 577 if (in_cache(mq, e)) in del() 793 if (in_cache(mq, e)) { in cache_entry_found() 950 if (e && in_cache(mq, e)) in map() 1063 if (e && in_cache(mq, e)) { in mq_lookup() 1079 BUG_ON(!e || !in_cache(mq, e)); in __mq_set_clear_dirty() 1165 BUG_ON(!e || !in_cache(mq, e)); in __remove_mapping() 1256 if (e && in_cache(mq, e)) { in __force_mapping()
|
/drivers/mtd/ |
D | sm_ftl.c | 1015 int error = 0, in_cache = 0; in sm_read() local 1030 in_cache = 1; in sm_read() 1048 if (in_cache) in sm_read()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_lock.c | 794 bool in_cache; in cl_lock_delete0() local 802 in_cache = !list_empty(&lock->cll_linkage); in cl_lock_delete0() 803 if (in_cache) in cl_lock_delete0() 807 if (in_cache) /* coh_locks cache holds a refcount. */ in cl_lock_delete0()
|