Lines Matching defs:throtl_qnode
59 * throtl_qnode is used to keep the queued bios separated by their sources.
60 * Bios are queued to throtl_qnode which in turn is queued to
69 struct throtl_qnode {
82 struct list_head queued[2]; /* throtl_qnode [READ/WRITE] */
129 struct throtl_qnode qnode_on_self[2];
130 struct throtl_qnode qnode_on_parent[2];
397 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg)
405 * throtl_qnode_add_bio - add a bio to a throtl_qnode and activate it
412 * comment on top of throtl_qnode definition for details.
414 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn,
430 struct throtl_qnode *qn;
436 qn = list_first_entry(queued, struct throtl_qnode, node);
459 struct throtl_qnode *qn;
465 qn = list_first_entry(queued, struct throtl_qnode, node);
1086 static void throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn,
2244 struct throtl_qnode *qn = NULL;