| /linux/drivers/s390/net/ |
| H A D | fsm.h | 195 fsm_newstate(fsm_instance *fi, int newstate) in fsm_newstate() argument 197 atomic_set(&fi->state,newstate); in fsm_newstate() 199 fsm_record_history(fi, newstate, -1); in fsm_newstate() 203 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()
|
| 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 124 if (newstate != BPF_TCP_SYN_SENT) 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 | 510 enum carl9170_device_state newstate) in __carl9170_set_state() argument 512 ar->state = newstate; in __carl9170_set_state() 516 enum carl9170_device_state newstate) in carl9170_set_state() argument 521 __carl9170_set_state(ar, newstate); in carl9170_set_state() 526 enum carl9170_device_state min, enum carl9170_device_state newstate) in carl9170_set_state_when() argument 532 __carl9170_set_state(ar, newstate); in carl9170_set_state_when()
|
| /linux/drivers/s390/char/ |
| H A D | tape_core.c | 186 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set() argument 202 if (newstate < TS_SIZE && newstate >= 0) in tape_state_set() 203 str = tape_state_verbose[newstate]; in tape_state_set() 207 device->tape_state = newstate; in tape_state_set() 262 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set() argument 267 if (oldstate == newstate) in tape_med_state_set() 269 device->medium_state = newstate; in tape_med_state_set() 270 switch(newstate){ in tape_med_state_set()
|
| /linux/drivers/cpufreq/ |
| H A D | powernow-k8.c | 926 unsigned newstate; member 933 unsigned newstate = pta->newstate; in powernowk8_target_fn() local 951 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn() 969 powernow_k8_acpi_pst_values(data, newstate); in powernowk8_target_fn() 971 ret = transition_frequency_fidvid(data, newstate, pol); in powernowk8_target_fn() 988 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target()
|
| /linux/kernel/rcu/ |
| H A D | rcu.h | 96 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument 98 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state() 99 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
|
| H A D | rcutorture.c | 2220 static void rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, in rcutorture_one_extend() argument 2229 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 2230 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 2236 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 2316 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend() 2326 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend() 2624 int newstate; in rcu_torture_one_read() local 2630 newstate = rcutorture_extend_mask(rtors.readstate, trsp); in rcu_torture_one_read() 2631 WARN_ON_ONCE(newstate & RCUTORTURE_RDR_UPDOWN); in rcu_torture_one_read() 2632 rcutorture_one_extend(&rtors.readstate, newstate, trsp, rtors.rtrsp++); in rcu_torture_one_read()
|
| H A D | tasks.h | 223 static void set_tasks_gp_state(struct rcu_tasks *rtp, int newstate) in set_tasks_gp_state() argument 225 rtp->gp_state = newstate; in set_tasks_gp_state()
|
| /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/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 | 1335 enum vchiq_connstate newstate) in vchiq_platform_conn_state_changed() argument 1341 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 | 251 void netif_set_operstate(struct net_device *dev, int newstate);
|
| /linux/fs/nfs/ |
| H A D | nfs4state.c | 753 fmode_t newstate; in __nfs4_close() local 768 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close() 771 newstate &= ~FMODE_READ; in __nfs4_close() 776 newstate &= ~FMODE_WRITE; in __nfs4_close() 780 if (newstate == 0) in __nfs4_close() 783 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
|
| H A D | nfs4proc.c | 2183 struct nfs4_state *newstate; in nfs4_open_recover_helper() local 2199 newstate = nfs4_opendata_to_nfs4_state(opendata); in nfs4_open_recover_helper() 2200 if (IS_ERR(newstate)) in nfs4_open_recover_helper() 2201 return PTR_ERR(newstate); in nfs4_open_recover_helper() 2202 if (newstate != opendata->state) in nfs4_open_recover_helper() 2204 nfs4_close_state(newstate, fmode); in nfs4_open_recover_helper()
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 1291 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() argument 1293 if (clp->cl_cb_state != newstate) { in nfsd4_mark_cb_state() 1294 clp->cl_cb_state = newstate; in nfsd4_mark_cb_state()
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 5786 int oldstate, newstate; in check_new_map() local 5805 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 5810 ceph_mds_state_name(newstate), in check_new_map() 5843 } else if (oldstate == newstate) { in check_new_map() 5851 newstate >= CEPH_MDS_STATE_RECONNECT) { in check_new_map() 5868 newstate >= CEPH_MDS_STATE_ACTIVE) { in check_new_map() 5899 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 5900 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 | 1084 void netif_set_operstate(struct net_device *dev, int newstate) in netif_set_operstate() argument 1089 if (old == newstate) in netif_set_operstate() 1091 } while (!try_cmpxchg(&dev->operstate, &old, newstate)); in netif_set_operstate()
|