Home
last modified time | relevance | path

Searched refs:__state (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/include/drm/
Ddrm_atomic.h762 #define for_each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_s… argument
764 (__i) < (__state)->num_connector; \
766 for_each_if ((__state)->connectors[__i].ptr && \
767 ((connector) = (__state)->connectors[__i].ptr, \
769 (old_connector_state) = (__state)->connectors[__i].old_state, \
770 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
784 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument
786 (__i) < (__state)->num_connector; \
788 for_each_if ((__state)->connectors[__i].ptr && \
789 ((connector) = (__state)->connectors[__i].ptr, \
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_global_state.h32 #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); \
40 #define for_each_old_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
42 (__i) < (__state)->num_global_objs && \
43 ((obj) = (__state)->global_objs[__i].ptr, \
44 (new_obj_state) = (__state)->global_objs[__i].old_state, 1); \
48 #define for_each_oldnew_global_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
50 (__i) < (__state)->num_global_objs && \
[all …]
Dintel_display.h318 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
320 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
321 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
322 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
326 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
328 (__i) < (__state)->base.dev->mode_config.num_crtc && \
329 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
330 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
334 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
336 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/
Dstv090x_priv.h37 #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.6.21/kernel/
Dfreezer.c58 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()
Dhung_task.c98 if (unlikely(READ_ONCE(t->__state) & TASK_FROZEN)) in check_hung_task()
209 state = READ_ONCE(t->__state); in check_hung_uninterruptible_tasks()
Dfork.c586 if (WARN_ON(READ_ONCE(tsk->__state) != TASK_DEAD)) in release_task_stack()
2790 WRITE_ONCE(p->__state, TASK_DEAD); in copy_process()
/linux-6.6.21/include/drm/display/
Ddrm_dp_mst_helper.h975 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument
976 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
977 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i)))
992 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument
993 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
994 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i)))
1010 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument
1011 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \
1012 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
/linux-6.6.21/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c79 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.6.21/include/linux/
Dbpf_verifier.h428 #define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr) \ argument
434 __state = ___vstate->frame[___i]; \
435 ___regs = __state->regs; \
440 bpf_for_each_spilled_reg(___j, __state, __reg) { \
Dsched.h131 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
215 WRITE_ONCE(current->__state, (state_value)); \
221 smp_store_mb(current->__state, (state_value)); \
236 WRITE_ONCE(current->__state, (state_value)); \
269 current->saved_state = current->__state; \
271 WRITE_ONCE(current->__state, TASK_RTLOCK_WAIT); \
280 WRITE_ONCE(current->__state, current->saved_state); \
285 #define get_current_state() READ_ONCE(current->__state)
751 unsigned int __state; member
1690 return __task_state_index(READ_ONCE(tsk->__state), tsk->exit_state); in task_state_index()
Dnodemask.h441 #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.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.h65 #define IS_IN_LOW_POWER_STATE_92E(__state) \ argument
66 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
/linux-6.6.21/lib/
Dsyscall.c77 state = READ_ONCE(target->__state); in task_current_syscall()
/linux-6.6.21/tools/bpf/runqslower/
Drunqslower.bpf.c77 if (prev->__state == TASK_RUNNING) in handle__sched_switch()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.h113 #define IS_IN_LOW_POWER_STATE_8821AE(__state) \ argument
114 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-bt1.c110 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.6.21/drivers/s390/cio/
Dqdio_main.c209 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.6.21/init/
Dinit_task.c74 .__state = 0,
/linux-6.6.21/kernel/rcu/
Dtree_stall.h541 gpk ? data_race(READ_ONCE(gpk->__state)) : ~0, cpu); in rcu_check_gp_kthread_starvation()
583 data_race(READ_ONCE(gpk->__state))); in rcu_check_gp_kthread_expired_fqs_timer()
905 t ? data_race(READ_ONCE(t->__state)) : 0x1ffff, t ? t->rt_priority : 0xffU, in show_rcu_gp_kthreads()
/linux-6.6.21/kernel/sched/
Ddeadline.c429 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in task_non_contending()
432 if (READ_ONCE(p->__state) == TASK_DEAD) in task_non_contending()
1413 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in inactive_task_timer()
1416 if (READ_ONCE(p->__state) == TASK_DEAD && dl_se->dl_non_contending) { in inactive_task_timer()
1594 state = READ_ONCE(p->__state); in update_stats_dequeue_dl()
1871 if (READ_ONCE(p->__state) != TASK_WAKING) in migrate_task_rq_dl()
Dcore.c2082 state = READ_ONCE(p->__state); in get_wchan()
2239 if (READ_ONCE(p->__state) & state) in __task_state_match()
3050 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) { in affine_move_task()
3347 unsigned int state = READ_ONCE(p->__state); in set_task_cpu()
3766 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_wakeup()
4299 WRITE_ONCE(p->__state, TASK_WAKING); in try_to_wake_up()
4361 unsigned int state = READ_ONCE(p->__state); in __task_needs_rq_lock()
4740 p->__state = TASK_NEW; in sched_fork()
4858 WRITE_ONCE(p->__state, TASK_RUNNING); in wake_up_new_task()
5251 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
[all …]
/linux-6.6.21/arch/loongarch/kernel/
Dasm-offsets.c67 OFFSET(TASK_STATE, task_struct, __state); in output_task_defines()
/linux-6.6.21/drivers/net/pcs/
Dpcs-xpcs.c306 #define xpcs_warn(__xpcs, __state, __args...) \ argument
308 if ((__state)->link) \
/linux-6.6.21/kernel/cgroup/
Dcgroup-v1.c725 switch (READ_ONCE(tsk->__state)) { in cgroupstats_build()

12