/linux-2.6.39/fs/ |
D | ioprio.c | 31 int set_task_ioprio(struct task_struct *task, int ioprio) in set_task_ioprio() argument 46 err = security_task_setioprio(task, ioprio); in set_task_ioprio() 67 ioc->ioprio = ioprio; in set_task_ioprio() 76 SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) in SYSCALL_DEFINE3() argument 78 int class = IOPRIO_PRIO_CLASS(ioprio); in SYSCALL_DEFINE3() 79 int data = IOPRIO_PRIO_DATA(ioprio); in SYSCALL_DEFINE3() 114 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3() 122 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3() 139 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3() 164 ret = p->io_context->ioprio; in get_task_ioprio()
|
D | Makefile | 17 obj-y += buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o
|
/linux-2.6.39/include/linux/ |
D | ioprio.h | 51 if (ioprio_valid(ioc->ioprio)) in task_ioprio() 52 return IOPRIO_PRIO_DATA(ioc->ioprio); in task_ioprio() 59 if (ioprio_valid(ioc->ioprio)) in task_ioprio_class() 60 return IOPRIO_PRIO_CLASS(ioc->ioprio); in task_ioprio_class() 89 extern int set_task_ioprio(struct task_struct *task, int ioprio);
|
D | virtio_blk.h | 83 __u32 ioprio; member
|
D | iocontext.h | 41 unsigned short ioprio; member
|
D | security.h | 80 extern int cap_task_setioprio(struct task_struct *p, int ioprio); 1513 int (*task_setioprio) (struct task_struct *p, int ioprio); 1770 int security_task_setioprio(struct task_struct *p, int ioprio); 2333 static inline int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio() argument 2335 return cap_task_setioprio(p, ioprio); in security_task_setioprio()
|
D | blkdev.h | 138 unsigned short ioprio; member 177 return req->ioprio; in req_get_ioprio()
|
D | syscalls.h | 726 asmlinkage long sys_ioprio_set(int which, int who, int ioprio);
|
/linux-2.6.39/Documentation/block/ |
D | ioprio.txt | 89 static inline int ioprio_set(int which, int who, int ioprio) 91 return syscall(__NR_ioprio_set, which, who, ioprio); 118 int ioprio = 4, set = 0, ioprio_class = IOPRIO_CLASS_BE; 124 ioprio = strtol(optarg, NULL, 10); 145 ioprio = 7; 156 ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid); 158 printf("pid=%d, %d\n", pid, ioprio); 160 if (ioprio == -1) 163 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT; 164 ioprio = ioprio & 0xff; [all …]
|
D | 00-INDEX | 9 ioprio.txt
|
/linux-2.6.39/drivers/block/ |
D | virtio_blk.c | 106 vbr->out_hdr.ioprio = req_get_ioprio(vbr->req); in do_req() 112 vbr->out_hdr.ioprio = req_get_ioprio(vbr->req); in do_req() 117 vbr->out_hdr.ioprio = req_get_ioprio(vbr->req); in do_req() 122 vbr->out_hdr.ioprio = req_get_ioprio(vbr->req); in do_req()
|
/linux-2.6.39/block/ |
D | blk-merge.c | 439 req->ioprio = ioprio_best(req->ioprio, next->ioprio); in attempt_merge()
|
D | cfq-iosched.c | 138 unsigned short ioprio, org_ioprio; member 523 return cfq_prio_slice(cfqd, cfq_cfqq_sync(cfqq), cfqq->ioprio); in cfq_prio_to_slice() 820 cfq_prio_slice(cfqd, cfq_cfqq_sync(cfqq), cfqq->ioprio)); in cfq_slice_offset() 2030 WARN_ON(cfqq->ioprio >= IOPRIO_BE_NR); in cfq_prio_to_maxrq() 2032 return 2 * (base_rq + base_rq * (CFQ_PRIO_LISTS - 1 - cfqq->ioprio)); in cfq_prio_to_maxrq() 2780 ioprio_class = IOPRIO_PRIO_CLASS(ioc->ioprio); in cfq_init_prio_data() 2788 cfqq->ioprio = task_nice_ioprio(tsk); in cfq_init_prio_data() 2792 cfqq->ioprio = task_ioprio(ioc); in cfq_init_prio_data() 2796 cfqq->ioprio = task_ioprio(ioc); in cfq_init_prio_data() 2801 cfqq->ioprio = 7; in cfq_init_prio_data() [all …]
|
D | blk-ioc.c | 93 ret->ioprio = 0; in alloc_io_context()
|
D | blk-core.c | 1132 req->ioprio = ioprio_best(req->ioprio, bio_prio(bio)); in bio_attempt_back_merge() 1173 req->ioprio = ioprio_best(req->ioprio, bio_prio(bio)); in bio_attempt_front_merge() 1226 req->ioprio = bio_prio(bio); in init_request_from_bio() 2559 dst->ioprio = src->ioprio; in __blk_rq_prep_clone()
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | sys_ppc32.c | 490 long compat_sys_ioprio_set(u32 which, u32 who, u32 ioprio) in compat_sys_ioprio_set() argument 493 return sys_ioprio_set((int)which, (int)who, (int)ioprio); in compat_sys_ioprio_set()
|
/linux-2.6.39/kernel/ |
D | fork.c | 839 } else if (ioprio_valid(ioc->ioprio)) { in copy_io() 844 tsk->io_context->ioprio = ioc->ioprio; in copy_io()
|
/linux-2.6.39/security/ |
D | commoncap.c | 784 int cap_task_setioprio(struct task_struct *p, int ioprio) in cap_task_setioprio() argument
|
D | security.c | 772 int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio() argument 774 return security_ops->task_setioprio(p, ioprio); in security_task_setioprio()
|
/linux-2.6.39/drivers/message/fusion/ |
D | mptscsih.c | 1461 if (SCpnt->request && SCpnt->request->ioprio) { in mptscsih_qcmd() 1462 if (((SCpnt->request->ioprio & 0x7) == 1) || in mptscsih_qcmd() 1463 !(SCpnt->request->ioprio & 0x7)) in mptscsih_qcmd()
|
/linux-2.6.39/security/smack/ |
D | smack_lsm.c | 1534 static int smack_task_setioprio(struct task_struct *p, int ioprio) in smack_task_setioprio() argument 1538 rc = cap_task_setioprio(p, ioprio); in smack_task_setioprio()
|
/linux-2.6.39/security/selinux/ |
D | hooks.c | 3373 static int selinux_task_setioprio(struct task_struct *p, int ioprio) in selinux_task_setioprio() argument 3377 rc = cap_task_setioprio(p, ioprio); in selinux_task_setioprio()
|
/linux-2.6.39/fs/ext4/ |
D | super.c | 4267 journal_ioprio = sbi->s_journal->j_task->io_context->ioprio; in ext4_remount()
|