| /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 | 2551 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() 2553 if (state == oldstate) in scsi_device_set_state() 2558 switch (oldstate) { in scsi_device_set_state() 2567 switch (oldstate) { in scsi_device_set_state() 2580 switch (oldstate) { in scsi_device_set_state() 2592 switch (oldstate) { in scsi_device_set_state() 2604 switch (oldstate) { in scsi_device_set_state() 2616 switch (oldstate) { in scsi_device_set_state() 2625 switch (oldstate) { in scsi_device_set_state() 2638 switch (oldstate) { in scsi_device_set_state() 2528 enum scsi_device_state oldstate = sdev->sdev_state; scsi_device_set_state() local [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 | 304 * Return true if the grace period corresponding to oldstate has completed 308 bool poll_state_synchronize_rcu(unsigned long oldstate) 310 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; 227 poll_state_synchronize_rcu(unsigned long oldstate) poll_state_synchronize_rcu() argument
|
| H A D | tree_exp.h | 1074 * @oldstate: value from get_state_synchronize_rcu(), start_poll_synchronize_rcu(), or start_poll_synchronize_rcu_expedited() 1088 * to the function that provided @oldstate and that returned at the end 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() 3441 get_state_synchronize_rcu_full(&rs.oldstate); 3665 * @oldstate: value from get_state_synchronize_rcu() or start_poll_synchronize_rcu() in poll_state_synchronize_rcu_full() 3668 * which @oldstate was obtained, return @true, otherwise return @false. in poll_state_synchronize_rcu_full() 3671 * can explicitly wait for a grace period, for example, by passing @oldstate in poll_state_synchronize_rcu_full() 3685 * In addition, because oldstate compresses the grace-period state for 3693 * to the function that provided @oldstate, and that returned at the end in cond_synchronize_rcu() argument 3696 bool poll_state_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() 3698 if (oldstate == RCU_GET_STATE_COMPLETED || 3699 rcu_seq_done_exact(&rcu_state.gp_seq_polled, oldstate)) { 3602 poll_state_synchronize_rcu(unsigned long oldstate) poll_state_synchronize_rcu() argument [all...] |
| /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()
|
| H A D | cfi_cmdset_0001.c | 832 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready() 886 chip->oldstate = FL_ERASING; in chip_ready() 916 chip->oldstate = chip->state; in chip_ready() 925 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 1012 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 1043 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 1075 switch(chip->oldstate) { in put_chip() 1088 chip->oldstate = FL_READY; in put_chip() 1093 chip->state = chip->oldstate; in put_chip() 1094 chip->oldstate in put_chip() 1162 flstate_t oldstate, newstate; xip_wait_for_operation() local [all...] |
| /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/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/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/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 | 81 unsigned int oldstate) in serial_pxa_pm() 80 serial_pxa_pm(struct uart_port * port,unsigned int state,unsigned int oldstate) 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,
|