Home
last modified time | relevance | path

Searched refs:dm_descriptor_t (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dlibdiskmgt.h186 typedef uint64_t dm_descriptor_t; typedef
432 void dm_free_descriptors(dm_descriptor_t *desc_list);
433 void dm_free_descriptor(dm_descriptor_t desc);
437 dm_descriptor_t *dm_get_descriptors(dm_desc_type_t type, int filter[],
439 dm_descriptor_t *dm_get_associated_descriptors(dm_descriptor_t desc,
442 dm_descriptor_t dm_get_descriptor_by_name(dm_desc_type_t desc_type,
444 char *dm_get_name(dm_descriptor_t desc, int *errp);
445 dm_desc_type_t dm_get_type(dm_descriptor_t desc);
446 nvlist_t *dm_get_attributes(dm_descriptor_t desc, int *errp);
447 nvlist_t *dm_get_stats(dm_descriptor_t desc, int stat_type,
[all …]
H A Dentry.c62 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 = 0; in dm_get_descriptor_by_name()
298 dm_descriptor_t *
[all …]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c41 static char *get_device_name(dm_descriptor_t device, int *error);
42 static dmgt_disk_t *get_disk(dm_descriptor_t disk, int *error);
43 static char **get_disk_aliases(dm_descriptor_t disk, char *name, int *error);
44 static int get_disk_online(dm_descriptor_t disk, int *error);
46 static dmgt_slice_t **get_disk_slices(dm_descriptor_t media,
48 static dmgt_slice_t **get_disk_usable_slices(dm_descriptor_t media,
50 static void get_disk_size(dm_descriptor_t media, char *name,
52 static void get_slice_use(dm_descriptor_t slice, char *name,
55 dm_descriptor_t slice, uint32_t blocksize, int *error);
71 get_device_name(dm_descriptor_t device, int *error) in get_device_name()
[all …]
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c249 dm_descriptor_t *media; in enumerate_disks()
281 dm_descriptor_t *disk, *controller; in enumerate_disks()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c187 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk()
189 dm_descriptor_t *drive, *media, *slice; in check_disk()
260 dm_descriptor_t desc; in check_device()
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c266 dm_descriptor_t *slices = NULL; in checkdevinuse()
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c113 dm_descriptor_t drive_descr = 0; in disk_set_props()
343 dm_descriptor_t drive_descr = 0; in disk_temp_reading()