Searched refs:draid_map_t (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | draid.c | 266 write_map_key(const char *filename, char *key, draid_map_t *map, in write_map_key() 323 dump_map(draid_map_t *map, const char *key, double worst_ratio, in dump_map() 368 draid_map_t map; in dump_map_nv() 407 draid_map_t **mapp) in alloc_new_map() 409 draid_map_t *map; in alloc_new_map() 412 map = malloc(sizeof (draid_map_t)); in alloc_new_map() 436 alloc_fixed_map(uint64_t children, draid_map_t **mapp) in alloc_fixed_map() 438 const draid_map_t *fixed_map; in alloc_fixed_map() 439 draid_map_t *map; in alloc_fixed_map() 446 map = malloc(sizeof (draid_map_t)); in alloc_fixed_map() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_draid.h | 59 } draid_map_t; typedef 89 extern int vdev_draid_lookup_map(uint64_t, const draid_map_t **); 90 extern int vdev_draid_generate_perms(const draid_map_t *, uint8_t **);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_draid.c | 168 static const draid_map_t draid_maps[VDEV_DRAID_MAX_MAPS] = { 473 vdev_draid_generate_perms(const draid_map_t *map, uint8_t **permsp) in vdev_draid_generate_perms() 542 vdev_draid_lookup_map(uint64_t children, const draid_map_t **mapp) in vdev_draid_lookup_map() 2240 const draid_map_t *map; in vdev_draid_init()
|