Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/drm/
A Ddrm_atomic.h757 (__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 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); \
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 Dintel_display.h324 (__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 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.3-rc2/kernel/
A 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()
A 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()
A Dfork.c522 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 Ddrm_dp_mst_helper.h972 #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 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.3-rc2/include/linux/
A Dbpf_verifier.h374 #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 Dsched.h130 #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 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Dfw.h65 #define IS_IN_LOW_POWER_STATE_92E(__state) \ argument
66 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
/linux-6.3-rc2/lib/
A Dsyscall.c77 state = READ_ONCE(target->__state); in task_current_syscall()
/linux-6.3-rc2/tools/bpf/runqslower/
A Drunqslower.bpf.c77 if (prev->__state == TASK_RUNNING) in handle__sched_switch()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dfw.h113 #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 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.3-rc2/drivers/s390/cio/
A 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.3-rc2/init/
A Dinit_task.c74 .__state = 0,
/linux-6.3-rc2/kernel/rcu/
A Dtree_stall.h535 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 Dcore.c2042 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 Ddeadline.c427 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 Dasm-offsets.c66 OFFSET(TASK_STATE, task_struct, __state); in output_task_defines()
/linux-6.3-rc2/drivers/net/pcs/
A Dpcs-xpcs.c267 #define xpcs_warn(__xpcs, __state, __args...) \ argument
269 if ((__state)->link) \
/linux-6.3-rc2/kernel/cgroup/
A Dcgroup-v1.c726 switch (READ_ONCE(tsk->__state)) { in cgroupstats_build()

Completed in 97 milliseconds

12