/kernel/linux/linux-6.6/block/ |
H A D | blk-ioc.c | 24 * 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 D | ioprio.c | 147 * 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 D | bfq-iosched.c | 460 if (!current->io_context) in bfq_bic_lookup()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | iocontext.h | 15 * 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 D | ioprio.h | 79 struct io_context *ioc = current->io_context; in get_current_ioprio()
|
H A D | blk_types.h | 17 struct io_context;
|
H A D | sched.h | 49 struct io_context; 1204 struct io_context *io_context; member
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-ioc.c | 21 * 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 D | ioprio.c | 39 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 D | blk.h | 290 * 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 D | blk-mq-sched.c | 24 struct io_context *ioc; in blk_mq_sched_assign_ioc() 30 ioc = current->io_context; in blk_mq_sched_assign_ioc()
|
H A D | blk-cgroup.c | 1239 struct io_context *ioc; in blkcg_can_attach() 1245 ioc = task->io_context; in blkcg_can_attach()
|
H A D | blk-core.c | 889 * 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 D | bfq-iosched.c | 403 * @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 D | iocontext.h | 15 * 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 D | blk_types.h | 18 struct io_context;
|
H A D | sched.h | 52 struct io_context; 1311 struct io_context *io_context; member
|
/kernel/linux/linux-5.10/kernel/ |
H A D | kcmp.c | 212 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
|
H A D | fork.c | 1516 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 D | exit.c | 906 if (tsk->io_context) in do_exit()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | kcmp.c | 195 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
|
H A D | fork.c | 2438 p->io_context = NULL; in copy_process() 2767 if (p->io_context) in copy_process()
|
H A D | exit.c | 919 if (tsk->io_context) in do_exit()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | super.c | 5882 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 D | super.c | 6479 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()
|