Home
last modified time | relevance | path

Searched refs:count2 (Results 1 – 20 of 20) sorted by relevance

/linux/arch/arm/mach-rpc/
H A Dtime.c31 unsigned int count1, count2, status; in ioc_timer_read() local
44 count2 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read()
45 ticks = ioc_time + RPC_LATCH - count2; in ioc_timer_read()
48 if (count2 < count1) { in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
/linux/tools/perf/tests/
H A Dbp_signal.c168 long long count1, count2, count3; in test__bp_signal() local
261 count2 = bp_count(fd2); in test__bp_signal()
269 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
284 if (count2 != 3) in test__bp_signal()
285 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal()
290 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/linux/fs/afs/
H A Dvlclient.c209 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
226 if (alist->nr_addrs < call->count2) { in afs_deliver_vl_get_addrs_u()
338 call->count2 = count; in afs_deliver_vl_get_capabilities()
439 call->unmarshall, iov_iter_count(call->iter), call->count2); in afs_deliver_yfsvl_get_endpoints()
458 call->count2 = ntohl(*bp); /* Type or next count */ in afs_deliver_yfsvl_get_endpoints()
473 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
496 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
522 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
530 call->count = call->count2; in afs_deliver_yfsvl_get_endpoints()
552 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
[all …]
H A Dcmservice.c255 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
256 _debug("CB count: %u", call->count2); in afs_deliver_cb_callback()
257 if (call->count2 != call->count && call->count2 != 0) in afs_deliver_cb_callback()
260 iov_iter_discard(&call->def_iter, ITER_DEST, call->count2 * 3 * 4); in afs_deliver_cb_callback()
266 iov_iter_count(call->iter), call->count2 * 3 * 4); in afs_deliver_cb_callback()
H A Dyfsclient.c2047 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl()
2055 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl()
2079 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl()
2087 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl()
H A Dfsclient.c1690 call->count2 = count; in afs_deliver_fs_get_capabilities()
2010 size = call->count2 = ntohl(call->tmp); in afs_deliver_fs_fetch_acl()
2017 acl->size = call->count2; in afs_deliver_fs_fetch_acl()
H A Dinternal.h171 unsigned count2; /* count used in unmarshalling */ member
/linux/drivers/clocksource/
H A Dclksrc-dbx500-prcmu.c33 u32 count, count2; in clksrc_dbx500_prcmu_read() local
37 count2 = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT); in clksrc_dbx500_prcmu_read()
38 } while (count2 != count); in clksrc_dbx500_prcmu_read()
/linux/drivers/acpi/acpica/
H A Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
142 count2, 0); in acpi_ns_check_package()
428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
442 count2, 0); in acpi_ns_check_package_list()
454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
728 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
H A Daclocal.h319 u8 count2; member
/linux/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
96 count2 = count1; in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
122 ret = rtc_read_lp_counter_lsb(data, &count2); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/linux/tools/perf/util/
H A Dbpf-utils.c202 __u32 count1, count2, size1, size2; in get_bpf_prog_info_linear() local
209 count2 = bpf_prog_info_read_offset_u32(&info_linear->info, in get_bpf_prog_info_linear()
211 if (count1 != count2) { in get_bpf_prog_info_linear()
212 pr_warning("%s: mismatch in element count %u vs %u\n", __func__, count1, count2); in get_bpf_prog_info_linear()
/linux/drivers/scsi/
H A Dmac_esp.c194 : "+a" (addr), "+r" (count32), "+r" (count2) \
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd() local
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.h89 unsigned int count2; /* 0x00000000 */ member
/linux/kernel/events/
H A Dhw_breakpoint.c271 const int count2 = atomic_read(&hist2->count[i]); in bp_slots_histogram_max_merge() local
276 if (count1 + count2 > 0) in bp_slots_histogram_max_merge()
279 WARN(count2 < 0, "inconsistent breakpoint slots histogram"); in bp_slots_histogram_max_merge()
/linux/sound/drivers/
H A Daloop.c663 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
696 count2 = bytepos_delta(dpcm_capt, delta_capt); in loopback_jiffies_timer_pos_update()
697 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
698 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
699 count1 = count2; in loopback_jiffies_timer_pos_update()
700 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update()
701 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
/linux/fs/ext4/
H A Dresize.c465 ext4_group_t count2; in set_flexbg_block_bitmap() local
469 for (; count > 0; count -= count2, first_cluster += count2) { in set_flexbg_block_bitmap()
479 count2 = EXT4_CLUSTERS_PER_GROUP(sb) - (first_cluster - start); in set_flexbg_block_bitmap()
480 if (count2 > count) in set_flexbg_block_bitmap()
481 count2 = count; in set_flexbg_block_bitmap()
504 first_cluster, first_cluster - start, count2); in set_flexbg_block_bitmap()
505 mb_set_bits(bh->b_data, first_cluster - start, count2); in set_flexbg_block_bitmap()
/linux/drivers/comedi/drivers/
H A Djr3_pci.h564 u32 count2; /* offset 0x00e9 */ member
/linux/tools/accounting/
H A Ddelaytop.c781 unsigned long count2; in compare_tasks() local
787 count2 = *(unsigned long *)((char *)t2 + cfg.sort_field->count_offset); in compare_tasks()
790 avg2 = average_ms(total2, count2); in compare_tasks()
/linux/drivers/net/usb/
H A Dkaweth.c502 int count2 = urb->transfer_buffer_length; in kaweth_usb_receive() local
554 dev_err(&kaweth->intf->dev, "Count 2: %x\n", count2); in kaweth_usb_receive()