Home
last modified time | relevance | path

Searched refs:slices (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c43 static void remove_slice_from_list(dmgt_slice_t **slices, int index);
137 dp->slices = in get_disk()
258 dm_descriptor_t *slices; in get_disk_slices() local
262 slices = dm_get_associated_descriptors(media, DM_SLICE, error); in get_disk_slices()
271 slices != NULL && slices[j] != NULL; j++) { in get_disk_slices()
275 get_slice(slices[j], blocksize, error); in get_disk_slices()
298 dm_free_descriptors(slices); in get_disk_slices()
316 remove_slice_from_list(dmgt_slice_t **slices, int index) in remove_slice_from_list() argument
319 for (i = index; slices[i] != NULL; i++) { in remove_slice_from_list()
320 slices[i] = slices[i + 1]; in remove_slice_from_list()
[all …]
H A Dlibzfs_jni_disk.c54 jobjectArray slices = create_SliceDeviceBean_array(env, in create_DiskDeviceBean() local
55 dp->slices); in create_DiskDeviceBean()
56 if (slices != NULL) { in create_DiskDeviceBean()
71 constructor, dp->size, nameUTF, aliases, slices, in create_DiskDeviceBean()
158 create_SliceDeviceBean_array(JNIEnv *env, dmgt_slice_t **slices) in create_SliceDeviceBean_array() argument
165 if (slices != NULL) { in create_SliceDeviceBean_array()
167 for (i = 0; slices[i] != NULL; i++) { in create_SliceDeviceBean_array()
168 dmgt_slice_t *slice = slices[i]; in create_SliceDeviceBean_array()
H A Dlibzfs_jni_diskmgt.h61 dmgt_slice_t **slices; member
/titanic_44/usr/src/cmd/format/
H A Dcheckdev.c283 dm_descriptor_t *slices = NULL; in checkdevinuse() local
341 dm_get_slices(cur_disk_path, &slices, &error); in checkdevinuse()
353 if (slices == NULL) in checkdevinuse()
356 for (i = 0; slices[i] != NULL; i++) { in checkdevinuse()
363 name = dm_get_name(slices[i], &error); in checkdevinuse()
392 dm_free_descriptors(slices); in checkdevinuse()
417 attrs = dm_get_attributes(slices[i], &error); in checkdevinuse()
437 name = dm_get_name(slices[i], &error); in checkdevinuse()
469 dm_free_descriptors(slices); in checkdevinuse()
499 name = dm_get_name(slices[i], &error); in checkdevinuse()
[all …]
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Dentry.c499 dm_get_slices(char *drive, dm_descriptor_t **slices, int *errp) in dm_get_slices() argument
505 *slices = NULL; in dm_get_slices()
527 *slices = dm_get_associated_descriptors(*media, in dm_get_slices()
571 dm_descriptor_t *slices = NULL; in dm_isoverlapping() local
594 slices = dm_get_associated_descriptors(*media, DM_SLICE, errp); in dm_isoverlapping()
595 if (slices == NULL || *slices == NULL || *errp != 0) in dm_isoverlapping()
624 for (i = 0; slices[i]; i ++) { in dm_isoverlapping()
630 nvlist_t *other_attrs = dm_get_attributes(slices[i], errp); in dm_isoverlapping()
684 char *str = dm_get_name(slices[i], errp); in dm_isoverlapping()
702 char *str = dm_get_name(slices[i], errp); in dm_isoverlapping()
[all …]
H A Dslice.c626 descriptor_t **slices; in get_fixed_assocs() local
649 slices = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_fixed_assocs()
650 if (slices == NULL) { in get_fixed_assocs()
692 slices[pos] = cache_get_desc(DM_SLICE, desc->p.disk, devpath, in get_fixed_assocs()
695 cache_free_descriptors(slices); in get_fixed_assocs()
703 slices[pos] = NULL; in get_fixed_assocs()
710 return (slices); in get_fixed_assocs()
H A Dlibdiskmgt.h444 void dm_get_slices(char *drive, dm_descriptor_t **slices,
/titanic_44/usr/src/cmd/availdevs/
H A Davaildevs.c89 if (dp->slices != NULL) { in add_disk_to_xml()
90 for (i = 0; dp->slices[i] != NULL; i++) { in add_disk_to_xml()
91 dmgt_slice_t *sp = dp->slices[i]; in add_disk_to_xml()
/titanic_44/usr/src/test/zfs-tests/tests/functional/interop/
H A Dinterop.cfg39 # We need to repartition the single disk to two slices
50 # We need to repartition the single disk to two slices and allocate
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import.cfg42 # We need to repartition the single disk to two slices.
50 # We need to repartition the single disk to two slices.
/titanic_44/usr/src/test/zfs-tests/tests/functional/clean_mirror/
H A Ddefault.cfg38 # We need to repartition the single disk to two slices
/titanic_44/usr/src/test/zfs-tests/tests/functional/scrub_mirror/
H A Ddefault.cfg38 # We need to repartition the single disk to two slices
/titanic_44/usr/src/test/zfs-tests/tests/functional/grow_pool/
H A Dgrow_pool.cfg53 # Do not make SIZE too large as the three slices may exceed
/titanic_44/usr/src/test/zfs-tests/tests/functional/migration/
H A Dmigration.cfg39 # We need to repartition the single disk to two slices.
/titanic_44/usr/src/test/zfs-tests/tests/functional/grow_replicas/
H A Dgrow_replicas.cfg61 # Do not make SIZE too large as the three slices may exceed
/titanic_44/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_priv.h124 int *slices; variable
/titanic_44/usr/src/uts/sun4v/io/
H A Dvds.c478 vd_slice_t slices[VD_MAXPART]; /* logical partitions */ member
806 if (blk >= vd->slices[slice].nblocks) { in vd_dskimg_io_params()
809 blk, vd->slices[slice].nblocks); in vd_dskimg_io_params()
813 offset = (vd->slices[slice].start + blk) * DEV_BSIZE; in vd_dskimg_io_params()
814 maxlen = (vd->slices[slice].nblocks - blk) * DEV_BSIZE; in vd_dskimg_io_params()
1174 *blkp = vd->slices[vd->efi_reserved].start; in vd_dskimg_get_devid_block()
3178 bzero(vd->slices, sizeof (vd_slice_t) * VD_MAXPART); in vd_dskimg_validate_efi()
3191 vd->slices[i].start = gpe[i].efi_gpe_StartingLBA; in vd_dskimg_validate_efi()
3192 vd->slices[i].nblocks = gpe[i].efi_gpe_EndingLBA - in vd_dskimg_validate_efi()
3202 vd->slices[VD_EFI_WD_SLICE].start = 0; in vd_dskimg_validate_efi()
[all …]
/titanic_44/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib756 # disk slices from 0 to the total slice number with the same specified
/titanic_44/usr/src/grub/grub-0.97/
H A DChangeLog7865 Support the NetBSD and OpenBSD partition slices.