Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-cache-policy.c21 static struct dm_cache_policy_type *__find_policy(const char *name) in __find_policy()
23 struct dm_cache_policy_type *t; in __find_policy()
32 static struct dm_cache_policy_type *__get_policy_once(const char *name) in __get_policy_once()
34 struct dm_cache_policy_type *t = __find_policy(name); in __get_policy_once()
44 static struct dm_cache_policy_type *get_policy_once(const char *name) in get_policy_once()
46 struct dm_cache_policy_type *t; in get_policy_once()
55 static struct dm_cache_policy_type *get_policy(const char *name) in get_policy()
57 struct dm_cache_policy_type *t; in get_policy()
75 static void put_policy(struct dm_cache_policy_type *t) in put_policy()
80 int dm_cache_policy_register(struct dm_cache_policy_type *type) in dm_cache_policy_register()
[all …]
H A Ddm-cache-policy.h152 struct dm_cache_policy_type { struct
167 struct dm_cache_policy_type *real; argument
182 int dm_cache_policy_register(struct dm_cache_policy_type *type); argument
183 void dm_cache_policy_unregister(struct dm_cache_policy_type *type);
H A Ddm-cache-policy-smq.c1866 static struct dm_cache_policy_type smq_policy_type = {
1874 static struct dm_cache_policy_type mq_policy_type = {
1882 static struct dm_cache_policy_type cleaner_policy_type = {
1890 static struct dm_cache_policy_type default_policy_type = {