Home
last modified time | relevance | path

Searched refs:cache_get_desc (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcontroller.c221 buses[pos++] = cache_get_desc(DM_BUS, cp->bus, NULL, NULL, errp); in get_assoc_buses()
254 drives[i] = cache_get_desc(DM_DRIVE, cp->disks[i], NULL, NULL, in get_assoc_drives()
296 paths[i] = cache_get_desc(DM_PATH, pp[i], NULL, NULL, errp); in get_assoc_paths()
H A Dpath.c265 controllers[i++] = cache_get_desc(DM_CONTROLLER, in get_assoc_controllers()
300 drives[i] = cache_get_desc(DM_DRIVE, pp->disks[i], NULL, NULL, in get_assoc_drives()
H A Dbus.c237 controllers[i] = cache_get_desc(DM_CONTROLLER, bp->controllers[i], in get_assoc_controllers()
H A Ddrive.c400 drives[0] = cache_get_desc(DM_DRIVE, desc->p.disk, NULL, NULL, errp); in drive_get_assocs()
763 out_array[pos++] = cache_get_desc(DM_ALIAS, diskp, in get_assoc_alias()
800 controllers[i] = cache_get_desc(DM_CONTROLLER, in get_assoc_controllers()
844 paths[i] = cache_get_desc(DM_PATH, pp[i], dp->p.disk->device_id, in get_assoc_paths()
H A Dpartition.c172 partitions[0] = cache_get_desc(DM_PARTITION, in partition_get_assocs()
211 partitions[pos] = cache_get_desc(DM_PARTITION, in partition_get_assocs()
H A Dslice.c174 return (cache_get_desc(DM_SLICE, dp, name, mname, in slice_get_descriptor_by_name()
594 slices[pos] = cache_get_desc(DM_SLICE, desc->p.disk, devpath, in get_fixed_assocs()
H A Ddisks_private.h233 descriptor_t *cache_get_desc(int type, void *gp, char *name,
H A Dmedia.c108 media[0] = cache_get_desc(DM_MEDIA, dp->p.disk, mname, NULL, errp); in media_get_assocs()
H A Dcache.c325 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp) in cache_get_desc() function