| /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/arch/x86/kernel/fpu/ |
| H A D | regset.c | 95 struct fxregs_state newstate; in xfpregs_set() local 102 if (pos != 0 || count != sizeof(newstate)) in xfpregs_set() 105 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in xfpregs_set() 110 if (newstate.mxcsr & ~mxcsr_feature_mask) in xfpregs_set() 116 memcpy(&fpu->fpstate->regs.fxsave, &newstate, sizeof(newstate)); in xfpregs_set()
|
| /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 | 2260 * newstate (set to zero for final exit from extended critical section), in rcutorture_one_extend() 2265 static void rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp, in rcutorture_one_extend() 2274 int statesnew = ~*readstate & newstate; in rcutorture_one_extend() 2275 int statesold = *readstate & ~newstate; in rcutorture_one_extend() 2281 rtrsp->rt_readstate = newstate; in rcutorture_one_extend() 2361 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_extend_mask() 2371 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_extend_mask() 2671 int newstate; in rcu_torture_timer() 2677 newstate = rcutorture_extend_mask(rtors.readstate, trsp); in rcu_torture_timer() 2678 WARN_ON_ONCE(newstate in rcu_torture_timer() 2220 rcutorture_one_extend(int * readstate,int newstate,struct torture_random_state * trsp,struct rt_read_seg * rtrsp) rcutorture_one_extend() argument 2624 int newstate; rcu_torture_one_read() local [all...] |
| 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() 2967 int newstate; in close_service_complete() 2977 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete() 2979 newstate in close_service_complete() 2968 int newstate; close_service_complete() local [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 | 256 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()
|
| /linux/arch/arm64/kernel/ |
| H A D | ptrace.c | 671 struct user_fpsimd_state newstate; in __fpr_set() 679 newstate = target->thread.uw.fpsimd_state; in __fpr_set() 681 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set() 682 start_pos, start_pos + sizeof(newstate)); in __fpr_set() 686 target->thread.uw.fpsimd_state = newstate; 667 struct user_fpsimd_state newstate; __fpr_set() local
|
| /linux/kernel/time/ |
| H A D | hrtimer.c | 1168 bool newstate, bool reprogram) in __remove_hrtimer() 1179 WRITE_ONCE(timer->is_queued, newstate); in __remove_hrtimer() 1211 bool newstate) in remove_hrtimer() 1230 __remove_hrtimer(timer, base, newstate, reprogram); in remove_hrtimer() 1167 __remove_hrtimer(struct hrtimer * timer,struct hrtimer_clock_base * base,bool newstate,bool reprogram) __remove_hrtimer() argument 1210 remove_hrtimer(struct hrtimer * timer,struct hrtimer_clock_base * base,bool newstate) remove_hrtimer() argument
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0001.c | 1162 flstate_t oldstate, newstate; in xip_wait_for_operation() local 1208 newstate = FL_XIP_WHILE_ERASING; in xip_wait_for_operation() 1213 newstate = FL_XIP_WHILE_WRITING; in xip_wait_for_operation() 1216 chip->state = newstate; in xip_wait_for_operation() 1232 while (chip->state != newstate) { in xip_wait_for_operation()
|
| /linux/fs/nfsd/ |
| H A D | nfs4callback.c | 1292 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() 1294 if (clp->cl_cb_state != newstate) { in nfsd4_mark_cb_state() 1295 clp->cl_cb_state = newstate; in nfsd4_mark_cb_state() 1291 nfsd4_mark_cb_state(struct nfs4_client * clp,int newstate) nfsd4_mark_cb_state() argument
|
| /linux/net/ipv4/ |
| H A D | af_inet.c | 1358 void inet_sk_state_store(struct sock *sk, int newstate) in inet_sk_state_store() argument 1360 trace_inet_sock_set_state(sk, sk->sk_state, newstate); in inet_sk_state_store() 1361 smp_store_release(&sk->sk_state, newstate); in inet_sk_state_store()
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 5910 int oldstate, newstate; in check_new_map() 5929 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 5934 ceph_mds_state_name(newstate), in check_new_map() 5969 } else if (oldstate == newstate) { in check_new_map() 5977 newstate >= CEPH_MDS_STATE_RECONNECT) { in check_new_map() 5996 newstate >= CEPH_MDS_STATE_ACTIVE) { in check_new_map() 6029 newstate = ceph_mdsmap_get_state(newmap, i); in __ceph_mdsc_drop_dentry_lease() 6030 if (!test_bit(i, targets) || newstate != CEPH_MDS_STATE_RECONNECT) in __ceph_mdsc_drop_dentry_lease() 5848 int oldstate, newstate; check_new_map() local
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 1285 static bool is_valid_state_change(int oldstate, int newstate, bool resumable) in is_valid_state_change() 1289 return newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_RDY; in is_valid_state_change() 1291 return newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_SUSPEND; in is_valid_state_change() 1293 return resumable ? newstate == MLX5_VIRTIO_NET_Q_OBJECT_STATE_RDY : false; 1279 is_valid_state_change(int oldstate,int newstate,bool resumable) is_valid_state_change() argument
|