Home
last modified time | relevance | path

Searched refs:io_context (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/block/
H A Dblk-ioc.c24 * get_io_context - increment reference count to io_context
25 * @ioc: io_context to get
29 static void get_io_context(struct io_context *ioc) in get_io_context()
59 static void ioc_exit_icqs(struct io_context *ioc) in ioc_exit_icqs()
75 struct io_context *ioc = icq->ioc; in ioc_destroy_icq()
114 struct io_context *ioc = container_of(work, struct io_context, in ioc_release_fn()
151 static bool ioc_delay_free(struct io_context *ioc) in ioc_delay_free()
189 static inline void ioc_exit_icqs(struct io_context *ioc) in ioc_exit_icqs()
192 static inline bool ioc_delay_free(struct io_context *io in ioc_exit_icqs()
[all...]
H A Dioprio.c147 * io_context stable.
151 struct io_context *ioc = p->io_context; in __get_task_ioprio()
196 if (p->io_context) in get_task_raw_ioprio()
197 ret = p->io_context->ioprio; in get_task_raw_ioprio()
H A Dbfq-iosched.c460 if (!current->io_context) in bfq_bic_lookup()
/kernel/linux/linux-5.10/include/linux/
H A Diocontext.h15 * An io_cq (icq) is association between an io_context (ioc) and a
41 * is called and be holding a reference to the associated io_context.
45 * are called with both the associated io_context and queue locks held.
75 struct io_context *ioc;
99 struct io_context { struct
124 static inline void get_io_context_active(struct io_context *ioc) in get_io_context_active()
132 static inline void ioc_task_link(struct io_context *ioc) in ioc_task_link()
142 void put_io_context(struct io_context *ioc);
143 void put_io_context_active(struct io_context *ioc);
145 struct io_context *get_task_io_contex
[all...]
H A Dioprio.h79 struct io_context *ioc = current->io_context; in get_current_ioprio()
H A Dblk_types.h17 struct io_context;
H A Dsched.h49 struct io_context;
1204 struct io_context *io_context; member
/kernel/linux/linux-5.10/block/
H A Dblk-ioc.c21 * get_io_context - increment reference count to io_context
22 * @ioc: io_context to get
26 void get_io_context(struct io_context *ioc) in get_io_context()
62 struct io_context *ioc = icq->ioc; in ioc_destroy_icq()
97 struct io_context *ioc = container_of(work, struct io_context, in ioc_release_fn()
136 * put_io_context - put a reference of io_context
137 * @ioc: io_context to put
142 void put_io_context(struct io_context *ioc) in put_io_context()
177 void put_io_context_active(struct io_context *io
[all...]
H A Dioprio.c39 struct io_context *ioc; in set_task_ioprio()
176 if (p->io_context) in get_task_ioprio()
177 ret = p->io_context->ioprio; in get_task_ioprio()
H A Dblk.h290 * Internal io_context interface
292 void get_io_context(struct io_context *ioc);
293 struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q);
294 struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q,
H A Dblk-mq-sched.c24 struct io_context *ioc; in blk_mq_sched_assign_ioc()
30 ioc = current->io_context; in blk_mq_sched_assign_ioc()
H A Dblk-cgroup.c1239 struct io_context *ioc; in blkcg_can_attach()
1245 ioc = task->io_context; in blkcg_can_attach()
H A Dblk-core.c889 * Various block parts want %current->io_context, so allocate it up in submit_bio_checks()
894 if (unlikely(!current->io_context)) in submit_bio_checks()
H A Dbfq-iosched.c403 * @ioc: the io_context of the process doing I/O.
407 struct io_context *ioc, in bfq_bic_lookup()
2233 struct bfq_io_cq *bic = bfq_bic_lookup(bfqd, current->io_context, q); in bfq_bio_merge()
/kernel/linux/linux-6.6/include/linux/
H A Diocontext.h15 * An io_cq (icq) is association between an io_context (ioc) and a
41 * is called and be holding a reference to the associated io_context.
45 * are called with both the associated io_context and queue locks held.
75 struct io_context *ioc;
99 struct io_context { struct
119 void put_io_context(struct io_context *ioc);
124 if (!current->io_context) in copy_io()
129 struct io_context;
130 static inline void put_io_context(struct io_context *ioc) { } in put_io_context()
H A Dblk_types.h18 struct io_context;
H A Dsched.h52 struct io_context;
1311 struct io_context *io_context; member
/kernel/linux/linux-5.10/kernel/
H A Dkcmp.c212 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
H A Dfork.c1516 struct io_context *ioc = current->io_context; in copy_io()
1517 struct io_context *new_ioc; in copy_io()
1526 tsk->io_context = ioc; in copy_io()
2077 p->io_context = NULL; in copy_process()
2385 if (p->io_context) in copy_process()
H A Dexit.c906 if (tsk->io_context) in do_exit()
/kernel/linux/linux-6.6/kernel/
H A Dkcmp.c195 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
H A Dfork.c2438 p->io_context = NULL; in copy_process()
2767 if (p->io_context) in copy_process()
H A Dexit.c919 if (tsk->io_context) in do_exit()
/kernel/linux/linux-5.10/fs/ext4/
H A Dsuper.c5882 if (sbi->s_journal && sbi->s_journal->j_task->io_context) in ext4_remount()
5883 journal_ioprio = sbi->s_journal->j_task->io_context->ioprio; in ext4_remount()
/kernel/linux/linux-6.6/fs/ext4/
H A Dsuper.c6479 if (sbi->s_journal && sbi->s_journal->j_task->io_context) in __ext4_remount()
6481 sbi->s_journal->j_task->io_context->ioprio; in __ext4_remount()

Completed in 62 milliseconds