Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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()
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-6.12.1/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc82 cnt2=`cnt_trace`
84 if [ $cnt -ne $cnt2 ]; then
/linux-6.12.1/drivers/pwm/
Dpwm-dwc.c122 dwc->ctx[i].cnt2 = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT2(i)); in dwc_pwm_suspend()
142 dwc_pwm_writel(dwc, dwc->ctx[i].cnt2, DWC_TIM_LD_CNT2(i)); in dwc_pwm_resume()
Dpwm-dwc.h49 u32 cnt2; member
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/
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-6.12.1/tools/testing/selftests/bpf/progs/
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-6.12.1/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh1796 local cnt2
1802 cnt2=$(ss -N $ns2 -tOni | grep -c token)
1803 if [ "$cnt1" != "$subflow_nr" ] || [ "$cnt2" != "$subflow_nr" ]; then
1804 fail_test "got $cnt1:$cnt2 subflows expected $subflow_nr"
1824 local cnt2
1830 cnt2=$(ss -N $ns2 -inmHM | mptcp_lib_get_info_value "$info2" "$info2")
1833 [ -z "$cnt2" ] && cnt2=0
1835 if [ "$cnt1" != "$exp1" ] || [ "$cnt2" != "$exp2" ]; then
1836 fail_test "got $cnt1:$cnt2 $info1:$info2 expected $exp1:$exp2"
1853 local cnt2
[all …]
/linux-6.12.1/drivers/perf/amlogic/
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-6.12.1/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.12.1/sound/isa/wavefront/
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-6.12.1/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.12.1/include/net/sctp/
Dstructs.h1201 struct sctp_sock *sp2, int cnt2);