Home
last modified time | relevance | path

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

/Linux-v6.1/mm/kmsan/
Dcore.c85 int src_slots, dst_slots, i, iter, step, skip_bits; in kmsan_internal_memmove_metadata() local
115 dst_slots = (ALIGN((u64)dst + n, KMSAN_ORIGIN_SIZE) - in kmsan_internal_memmove_metadata()
118 KMSAN_WARN_ON((src_slots < 1) || (dst_slots < 1)); in kmsan_internal_memmove_metadata()
119 KMSAN_WARN_ON((src_slots - dst_slots > 1) || in kmsan_internal_memmove_metadata()
120 (dst_slots - src_slots < -1)); in kmsan_internal_memmove_metadata()
123 i = backwards ? min(src_slots, dst_slots) - 1 : 0; in kmsan_internal_memmove_metadata()
128 for (step = 0; step < min(src_slots, dst_slots); step++, i += iter) { in kmsan_internal_memmove_metadata()
193 if (src_slots < dst_slots) { in kmsan_internal_memmove_metadata()
200 origin_dst[dst_slots - 1] = in kmsan_internal_memmove_metadata()
201 origin_dst[dst_slots - 2]; in kmsan_internal_memmove_metadata()
/Linux-v6.1/lib/
Dmaple_tree.c4054 void __rcu **dst_slots; in mas_wr_node_store() local
4111 dst_slots = ma_slots(newnode, wr_mas->type); in mas_wr_node_store()
4114 memcpy(dst_slots, wr_mas->slots, sizeof(void *) * (offset + 1)); in mas_wr_node_store()
4120 rcu_assign_pointer(dst_slots[dst_offset], wr_mas->content); in mas_wr_node_store()
4128 rcu_assign_pointer(dst_slots[dst_offset], wr_mas->entry); in mas_wr_node_store()
4142 memcpy(dst_slots + dst_offset, wr_mas->slots + wr_mas->offset_end, in mas_wr_node_store()