Home
last modified time | relevance | path

Searched refs:count1 (Results 1 - 25 of 59) sorted by relevance

123

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_039.c55 UINT32 count1 = 0; in Testcase() local
75 count1++; in Testcase()
79 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count - 1, count1); in Testcase()
89 for (count1 = 0, index = 0; index < LOSCFG_BASE_CORE_TSK_LIMIT; index++) { in Testcase()
91 count1++; in Testcase()
95 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
H A DIt_posix_pthread_040.c54 UINT32 count1 = 0; in Testcase() local
74 count1++; in Testcase()
78 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
H A DIt_posix_pthread_041.c53 UINT32 count1 = 0; in Testcase() local
72 count1++; in Testcase()
76 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
H A DIt_posix_pthread_042.c54 UINT32 count1 = 0; in Testcase() local
92 count1++; in Testcase()
96 ICUNIT_ASSERT_EQUAL(count1, g_taskMaxNum - count, count1); in Testcase()
/kernel/linux/linux-6.6/sound/core/
H A Drawmidi.c1173 int result = 0, count1; in snd_rawmidi_receive() local
1207 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive()
1208 if (count1 > count) in snd_rawmidi_receive()
1209 count1 = count; in snd_rawmidi_receive()
1210 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive()
1211 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive()
1212 count1 = get_aligned_size(runtime, count1); in snd_rawmidi_receive()
1213 if (!count1) in snd_rawmidi_receive()
1215 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive()
1253 long result = 0, count1; snd_rawmidi_kernel_read1() local
1305 int count1; snd_rawmidi_read() local
1393 int result, count1; __snd_rawmidi_transmit_peek() local
1582 long count1, result; snd_rawmidi_kernel_write1() local
1649 int count1; snd_rawmidi_write() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Drawmidi.c980 int result = 0, count1; in snd_rawmidi_receive() local
1003 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive()
1004 if (count1 > count) in snd_rawmidi_receive()
1005 count1 = count; in snd_rawmidi_receive()
1006 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive()
1007 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive()
1008 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive()
1009 runtime->hw_ptr += count1; in snd_rawmidi_receive()
1011 runtime->avail += count1; in snd_rawmidi_receive()
1012 count -= count1; in snd_rawmidi_receive()
1045 long result = 0, count1; snd_rawmidi_kernel_read1() local
1097 int count1; snd_rawmidi_read() local
1183 int result, count1; __snd_rawmidi_transmit_peek() local
1361 long count1, result; snd_rawmidi_kernel_write1() local
1428 int count1; snd_rawmidi_write() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
201 * incq (%rdi) - fd1 event breakpoint hit -> count1 == 1 in test__bp_signal()
254 count1 = bp_count(fd1); in test__bp_signal()
262 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
263 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
265 if (count1 != 1) { in test__bp_signal()
266 if (count1 == 11) in test__bp_signal()
269 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
284 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
206 * incq (%rdi) - fd1 event breakpoint hit -> count1 == 1 in test__bp_signal()
259 count1 = bp_count(fd1); in test__bp_signal()
267 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
268 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
270 if (count1 != 1) { in test__bp_signal()
271 if (count1 == 11) in test__bp_signal()
274 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dnsprepkg.c28 u32 count1,
121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
138 count1, in acpi_ns_check_package()
428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
438 count1, in acpi_ns_check_package_list()
454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
464 count1, in acpi_ns_check_package_list()
470 count1, 0); in acpi_ns_check_package_list()
511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
551 package->ret_info.count1) { in acpi_ns_check_package_list()
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dnsprepkg.c28 u32 count1,
121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
138 count1, in acpi_ns_check_package()
428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
438 count1, in acpi_ns_check_package_list()
454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
464 count1, in acpi_ns_check_package_list()
470 count1, 0); in acpi_ns_check_package_list()
511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
551 package->ret_info.count1) { in acpi_ns_check_package_list()
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
H A Dtime.c31 unsigned int count1, count2, status; in ioc_timer_read() local
38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read()
48 if (count2 < count1) { in ioc_timer_read()
50 * The timer has not reloaded between reading count1 and in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
/kernel/linux/linux-6.6/arch/arm/mach-rpc/
H A Dtime.c31 unsigned int count1, count2, status; in ioc_timer_read() local
38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read()
48 if (count2 < count1) { in ioc_timer_read()
50 * The timer has not reloaded between reading count1 and in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
96 count2 = count1; in rtc_read_lp_counter_lsb()
97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
105 *lsb = count1; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
96 count2 = count1; in rtc_read_lp_counter_lsb()
97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
105 *lsb = count1; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/kernel/linux/linux-5.10/sound/firewire/
H A Disight.c112 unsigned int count1; in isight_samples() local
122 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_samples()
124 samples, count1 * 4); in isight_samples()
125 samples += count1 * 2; in isight_samples()
126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples()
142 unsigned int count1; in isight_dropped_samples() local
154 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_dropped_samples()
156 0, count1 * 4); in isight_dropped_samples()
157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
/kernel/linux/linux-6.6/sound/firewire/
H A Disight.c112 unsigned int count1; in isight_samples() local
122 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_samples()
124 samples, count1 * 4); in isight_samples()
125 samples += count1 * 2; in isight_samples()
126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples()
142 unsigned int count1; in isight_dropped_samples() local
154 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_dropped_samples()
156 0, count1 * 4); in isight_dropped_samples()
157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_nbio.c57 uint64_t *count1) in amdgpu_nbio_get_pcie_usage()
60 adev->nbio.funcs->get_pcie_usage(adev, count0, count1); in amdgpu_nbio_get_pcie_usage()
56 amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) amdgpu_nbio_get_pcie_usage() argument
H A Damdgpu_nbio.h104 uint64_t *count1);
117 void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1);
/kernel/linux/linux-5.10/drivers/net/hamradio/
H A D6pack.c438 int count1; in sixpack_receive_buf() local
448 count1 = count; in sixpack_receive_buf()
457 sixpack_decode(sp, cp, count1); in sixpack_receive_buf()
962 int count1; in sixpack_decode() local
964 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
965 inbyte = pre_rbuff[count1]; in sixpack_decode()
/kernel/linux/linux-6.6/drivers/net/hamradio/
H A D6pack.c434 int count1; in sixpack_receive_buf() local
444 count1 = count; in sixpack_receive_buf()
453 sixpack_decode(sp, cp, count1); in sixpack_receive_buf()
954 int count1; in sixpack_decode() local
956 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
957 inbyte = pre_rbuff[count1]; in sixpack_decode()
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c631 if (xcrb->reply_control_blk_length < msg->fmt2.count1) { in convert_type86_xcrb()
634 msg->fmt2.count1); in convert_type86_xcrb()
638 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
640 xcrb->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb()
675 if (xcrb->resp_len < msg->fmt2.count1) { in convert_type86_ep11_xcrb()
678 msg->fmt2.count1); in convert_type86_ep11_xcrb()
684 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb()
686 xcrb->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb()
889 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive()
939 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
[all...]
/kernel/linux/linux-5.10/sound/drivers/
H A Daloop.c610 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
628 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
629 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
632 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
633 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
634 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
642 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
644 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
645 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
646 count1 in loopback_jiffies_timer_pos_update()
[all...]
/kernel/linux/linux-6.6/sound/drivers/
H A Daloop.c609 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
627 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
628 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
631 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
632 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
633 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
641 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
643 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
644 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
645 count1 in loopback_jiffies_timer_pos_update()
[all...]
/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dtlb.c290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
294 count1 = local_cpu_data->ptce_count[1]; in local_flush_tlb_all()
300 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dtlb.c290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
294 count1 = local_cpu_data->ptce_count[1]; in local_flush_tlb_all()
300 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()

Completed in 20 milliseconds

123