/linux-6.3-rc2/include/drm/ |
A D | drm_atomic.h | 757 (__i) < (__state)->num_connector; \ 779 (__i) < (__state)->num_connector; \ 800 (__i) < (__state)->num_connector; \ 824 for_each_if ((__state)->crtcs[__i].ptr && \ 825 ((crtc) = (__state)->crtcs[__i].ptr, \ 847 for_each_if ((__state)->crtcs[__i].ptr && \ 848 ((crtc) = (__state)->crtcs[__i].ptr, \ 867 for_each_if ((__state)->crtcs[__i].ptr && \ 868 ((crtc) = (__state)->crtcs[__i].ptr, \ 986 (__i) < (__state)->num_private_objs && \ [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_global_state.h | 32 #define for_each_new_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument 34 (__i) < (__state)->num_global_objs && \ 35 ((obj) = (__state)->global_objs[__i].ptr, \ 36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \ 42 (__i) < (__state)->num_global_objs && \ 43 ((obj) = (__state)->global_objs[__i].ptr, \ 44 (new_obj_state) = (__state)->global_objs[__i].old_state, 1); \ 50 (__i) < (__state)->num_global_objs && \ 51 ((obj) = (__state)->global_objs[__i].ptr, \ 52 (old_obj_state) = (__state)->global_objs[__i].old_state, \ [all …]
|
A D | intel_display.h | 324 (__i) < (__state)->base.dev->mode_config.num_total_plane && \ 332 (__i) < (__state)->base.dev->mode_config.num_crtc && \ 333 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ 348 (__i) < (__state)->base.dev->mode_config.num_crtc && \ 349 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ 365 (__i) < (__state)->base.dev->mode_config.num_crtc && \ 366 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ 373 for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \ 375 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ 391 (__i) < (__state)->base.num_connector; \ [all …]
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | stv090x_priv.h | 37 #define STV090x_READ_DEMOD(__state, __reg) (( \ argument 38 (__state)->demod == STV090x_DEMODULATOR_1) ? \ 39 stv090x_read_reg(__state, STV090x_P2_##__reg) : \ 40 stv090x_read_reg(__state, STV090x_P1_##__reg)) 42 #define STV090x_WRITE_DEMOD(__state, __reg, __data) (( \ argument 43 (__state)->demod == STV090x_DEMODULATOR_1) ? \ 44 stv090x_write_reg(__state, STV090x_P2_##__reg, __data) :\ 45 stv090x_write_reg(__state, STV090x_P1_##__reg, __data)) 47 #define STV090x_ADDR_OFFST(__state, __x) (( \ argument 48 (__state->demod) == STV090x_DEMODULATOR_1) ? \
|
/linux-6.3-rc2/kernel/ |
A D | freezer.c | 58 return READ_ONCE(p->__state) & TASK_FROZEN; in frozen() 106 unsigned int state = READ_ONCE(p->__state); in __set_task_frozen() 132 WRITE_ONCE(p->__state, TASK_FROZEN); in __set_task_frozen() 189 WRITE_ONCE(p->__state, state); in __set_task_special()
|
A D | hung_task.c | 98 if (unlikely(READ_ONCE(t->__state) & TASK_FROZEN)) in check_hung_task() 209 state = READ_ONCE(t->__state); in check_hung_uninterruptible_tasks()
|
A D | fork.c | 522 if (WARN_ON(READ_ONCE(tsk->__state) != TASK_DEAD)) in release_task_stack() 2566 WRITE_ONCE(p->__state, TASK_DEAD); in copy_process()
|
/linux-6.3-rc2/include/drm/display/ |
A D | drm_dp_mst_helper.h | 972 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument 973 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 974 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i))) 989 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument 990 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 991 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i))) 1007 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument 1008 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 1009 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
|
/linux-6.3-rc2/tools/perf/util/bpf_skel/ |
A D | off_cpu.bpf.c | 79 long __state; member 110 if (bpf_core_field_exists(t_new->__state)) { in get_task_state() 111 return BPF_CORE_READ(t_new, __state); in get_task_state()
|
/linux-6.3-rc2/include/linux/ |
A D | bpf_verifier.h | 374 #define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr) \ argument 380 __state = ___vstate->frame[___i]; \ 381 ___regs = __state->regs; \ 386 bpf_for_each_spilled_reg(___j, __state, __reg) { \
|
A D | sched.h | 130 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING) 214 WRITE_ONCE(current->__state, (state_value)); \ 220 smp_store_mb(current->__state, (state_value)); \ 235 WRITE_ONCE(current->__state, (state_value)); \ 268 current->saved_state = current->__state; \ 270 WRITE_ONCE(current->__state, TASK_RTLOCK_WAIT); \ 279 WRITE_ONCE(current->__state, current->saved_state); \ 284 #define get_current_state() READ_ONCE(current->__state) 745 unsigned int __state; member 1682 return __task_state_index(READ_ONCE(tsk->__state), tsk->exit_state); in task_state_index()
|
A D | nodemask.h | 441 #define for_each_node_state(__node, __state) \ argument 442 for_each_node_mask((__node), node_states[__state]) 490 #define for_each_node_state(node, __state) \ argument
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | fw.h | 65 #define IS_IN_LOW_POWER_STATE_92E(__state) \ argument 66 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
|
/linux-6.3-rc2/lib/ |
A D | syscall.c | 77 state = READ_ONCE(target->__state); in task_current_syscall()
|
/linux-6.3-rc2/tools/bpf/runqslower/ |
A D | runqslower.bpf.c | 77 if (prev->__state == TASK_RUNNING) in handle__sched_switch()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | fw.h | 113 #define IS_IN_LOW_POWER_STATE_8821AE(__state) \ argument 114 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
|
/linux-6.3-rc2/drivers/pci/controller/dwc/ |
A D | pcie-bt1.c | 110 int __state = FIELD_GET(BT1_CCU_PCIE_LTSSM_STATE_MASK, _pmsc); \ 111 __state >= BT1_CCU_PCIE_LTSSM_L0 && __state <= BT1_CCU_PCIE_LTSSM_L2_WAKE; \
|
/linux-6.3-rc2/drivers/s390/cio/ |
A D | qdio_main.c | 209 unsigned char __state = 0; in get_buf_states() local 216 __state = q->slsb.val[bufnr]; in get_buf_states() 219 if (__state & SLSB_OWNER_CU) in get_buf_states() 226 if (q->slsb.val[bufnr] != __state) in get_buf_states() 231 *state = __state; in get_buf_states()
|
/linux-6.3-rc2/init/ |
A D | init_task.c | 74 .__state = 0,
|
/linux-6.3-rc2/kernel/rcu/ |
A D | tree_stall.h | 535 gpk ? data_race(READ_ONCE(gpk->__state)) : ~0, cpu); in rcu_check_gp_kthread_starvation() 577 data_race(READ_ONCE(gpk->__state))); in rcu_check_gp_kthread_expired_fqs_timer() 889 t ? data_race(READ_ONCE(t->__state)) : 0x1ffff, t ? t->rt_priority : 0xffU, in show_rcu_gp_kthreads()
|
/linux-6.3-rc2/kernel/sched/ |
A D | core.c | 2042 state = READ_ONCE(p->__state); in get_wchan() 3377 if (READ_ONCE(p->__state) & match_state) in wait_task_inactive() 3684 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_wakeup() 3979 if (READ_ONCE(p->__state) & state) { in ttwu_state_match() 4224 WRITE_ONCE(p->__state, TASK_WAKING); in try_to_wake_up() 4664 p->__state = TASK_NEW; in sched_fork() 4782 WRITE_ONCE(p->__state, TASK_RUNNING); in wake_up_new_task() 5176 prev_state = READ_ONCE(prev->__state); in finish_task_switch() 6552 prev_state = READ_ONCE(prev->__state); in __schedule() 6724 WARN_ON_ONCE(current->__state); in schedule_idle() [all …]
|
A D | deadline.c | 427 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in task_non_contending() 430 if (READ_ONCE(p->__state) == TASK_DEAD) in task_non_contending() 1422 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in inactive_task_timer() 1425 if (READ_ONCE(p->__state) == TASK_DEAD && dl_se->dl_non_contending) { in inactive_task_timer() 1603 state = READ_ONCE(p->__state); in update_stats_dequeue_dl() 1880 if (READ_ONCE(p->__state) != TASK_WAKING) in migrate_task_rq_dl()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | asm-offsets.c | 66 OFFSET(TASK_STATE, task_struct, __state); in output_task_defines()
|
/linux-6.3-rc2/drivers/net/pcs/ |
A D | pcs-xpcs.c | 267 #define xpcs_warn(__xpcs, __state, __args...) \ argument 269 if ((__state)->link) \
|
/linux-6.3-rc2/kernel/cgroup/ |
A D | cgroup-v1.c | 726 switch (READ_ONCE(tsk->__state)) { in cgroupstats_build()
|