Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ioprio.c File Reference
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/ioprio.h>
#include <linux/blkdev.h>
#include <linux/capability.h>
#include <linux/syscalls.h>
#include <linux/security.h>
#include <linux/pid_namespace.h>

Go to the source code of this file.

Functions

int set_task_ioprio (struct task_struct *task, int ioprio)
 
 EXPORT_SYMBOL_GPL (set_task_ioprio)
 
 SYSCALL_DEFINE3 (ioprio_set, int, which, int, who, int, ioprio)
 
int ioprio_best (unsigned short aprio, unsigned short bprio)
 
 SYSCALL_DEFINE2 (ioprio_get, int, which, int, who)
 

Function Documentation

EXPORT_SYMBOL_GPL ( set_task_ioprio  )
int ioprio_best ( unsigned short  aprio,
unsigned short  bprio 
)

Definition at line 158 of file ioprio.c.

int set_task_ioprio ( struct task_struct task,
int  ioprio 
)

Definition at line 32 of file ioprio.c.

SYSCALL_DEFINE2 ( ioprio_get  ,
int  ,
which  ,
int  ,
who   
)

Definition at line 176 of file ioprio.c.

SYSCALL_DEFINE3 ( ioprio_set  ,
int  ,
which  ,
int  ,
who  ,
int  ,
ioprio   
)

Definition at line 61 of file ioprio.c.