Home
last modified time | relevance | path

Searched refs:cnt2 (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtimer_mim.c9 __u64 cnt1, cnt2; in timer_mim() local
26 cnt2 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
27 if (cnt2 != cnt1) in timer_mim()
31 ASSERT_GT(cnt2, cnt1, "cnt"); in timer_mim()
45 cnt2 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
46 if (cnt2 == cnt1) in timer_mim()
49 ASSERT_EQ(cnt2, cnt1, "cnt"); in timer_mim()
/linux-6.1.9/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc82 cnt2=`cnt_trace`
84 if [ $cnt -ne $cnt2 ]; then
/linux-6.1.9/drivers/net/hamradio/
Dbaycom_epp.c558 int cnt2, ret = 0; in receive() local
566 cnt2 = (cnt > sizeof(tmp)) ? sizeof(tmp) : cnt; in receive()
567 cnt -= cnt2; in receive()
568 if (cnt2 != pp->ops->epp_read_data(pp, tmp, cnt2, 0)) { in receive()
573 for (; cnt2 > 0; cnt2--, cp++) { in receive()
645 int cnt, cnt2; in epp_bh() local
674 cnt2 = tmp[0] | (tmp[1] << 8); in epp_bh()
675 cnt2 = 16384 - (cnt2 & 0x7fff); in epp_bh()
680 if (transmit(bc, cnt2, stat)) in epp_bh()
/linux-6.1.9/drivers/pwm/
Dpwm-dwc.c49 u32 cnt2; member
271 dwc->ctx[i].cnt2 = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT2(i)); in dwc_pwm_suspend()
286 dwc_pwm_writel(dwc, dwc->ctx[i].cnt2, DWC_TIM_LD_CNT2(i)); in dwc_pwm_resume()
/linux-6.1.9/net/sctp/
Dbind_addr.c335 struct sctp_sock *sp2, int cnt2) in sctp_bind_addrs_check() argument
359 return (cnt == cnt2) ? 0 : (exist ? -EEXIST : 1); in sctp_bind_addrs_check()
/linux-6.1.9/sound/isa/wavefront/
Dwavefront_synth.c690 int i, x, cnt, cnt2; in wavefront_get_patch_status() local
718 for (i = 0, cnt = 0, cnt2 = 0; i < WF_MAX_PATCH; i++) { in wavefront_get_patch_status()
723 cnt2++; in wavefront_get_patch_status()
727 snd_printk ("%d patch slots filled, %d in use\n", cnt, cnt2); in wavefront_get_patch_status()
/linux-6.1.9/kernel/trace/
Dring_buffer.c706 unsigned long cnt2, top2, bottom2, msb2; in rb_time_cmpxchg() local
710 if (!__rb_time_read(t, &val, &cnt2)) in rb_time_cmpxchg()
717 if ((cnt & 3) != cnt2) in rb_time_cmpxchg()
720 cnt2 = cnt + 1; in rb_time_cmpxchg()
727 top2 = rb_time_val_cnt(top2, cnt2); in rb_time_cmpxchg()
728 bottom2 = rb_time_val_cnt(bottom2, cnt2); in rb_time_cmpxchg()
730 if (!rb_time_read_cmpxchg(&t->cnt, cnt, cnt2)) in rb_time_cmpxchg()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh1690 local cnt2
1699 cnt2=$(ss -N $ns2 -tOni | grep -c token)
1700 if [ "$cnt1" != "$subflow_nr" -o "$cnt2" != "$subflow_nr" ]; then
1701 echo "[fail] got $cnt1:$cnt2 subflows expected $subflow_nr"
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c2349 unsigned int idx,cnt1,cnt2,m; in pvr2_hdw_create() local
2578 cnt2 = scnprintf(hdw->name+cnt1,sizeof(hdw->name)-cnt1,"pvrusb2"); in pvr2_hdw_create()
2579 cnt1 += cnt2; in pvr2_hdw_create()
2581 cnt2 = scnprintf(hdw->name+cnt1,sizeof(hdw->name)-cnt1,"_%c", in pvr2_hdw_create()
2583 cnt1 += cnt2; in pvr2_hdw_create()
/linux-6.1.9/include/net/sctp/
Dstructs.h1205 struct sctp_sock *sp2, int cnt2);