Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/drivers/net/hamradio/
H A 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()
639 int cnt, cnt2; in epp_bh() local
668 cnt2 = tmp[0] | (tmp[1] << 8); in epp_bh()
669 cnt2 = 16384 - (cnt2 & 0x7fff); in epp_bh()
674 if (transmit(bc, cnt2, stat)) in epp_bh()
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_traceonoff_triggers.tc82 cnt2=`cnt_trace`
84 if [ $cnt -ne $cnt2 ]; then
/linux/tools/testing/selftests/net/tcp_ao/
H A Drst.c87 struct tcp_ao_counters cnt1, cnt2; in test_server_active_rst() local
106 if (test_get_tcp_ao_counters(lsk, &cnt2)) in test_server_active_rst()
123 if (test_tcp_ao_counters_cmp("active RST server", &cnt1, &cnt2, TEST_CNT_GOOD)) in test_server_active_rst()
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_iterating_callbacks.c541 int cnt1 = zero, cnt2; in cond_break5() local
548 cnt2 = static_subprog(); in cond_break5()
551 return cnt1 > 1 && cnt2 > 1 ? 1 : 0; in cond_break5()
/linux/drivers/pwm/
H A Dpwm-dwc.h49 u32 cnt2; member
/linux/drivers/perf/amlogic/
H A Dmeson_ddr_pmu_core.c73 u64 cnt1, cnt2; in ddr_cnt_addition() local
79 cnt2 = add2->channel_cnt[i]; in ddr_cnt_addition()
81 sum->channel_cnt[i] = cnt1 + cnt2; in ddr_cnt_addition()
/linux/net/sctp/
H A 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/sound/isa/wavefront/
H A Dwavefront_synth.c691 int i, x, cnt, cnt2; in wavefront_get_patch_status() local
719 for (i = 0, cnt = 0, cnt2 = 0; i < WF_MAX_PATCH; i++) { in wavefront_get_patch_status()
724 cnt2++; in wavefront_get_patch_status()
729 cnt, cnt2); in wavefront_get_patch_status()
/linux/drivers/media/usb/pvrusb2/
H A 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/include/net/sctp/
H A Dstructs.h1201 struct sctp_sock *sp2, int cnt2);