• Home
  • Raw
  • Download

Lines Matching defs:rq

425 	struct rq *rq;	/* cpu runqueue to which this cfs_rq is attached */  member
485 struct rq *rq; member
541 struct rq { struct
562 struct cfs_rq cfs; argument
563 struct rt_rq rt; argument
567 struct list_head leaf_cfs_rq_list; argument
570 struct list_head leaf_rt_rq_list; argument
579 unsigned long nr_uninterruptible;
581 struct task_struct *curr, *idle;
582 unsigned long next_balance;
583 struct mm_struct *prev_mm;
585 u64 clock;
587 atomic_t nr_iowait;
590 struct root_domain *rd;
591 struct sched_domain *sd;
616 struct sched_info rq_sched_info; argument
617 unsigned long long rq_cpu_time; argument
618 /* could above be rq->cfs_rq.exec_clock + rq->rt_rq.rt_runtime ? */ argument
640 static DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues); argument
642 static inline void check_preempt_curr(struct rq *rq, struct task_struct *p, int sync) in check_preempt_curr()
647 static inline int cpu_of(struct rq *rq) in cpu_of()
671 static inline void update_rq_clock(struct rq *rq) in update_rq_clock()
695 struct rq *rq = cpu_rq(cpu); in runqueue_is_locked() local
871 static inline int task_current(struct rq *rq, struct task_struct *p) in task_current()
877 static inline int task_running(struct rq *rq, struct task_struct *p) in task_running()
882 static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next) in prepare_lock_switch()
886 static inline void finish_lock_switch(struct rq *rq, struct task_struct *prev) in finish_lock_switch()
903 static inline int task_running(struct rq *rq, struct task_struct *p) in task_running()
912 static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next) in prepare_lock_switch()
929 static inline void finish_lock_switch(struct rq *rq, struct task_struct *prev) in finish_lock_switch()
954 struct rq *rq = task_rq(p); in __task_rq_lock() local
970 struct rq *rq; in task_rq_lock() local
984 struct rq *rq = task_rq(p); in task_rq_unlock_wait() local
990 static void __task_rq_unlock(struct rq *rq) in __task_rq_unlock()
996 static inline void task_rq_unlock(struct rq *rq, unsigned long *flags) in task_rq_unlock()
1008 struct rq *rq; in this_rq_lock() local
1034 static inline int hrtick_enabled(struct rq *rq) in hrtick_enabled()
1043 static void hrtick_clear(struct rq *rq) in hrtick_clear()
1055 struct rq *rq = container_of(timer, struct rq, hrtick_timer); in hrtick() local
1073 struct rq *rq = arg; in __hrtick_start() local
1086 static void hrtick_start(struct rq *rq, u64 delay) in hrtick_start()
1130 static void hrtick_start(struct rq *rq, u64 delay) in hrtick_start()
1140 static void init_rq_hrtick(struct rq *rq) in init_rq_hrtick()
1154 static inline void hrtick_clear(struct rq *rq) in hrtick_clear()
1158 static inline void init_rq_hrtick(struct rq *rq) in init_rq_hrtick()
1203 struct rq *rq = cpu_rq(cpu); in resched_cpu() local
1225 struct rq *rq = cpu_rq(cpu); in wake_up_idle_cpu() local
1402 static inline void inc_cpu_load(struct rq *rq, unsigned long load) in inc_cpu_load()
1407 static inline void dec_cpu_load(struct rq *rq, unsigned long load) in dec_cpu_load()
1464 struct rq *rq = cpu_rq(cpu); in cpu_avg_load_per_task() local
1505 struct rq *rq = cpu_rq(cpu); in update_group_shares_cpu() local
1589 static void update_shares_locked(struct rq *rq, struct sched_domain *sd) in update_shares_locked()
1607 static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd) in update_shares_locked()
1669 static void inc_nr_running(struct rq *rq) in inc_nr_running()
1674 static void dec_nr_running(struct rq *rq) in dec_nr_running()
1706 static void enqueue_task(struct rq *rq, struct task_struct *p, int wakeup) in enqueue_task()
1713 static void dequeue_task(struct rq *rq, struct task_struct *p, int sleep) in dequeue_task()
1775 static void activate_task(struct rq *rq, struct task_struct *p, int wakeup) in activate_task()
1787 static void deactivate_task(struct rq *rq, struct task_struct *p, int sleep) in deactivate_task()
1819 static inline void check_class_changed(struct rq *rq, struct task_struct *p, in check_class_changed()
1916 struct rq *rq = task_rq(p); in migrate_task() local
1956 struct rq *rq; in wait_task_inactive() local
2073 struct rq *rq = cpu_rq(cpu); in source_load() local
2088 struct rq *rq = cpu_rq(cpu); in target_load() local
2264 struct rq *rq; in try_to_wake_up() local
2464 struct rq *rq; in wake_up_new_task() local
2563 prepare_task_switch(struct rq *rq, struct task_struct *prev, in prepare_task_switch()
2586 static void finish_task_switch(struct rq *rq, struct task_struct *prev) in finish_task_switch()
2633 struct rq *rq = this_rq(); in schedule_tail() local
2653 context_switch(struct rq *rq, struct task_struct *prev, in context_switch()
2863 struct rq *rq; in sched_migrate_task() local
2921 int can_migrate_task(struct task_struct *p, struct rq *rq, int this_cpu, in can_migrate_task()
3156 struct rq *rq = cpu_rq(i); in find_busiest_group() local
3429 struct rq *busiest = NULL, *rq; in find_busiest_queue() local
3948 struct rq *rq = cpu_rq(cpu); in rebalance_domains() local
4044 struct rq *rq; in run_rebalance_domains() local
4076 static inline void trigger_load_balance(struct rq *rq, int cpu) in trigger_load_balance()
4135 static inline void idle_balance(int cpu, struct rq *rq) in idle_balance()
4151 static u64 do_task_delta_exec(struct task_struct *p, struct rq *rq) in do_task_delta_exec()
4168 struct rq *rq; in task_delta_exec() local
4186 struct rq *rq; in task_sched_runtime() local
4209 struct rq *rq; in thread_group_sched_runtime() local
4328 struct rq *rq = this_rq(); in account_idle_time() local
4347 struct rq *rq = this_rq(); in account_process_tick() local
4448 struct rq *rq = cpu_rq(cpu); in scheduler_tick() local
4573 pick_next_task(struct rq *rq, struct task_struct *prev) in pick_next_task()
4608 struct rq *rq; in schedule() local
5086 struct rq *rq; in rt_mutex_setprio() local
5125 struct rq *rq; in set_user_nice() local
5277 __setscheduler(struct rq *rq, struct task_struct *p, int policy, int prio) in __setscheduler()
5323 struct rq *rq; in __sched_setscheduler() local
5746 struct rq *rq = this_rq_lock(); in SYSCALL_DEFINE0() local
5855 struct rq *rq = &__raw_get_cpu_var(runqueues); in io_schedule() local
5867 struct rq *rq = &__raw_get_cpu_var(runqueues); in io_schedule_timeout() local
5966 struct rq *rq; in SYSCALL_DEFINE2() local
6068 struct rq *rq = cpu_rq(cpu); in init_idle() local
6165 struct rq *rq; in set_cpus_allowed_ptr() local
6260 struct rq *rq; in migration_thread() local
6413 struct rq *rq = cpu_rq(this_cpu); in sched_idle_next() local
6452 struct rq *rq = cpu_rq(dead_cpu); in migrate_dead() local
6477 struct rq *rq = cpu_rq(dead_cpu); in migrate_dead_tasks() local
6661 static void set_rq_online(struct rq *rq) in set_rq_online()
6676 static void set_rq_offline(struct rq *rq) in set_rq_offline()
6701 struct rq *rq; in migration_call() local
7003 static void rq_attach_root(struct rq *rq, struct root_domain *rd) in rq_attach_root()
7103 struct rq *rq = cpu_rq(cpu); in cpu_attach_domain() local
8255 static void init_cfs_rq(struct cfs_rq *cfs_rq, struct rq *rq) in init_cfs_rq()
8265 static void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq) in init_rt_rq()
8302 struct rq *rq = cpu_rq(cpu); in init_tg_cfs_entry() local
8331 struct rq *rq = cpu_rq(cpu); in init_tg_rt_entry() local
8437 struct rq *rq; in sched_init() local
8607 static void normalize_task(struct rq *rq, struct task_struct *p) in normalize_task()
8626 struct rq *rq; in normalize_rt_tasks() local
8732 struct rq *rq; in alloc_fair_sched_group() local
8819 struct rq *rq; in alloc_rt_sched_group() local
8965 struct rq *rq; in sched_move_task() local
9015 struct rq *rq = cfs_rq->rq; in set_se_shares() local