HelenOS sources
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, vef_none);
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, vef_physical);
vol 485 uspace/app/sysinst/sysinst.c vol_destroy(vol);
vol 57 uspace/app/vol/vol.c static errno_t vol_cmd_part_by_mp(vol_t *vol, const char *mp,
vol 82 uspace/app/vol/vol.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 89 uspace/app/vol/vol.c rc = vol_part_info(vol, part_ids[i], &vinfo);
vol 112 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 116 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 122 uspace/app/vol/vol.c rc = vol_cmd_part_by_mp(vol, volspec, &part_id);
vol 128 uspace/app/vol/vol.c rc = vol_part_eject(vol, part_id, physical ? vef_physical :
vol 137 uspace/app/vol/vol.c vol_destroy(vol);
vol 143 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 153 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 159 uspace/app/vol/vol.c rc = vol_part_insert(vol, svc_id);
vol 167 uspace/app/vol/vol.c vol_destroy(vol);
vol 173 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 176 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 182 uspace/app/vol/vol.c rc = vol_part_insert_by_path(vol, volspec);
vol 190 uspace/app/vol/vol.c vol_destroy(vol);
vol 196 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 206 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 212 uspace/app/vol/vol.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 229 uspace/app/vol/vol.c rc = vol_part_info(vol, part_ids[i], &vinfo);
vol 262 uspace/app/vol/vol.c vol_destroy(vol);
vol 274 uspace/app/vol/vol.c vol_t *vol = NULL;
vol 282 uspace/app/vol/vol.c rc = vol_create(&vol);
vol 288 uspace/app/vol/vol.c rc = vol_get_volumes(vol, &volume_ids, &nvols);
vol 304 uspace/app/vol/vol.c rc = vol_info(vol, volume_ids[i], &vinfo);
vol 318 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 258 uspace/lib/device/src/vol.c errno_t vol_part_eject(vol_t *vol, service_id_t sid, vol_eject_flags_t flags)
vol 263 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 280 uspace/lib/device/src/vol.c errno_t vol_part_empty(vol_t *vol, service_id_t sid)
vol 285 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 303 uspace/lib/device/src/vol.c errno_t vol_part_insert(vol_t *vol, service_id_t sid)
vol 308 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 325 uspace/lib/device/src/vol.c errno_t vol_part_insert_by_path(vol_t *vol, const char *path)
vol 331 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 357 uspace/lib/device/src/vol.c errno_t vol_part_get_lsupp(vol_t *vol, vol_fstype_t fstype,
vol 364 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 391 uspace/lib/device/src/vol.c errno_t vol_part_mkfs(vol_t *vol, service_id_t sid, vol_fstype_t fstype,
vol 398 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 432 uspace/lib/device/src/vol.c errno_t vol_part_set_mountp(vol_t *vol, service_id_t sid,
vol 439 uspace/lib/device/src/vol.c exch = async_exchange_begin(vol->sess);
vol 574 uspace/lib/device/src/vol.c errno_t vol_get_volumes(vol_t *vol, volume_id_t **data, size_t *count)
vol 576 uspace/lib/device/src/vol.c return vol_get_ids_internal(vol, VOL_GET_VOLUMES, 0,
vol 587 uspace/lib/device/src/vol.c errno_t vol_info(vol_t *vol, volume_id_t vid, vol_info_t *vinfo)
vol 593 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, vef_none);
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) *
vol 322 uspace/srv/system/system.c vol_t *vol = NULL;
vol 335 uspace/srv/system/system.c rc = vol_create(&vol);
vol 341 uspace/srv/system/system.c rc = vol_get_volumes(vol, &volume_ids, &nvols);
vol 350 uspace/srv/system/system.c rc = vol_info(vol, volume_ids[i], &vinfo);
vol 391 uspace/srv/system/system.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 398 uspace/srv/system/system.c rc = vol_part_info(vol, part_ids[i], &pinfo);
vol 423 uspace/srv/system/system.c vol_destroy(vol);
vol 426 uspace/srv/system/system.c vol_destroy(vol);
vol 517 uspace/srv/system/system.c vol_t *vol = NULL;
vol 527 uspace/srv/system/system.c rc = vol_create(&vol);
vol 534 uspace/srv/system/system.c rc = vol_get_parts(vol, &part_ids, &nparts);
vol 541 uspace/srv/system/system.c rc = vol_part_eject(vol, part_ids[i], vef_none);
vol 550 uspace/srv/system/system.c vol_destroy(vol);
vol 556 uspace/srv/system/system.c if (vol != NULL)
vol 557 uspace/srv/system/system.c vol_destroy(vol);
HelenOS homepage, sources at GitHub