HelenOS sources
vbd 51 uspace/lib/device/src/vbd.c vbd_t *vbd;
vbd 55 uspace/lib/device/src/vbd.c vbd = calloc(1, sizeof(vbd_t));
vbd 56 uspace/lib/device/src/vbd.c if (vbd == NULL) {
vbd 68 uspace/lib/device/src/vbd.c vbd->sess = loc_service_connect(vbd_svcid, INTERFACE_VBD,
vbd 70 uspace/lib/device/src/vbd.c if (vbd->sess == NULL) {
vbd 75 uspace/lib/device/src/vbd.c *rvbd = vbd;
vbd 78 uspace/lib/device/src/vbd.c free(vbd);
vbd 82 uspace/lib/device/src/vbd.c void vbd_destroy(vbd_t *vbd)
vbd 84 uspace/lib/device/src/vbd.c if (vbd == NULL)
vbd 87 uspace/lib/device/src/vbd.c async_hangup(vbd->sess);
vbd 88 uspace/lib/device/src/vbd.c free(vbd);
vbd 99 uspace/lib/device/src/vbd.c errno_t vbd_get_disks(vbd_t *vbd, service_id_t **data, size_t *count)
vbd 101 uspace/lib/device/src/vbd.c return vbd_get_ids_internal(vbd, VBD_GET_DISKS, 0, data, count);
vbd 105 uspace/lib/device/src/vbd.c errno_t vbd_disk_info(vbd_t *vbd, service_id_t sid, vbd_disk_info_t *vinfo)
vbd 111 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 128 uspace/lib/device/src/vbd.c errno_t vbd_label_create(vbd_t *vbd, service_id_t sid, label_type_t ltype)
vbd 133 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 143 uspace/lib/device/src/vbd.c errno_t vbd_label_delete(vbd_t *vbd, service_id_t sid)
vbd 148 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 169 uspace/lib/device/src/vbd.c static errno_t vbd_get_ids_once(vbd_t *vbd, sysarg_t method, sysarg_t arg1,
vbd 172 uspace/lib/device/src/vbd.c async_exch_t *exch = async_exchange_begin(vbd->sess);
vbd 207 uspace/lib/device/src/vbd.c static errno_t vbd_get_ids_internal(vbd_t *vbd, sysarg_t method, sysarg_t arg1,
vbd 214 uspace/lib/device/src/vbd.c errno_t rc = vbd_get_ids_once(vbd, method, arg1, NULL, 0, &act_size);
vbd 224 uspace/lib/device/src/vbd.c rc = vbd_get_ids_once(vbd, method, arg1, ids, alloc_size,
vbd 254 uspace/lib/device/src/vbd.c errno_t vbd_label_get_parts(vbd_t *vbd, service_id_t disk,
vbd 257 uspace/lib/device/src/vbd.c return vbd_get_ids_internal(vbd, VBD_LABEL_GET_PARTS, disk,
vbd 261 uspace/lib/device/src/vbd.c errno_t vbd_part_get_info(vbd_t *vbd, vbd_part_id_t part, vbd_part_info_t *pinfo)
vbd 267 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 284 uspace/lib/device/src/vbd.c errno_t vbd_part_create(vbd_t *vbd, service_id_t disk, vbd_part_spec_t *pspec,
vbd 291 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 310 uspace/lib/device/src/vbd.c errno_t vbd_part_delete(vbd_t *vbd, vbd_part_id_t part)
vbd 315 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 339 uspace/lib/device/src/vbd.c errno_t vbd_suggest_ptype(vbd_t *vbd, service_id_t disk, label_pcnt_t pcnt,
vbd 346 uspace/lib/device/src/vbd.c exch = async_exchange_begin(vbd->sess);
vbd 198 uspace/lib/fdisk/include/types/fdisk.h vbd_t *vbd;
vbd 89 uspace/lib/fdisk/src/fdisk.c rc = vbd_create(&fdisk->vbd);
vbd 109 uspace/lib/fdisk/src/fdisk.c vbd_destroy(fdisk->vbd);
vbd 128 uspace/lib/fdisk/src/fdisk.c rc = vbd_get_disks(fdisk->vbd, &svcs, &count);
vbd 226 uspace/lib/fdisk/src/fdisk.c rc = vbd_disk_info(info->devlist->fdisk->vbd, info->svcid, &vinfo);
vbd 247 uspace/lib/fdisk/src/fdisk.c rc = vbd_part_get_info(dev->fdisk->vbd, partid, &pinfo);
vbd 395 uspace/lib/fdisk/src/fdisk.c rc = vbd_label_get_parts(dev->fdisk->vbd, dev->sid, &psids, &nparts);
vbd 450 uspace/lib/fdisk/src/fdisk.c rc = vbd_label_get_parts(fdisk->vbd, sid, &psids, &nparts);
vbd 551 uspace/lib/fdisk/src/fdisk.c rc = vbd_disk_info(dev->fdisk->vbd, dev->sid, &vinfo);
vbd 600 uspace/lib/fdisk/src/fdisk.c rc = vbd_label_create(dev->fdisk->vbd, dev->sid, ltype);
vbd 628 uspace/lib/fdisk/src/fdisk.c rc = vbd_label_delete(dev->fdisk->vbd, dev->sid);
vbd 763 uspace/lib/fdisk/src/fdisk.c rc = vbd_part_create(dev->fdisk->vbd, dev->sid, &vpspec, &partid);
vbd 808 uspace/lib/fdisk/src/fdisk.c (void) vbd_part_delete(dev->fdisk->vbd, partid);
vbd 825 uspace/lib/fdisk/src/fdisk.c rc = vbd_part_delete(part->dev->fdisk->vbd, part->part_id);
vbd 1048 uspace/lib/fdisk/src/fdisk.c rc = vbd_suggest_ptype(dev->fdisk->vbd, dev->sid, pcnt,
vbd 1063 uspace/lib/fdisk/src/fdisk.c rc = vbd_disk_info(dev->fdisk->vbd, dev->sid, &dev->dinfo);
HelenOS homepage, sources at GitHub