tag | line | file | source code |
newprio | 956 | kernel/sched.c | unsigned long newprio; |
newprio | 959 | kernel/sched.c | newprio = increment; |
newprio | 963 | kernel/sched.c | newprio = -increment; |
newprio | 966 | kernel/sched.c | if (newprio > 40) |
newprio | 967 | kernel/sched.c | newprio = 40; |
newprio | 975 | kernel/sched.c | newprio = (newprio * DEF_PRIORITY + 10) / 20; |
newprio | 976 | kernel/sched.c | increment = newprio; |
newprio | 979 | kernel/sched.c | newprio = current->priority - increment; |
newprio | 980 | kernel/sched.c | if (newprio < 1) |
newprio | 981 | kernel/sched.c | newprio = 1; |
newprio | 982 | kernel/sched.c | if (newprio > DEF_PRIORITY*2) |
newprio | 983 | kernel/sched.c | newprio = DEF_PRIORITY*2; |
newprio | 984 | kernel/sched.c | current->priority = newprio; |