Searched refs:dm_cache_policy_type (Results 1 – 3 of 3) sorted by relevance
21 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 …]
152 struct dm_cache_policy_type { struct167 struct dm_cache_policy_type *real; argument182 int dm_cache_policy_register(struct dm_cache_policy_type *type); argument183 void dm_cache_policy_unregister(struct dm_cache_policy_type *type);
1866 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 = {