Home
last modified time | relevance | path

Searched refs:ioprio (Results 1 – 25 of 2682) sorted by relevance

12345678910>>...108

/linux/block/
A Dioprio.c36 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()
108 ret = ioprio_check_cap(ioprio); in SYSCALL_DEFINE3()
121 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3()
131 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3()
156 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3()
[all …]
A DMakefile11 genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \
20 obj-$(CONFIG_BLK_CGROUP_IOPRIO) += blk-ioprio.o
A Dbfq-iosched.h242 unsigned short ioprio, ioprio_class; member
411 int ioprio; member
1055 unsigned short bfq_ioprio_to_weight(int ioprio);
A Dbfq-iosched.c5268 ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_set_next_ioprio_data()
5317 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change() local
5323 if (unlikely(!bfqd) || likely(bic->ioprio == ioprio)) in bfq_check_ioprio_change()
5326 bic->ioprio = ioprio; in bfq_check_ioprio_change()
5408 int ioprio_class, int ioprio) in bfq_async_queue_prio() argument
5412 return &bfqg->async_bfqq[0][ioprio]; in bfq_async_queue_prio()
5414 ioprio = IOPRIO_BE_NORM; in bfq_async_queue_prio()
5417 return &bfqg->async_bfqq[1][ioprio]; in bfq_async_queue_prio()
5532 bfqq->ioprio != last_bfqq_created->ioprio || in bfq_do_or_sched_stable_merge()
5576 const int ioprio = IOPRIO_PRIO_DATA(bic->ioprio); in bfq_get_queue() local
[all …]
A D.ioprio.o.cmd1ioprio.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/a…
3 source_block/ioprio.o := block/ioprio.c
5 deps_block/ioprio.o := \
576 include/linux/ioprio.h \
712 include/uapi/linux/ioprio.h \
1245 block/ioprio.o: $(deps_block/ioprio.o)
1247 $(deps_block/ioprio.o):
A Dbuilt-in.a25 ioprio.o/
A D.built-in.a.cmd1 …k/blk-mq-cpumap.o block/blk-mq-sched.o block/ioctl.o block/genhd.o block/ioprio.o block/badblocks.…
A Dbfq-wf2q.c506 unsigned short bfq_ioprio_to_weight(int ioprio) in bfq_ioprio_to_weight() argument
508 return (IOPRIO_NR_LEVELS - ioprio) * BFQ_WEIGHT_CONVERSION_COEFF; in bfq_ioprio_to_weight()
757 bfqq->ioprio = in __bfq_entity_update_weight_prio()
A Dblk-merge.c793 if (req->ioprio != next->ioprio) in attempt_merge()
930 if (rq->ioprio != bio_prio(bio)) in blk_rq_merge_ok()
A Dblk-core.c234 IOPRIO_PRIO_CLASS(req->ioprio)); in blk_print_req_error()
1462 rq->ioprio = rq_src->ioprio; in blk_rq_prep_clone()
A Dmq-deadline.c715 u16 ioprio = req_get_ioprio(rq); in dd_insert_request() local
716 u8 ioprio_class = IOPRIO_PRIO_CLASS(ioprio); in dd_insert_request()
A Dbfq-cgroup.c431 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
1414 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
/linux/include/linux/
A Dioprio.h19 static inline bool ioprio_valid(unsigned short ioprio) in ioprio_valid() argument
21 unsigned short class = IOPRIO_PRIO_CLASS(ioprio); in ioprio_valid()
58 return ioc->ioprio; in get_current_ioprio()
67 extern int set_task_ioprio(struct task_struct *task, int ioprio);
70 extern int ioprio_check_cap(int ioprio);
72 static inline int ioprio_check_cap(int ioprio) in ioprio_check_cap() argument
A Diocontext.h107 unsigned short ioprio; member
A Dblk-mq.h140 unsigned short ioprio; member
213 return req->ioprio; in req_get_ioprio()
881 rq->ioprio = bio_prio(bio); in blk_rq_bio_prep()
A Dsecurity.h166 extern int cap_task_setioprio(struct task_struct *p, int ioprio);
424 int security_task_setioprio(struct task_struct *p, int ioprio);
1137 static inline int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio() argument
1139 return cap_task_setioprio(p, ioprio); in security_task_setioprio()
/linux/Documentation/block/
A Dioprio.rst90 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 …]
A Dindex.rst19 ioprio
A Dbfq-iosched.rst288 - 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
570 The linear mapping between ioprio and weights, described at the beginning
572 IOPRIO_BE_NR*10 are mapped to ioprio 0.
/linux/include/uapi/linux/
A Dioprio.h12 #define IOPRIO_PRIO_CLASS(ioprio) \ argument
13 (((ioprio) >> IOPRIO_CLASS_SHIFT) & IOPRIO_CLASS_MASK)
14 #define IOPRIO_PRIO_DATA(ioprio) ((ioprio) & IOPRIO_PRIO_MASK) argument
A Dvirtio_blk.h172 __virtio32 ioprio; member
A Dio_uring.h20 __u16 ioprio; /* ioprio for the request */ member
/linux/include/trace/events/
A Dio_uring.h518 __field( u8, ioprio )
535 __entry->ioprio = sqe->ioprio;
552 __entry->opcode, __entry->flags, __entry->ioprio,
/linux/fs/
A Dio_uring.c2887 unsigned ioprio; in io_prep_rw() local
2929 ioprio = READ_ONCE(sqe->ioprio); in io_prep_rw()
2930 if (ioprio) { in io_prep_rw()
2931 ret = ioprio_check_cap(ioprio); in io_prep_rw()
2935 kiocb->ki_ioprio = ioprio; in io_prep_rw()
4175 if (sqe->ioprio || sqe->buf_index || sqe->rw_flags || in io_fallocate_prep()
4209 if (unlikely(sqe->ioprio || sqe->buf_index)) in __io_openat_prep()
4414 if (sqe->ioprio || sqe->rw_flags || sqe->splice_fd_in) in io_provide_buffers_prep()
5149 if (sqe->ioprio || sqe->len || sqe->buf_index) in io_accept_prep()
6173 if (sqe->ioprio || sqe->buf_index || sqe->len != 1 || in io_timeout_prep()
[all …]
/linux/tools/io_uring/
A Dio_uring-bench.c189 sqe->ioprio = 0; in init_io()

Completed in 97 milliseconds

12345678910>>...108