Lines Matching refs:dest
980 int maps__copy_from(struct maps *dest, struct maps *parent) in maps__copy_from() argument
987 down_write(maps__lock(dest)); in maps__copy_from()
992 if (maps__nr_maps(dest) == 0) { in maps__copy_from()
1007 RC_CHK_ACCESS(dest)->maps_by_address = dest_maps_by_address; in maps__copy_from()
1008 RC_CHK_ACCESS(dest)->maps_by_name = dest_maps_by_name; in maps__copy_from()
1009 RC_CHK_ACCESS(dest)->nr_maps_allocated = nr_maps_allocated; in maps__copy_from()
1019 err = unwind__prepare_access(dest, new, NULL); in maps__copy_from()
1024 RC_CHK_ACCESS(dest)->nr_maps = i + 1; in maps__copy_from()
1030 maps__set_maps_by_address_sorted(dest, maps__maps_by_address_sorted(parent)); in maps__copy_from()
1032 RC_CHK_ACCESS(dest)->last_search_by_name_idx = in maps__copy_from()
1034 maps__set_maps_by_name_sorted(dest, in maps__copy_from()
1038 RC_CHK_ACCESS(dest)->last_search_by_name_idx = 0; in maps__copy_from()
1039 maps__set_maps_by_name_sorted(dest, false); in maps__copy_from()
1050 err = unwind__prepare_access(dest, new, NULL); in maps__copy_from()
1052 err = __maps__insert(dest, new); in maps__copy_from()
1057 check_invariants(dest); in maps__copy_from()
1060 up_write(maps__lock(dest)); in maps__copy_from()