Home
last modified time | relevance | path

Searched refs:vollist (Results 1 – 3 of 3) sorted by last modified time

/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_ioctl.c1413 hammer2_ioc_volume_list_t *vollist = data;
1427 if (cnt >= vollist->nvolumes)
1436 error = copyout(&entry, &vollist->volumes[cnt], sizeof(entry));
1441 vollist->nvolumes = cnt;
1442 vollist->version = hmp->voldata.version;
1443 bcopy(pmp->pfs_names[0], vollist->pfs_name, sizeof(vollist->pfs_name));
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_ioctl.c1405 hammer2_ioc_volume_list_t *vollist = data; in hammer2_ioctl_volume_list() local
1419 if (cnt >= vollist->nvolumes) in hammer2_ioctl_volume_list()
1428 error = copyout(&entry, &vollist->volumes[cnt], sizeof(entry)); in hammer2_ioctl_volume_list()
1433 vollist->nvolumes = cnt; in hammer2_ioctl_volume_list()
1434 vollist->version = hmp->voldata.version; in hammer2_ioctl_volume_list()
1435 bcopy(pmp->pfs_names[0], vollist->pfs_name, sizeof(vollist->pfs_name)); in hammer2_ioctl_volume_list()
/dragonfly/sbin/hammer2/
H A Dcmd_volume.c42 hammer2_ioc_volume_list_t vollist; in cmd_volume_list() local
50 vollist.volumes = calloc(HAMMER2_MAX_VOLUMES, sizeof(*vollist.volumes)); in cmd_volume_list()
62 vollist.nvolumes = HAMMER2_MAX_VOLUMES; in cmd_volume_list()
71 for (j = 0; j < vollist.nvolumes; ++j) { in cmd_volume_list()
72 entry = &vollist.volumes[j]; in cmd_volume_list()
79 for (j = 0; j < vollist.nvolumes; ++j) { in cmd_volume_list()
80 entry = &vollist.volumes[j]; in cmd_volume_list()
84 printf("version %d\n", vollist.version); in cmd_volume_list()
85 printf("@%s\n", vollist.pfs_name); in cmd_volume_list()
87 entry = &vollist.volumes[j]; in cmd_volume_list()
[all …]