| /linux/drivers/media/dvb-frontends/ |
| H 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/include/linux/ |
| H A D | sched.h | 99 * 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 843 unsigned int __state; global() member [all...] |
| H A D | bpf_verifier.h | 563 #define bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, __stack, __mask, __expr) \ argument 569 __state = ___vstate->frame[___i]; \ 570 ___regs = __state->regs; \ 576 bpf_for_each_spilled_reg(___j, __state, __reg, __mask) { \ 579 __stack = &__state->stack[___j]; \ 583 bpf_for_each_spilled_stack_arg(___j, __state, __reg) { \ 593 #define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr) \ argument 597 bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, ___stack,\
|
| H A D | nodemask.h | 435 #define for_each_node_state(__node, __state) \ argument 436 for_each_node_mask((__node), node_states[__state]) 481 #define for_each_node_state(node, __state) \ argument
|
| H A D | fs.h | 754 enum inode_state_flags_enum __state; member 880 return READ_ONCE(inode->i_state.__state); in inode_state_read_once() 886 return inode->i_state.__state; in inode_state_read() 892 WRITE_ONCE(inode->i_state.__state, inode->i_state.__state | flags); in inode_state_set_raw() 905 WRITE_ONCE(inode->i_state.__state, inode->i_state.__state & ~flags); in inode_state_clear_raw() 918 WRITE_ONCE(inode->i_state.__state, flags); in inode_state_assign_raw() 933 flags = inode->i_state.__state; in inode_state_replace_raw()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | fw.h | 65 #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 D | off_cpu.bpf.c | 106 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.h | 1162 #define for_each_oldnew_plane_in_descending_zpos(__state, plane, old_plane_state, new_plane_state) \ argument 1163 for (struct __drm_planes_state *__i = amdgpu_dm_get_next_zpos((__state), NULL); \ 1164 __i != NULL; __i = amdgpu_dm_get_next_zpos((__state), __i)) \
|
| /linux/lib/ |
| H A D | syscall.c | 77 state = READ_ONCE(target->__state); in task_current_syscall()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_cx0_phy.c | 791 #define __C10PLL_PARAMS(__is_hdmi, __clock_rate, __state) { \ argument 792 .name = __stringify(__state), \ 796 .c10 = &__state, \ 799 #define __C20PLL_PARAMS(__is_hdmi, __clock_rate, __state) { \ argument 800 .name = __stringify(__state), \ 804 .c20 = &__state, \ 807 #define C10PLL_HDMI_PARAMS(__clock_rate, __state) __C10PLL_PARAMS(true, __clock_rate, __state) argument 808 #define C10PLL_DP_PARAMS(__clock_rate, __state) __C10PLL_PARAMS(false, __clock_rate, __stat… argument 810 #define C20PLL_HDMI_PARAMS(__clock_rate, __state) __C20PLL_PARAMS(true, __clock_rate, __state) argument 811 #define C20PLL_DP_PARAMS(__clock_rate, __state) __C20PLL_PARAMS(false, __clock_rate, __stat… argument
|
| H A D | intel_lt_phy.c | 442 #define __LT_PHY_PLL_PARAMS(__is_hdmi, __clock_rate, __state) { \ argument 443 .name = __stringify(__state), \ 446 .state = &__state, \ 449 #define LT_PHY_PLL_HDMI_PARAMS(__clock_rate, __state) __LT_PHY_PLL_PARAMS(true, __clock_rate, __sta… argument 450 #define LT_PHY_PLL_DP_PARAMS(__clock_rate, __state) __LT_PHY_PLL_PARAMS(false, __clock_rate, __stat… argument
|
| /linux/kernel/sched/ |
| H A D | core.c | 2173 state = READ_ONCE(p->__state); in get_wchan() 2317 if (READ_ONCE(p->__state) & state) in __task_state_match() 3062 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) { in affine_move_task() 3353 unsigned int state = READ_ONCE(p->__state); in set_task_cpu() 3746 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_wakeup() 4142 * After acquiring the lock the task will restore p::__state in ttwu_state_match() 4380 WRITE_ONCE(p->__state, TASK_WAKING); in try_to_wake_up() 4449 unsigned int state = READ_ONCE(p->__state); in __task_needs_rq_lock() 4460 * Ensure we load p->on_rq after p->__state, otherwise it would be in __task_needs_rq_lock() 4512 * p->__state t in task_call_func() [all...] |
| H A D | deadline.c | 444 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() 2173 if (!dl_task(p) || READ_ONCE(p->__state) == TASK_DEAD) { in inactive_task_timer() 2176 if (READ_ONCE(p->__state) == TASK_DEAD && dl_se->dl_non_contending) { in inactive_task_timer() 2346 state = READ_ONCE(p->__state); in update_stats_dequeue_dl() 2660 if (READ_ONCE(p->__state) != TASK_WAKING) in migrate_task_rq_dl()
|
| H A D | rt.c | 1320 state = READ_ONCE(p->__state); in update_stats_dequeue_rt()
|
| H A D | fair.c | 2381 state = READ_ONCE(tsk->__state); in task_scan_max() 15589 if (READ_ONCE(p->__state) == TASK_NEW)
|
| /linux/init/ |
| H A D | init_task.c | 110 .__state = 0,
|
| /linux/arch/loongarch/kernel/ |
| H A D | asm-offsets.c | 72 OFFSET(TASK_STATE, task_struct, __state); in output_task_defines()
|
| /linux/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 304 #define xpcs_warn(__xpcs, __state, __args...) \ argument 306 if ((__state)->link) \
|
| /linux/kernel/cgroup/ |
| H A D | cgroup-v1.c | 746 switch (READ_ONCE(tsk->__state)) { in cgroupstats_build()
|
| /linux/kernel/ |
| H A D | fork.c | 519 if (WARN_ON(READ_ONCE(tsk->__state) != TASK_DEAD)) in release_task_stack() 2643 WRITE_ONCE(p->__state, TASK_DEAD); in copy_process()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 1367 state = READ_ONCE(p->__state); in fill_psinfo()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | cnic_defs.h | 1501 u8 __state; member 1503 u8 __state;
|
| /linux/kernel/sched/ext/ |
| H A D | ext.c | 4264 return unlikely(READ_ONCE(p->__state) == TASK_DEAD) && in sched_ext_dead()
|