HelenOS sources

fdisk              50 uspace/app/fdisk/fdisk.c static fdisk_t *fdisk;
fdisk             161 uspace/app/fdisk/fdisk.c 	rc = fdisk_dev_list_get(fdisk, &devlist);
fdisk            1297 uspace/app/fdisk/fdisk.c 	rc = fdisk_create(&fdisk);
fdisk            1310 uspace/app/fdisk/fdisk.c 	rc = fdisk_dev_open(fdisk, svcid, &dev);
fdisk            1325 uspace/app/fdisk/fdisk.c 	fdisk_destroy(fdisk);
fdisk             125 uspace/app/sysinst/sysinst.c 	fdisk_t *fdisk;
fdisk             141 uspace/app/sysinst/sysinst.c 	rc = fdisk_create(&fdisk);
fdisk             147 uspace/app/sysinst/sysinst.c 	rc = fdisk_dev_open(fdisk, sid, &fdev);
fdisk              69 uspace/lib/fdisk/include/types/fdisk.h 	struct fdisk *fdisk;
fdisk              89 uspace/lib/fdisk/include/types/fdisk.h 	struct fdisk *fdisk;
fdisk              74 uspace/lib/fdisk/src/fdisk.c 	fdisk_t *fdisk = NULL;
fdisk              77 uspace/lib/fdisk/src/fdisk.c 	fdisk = calloc(1, sizeof(fdisk_t));
fdisk              78 uspace/lib/fdisk/src/fdisk.c 	if (fdisk == NULL) {
fdisk              83 uspace/lib/fdisk/src/fdisk.c 	rc = vol_create(&fdisk->vol);
fdisk              89 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_create(&fdisk->vbd);
fdisk              95 uspace/lib/fdisk/src/fdisk.c 	*rfdisk = fdisk;
fdisk              98 uspace/lib/fdisk/src/fdisk.c 	fdisk_destroy(fdisk);
fdisk             103 uspace/lib/fdisk/src/fdisk.c void fdisk_destroy(fdisk_t *fdisk)
fdisk             105 uspace/lib/fdisk/src/fdisk.c 	if (fdisk == NULL)
fdisk             108 uspace/lib/fdisk/src/fdisk.c 	vol_destroy(fdisk->vol);
fdisk             109 uspace/lib/fdisk/src/fdisk.c 	vbd_destroy(fdisk->vbd);
fdisk             110 uspace/lib/fdisk/src/fdisk.c 	free(fdisk);
fdisk             113 uspace/lib/fdisk/src/fdisk.c errno_t fdisk_dev_list_get(fdisk_t *fdisk, fdisk_dev_list_t **rdevlist)
fdisk             125 uspace/lib/fdisk/src/fdisk.c 	devlist->fdisk = fdisk;
fdisk             128 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_get_disks(fdisk->vbd, &svcs, &count);
fdisk             226 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_disk_info(info->devlist->fdisk->vbd, info->svcid, &vinfo);
fdisk             247 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_part_get_info(dev->fdisk->vbd, partid, &pinfo);
fdisk             258 uspace/lib/fdisk/src/fdisk.c 		rc = vol_part_add(dev->fdisk->vol, pinfo.svc_id);
fdisk             264 uspace/lib/fdisk/src/fdisk.c 		rc = vol_part_info(dev->fdisk->vol, pinfo.svc_id, &vpinfo);
fdisk             395 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_label_get_parts(dev->fdisk->vbd, dev->sid, &psids, &nparts);
fdisk             426 uspace/lib/fdisk/src/fdisk.c errno_t fdisk_dev_open(fdisk_t *fdisk, service_id_t sid, fdisk_dev_t **rdev)
fdisk             437 uspace/lib/fdisk/src/fdisk.c 	dev->fdisk = fdisk;
fdisk             450 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_label_get_parts(fdisk->vbd, sid, &psids, &nparts);
fdisk             494 uspace/lib/fdisk/src/fdisk.c 	rc = vol_part_empty(dev->fdisk->vol, part->svc_id);
fdisk             551 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_disk_info(dev->fdisk->vbd, dev->sid, &vinfo);
fdisk             600 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_label_create(dev->fdisk->vbd, dev->sid, ltype);
fdisk             628 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_label_delete(dev->fdisk->vbd, dev->sid);
fdisk             763 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_part_create(dev->fdisk->vbd, dev->sid, &vpspec, &partid);
fdisk             776 uspace/lib/fdisk/src/fdisk.c 		rc = vol_part_mkfs(dev->fdisk->vol, part->svc_id, pspec->fstype,
fdisk             784 uspace/lib/fdisk/src/fdisk.c 		rc = vol_part_info(dev->fdisk->vol, part->svc_id, &vpinfo);
fdisk             808 uspace/lib/fdisk/src/fdisk.c 		(void) vbd_part_delete(dev->fdisk->vbd, partid);
fdisk             821 uspace/lib/fdisk/src/fdisk.c 	rc = vol_part_eject(part->dev->fdisk->vol, part->svc_id);
fdisk             825 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_part_delete(part->dev->fdisk->vbd, part->part_id);
fdisk             842 uspace/lib/fdisk/src/fdisk.c 	return vol_part_set_mountp(part->dev->fdisk->vol,
fdisk            1048 uspace/lib/fdisk/src/fdisk.c 		rc = vbd_suggest_ptype(dev->fdisk->vbd, dev->sid, pcnt,
fdisk            1063 uspace/lib/fdisk/src/fdisk.c 	rc = vbd_disk_info(dev->fdisk->vbd, dev->sid, &dev->dinfo);
fdisk            1180 uspace/lib/fdisk/src/fdisk.c 	return vol_part_get_lsupp(dev->fdisk->vol, fstype, vlsupp);
HelenOS homepage, sources at GitHub