Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/kernel/
A 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-6.3-rc2/include/linux/
A 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()
A 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-6.3-rc2/drivers/scsi/
A 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()
A Dscsi_lib.c2318 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2320 if (state == oldstate) in scsi_device_set_state()
2325 switch (oldstate) { in scsi_device_set_state()
2334 switch (oldstate) { in scsi_device_set_state()
2347 switch (oldstate) { in scsi_device_set_state()
2359 switch (oldstate) { in scsi_device_set_state()
2371 switch (oldstate) { in scsi_device_set_state()
2383 switch (oldstate) { in scsi_device_set_state()
2392 switch (oldstate) { in scsi_device_set_state()
2405 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/sti/
A Dsti_gdp.c730 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()
878 if (!oldstate->crtc) { in sti_gdp_atomic_disable()
[all …]
A Dsti_hqvdp.c1135 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()
1254 if (!oldstate->crtc) { in sti_hqvdp_atomic_disable()
[all …]
A 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-6.3-rc2/include/trace/events/
A 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-6.3-rc2/kernel/rcu/
A 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-6.3-rc2/drivers/gpu/drm/ingenic/
A 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-6.3-rc2/sound/soc/sof/intel/
A Dhda-bus.c37 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() local
41 if (enable == oldstate) in sof_hda_bus_link_power()
/linux-6.3-rc2/drivers/mtd/lpddr/
A 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-6.3-rc2/drivers/mtd/chips/
A Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
A Dcfi_cmdset_0001.c873 chip->oldstate = FL_ERASING; in chip_ready()
903 chip->oldstate = chip->state; in chip_ready()
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()
1149 flstate_t oldstate, newstate; in xip_wait_for_operation() local
1191 oldstate = chip->state; in xip_wait_for_operation()
1234 chip->state = oldstate; in xip_wait_for_operation()
2065 chip->oldstate = FL_READY; in cfi_intelext_sync()
[all …]
A Dcfi_cmdset_0002.c925 chip->oldstate = FL_ERASING; in get_chip()
956 chip->oldstate = chip->state; 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()
1065 flstate_t oldstate; in xip_udelay() local
1099 oldstate = chip->state; in xip_udelay()
1135 chip->state = oldstate; in xip_udelay()
2932 chip->oldstate = chip->state; in cfi_amdstd_sync()
[all …]
A Dcfi_cmdset_0020.c284 chip->oldstate = FL_ERASING; in do_read_onechip()
364 chip->state = chip->oldstate; in do_read_onechip()
992 chip->oldstate = chip->state; in cfi_staa_sync()
1024 chip->state = chip->oldstate; in cfi_staa_sync()
1329 chip->oldstate = chip->state; in cfi_staa_suspend()
1359 chip->state = chip->oldstate; in cfi_staa_suspend()
/linux-6.3-rc2/net/dccp/
A 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-6.3-rc2/net/dccp/ccids/
A 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-6.3-rc2/include/linux/mtd/
A Dflashchip.h69 flstate_t oldstate; member
/linux-6.3-rc2/sound/hda/ext/
A Dhdac_ext_controller.c381 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
383 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
/linux-6.3-rc2/drivers/pwm/
A Dpwm-fsl-ftm.c301 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local
316 if (oldstate->enabled) { in fsl_pwm_apply()
331 if (!oldstate->enabled) { in fsl_pwm_apply()
/linux-6.3-rc2/drivers/s390/char/
A 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-6.3-rc2/drivers/net/fddi/skfp/
A 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()

Completed in 51 milliseconds

123