Home
last modified time | relevance | path

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

/linux/include/drm/
H A Ddrm_atomic.h933 * @__state: &struct drm_atomic_commit pointer
945 #define for_each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ argument
947 (__i) < (__state)->num_connector; \
949 for_each_if ((__state)->connectors[__i].ptr && \
950 ((connector) = (__state)->connectors[__i].ptr, \
952 (old_connector_state) = (__state)->connectors[__i].old_state, \
953 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
957 * @__state: &struct drm_atomic_commit pointer
967 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument
969 (__i) < (__state)
988 for_each_new_connector_in_state(__state,connector,new_connector_state,__i) global() argument
1010 for_each_oldnew_crtc_in_state(__state,crtc,old_crtc_state,new_crtc_state,__i) global() argument
1033 for_each_old_crtc_in_state(__state,crtc,old_crtc_state,__i) global() argument
1053 for_each_new_crtc_in_state(__state,crtc,new_crtc_state,__i) global() argument
1075 for_each_oldnew_colorop_in_state(__state,colorop,old_colorop_state,new_colorop_state,__i) global() argument
1097 for_each_new_colorop_in_state(__state,colorop,new_colorop_state,__i) global() argument
1119 for_each_oldnew_plane_in_state(__state,plane,old_plane_state,new_plane_state,__i) global() argument
1142 for_each_oldnew_plane_in_state_reverse(__state,plane,old_plane_state,new_plane_state,__i) global() argument
1159 for_each_new_plane_in_state_reverse(__state,plane,new_plane_state,__i) global() argument
1178 for_each_old_plane_in_state(__state,plane,old_plane_state,__i) global() argument
1196 for_each_new_plane_in_state(__state,plane,new_plane_state,__i) global() argument
1218 for_each_oldnew_private_obj_in_state(__state,obj,old_obj_state,new_obj_state,__i) global() argument
1237 for_each_old_private_obj_in_state(__state,obj,old_obj_state,__i) global() argument
1255 for_each_new_private_obj_in_state(__state,obj,new_obj_state,__i) global() argument
[all...]
/linux/drivers/media/dvb-frontends/
H 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/drivers/gpu/drm/i915/display/
H A Dintel_global_state.c16 #define for_each_new_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
18 (__i) < (__state)->num_global_objs && \
19 ((obj) = (__state)->global_objs[__i].ptr, \
20 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
24 #define for_each_old_global_obj_in_state(__state, obj, old_obj_state, __i) \ argument
26 (__i) < (__state)->num_global_objs && \
27 ((obj) = (__state)->global_objs[__i].ptr, \
28 (old_obj_state) = (__state)->global_objs[__i].old_state, 1); \
32 #define for_each_oldnew_global_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
34 (__i) < (__state)
[all...]
/linux/include/linux/
H A Dsched.h99 * We have two separate sets of flags: task->__state
106 /* Used in tsk->__state: */
116 /* Used in tsk->__state again: */
152 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
204 * set_current_state() includes a barrier so that the write of current->__state
227 * accessing p->__state.
229 * Wakeup will do: if (@state & p->__state) p->__state = TASK_RUNNING, that is,
244 WRITE_ONCE(current->__state, (state_value)); \
251 smp_store_mb(current->__state, (state_valu
828 unsigned int __state; global() member
[all...]
H A Dbpf_verifier.h560 #define bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, __stack, __mask, __expr) \
566 __state = ___vstate->frame[___i]; \
567 ___regs = __state->regs; \
573 bpf_for_each_spilled_reg(___j, __state, __reg, __mask) { \
576 __stack = &__state->stack[___j]; \
580 bpf_for_each_spilled_stack_arg(___j, __state, __reg) { \
589 /* Invoke __expr over regsiters in __vst, setting __state and __reg */
590 #define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr) \
594 bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, ___stack,\
511 bpf_for_each_reg_in_vstate_mask(__vst,__state,__reg,__mask,__expr) global() argument
532 bpf_for_each_reg_in_vstate(__vst,__state,__reg,__expr) global() argument
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dfw.h65 #define IS_IN_LOW_POWER_STATE_92E(__state) \ argument
66 (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF)
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c106 long __state; member
140 if (bpf_core_field_exists(t_new->__state)) { in get_task_state()
141 return BPF_CORE_READ(t_new, __state); in get_task_state()
/linux/lib/
H A Dsyscall.c77 state = READ_ONCE(target->__state); in task_current_syscall()
/linux/drivers/s390/cio/
H 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/kernel/sched/
H A Dcore.c2163 state = READ_ONCE(p->__state); in enqueue_task()
2307 if (READ_ONCE(p->__state) & state) in wait_task_inactive()
3052 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) { in affine_move_task()
3343 unsigned int state = READ_ONCE(p->__state); in set_task_cpu()
3729 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_activate()
4119 * After acquiring the lock the task will restore p::__state
4357 WRITE_ONCE(p->__state, TASK_WAKING);
4426 unsigned int state = READ_ONCE(p->__state);
4437 * Ensure we load p->on_rq after p->__state, otherwise it would be
4489 * p->__state t in __sched_fork()
[all...]
H A Ddeadline.c444 if (!dl_task || READ_ONCE(p->__state) == TASK_DEAD) { in task_non_contending()
447 if (READ_ONCE(p->__state) == TASK_DEAD) in task_non_contending()
2172 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in __enqueue_dl_entity()
2175 if (READ_ONCE(p->__state) == TASK_DEAD && dl_se->dl_non_contending) { in __dequeue_dl_entity()
2345 state = READ_ONCE(p->__state); in enqueue_task_dl()
2659 if (READ_ONCE(p->__state) != TASK_WAKING)
H A Dfair.c2137 state = READ_ONCE(tsk->__state); in should_numa_migrate_memory()
15088 if (READ_ONCE(p->__state) == TASK_NEW)
H A Dext.c
/linux/arch/loongarch/kernel/
H A Dasm-offsets.c72 OFFSET(TASK_STATE, task_struct, __state); in output_task_defines()
/linux/drivers/net/pcs/
H A Dpcs-xpcs.c304 #define xpcs_warn(__xpcs, __state, __args...) \ argument
306 if ((__state)->link) \
/linux/kernel/cgroup/
H A Dcgroup-v1.c746 switch (READ_ONCE(tsk->__state)) { in cgroupstats_build()
/linux/kernel/
H A Dfork.c519 if (WARN_ON(READ_ONCE(tsk->__state) != TASK_DEAD)) in release_task_stack()
2618 WRITE_ONCE(p->__state, TASK_DEAD); in idle_dummy()
/linux/fs/
H A Dbinfmt_elf_fdpic.c1362 state = READ_ONCE(p->__state); in fill_psinfo()
H A Dbinfmt_elf.c1548 state = READ_ONCE(p->__state); in fill_psinfo()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic_defs.h1501 u8 __state; member
1503 u8 __state;
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c12691 #define for_each_oldnew_plane_in_descending_zpos(__state, plane, old_plane_state, new_plane_state) \ in amdgpu_dm_atomic_check()
12692 for (struct __drm_planes_state *__i = __get_next_zpos((__state), NULL); \ in amdgpu_dm_atomic_check()
12693 __i != NULL; __i = __get_next_zpos((__state), __i)) \ in amdgpu_dm_atomic_check()
12299 for_each_oldnew_plane_in_descending_zpos(__state,plane,old_plane_state,new_plane_state) global() argument