Searched refs:cur_count (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/mips/sibyte/common/ |
| H A D | sb_tbprof.c | 443 int cur_sample, sample_off, cur_count, sample_left; in sbprof_tb_read() local 462 cur_count = size < sample_left ? size : sample_left; in sbprof_tb_read() 464 err = __copy_to_user(dest, src, cur_count); in sbprof_tb_read() 466 *offp = cur_off + cur_count - err; in sbprof_tb_read() 471 cur_sample, cur_count); in sbprof_tb_read() 472 size -= cur_count; in sbprof_tb_read() 473 sample_left -= cur_count; in sbprof_tb_read() 479 sample_off += cur_count; in sbprof_tb_read() 481 cur_off += cur_count; in sbprof_tb_read() 482 dest += cur_count; in sbprof_tb_read() [all …]
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_ksm_options.c | 82 int cur_count = read_sysfs(PATH_KSM "full_scans"); in mte_ksm_scan() local 83 int scan_count = cur_count + 1; in mte_ksm_scan() 86 while ((cur_count < scan_count) && max_loop_count) { in mte_ksm_scan() 88 cur_count = read_sysfs(PATH_KSM "full_scans"); in mte_ksm_scan()
|
| /linux/drivers/nvme/target/ |
| H A D | pr.c | 95 u64 cur_count; in nvmet_execute_get_log_page_resv() local 109 cur_count = le64_to_cpu(log.count); in nvmet_execute_get_log_page_resv() 112 if (next_count > cur_count) in nvmet_execute_get_log_page_resv() 113 lost_count = next_count - cur_count - 1; in nvmet_execute_get_log_page_resv() 115 lost_count = U64_MAX - cur_count + next_count - 1; in nvmet_execute_get_log_page_resv() 120 log.count = cpu_to_le64((cur_count + lost_count) == 0 ? in nvmet_execute_get_log_page_resv() 121 1 : (cur_count + lost_count)); in nvmet_execute_get_log_page_resv()
|
| /linux/include/sound/ |
| H A D | vx_core.h | 66 u64 cur_count; /* current sample position (for playback) */ member
|
| /linux/drivers/iommu/arm/arm-smmu/ |
| H A D | arm-smmu.c | 182 it.cur_count = 1; in arm_smmu_register_legacy_master() 189 sids = kcalloc(it.cur_count, sizeof(*sids), GFP_KERNEL); in arm_smmu_register_legacy_master() 194 of_phandle_iterator_args(&it, sids, it.cur_count); in arm_smmu_register_legacy_master() 195 err = iommu_fwspec_add_ids(dev, sids, it.cur_count); in arm_smmu_register_legacy_master()
|
| /linux/include/linux/ |
| H A D | of.h | 89 uint32_t cur_count; member
|