Searched refs:dm_descriptor_t (Results 1 – 5 of 5) sorted by relevance
| /titanic_53/usr/src/lib/libdiskmgt/common/ |
| H A D | libdiskmgt.h | 182 typedef uint64_t dm_descriptor_t; typedef 424 void dm_free_descriptors(dm_descriptor_t *desc_list); 425 void dm_free_descriptor(dm_descriptor_t desc); 429 dm_descriptor_t *dm_get_descriptors(dm_desc_type_t type, int filter[], 431 dm_descriptor_t *dm_get_associated_descriptors(dm_descriptor_t desc, 434 dm_descriptor_t dm_get_descriptor_by_name(dm_desc_type_t desc_type, 436 char *dm_get_name(dm_descriptor_t desc, int *errp); 437 dm_desc_type_t dm_get_type(dm_descriptor_t desc); 438 nvlist_t *dm_get_attributes(dm_descriptor_t desc, int *errp); 439 nvlist_t *dm_get_stats(dm_descriptor_t desc, int stat_type, [all …]
|
| H A D | entry.c | 62 static dm_descriptor_t *ptr_array_to_desc_array(descriptor_t **ptrs, int *errp); 63 static descriptor_t **desc_array_to_ptr_array(dm_descriptor_t *da, int *errp); 68 dm_free_descriptor(dm_descriptor_t desc) in dm_free_descriptor() 83 dm_free_descriptors(dm_descriptor_t *desc_list) in dm_free_descriptors() 109 dm_descriptor_t * 110 dm_get_associated_descriptors(dm_descriptor_t desc, dm_desc_type_t type, in dm_get_associated_descriptors() 195 dm_get_attributes(dm_descriptor_t desc, int *errp) in dm_get_attributes() 253 dm_descriptor_t 256 dm_descriptor_t desc = NULL; in dm_get_descriptor_by_name() 298 dm_descriptor_t * [all …]
|
| /titanic_53/usr/src/lib/libzfs_jni/common/ |
| H A D | libzfs_jni_diskmgt.c | 39 static char *get_device_name(dm_descriptor_t device, int *error); 40 static dmgt_disk_t *get_disk(dm_descriptor_t disk, int *error); 41 static char **get_disk_aliases(dm_descriptor_t disk, char *name, int *error); 42 static int get_disk_online(dm_descriptor_t disk, int *error); 44 static dmgt_slice_t **get_disk_slices(dm_descriptor_t media, 46 static dmgt_slice_t **get_disk_usable_slices(dm_descriptor_t media, 48 static void get_disk_size(dm_descriptor_t media, char *name, 50 static void get_slice_use(dm_descriptor_t slice, char *name, 53 dm_descriptor_t slice, uint32_t blocksize, int *error); 69 get_device_name(dm_descriptor_t device, int *error) in get_device_name() [all …]
|
| /titanic_53/usr/src/cmd/zpool/ |
| H A D | zpool_vdev.c | 186 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk() 188 dm_descriptor_t *drive, *media, *slice; in check_disk() 259 dm_descriptor_t desc; in check_device()
|
| /titanic_53/usr/src/cmd/format/ |
| H A D | checkdev.c | 283 dm_descriptor_t *slices = NULL; in checkdevinuse()
|