Searched refs:duplicate_mappings (Results 1 – 2 of 2) sorted by relevance
997 vdev_indirect_mapping_entry_phys_t *duplicate_mappings = NULL; in vdev_indirect_mapping_duplicate_adjacent_entries() local1024 duplicate_mappings = kmem_alloc(copy_length, KM_SLEEP); in vdev_indirect_mapping_duplicate_adjacent_entries()1025 memcpy(duplicate_mappings, first_mapping, copy_length); in vdev_indirect_mapping_duplicate_adjacent_entries()1028 return (duplicate_mappings); in vdev_indirect_mapping_duplicate_adjacent_entries()
506 vdev_indirect_mapping_entry_phys_t *duplicate_mappings = NULL; in vdev_indirect_mapping_duplicate_adjacent_entries() local527 duplicate_mappings = malloc(copy_length); in vdev_indirect_mapping_duplicate_adjacent_entries()528 if (duplicate_mappings != NULL) in vdev_indirect_mapping_duplicate_adjacent_entries()529 bcopy(first_mapping, duplicate_mappings, copy_length); in vdev_indirect_mapping_duplicate_adjacent_entries()535 return (duplicate_mappings); in vdev_indirect_mapping_duplicate_adjacent_entries()