Searched refs:prev_state (Results 1 - 25 of 88) sorted by relevance

1234

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tracepoint.c13 long long prev_state; member in struct:sched_switch_args
H A Dtest_stacktrace_map.c47 long long prev_state; member in struct:sched_switch_args
/linux-master/samples/trace_events/
H A Dtrace_custom_sched.h30 unsigned int prev_state),
32 TP_ARGS(preempt, prev, next, prev_state),
/linux-master/kernel/trace/rv/monitors/wwnr/
H A Dwwnr.c22 struct task_struct *n, unsigned int prev_state)
25 if (prev_state == TASK_INTERRUPTIBLE)
21 handle_switch(void *data, bool preempt, struct task_struct *p, struct task_struct *n, unsigned int prev_state) argument
/linux-master/samples/bpf/
H A Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; local
135 prev_state = *cstate;
198 key = cpu * MAX_CSTATE_ENTRIES + prev_state;
214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; local
235 prev_state = *pstate;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_roce.h31 enum qed_roce_qp_state prev_state,
/linux-master/kernel/
H A Dstackleak.c29 int prev_state = state; local
35 if (ret || !write || state == prev_state)
H A Dcpu.c480 enum cpuhp_state prev_state = st->state; local
492 return prev_state;
497 enum cpuhp_state prev_state)
501 st->target = prev_state;
548 enum cpuhp_state prev_state; local
551 prev_state = cpuhp_set_state(cpu, st, target);
554 cpuhp_reset_state(cpu, st, prev_state);
700 enum cpuhp_state prev_state = st->state; local
709 cpuhp_reset_state(cpu, st, prev_state);
712 prev_state));
496 cpuhp_reset_state(int cpu, struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) argument
861 enum cpuhp_state prev_state = st->state; local
1106 enum cpuhp_state prev_state = st->state; local
1130 int prev_state, ret = 0; local
[all...]
/linux-master/arch/mips/kernel/
H A Dtraps.c453 enum ctx_state prev_state; local
455 prev_state = exception_enter();
495 exception_exit(prev_state);
754 enum ctx_state prev_state; local
756 prev_state = exception_enter();
760 exception_exit(prev_state);
876 enum ctx_state prev_state; local
880 prev_state = exception_enter();
925 exception_exit(prev_state);
1031 enum ctx_state prev_state; local
1117 enum ctx_state prev_state; local
1156 enum ctx_state prev_state; local
1404 enum ctx_state prev_state; local
1509 enum ctx_state prev_state; local
1529 enum ctx_state prev_state; local
1550 enum ctx_state prev_state; local
1562 enum ctx_state prev_state; local
1590 enum ctx_state prev_state; local
1913 enum ctx_state prev_state; local
[all...]
H A Dr4k-bugs64.c174 enum ctx_state prev_state; local
176 prev_state = exception_enter();
179 exception_exit(prev_state);
/linux-master/tools/perf/scripts/python/
H A Dsched-migration.py104 def sched_switch(self, prev, prev_state, next):
107 if taskState(prev_state) == "R" and next in self.tasks \
111 if taskState(prev_state) != "R":
116 if taskState(prev_state) != "R":
118 elif taskState(prev_state) == "R":
179 def sched_switch(self, ts_list, prev, prev_state, next, cpu):
181 new_rq = old_rq.sched_switch(prev, prev_state, next)
333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state,
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
422 prev_comm, prev_pid, prev_prio, prev_state,
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c142 enum nvkm_therm_thrs_state prev_state, new_state; local
145 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name);
147 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) {
151 prev_state == NVKM_THERM_THRS_HIGHER) {
H A Dg84.c102 enum nvkm_therm_thrs_state prev_state, new_state; local
105 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name);
127 if (prev_state < new_state)
129 else if (prev_state > new_state)
/linux-master/tools/perf/scripts/perl/
H A Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/linux-master/tools/perf/python/
H A Dtracepoint.py37 print("time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
42 event.prev_state,
/linux-master/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c257 int prev_state; local
266 prev_state = (int)ctx[3];
268 prev_state = get_task_state(prev);
270 return off_cpu_stat(ctx, prev, next, prev_state);
/linux-master/include/trace/events/
H A Dsched.h191 unsigned int prev_state,
213 state = __task_state_index(prev_state, p->exit_state);
227 unsigned int prev_state),
229 TP_ARGS(preempt, prev, next, prev_state),
235 __field( long, prev_state )
245 __entry->prev_state = __trace_sched_switch_state(preempt, prev_state, prev);
252 TP_printk("prev_comm=%s prev_pid=%d prev_prio=%d prev_state=%s%s ==> next_comm=%s next_pid=%d next_prio=%d",
255 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ?
256 __print_flags(__entry->prev_state
190 __trace_sched_switch_state(bool preempt, unsigned int prev_state, struct task_struct *p) argument
[all...]
H A Dufs.h107 u32 prev_state, u32 curr_state),
109 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
115 __field(u32, prev_state)
123 __entry->prev_state = prev_state;
129 __entry->prev_state, __entry->curr_state)
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c407 u32 prev_state; local
417 prev_state = ioread32(IREG_BASE(t7xx_dev) + T7XX_PCIE_PM_RESUME_STATE);
426 if (prev_state == PM_RESUME_REG_STATE_L3 ||
427 (prev_state == PM_RESUME_REG_STATE_INIT &&
441 if (prev_state == PM_RESUME_REG_STATE_EXP ||
442 prev_state == PM_RESUME_REG_STATE_L2_EXP) {
443 if (prev_state == PM_RESUME_REG_STATE_L2_EXP) {
463 if (prev_state == PM_RESUME_REG_STATE_L2) {
468 } else if (prev_state != PM_RESUME_REG_STATE_L1 &&
469 prev_state !
[all...]
/linux-master/drivers/of/
H A Ddynamic.c114 int is_status, status_state, old_status_state, prev_state, new_state; local
137 prev_state = -1;
151 prev_state = 0;
157 prev_state = status_state != 0;
163 prev_state = 1;
169 prev_state = status_state;
176 prev_state = old_status_state != 0;
182 if (prev_state == new_state)
/linux-master/kernel/trace/
H A Dtrace_sched_switch.c26 unsigned int prev_state)
24 probe_sched_switch(void *ignore, bool preempt, struct task_struct *prev, struct task_struct *next, unsigned int prev_state) argument
H A Dtrace_entries.h119 __field( unsigned char, prev_state ) \
132 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
150 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
/linux-master/arch/mips/mm/
H A Dfault.c334 enum ctx_state prev_state; local
336 prev_state = exception_enter();
338 exception_exit(prev_state);
/linux-master/drivers/hid/
H A Dhid-uclogic-core.c368 u8 prev_state = drvdata->re_state; local
372 if ((prev_state == 1 && state == 0) ||
373 (prev_state == 2 && state == 3)) {
375 } else if ((prev_state == 2 && state == 0) ||
376 (prev_state == 1 && state == 3)) {
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dtestmode.c263 enum mt76_testmode_state prev_state = td->state; local
267 if (prev_state == MT76_TM_STATE_TX_FRAMES)
276 prev_state == MT76_TM_STATE_OFF) ||
278 prev_state == MT76_TM_STATE_IDLE)) {

Completed in 213 milliseconds

1234