/titanic_50/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 43 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 D | libzfs_jni_disk.c | 54 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 D | libzfs_jni_diskmgt.h | 61 dmgt_slice_t **slices; member
|
/titanic_50/usr/src/cmd/format/ |
H A D | checkdev.c | 283 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_50/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 499 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 D | slice.c | 626 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 D | libdiskmgt.h | 444 void dm_get_slices(char *drive, dm_descriptor_t **slices,
|
/titanic_50/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 89 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_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import.cfg | 42 # We need to repartition the single disk to two slices. 50 # We need to repartition the single disk to two slices.
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/clean_mirror/ |
H A D | default.cfg | 38 # We need to repartition the single disk to two slices
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/scrub_mirror/ |
H A D | default.cfg | 38 # We need to repartition the single disk to two slices
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/grow_pool/ |
H A D | grow_pool.cfg | 53 # Do not make SIZE too large as the three slices may exceed
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/grow_replicas/ |
H A D | grow_replicas.cfg | 54 # Do not make SIZE too large as the three slices may exceed
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/migration/ |
H A D | migration.cfg | 39 # We need to repartition the single disk to two slices.
|
/titanic_50/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_priv.h | 124 int *slices; variable
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vds.c | 478 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_50/usr/src/test/zfs-tests/include/ |
H A D | libtest.shlib | 756 # disk slices from 0 to the total slice number with the same specified
|
/titanic_50/usr/src/grub/grub-0.97/ |
H A D | ChangeLog | 7865 Support the NetBSD and OpenBSD partition slices.
|