Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Drcutiny.h45 bool poll_state_synchronize_rcu(unsigned long oldstate);
52 static inline void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
72 static inline void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
74 cond_synchronize_rcu(oldstate); in cond_synchronize_rcu_expedited()
H A Drcutree.h71 void cond_synchronize_rcu_expedited(unsigned long oldstate);
77 bool poll_state_synchronize_rcu(unsigned long oldstate);
79 void cond_synchronize_rcu(unsigned long oldstate);
H A Drcupdate_wait.h21 struct rcu_gp_seq oldstate; member
/linux/drivers/scsi/
H A Dhosts.c78 enum scsi_host_state oldstate = READ_ONCE(shost->shost_state); in scsi_host_set_state() local
80 if (state == oldstate) in scsi_host_set_state()
91 switch (oldstate) { in scsi_host_set_state()
101 switch (oldstate) { in scsi_host_set_state()
110 switch (oldstate) { in scsi_host_set_state()
121 switch (oldstate) { in scsi_host_set_state()
131 switch (oldstate) { in scsi_host_set_state()
141 switch (oldstate) { in scsi_host_set_state()
157 scsi_host_state_name(oldstate), in scsi_host_set_state()
H A Dscsi_lib.c2528 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2530 if (state == oldstate) in scsi_device_set_state()
2535 switch (oldstate) { in scsi_device_set_state()
2544 switch (oldstate) { in scsi_device_set_state()
2557 switch (oldstate) { in scsi_device_set_state()
2569 switch (oldstate) { in scsi_device_set_state()
2581 switch (oldstate) { in scsi_device_set_state()
2593 switch (oldstate) { in scsi_device_set_state()
2602 switch (oldstate) { in scsi_device_set_state()
2615 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux/include/trace/events/
H 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)
165 __entry->oldstate = oldstate;
183 TP_printk("family=%s protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s",
189 show_tcp_state_name(__entry->oldstate),
/linux/kernel/rcu/
H A Dtiny.c227 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
229 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
H A Dtree_exp.h1091 void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
1093 if (!poll_state_synchronize_rcu(oldstate)) in cond_synchronize_rcu_expedited()
H A Dtree.c1648 !poll_state_synchronize_rcu_full(&rs->oldstate), in rcu_sr_normal_complete()
3347 get_state_synchronize_rcu_full(&rs.oldstate); in synchronize_rcu_normal()
3602 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
3604 if (oldstate == RCU_GET_STATE_COMPLETED || in poll_state_synchronize_rcu()
3605 rcu_seq_done_exact(&rcu_state.gp_seq_polled, oldstate)) { in poll_state_synchronize_rcu()
3693 void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
3695 if (!poll_state_synchronize_rcu(oldstate)) in cond_synchronize_rcu()
/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c82 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset()
268 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
300 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready()
315 chip->oldstate = FL_ERASING; in chip_ready()
332 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
352 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
384 switch (chip->oldstate) { in put_chip()
390 chip->oldstate = FL_READY; in put_chip()
397 map->name, chip->oldstate); in put_chip()
/linux/drivers/mtd/chips/
H A Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
/linux/sound/soc/sof/intel/
H 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/net/dccp/
H A Dproto.c
/linux/net/dccp/ccids/
H A Dccid3.c
/linux/include/linux/mtd/
H A Dflashchip.h70 flstate_t oldstate; member
/linux/sound/hda/core/ext/
H A Dcontroller.c400 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
402 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
H A Dmap_kptr_race.c119 int BPF_PROG(test_sk_ls_leak, struct sock *sk, int oldstate, int newstate) in BPF_PROG() argument
/linux/drivers/net/fddi/skfp/
H 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()
/linux/drivers/s390/char/
H A Dtape_core.c264 enum tape_medium_state oldstate; in tape_med_state_set() local
266 oldstate = device->medium_state; in tape_med_state_set()
267 if (oldstate == newstate) in tape_med_state_set()
273 if (oldstate == MS_LOADED) in tape_med_state_set()
278 if (oldstate == MS_UNLOADED) in tape_med_state_set()
/linux/drivers/tty/serial/8250/
H A D8250_pxa.c80 unsigned int oldstate) in serial_pxa_pm() argument
/linux/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c1641 enum sbmac_state oldstate = sc->sbm_state; in sbmac_set_channel_state() local
1647 if (state == oldstate) { in sbmac_set_channel_state()
1648 return oldstate; in sbmac_set_channel_state()
1666 return oldstate; in sbmac_set_channel_state()
/linux/drivers/s390/net/
H A Dctcm_fsms.c655 int oldstate; in ctcm_chx_haltio() local
665 oldstate = fsm_getstate(fi); in ctcm_chx_haltio()
675 fsm_newstate(fi, oldstate); in ctcm_chx_haltio()
829 int oldstate; in ctcm_chx_restart() local
839 oldstate = fsm_getstate(fi); in ctcm_chx_restart()
849 fsm_newstate(fi, oldstate); in ctcm_chx_restart()
/linux/include/linux/raspberrypi/
H A Dvchiq_core.h629 enum vchiq_connstate oldstate,
/linux/drivers/net/can/
H A Dgrcan.c610 enum can_state oldstate = state; in grcan_err() local
629 if (state != oldstate) { in grcan_err()
683 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) { in grcan_err()

12