HelenOS sources
vol 353 uspace/app/init/init.c vol_t *vol = NULL;
vol 366 uspace/app/init/init.c rc = vol_create(&vol);
vol 372 uspace/app/init/init.c rc = vol_get_volumes(vol, &volume_ids, &nvols);
vol 381 uspace/app/init/init.c rc = vol_info(vol, volume_ids[i], &vinfo);
vol 423 uspace/app/init/init.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 430 uspace/app/init/init.c rc = vol_part_info(vol, part_ids[i], &pinfo);
vol 455 uspace/app/init/init.c vol_destroy(vol);
vol 458 uspace/app/init/init.c vol_destroy(vol);
vol 51 uspace/app/sysinst/rdimg.c static errno_t rd_img_part_by_label(vol_t *vol, const char *label,
vol 60 uspace/app/sysinst/rdimg.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 67 uspace/app/sysinst/rdimg.c rc = vol_part_info(vol, part_ids[i], &vinfo);
vol 173 uspace/app/sysinst/rdimg.c vol_t *vol = NULL;
vol 177 uspace/app/sysinst/rdimg.c rc = vol_create(&vol);
vol 185 uspace/app/sysinst/rdimg.c rc = rd_img_part_by_label(vol, RD_LABEL, &rd_svcid);
vol 193 uspace/app/sysinst/rdimg.c rc = vol_part_eject(vol, rd_svcid);
vol 200 uspace/app/sysinst/rdimg.c vol_destroy(vol);
vol 214 uspace/app/sysinst/rdimg.c if (vol != NULL)
vol 215 uspace/app/sysinst/rdimg.c vol_destroy(vol);
vol 468 uspace/app/sysinst/sysinst.c vol_t *vol = NULL;
vol 471 uspace/app/sysinst/sysinst.c rc = vol_create(&vol);
vol 477 uspace/app/sysinst/sysinst.c rc = vol_part_eject(vol, part_id);
vol 485 uspace/app/sysinst/sysinst.c vol_destroy(vol);
vol 56 uspace/app/vol/vol.c static errno_t vol_cmd_part_by_mp(vol_t *vol, const char *mp,
vol 81 uspace/app/vol/vol.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 88 uspace/app/vol/vol.c rc = vol_part_info(vol, part_ids[i], &vinfo);
vol 111 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 115 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 121 uspace/app/vol/vol.c rc = vol_cmd_part_by_mp(vol, volspec, &part_id);
vol 127 uspace/app/vol/vol.c rc = vol_part_eject(vol, part_id);
vol 135 uspace/app/vol/vol.c vol_destroy(vol);
vol 141 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 151 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 157 uspace/app/vol/vol.c rc = vol_part_insert(vol, svc_id);
vol 165 uspace/app/vol/vol.c vol_destroy(vol);
vol 171 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 174 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 180 uspace/app/vol/vol.c rc = vol_part_insert_by_path(vol, volspec);
vol 188 uspace/app/vol/vol.c vol_destroy(vol);
vol 194 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 204 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 210 uspace/app/vol/vol.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 227 uspace/app/vol/vol.c rc = vol_part_info(vol, part_ids[i], &vinfo);
vol 260 uspace/app/vol/vol.c vol_destroy(vol);
vol 272 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 280 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 286 uspace/app/vol/vol.c rc = vol_get_volumes(vol, &volume_ids, &nvols);
vol 302 uspace/app/vol/vol.c rc = vol_info(vol, volume_ids[i], &vinfo);
vol 316 uspace/app/vol/vol.c vol_destroy(vol);
vol 53 uspace/lib/device/src/vol.c vol_t *vol;
vol 57 uspace/lib/device/src/vol.c vol = calloc(1, sizeof(vol_t));
vol 58 uspace/lib/device/src/vol.c if (vol == NULL) {
vol 69 uspace/lib/device/src/vol.c vol->sess = loc_service_connect(vol_svcid, INTERFACE_VOL, 0);
vol 70 uspace/lib/device/src/vol.c if (vol->sess == NULL) {
vol 75 uspace/lib/device/src/vol.c *rvol = vol;
vol 78 uspace/lib/device/src/vol.c free(vol);
vol 86 uspace/lib/device/src/vol.c void vol_destroy(vol_t *vol)
vol 88 uspace/lib/device/src/vol.c if (vol == NULL)
vol 91 uspace/lib/device/src/vol.c async_hangup(vol->sess);
vol 92 uspace/lib/device/src/vol.c free(vol);
vol 106 uspace/lib/device/src/vol.c static errno_t vol_get_ids_once(vol_t *vol, sysarg_t method, sysarg_t arg1,
vol 109 uspace/lib/device/src/vol.c async_exch_t *exch = async_exchange_begin(vol->sess);
vol 144 uspace/lib/device/src/vol.c static errno_t vol_get_ids_internal(vol_t *vol, sysarg_t method, sysarg_t arg1,
vol 151 uspace/lib/device/src/vol.c errno_t rc = vol_get_ids_once(vol, method, arg1, NULL, 0, &act_size);
vol 161 uspace/lib/device/src/vol.c rc = vol_get_ids_once(vol, method, arg1, ids, alloc_size,
vol 191 uspace/lib/device/src/vol.c errno_t vol_get_parts(vol_t *vol, service_id_t **data, size_t *count)
vol 193 uspace/lib/device/src/vol.c return vol_get_ids_internal(vol, VOL_GET_PARTS, 0, data, count);
vol 206 uspace/lib/device/src/vol.c errno_t vol_part_add(vol_t *vol, service_id_t sid)
vol 211 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 228 uspace/lib/device/src/vol.c errno_t vol_part_info(vol_t *vol, service_id_t sid, vol_part_info_t *vinfo)
vol 234 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 257 uspace/lib/device/src/vol.c errno_t vol_part_eject(vol_t *vol, service_id_t sid)
vol 262 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 279 uspace/lib/device/src/vol.c errno_t vol_part_empty(vol_t *vol, service_id_t sid)
vol 284 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 302 uspace/lib/device/src/vol.c errno_t vol_part_insert(vol_t *vol, service_id_t sid)
vol 307 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 324 uspace/lib/device/src/vol.c errno_t vol_part_insert_by_path(vol_t *vol, const char *path)
vol 330 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 356 uspace/lib/device/src/vol.c errno_t vol_part_get_lsupp(vol_t *vol, vol_fstype_t fstype,
vol 363 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 390 uspace/lib/device/src/vol.c errno_t vol_part_mkfs(vol_t *vol, service_id_t sid, vol_fstype_t fstype,
vol 397 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 431 uspace/lib/device/src/vol.c errno_t vol_part_set_mountp(vol_t *vol, service_id_t sid,
vol 438 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 573 uspace/lib/device/src/vol.c errno_t vol_get_volumes(vol_t *vol, volume_id_t **data, size_t *count)
vol 575 uspace/lib/device/src/vol.c return vol_get_ids_internal(vol, VOL_GET_VOLUMES, 0,
vol 586 uspace/lib/device/src/vol.c errno_t vol_info(vol_t *vol, volume_id_t vid, vol_info_t *vinfo)
vol 592 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 196 uspace/lib/fdisk/include/types/fdisk.h vol_t *vol;
vol 83 uspace/lib/fdisk/src/fdisk.c rc = vol_create(&fdisk->vol);
vol 108 uspace/lib/fdisk/src/fdisk.c vol_destroy(fdisk->vol);
vol 258 uspace/lib/fdisk/src/fdisk.c rc = vol_part_add(dev->fdisk->vol, pinfo.svc_id);
vol 264 uspace/lib/fdisk/src/fdisk.c rc = vol_part_info(dev->fdisk->vol, pinfo.svc_id, &vpinfo);
vol 494 uspace/lib/fdisk/src/fdisk.c rc = vol_part_empty(dev->fdisk->vol, part->svc_id);
vol 776 uspace/lib/fdisk/src/fdisk.c rc = vol_part_mkfs(dev->fdisk->vol, part->svc_id, pspec->fstype,
vol 784 uspace/lib/fdisk/src/fdisk.c rc = vol_part_info(dev->fdisk->vol, part->svc_id, &vpinfo);
vol 821 uspace/lib/fdisk/src/fdisk.c rc = vol_part_eject(part->dev->fdisk->vol, part->svc_id);
vol 842 uspace/lib/fdisk/src/fdisk.c return vol_part_set_mountp(part->dev->fdisk->vol,
vol 1180 uspace/lib/fdisk/src/fdisk.c return vol_part_get_lsupp(dev->fdisk->vol, fstype, vlsupp);
vol 653 uspace/srv/fs/udf/udf_volume.c udf_volume_descriptor_t *vol =
vol 656 uspace/srv/fs/udf/udf_volume.c switch (FLE16(vol->common.tag.id)) {
vol 664 uspace/srv/fs/udf/udf_volume.c if (!udf_check_prevailing_pvd(pvd, pvd_cnt, &vol->volume)) {
vol 665 uspace/srv/fs/udf/udf_volume.c memcpy(&pvd[pvd_cnt], &vol->volume,
vol 687 uspace/srv/fs/udf/udf_volume.c "access type: %" PRIu32, FLE16(vol->partition.number),
vol 688 uspace/srv/fs/udf/udf_volume.c vol->partition.contents.id, FLE32(vol->partition.access_type));
vol 691 uspace/srv/fs/udf/udf_volume.c FLE32(vol->partition.starting_location),
vol 692 uspace/srv/fs/udf/udf_volume.c FLE32(vol->partition.length));
vol 694 uspace/srv/fs/udf/udf_volume.c if (!udf_check_prevailing_pd(pd, pd_cnt, &vol->partition)) {
vol 695 uspace/srv/fs/udf/udf_volume.c memcpy(&pd[pd_cnt], &vol->partition,
vol 701 uspace/srv/fs/udf/udf_volume.c (udf_partition_header_descriptor_t *) vol->partition.contents_use;
vol 710 uspace/srv/fs/udf/udf_volume.c FLE32(vol->partition.starting_location) +
vol 724 uspace/srv/fs/udf/udf_volume.c FLE32(vol->partition.starting_location) +
vol 742 uspace/srv/fs/udf/udf_volume.c FLE32(vol->logical.map_table_length)),
vol 748 uspace/srv/fs/udf/udf_volume.c (char *) vol->logical.logical_volume_id, 128,
vol 749 uspace/srv/fs/udf/udf_volume.c &vol->logical.charset);
vol 753 uspace/srv/fs/udf/udf_volume.c FLE32(vol->logical.logical_block_size));
vol 756 uspace/srv/fs/udf/udf_volume.c FLE32(vol->logical.map_table_length),
vol 757 uspace/srv/fs/udf/udf_volume.c FLE32(vol->logical.number_of_partitions_maps));
vol 759 uspace/srv/fs/udf/udf_volume.c if (!udf_check_prevailing_lvd(lvd, lvd_cnt, &vol->logical)) {
vol 760 uspace/srv/fs/udf/udf_volume.c memcpy(&lvd[lvd_cnt], &vol->logical,
vol 762 uspace/srv/fs/udf/udf_volume.c FLE32(vol->logical.map_table_length));
vol 772 uspace/srv/fs/udf/udf_volume.c FLE32(vol->unallocated.allocation_descriptors_num) *
HelenOS homepage, sources at GitHub