Home
last modified time | relevance | path

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

/block/
Dblk-ioprio.c53 struct ioprio_blkg { struct
67 static inline struct ioprio_blkg *pd_to_ioprio(struct blkg_policy_data *pd) in pd_to_ioprio() argument
69 return pd ? container_of(pd, struct ioprio_blkg, pd) : NULL; in pd_to_ioprio()
122 struct ioprio_blkg *ioprio_blkg; in ioprio_alloc_pd() local
124 ioprio_blkg = kzalloc(sizeof(*ioprio_blkg), gfp); in ioprio_alloc_pd()
125 if (!ioprio_blkg) in ioprio_alloc_pd()
128 return &ioprio_blkg->pd; in ioprio_alloc_pd()
133 struct ioprio_blkg *ioprio_blkg = pd_to_ioprio(pd); in ioprio_free_pd() local
135 kfree(ioprio_blkg); in ioprio_free_pd()