Lines Matching refs:rdma_cgroup
67 static struct rdma_cgroup *css_rdmacg(struct cgroup_subsys_state *css) in css_rdmacg()
69 return container_of(css, struct rdma_cgroup, css); in css_rdmacg()
72 static struct rdma_cgroup *parent_rdmacg(struct rdma_cgroup *cg) in parent_rdmacg()
77 static inline struct rdma_cgroup *get_current_rdmacg(void) in get_current_rdmacg()
113 find_cg_rpool_locked(struct rdma_cgroup *cg, in find_cg_rpool_locked()
129 get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) in get_cg_rpool_locked()
162 uncharge_cg_locked(struct rdma_cgroup *cg, in uncharge_cg_locked()
205 static void rdmacg_uncharge_hierarchy(struct rdma_cgroup *cg, in rdmacg_uncharge_hierarchy()
207 struct rdma_cgroup *stop_cg, in rdmacg_uncharge_hierarchy()
210 struct rdma_cgroup *p; in rdmacg_uncharge_hierarchy()
227 void rdmacg_uncharge(struct rdma_cgroup *cg, in rdmacg_uncharge()
259 int rdmacg_try_charge(struct rdma_cgroup **rdmacg, in rdmacg_try_charge()
263 struct rdma_cgroup *cg, *p; in rdmacg_try_charge()
428 struct rdma_cgroup *cg = css_rdmacg(of_css(of)); in rdmacg_resource_set_max()
528 struct rdma_cgroup *cg = css_rdmacg(seq_css(sf)); in rdmacg_resource_read()
565 struct rdma_cgroup *cg; in rdmacg_css_alloc()
577 struct rdma_cgroup *cg = css_rdmacg(css); in rdmacg_css_free()
593 struct rdma_cgroup *cg = css_rdmacg(css); in rdmacg_css_offline()