HelenOS sources

vol_get_volumes   286 uspace/app/vol/vol.c 	rc = vol_get_volumes(vol, &volume_ids, &nvols);
vol_get_volumes    58 uspace/lib/device/include/vol.h extern errno_t vol_get_volumes(vol_t *, volume_id_t **, size_t *);
vol_get_volumes   337 uspace/srv/system/system.c 	rc = vol_get_volumes(vol, &volume_ids, &nvols);
HelenOS homepage, sources at GitHub