| /linux/drivers/s390/net/ |
| H A D | fsm.h | 192 fsm_newstate(fsm_instance *fi, int newstate) in fsm_newstate() argument 194 atomic_set(&fi->state,newstate); in fsm_newstate() 196 fsm_record_history(fi, newstate, -1); in fsm_newstate() 200 fi->f->state_names[newstate]); in fsm_newstate()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_sk_storage_tracing.c | 34 int newstate) in BPF_PROG() argument 38 if (newstate == BPF_TCP_CLOSE) in BPF_PROG() 46 stg->last_notclose_state = newstate; in BPF_PROG()
|
| /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), 149 __field(int, newstate) 166 __entry->newstate = newstate; 183 TP_printk("family=%s protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", 190 show_tcp_state_name(__entry->newstate))
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | carl9170.h | 507 enum carl9170_device_state newstate) in __carl9170_set_state() argument 509 ar->state = newstate; in __carl9170_set_state() 513 enum carl9170_device_state newstate) in carl9170_set_state() argument 518 __carl9170_set_state(ar, newstate); in carl9170_set_state() 523 enum carl9170_device_state min, enum carl9170_device_state newstate) in carl9170_set_state_when() argument 529 __carl9170_set_state(ar, newstate); in carl9170_set_state_when()
|
| /linux/kernel/ |
| H A D | stop_machine.c | 180 enum multi_stop_state newstate) in set_state() argument 185 WRITE_ONCE(msdata->state, newstate); in set_state() 204 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local 228 newstate = READ_ONCE(msdata->state); in multi_cpu_stop() 229 if (newstate != curstate) { in multi_cpu_stop() 230 curstate = newstate; in multi_cpu_stop()
|
| /linux/drivers/isdn/mISDN/ |
| H A D | fsm.c | 86 mISDN_FsmChangeState(struct FsmInst *fi, int newstate) in mISDN_FsmChangeState() argument 88 fi->state = newstate; in mISDN_FsmChangeState() 91 fi->fsm->strState[newstate]); in mISDN_FsmChangeState()
|
| /linux/drivers/cpufreq/ |
| H A D | powernow-k8.c | 924 unsigned newstate; member 931 unsigned newstate = pta->newstate; in powernowk8_target_fn() local 949 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn() 967 powernow_k8_acpi_pst_values(data, newstate); in powernowk8_target_fn() 969 ret = transition_frequency_fidvid(data, newstate, pol); in powernowk8_target_fn() 986 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target()
|
| /linux/drivers/usb/phy/ |
| H A D | phy-fsl-usb.h | 287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate) argument
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_hal.h | 177 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *ppi, bool newstate); 178 void wlc_phy_hw_state_upd(struct brcms_phy_pub *ppi, bool newstate);
|
| H A D | phy_cmn.c | 680 void wlc_phy_hw_clk_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_clk_state_upd() argument 687 pi->sh->clk = newstate; in wlc_phy_hw_clk_state_upd() 690 void wlc_phy_hw_state_upd(struct brcms_phy_pub *pih, bool newstate) in wlc_phy_hw_state_upd() argument 697 pi->sh->up = newstate; in wlc_phy_hw_state_upd()
|
| /linux/arch/x86/kernel/ |
| H A D | smpboot.c | 1366 u32 newstate = CPUDEAD_MWAIT_KEXEC_HLT; in smp_kick_mwait_play_dead() local 1378 for (i = 0; READ_ONCE(md->status) != newstate && i < 1000; i++) { in smp_kick_mwait_play_dead() 1380 WRITE_ONCE(md->control, newstate); in smp_kick_mwait_play_dead() 1384 if (READ_ONCE(md->status) != newstate) in smp_kick_mwait_play_dead()
|
| /linux/include/linux/raspberrypi/ |
| H A D | vchiq_core.h | 630 enum vchiq_connstate newstate); 632 void vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate);
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_core.c | 221 set_service_state(struct vchiq_service *service, int newstate) in set_service_state() argument 226 srvstate_names[newstate]); in set_service_state() 227 service->srvstate = newstate; in set_service_state() 492 vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate) in vchiq_set_conn_state() argument 497 state->id, conn_state_names[oldstate], conn_state_names[newstate]); in vchiq_set_conn_state() 498 state->conn_state = newstate; in vchiq_set_conn_state() 499 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state() 2968 int newstate; in close_service_complete() local 2978 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2980 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete() [all …]
|
| H A D | vchiq_arm.c | 1336 enum vchiq_connstate newstate) in vchiq_platform_conn_state_changed() argument 1342 state->id, get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 243 void netif_set_operstate(struct net_device *dev, int newstate);
|
| /linux/kernel/rcu/ |
| H A D | rcutorture.c | 2111 static void rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, in rcutorture_one_extend() argument 2120 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 2121 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 2127 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 2207 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend() 2217 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend() 2433 int newstate; in rcu_torture_one_read() local 2438 newstate = rcutorture_extend_mask(rtors.readstate, trsp); in rcu_torture_one_read() 2439 WARN_ON_ONCE(newstate & RCUTORTURE_RDR_UPDOWN); in rcu_torture_one_read() 2440 rcutorture_one_extend(&rtors.readstate, newstate, trsp, rtors.rtrsp++); in rcu_torture_one_read()
|
| /linux/fs/nfs/ |
| H A D | nfs4state.c | 779 fmode_t newstate; in __nfs4_close() local 794 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close() 797 newstate &= ~FMODE_READ; in __nfs4_close() 802 newstate &= ~FMODE_WRITE; in __nfs4_close() 806 if (newstate == 0) in __nfs4_close() 809 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
|
| H A D | nfs4proc.c | 2244 struct nfs4_state *newstate; in nfs4_open_recover_helper() local 2260 newstate = nfs4_opendata_to_nfs4_state(opendata); in nfs4_open_recover_helper() 2261 if (IS_ERR(newstate)) in nfs4_open_recover_helper() 2262 return PTR_ERR(newstate); in nfs4_open_recover_helper() 2263 if (newstate != opendata->state) in nfs4_open_recover_helper() 2265 nfs4_close_state(newstate, fmode); in nfs4_open_recover_helper()
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 1208 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() argument 1210 if (clp->cl_cb_state != newstate) { in nfsd4_mark_cb_state() 1211 clp->cl_cb_state = newstate; in nfsd4_mark_cb_state()
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0001.c | 1166 flstate_t oldstate, newstate; in xip_wait_for_operation() local 1212 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation() 1217 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation() 1220 chip->state = newstate; in xip_wait_for_operation() 1236 while (chip->state != newstate) { in xip_wait_for_operation()
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 5071 int oldstate, newstate; in check_new_map() local 5090 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 5095 ceph_mds_state_name(newstate), in check_new_map() 5128 } else if (oldstate == newstate) { in check_new_map() 5136 newstate >= CEPH_MDS_STATE_RECONNECT) { in check_new_map() 5147 newstate >= CEPH_MDS_STATE_ACTIVE) { in check_new_map() 5178 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 5179 if (!test_bit(i, targets) || newstate != CEPH_MDS_STATE_RECONNECT) in check_new_map()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 1279 static bool is_valid_state_change(int oldstate, int newstate, bool resumable) in is_valid_state_change() argument 1283 return newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_RDY; in is_valid_state_change() 1285 return newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_SUSPEND; in is_valid_state_change() 1287 return resumable ? newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_RDY : false; in is_valid_state_change()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 1048 void netif_set_operstate(struct net_device *dev, int newstate) in netif_set_operstate() argument 1053 if (old == newstate) in netif_set_operstate() 1055 } while (!try_cmpxchg(&dev->operstate, &old, newstate)); in netif_set_operstate()
|