Searched refs:cur_count (Results 1 – 9 of 9) 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/sound/drivers/vx/ |
| H A D | vx_pcm.c | 663 update = (int)(count - pipe->cur_count); in vx_update_pipe_position() 664 pipe->cur_count = count; in vx_update_pipe_position()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.c | 1192 int cur_count; in mt7603_fill_txs() local 1195 cur_count = min_t(int, MT7603_RATE_RETRY, count); in mt7603_fill_txs() 1196 count -= cur_count; in mt7603_fill_txs() 1210 info->status.rates[i].count += cur_count; in mt7603_fill_txs()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | mac.c | 1369 int cur_count; in mt7615_fill_txs() local 1372 cur_count = min_t(int, MT7615_RATE_RETRY, count); in mt7615_fill_txs() 1373 count -= cur_count; in mt7615_fill_txs() 1387 info->status.rates[i].count += cur_count; in mt7615_fill_txs()
|
| /linux/drivers/of/ |
| H A D | base.c | 1416 it->cur_count = count; in of_phandle_iterator_next() 1436 count = it->cur_count; in of_phandle_iterator_args()
|
| /linux/include/linux/ |
| H A D | of.h | 89 uint32_t cur_count; member
|