| /linux/include/linux/ |
| H A D | rcutiny.h | 45 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 D | rcutree.h | 71 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 D | rcupdate_wait.h | 21 struct rcu_gp_seq oldstate; member
|
| /linux/drivers/scsi/ |
| H A D | hosts.c | 78 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 D | scsi_lib.c | 2528 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 D | sock.h | 142 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 D | tiny.c | 227 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 D | tree_exp.h | 1091 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 D | tree.c | 1648 !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 D | lpddr_cmds.c | 82 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 D | fwh_lock.h | 68 chip->oldstate = chip->state; in fwh_xxlock_oneblock() 73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-bus.c | 37 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 D | proto.c | |
| /linux/net/dccp/ccids/ |
| H A D | ccid3.c | |
| /linux/include/linux/mtd/ |
| H A D | flashchip.h | 70 flstate_t oldstate; member
|
| /linux/sound/hda/core/ext/ |
| H A D | controller.c | 400 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 D | test_sk_storage_tracing.c | 33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
|
| H A D | map_kptr_race.c | 119 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 D | pcmplc.c | 587 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 D | tape_core.c | 264 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 D | 8250_pxa.c | 80 unsigned int oldstate) in serial_pxa_pm() argument
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | sb1250-mac.c | 1641 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 D | ctcm_fsms.c | 655 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 D | vchiq_core.h | 629 enum vchiq_connstate oldstate,
|
| /linux/drivers/net/can/ |
| H A D | grcan.c | 610 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()
|