Lines Matching defs:ioc
15 * An io_cq (icq) is association between an io_context (ioc) and a
17 * information per ioc - q pair.
52 * As icq's are linked from both ioc and q, the locking rules are a bit
55 * - ioc lock nests inside q lock.
57 * - ioc->icq_list and icq->ioc_node are protected by ioc lock.
60 * - ioc->icq_tree and ioc->icq_hint are protected by ioc lock, while icq
66 * ioc or q goes away. Each request with icq set holds an extra
67 * reference to ioc to ensure it stays until the request is completed.
69 * - Linking and unlinking icq's are performed while holding both ioc and q
70 * locks. Due to the lock ordering, q exit is simple but ioc exit
75 struct io_context *ioc;
78 * q_node and ioc_node link io_cq through icq_list of q and ioc
119 void put_io_context(struct io_context *ioc);
130 static inline void put_io_context(struct io_context *ioc) { }