Lines Matching refs:blkcg

61 	struct blkcg			*blkcg;  member
94 struct blkcg { struct
122 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
124 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
154 struct blkcg *blkcg; member
163 struct blkcg *blkcg, gfp_t gfp);
191 extern struct blkcg blkcg_root;
206 void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg,
222 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
251 static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, in blkg_lookup() argument
256 if (blkcg == &blkcg_root) in blkg_lookup()
259 blkg = rcu_dereference_check(blkcg->blkg_hint, in blkg_lookup()
264 blkg = radix_tree_lookup(&blkcg->blkg_tree, q->id); in blkg_lookup()
283 static inline struct blkcg_policy_data *blkcg_to_cpd(struct blkcg *blkcg, in blkcg_to_cpd() argument
286 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd()
300 static inline struct blkcg *cpd_to_blkcg(struct blkcg_policy_data *cpd) in cpd_to_blkcg()
302 return cpd ? cpd->blkcg : NULL; in cpd_to_blkcg()
350 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
365 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
379 atomic_inc(&blkg->blkcg->congestion_count); in blkcg_use_delay()
404 atomic_dec(&blkg->blkcg->congestion_count); in blkcg_unuse_delay()
423 atomic_inc(&blkg->blkcg->congestion_count); in blkcg_set_delay()
440 atomic_dec(&blkg->blkcg->congestion_count); in blkcg_clear_delay()
471 struct blkcg { struct
474 static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, void *key) { return NULL; } in blkg_lookup() argument