Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_indirect.c997 vdev_indirect_mapping_entry_phys_t *duplicate_mappings = NULL; in vdev_indirect_mapping_duplicate_adjacent_entries() local
1024 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()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c506 vdev_indirect_mapping_entry_phys_t *duplicate_mappings = NULL; in vdev_indirect_mapping_duplicate_adjacent_entries() local
527 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()