Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dvirtual_memory.cpp51 uint32 cur_num_entries, cur_mapped_len; in get_iovec_memory_map() local
66 cur_num_entries = max_entries - cur_idx; in get_iovec_memory_map()
68 &map[cur_idx], &cur_num_entries)) != B_OK) { in get_iovec_memory_map()
76 for (tmp_idx = cur_idx; tmp_idx < cur_idx + cur_num_entries; ++tmp_idx) in get_iovec_memory_map()
89 cur_num_entries, (int)cur_mapped_len ); in get_iovec_memory_map()
92 if (cur_num_entries > 0 && cur_idx > 0 in get_iovec_memory_map()
98 (cur_num_entries - 1) * sizeof(map[0])); in get_iovec_memory_map()
99 --cur_num_entries; in get_iovec_memory_map()
102 cur_idx += cur_num_entries; in get_iovec_memory_map()