/kernel/linux/linux-5.10/block/ |
D | ioprio.c | 36 int set_task_ioprio(struct task_struct *task, int ioprio) in set_task_ioprio() argument 51 err = security_task_setioprio(task, ioprio); in set_task_ioprio() 57 ioc->ioprio = ioprio; in set_task_ioprio() 65 int ioprio_check_cap(int ioprio) in ioprio_check_cap() argument 67 int class = IOPRIO_PRIO_CLASS(ioprio); in ioprio_check_cap() 68 int data = IOPRIO_PRIO_DATA(ioprio); in ioprio_check_cap() 101 SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) in SYSCALL_DEFINE3() argument 109 ret = ioprio_check_cap(ioprio); in SYSCALL_DEFINE3() 122 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3() 130 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3() [all …]
|
D | bfq-iosched.h | 237 unsigned short ioprio, ioprio_class; member 394 int ioprio; member 1035 unsigned short bfq_ioprio_to_weight(int ioprio);
|
D | bfq-iosched.c | 5017 ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_set_next_ioprio_data() 5032 bfqq->new_ioprio = IOPRIO_PRIO_DATA(bic->ioprio); in bfq_set_next_ioprio_data() 5036 bfqq->new_ioprio = IOPRIO_PRIO_DATA(bic->ioprio); in bfq_set_next_ioprio_data() 5063 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change() local 5069 if (unlikely(!bfqd) || likely(bic->ioprio == ioprio)) in bfq_check_ioprio_change() 5072 bic->ioprio = ioprio; in bfq_check_ioprio_change() 5148 int ioprio_class, int ioprio) in bfq_async_queue_prio() argument 5152 return &bfqg->async_bfqq[0][ioprio]; in bfq_async_queue_prio() 5154 ioprio = IOPRIO_NORM; in bfq_async_queue_prio() 5157 return &bfqg->async_bfqq[1][ioprio]; in bfq_async_queue_prio() [all …]
|
D | Makefile | 11 genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o
|
D | blk-merge.c | 751 if (req->ioprio != next->ioprio) in attempt_merge() 892 if (rq->ioprio != bio_prio(bio)) in blk_rq_merge_ok()
|
D | bfq-wf2q.c | 509 unsigned short bfq_ioprio_to_weight(int ioprio) in bfq_ioprio_to_weight() argument 511 return (IOPRIO_BE_NR - ioprio) * BFQ_WEIGHT_CONVERSION_COEFF; in bfq_ioprio_to_weight() 760 bfqq->ioprio = in __bfq_entity_update_weight_prio()
|
D | blk-core.c | 236 IOPRIO_PRIO_CLASS(req->ioprio)); in print_req_error() 1626 rq->ioprio = rq_src->ioprio; in blk_rq_prep_clone()
|
D | blk.h | 95 rq->ioprio = bio_prio(bio); in blk_rq_bio_prep()
|
D | bfq-cgroup.c | 431 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity() 1439 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | ioprio.rst | 90 static inline int ioprio_set(int which, int who, int ioprio) 92 return syscall(__NR_ioprio_set, which, who, ioprio); 119 int ioprio = 4, set = 0, ioprio_class = IOPRIO_CLASS_BE; 125 ioprio = strtol(optarg, NULL, 10); 146 ioprio = 7; 157 ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid); 159 printf("pid=%d, %d\n", pid, ioprio); 161 if (ioprio == -1) 164 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT; 165 ioprio = ioprio & 0xff; [all …]
|
D | index.rst | 19 ioprio
|
D | bfq-iosched.rst | 288 - ioprio classes are served in strict priority order, i.e., 315 per-process ioprio and weight 321 weight = (IOPRIO_BE_NR - ioprio) * 10. 515 same share of the whole group bandwidth, unless the ioprio of the 563 linear mapping between ioprio and weights, described at the beginning 565 IOPRIO_BE_NR*10 are mapped to ioprio 0.
|
/kernel/linux/linux-5.10/include/linux/ |
D | ioprio.h | 82 return ioc->ioprio; in get_current_ioprio() 91 extern int set_task_ioprio(struct task_struct *task, int ioprio); 94 extern int ioprio_check_cap(int ioprio); 96 static inline int ioprio_check_cap(int ioprio) in ioprio_check_cap() argument
|
D | iocontext.h | 107 unsigned short ioprio; member
|
D | security.h | 164 extern int cap_task_setioprio(struct task_struct *p, int ioprio); 410 int security_task_setioprio(struct task_struct *p, int ioprio); 1094 static inline int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio() argument 1096 return cap_task_setioprio(p, ioprio); in security_task_setioprio()
|
D | blkdev.h | 235 unsigned short ioprio; member 289 return req->ioprio; in req_get_ioprio()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | virtio_blk.h | 73 __virtio32 ioprio; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | virtio_blk.h | 172 __virtio32 ioprio; member
|
D | io_uring.h | 20 __u16 ioprio; /* ioprio for the request */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | virtio_blk.h | 81 __virtio32 ioprio; member
|
D | io_uring.h | 26 __u16 ioprio; member
|
/kernel/linux/build/test/syzkaller/qos_auth/ |
D | latency_nice.txt | 46 include <linux/ioprio.h>
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 2929 unsigned ioprio; in io_prep_rw() local 2951 ioprio = READ_ONCE(sqe->ioprio); in io_prep_rw() 2952 if (ioprio) { in io_prep_rw() 2953 ret = ioprio_check_cap(ioprio); in io_prep_rw() 2957 kiocb->ki_ioprio = ioprio; in io_prep_rw() 3810 if (sqe->ioprio || sqe->buf_index || sqe->splice_fd_in) in io_renameat_prep() 3861 if (sqe->ioprio || sqe->off || sqe->len || sqe->buf_index || in io_unlinkat_prep() 3908 if (unlikely(sqe->ioprio || sqe->off || sqe->addr || sqe->rw_flags || in io_shutdown_prep() 4060 if (unlikely(sqe->addr || sqe->ioprio || sqe->buf_index || in io_fsync_prep() 4094 if (sqe->ioprio || sqe->buf_index || sqe->rw_flags || in io_fallocate_prep() [all …]
|
/kernel/linux/linux-5.10/tools/io_uring/ |
D | io_uring-bench.c | 189 sqe->ioprio = 0; in init_io()
|
/kernel/linux/linux-5.10/kernel/ |
D | fork.c | 1515 } else if (ioprio_valid(ioc->ioprio)) { in copy_io() 1520 new_ioc->ioprio = ioc->ioprio; in copy_io()
|