Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v6.1/kernel/
Dsmpboot.c428 int oldstate; in cpu_wait_death() local
448 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_wait_death()
450 if (oldstate == CPU_DEAD) { in cpu_wait_death()
457 &oldstate, CPU_BROKEN)) in cpu_wait_death()
475 int oldstate; in cpu_report_death() local
479 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_report_death()
481 if (oldstate != CPU_BROKEN) in cpu_report_death()
486 &oldstate, newstate)); in cpu_report_death()
/Linux-v6.1/include/linux/
Drcutiny.h49 bool poll_state_synchronize_rcu(unsigned long oldstate);
56 static inline void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
76 static inline void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
78 cond_synchronize_rcu(oldstate); in cond_synchronize_rcu_expedited()
Drcutree.h79 void cond_synchronize_rcu_expedited(unsigned long oldstate);
85 bool poll_state_synchronize_rcu(unsigned long oldstate);
87 void cond_synchronize_rcu(unsigned long oldstate);
/Linux-v6.1/drivers/scsi/
Dhosts.c77 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local
79 if (state == oldstate) in scsi_host_set_state()
90 switch (oldstate) { in scsi_host_set_state()
100 switch (oldstate) { in scsi_host_set_state()
109 switch (oldstate) { in scsi_host_set_state()
120 switch (oldstate) { in scsi_host_set_state()
130 switch (oldstate) { in scsi_host_set_state()
140 switch (oldstate) { in scsi_host_set_state()
156 scsi_host_state_name(oldstate), in scsi_host_set_state()
Dscsi_lib.c2312 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2314 if (state == oldstate) in scsi_device_set_state()
2319 switch (oldstate) { in scsi_device_set_state()
2328 switch (oldstate) { in scsi_device_set_state()
2341 switch (oldstate) { in scsi_device_set_state()
2353 switch (oldstate) { in scsi_device_set_state()
2365 switch (oldstate) { in scsi_device_set_state()
2377 switch (oldstate) { in scsi_device_set_state()
2386 switch (oldstate) { in scsi_device_set_state()
2399 switch (oldstate) { in scsi_device_set_state()
[all …]
/Linux-v6.1/include/trace/events/
Dsock.h142 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate),
144 TP_ARGS(sk, oldstate, newstate),
148 __field(int, oldstate)
166 __entry->oldstate = oldstate;
202 show_tcp_state_name(__entry->oldstate),
/Linux-v6.1/drivers/gpu/drm/sti/
Dsti_gdp.c706 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_gdp_atomic_update() local
730 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update()
731 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update()
732 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update()
733 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update()
734 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update()
735 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update()
736 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update()
737 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update()
738 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update()
[all …]
Dsti_hqvdp.c1116 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_hqvdp_atomic_update() local
1135 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update()
1136 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update()
1137 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update()
1138 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update()
1139 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update()
1140 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update()
1141 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1142 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update()
1143 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update()
[all …]
Dsti_cursor.c317 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local
321 if (!oldstate->crtc) { in sti_cursor_atomic_disable()
328 oldstate->crtc->base.id, in sti_cursor_atomic_disable()
329 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
/Linux-v6.1/sound/soc/sof/intel/
Dhda-bus.c41 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() local
45 if (enable == oldstate) in sof_hda_bus_link_power()
/Linux-v6.1/drivers/gpu/drm/ingenic/
Dingenic-ipu.c311 struct drm_plane_state *oldstate) in osd_changed() argument
313 return state->src_x != oldstate->src_x || in osd_changed()
314 state->src_y != oldstate->src_y || in osd_changed()
315 state->src_w != oldstate->src_w || in osd_changed()
316 state->src_h != oldstate->src_h || in osd_changed()
317 state->crtc_x != oldstate->crtc_x || in osd_changed()
318 state->crtc_y != oldstate->crtc_y || in osd_changed()
319 state->crtc_w != oldstate->crtc_w || in osd_changed()
320 state->crtc_h != oldstate->crtc_h; in osd_changed()
328 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local
[all …]
/Linux-v6.1/kernel/rcu/
Dtiny.c242 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
244 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
/Linux-v6.1/drivers/mtd/lpddr/
Dlpddr_cmds.c83 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset()
269 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
301 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready()
316 chip->oldstate = FL_ERASING; in chip_ready()
333 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
353 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
385 switch (chip->oldstate) { in put_chip()
391 chip->oldstate = FL_READY; in put_chip()
398 map->name, chip->oldstate); in put_chip()
/Linux-v6.1/drivers/mtd/chips/
Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
Dcfi_cmdset_0001.c819 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready()
873 chip->oldstate = FL_ERASING; in chip_ready()
903 chip->oldstate = chip->state; in chip_ready()
912 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
999 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
1030 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
1062 switch(chip->oldstate) { in put_chip()
1075 chip->oldstate = FL_READY; in put_chip()
1080 chip->state = chip->oldstate; in put_chip()
1081 chip->oldstate = FL_READY; in put_chip()
[all …]
Dcfi_cmdset_0002.c925 chip->oldstate = FL_ERASING; in get_chip()
956 chip->oldstate = chip->state; in get_chip()
966 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip()
986 switch(chip->oldstate) { in put_chip()
992 chip->oldstate = FL_READY; in put_chip()
997 chip->state = chip->oldstate; in put_chip()
998 chip->oldstate = FL_READY; in put_chip()
1005 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip()
1065 flstate_t oldstate; in xip_udelay() local
1071 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay()
[all …]
/Linux-v6.1/arch/arm/mach-sa1100/
Dhackkit.c48 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate);
95 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() argument
/Linux-v6.1/net/dccp/
Dproto.c80 const int oldstate = sk->sk_state; in dccp_set_state() local
83 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state()
84 WARN_ON(state == oldstate); in dccp_set_state()
88 if (oldstate != DCCP_OPEN) in dccp_set_state()
91 if (oldstate == DCCP_PARTOPEN) in dccp_set_state()
96 if (oldstate == DCCP_OPEN || oldstate == DCCP_ACTIVE_CLOSEREQ || in dccp_set_state()
97 oldstate == DCCP_CLOSING) in dccp_set_state()
106 if (oldstate == DCCP_OPEN) in dccp_set_state()
/Linux-v6.1/net/dccp/ccids/
Dccid3.c54 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() local
57 dccp_role(sk), sk, ccid3_tx_state_name(oldstate), in ccid3_hc_tx_set_state()
59 WARN_ON(state == oldstate); in ccid3_hc_tx_set_state()
580 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() local
583 dccp_role(sk), sk, ccid3_rx_state_name(oldstate), in ccid3_hc_rx_set_state()
585 WARN_ON(state == oldstate); in ccid3_hc_rx_set_state()
/Linux-v6.1/include/linux/mtd/
Dflashchip.h69 flstate_t oldstate; member
/Linux-v6.1/sound/hda/ext/
Dhdac_ext_controller.c363 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
365 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
/Linux-v6.1/drivers/pwm/
Dpwm-fsl-ftm.c304 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local
319 if (oldstate->enabled) { in fsl_pwm_apply()
334 if (!oldstate->enabled) { in fsl_pwm_apply()
/Linux-v6.1/drivers/s390/char/
Dtape_core.c265 enum tape_medium_state oldstate; in tape_med_state_set() local
267 oldstate = device->medium_state; in tape_med_state_set()
268 if (oldstate == newstate) in tape_med_state_set()
274 if (oldstate == MS_LOADED) in tape_med_state_set()
279 if (oldstate == MS_UNLOADED) in tape_med_state_set()
/Linux-v6.1/drivers/net/fddi/skfp/
Dpcmplc.c587 int oldstate ; in pcm() local
600 oldstate = mib->fddiPORTPCMState ; in pcm()
626 if ( mib->fddiPORTPCMState != oldstate && in pcm()
627 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm()
636 if ( mib->fddiPORTPCMState != oldstate ) { in pcm()
638 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm()
642 } else if ( oldstate == PC0_OFF ) { in pcm()
646 oldstate == PC8_ACTIVE ) { in pcm()

123