/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/ |
H A D | fsw_core.c | 45 static void fsw_blockcache_free(struct fsw_volume *vol); 70 struct fsw_volume *vol; local 73 status = fsw_alloc_zero(fstype_table->volume_struct_size, (void **)&vol); 78 vol->phys_blocksize = 512; 79 vol->log_blocksize = 512; 80 vol->label.type = FSW_STRING_TYPE_EMPTY; 81 vol->host_data = host_data; 82 vol->host_table = host_table; 83 vol->fstype_table = fstype_table; 84 vol 109 fsw_unmount(struct fsw_volume *vol) argument 127 fsw_volume_stat(struct fsw_volume *vol, struct fsw_volume_stat *sb) argument 147 fsw_set_blocksize(struct fsw_volume *vol, fsw_u32 phys_blocksize, fsw_u32 log_blocksize) argument 181 fsw_block_get(struct VOLSTRUCTNAME *vol, fsw_u32 phys_bno, fsw_u32 cache_level, void **buffer_out) argument 269 fsw_block_release(struct VOLSTRUCTNAME *vol, fsw_u32 phys_bno, void *buffer) argument 288 fsw_blockcache_free(struct fsw_volume *vol) argument 309 fsw_dnode_register(struct fsw_volume *vol, struct fsw_dnode *dno) argument 325 fsw_dnode_create_root(struct fsw_volume *vol, fsw_u32 dnode_id, struct fsw_dnode **dno_out) argument 372 struct fsw_volume *vol = parent_dno->vol; local 428 struct fsw_volume *vol = dno->vol; local 541 struct fsw_volume *vol = dno->vol; local 808 struct fsw_volume *vol = dno->vol; local 848 struct fsw_volume *vol = dno->vol; local [all...] |
H A D | fsw_iso9660.c | 76 static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol); 77 static void fsw_iso9660_volume_free(struct fsw_iso9660_volume *vol); 78 static fsw_status_t fsw_iso9660_volume_stat(struct fsw_iso9660_volume *vol, struct fsw_volume_stat *sb); 80 static fsw_status_t fsw_iso9660_dnode_fill(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno); 81 static void fsw_iso9660_dnode_free(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno); 82 static fsw_status_t fsw_iso9660_dnode_stat(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, 84 static fsw_status_t fsw_iso9660_get_extent(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, 87 static fsw_status_t fsw_iso9660_dir_lookup(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, 89 static fsw_status_t fsw_iso9660_dir_read(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, 91 static fsw_status_t fsw_iso9660_read_dirrec(struct fsw_iso9660_volume *vol, struc 148 rr_find_nm(struct fsw_iso9660_volume *vol, struct iso9660_dirrec *dirrec, int off, struct fsw_string *str) argument 233 rr_read_ce(struct fsw_iso9660_volume *vol, union fsw_rock_ridge_susp_ce *ce, fsw_u8 *begin) argument 246 fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) argument 368 fsw_iso9660_volume_free(struct fsw_iso9660_volume *vol) argument 378 fsw_iso9660_volume_stat(struct fsw_iso9660_volume *vol, struct fsw_volume_stat *sb) argument 393 fsw_iso9660_dnode_fill(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno) argument 411 fsw_iso9660_dnode_free(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno) argument 422 fsw_iso9660_dnode_stat(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, struct fsw_dnode_stat *sb) argument 444 fsw_iso9660_get_extent(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, struct fsw_extent *extent) argument 465 fsw_iso9660_dir_lookup(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, struct fsw_string *lookup_name, struct fsw_iso9660_dnode **child_dno_out) argument 520 fsw_iso9660_dir_read(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, struct fsw_shandle *shand, struct fsw_iso9660_dnode **child_dno_out) argument 569 fsw_iso9660_read_dirrec(struct fsw_iso9660_volume *vol, struct fsw_shandle *shand, struct iso9660_dirrec_buffer *dirrec_buffer) argument 658 fsw_iso9660_readlink(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, struct fsw_string *link_target) argument [all...] |
H A D | fsw_hfs.c | 62 static fsw_status_t fsw_hfs_volume_mount(struct fsw_hfs_volume *vol); 63 static void fsw_hfs_volume_free(struct fsw_hfs_volume *vol); 64 static fsw_status_t fsw_hfs_volume_stat(struct fsw_hfs_volume *vol, struct fsw_volume_stat *sb); 66 static fsw_status_t fsw_hfs_dnode_fill(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno); 67 static void fsw_hfs_dnode_free(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno); 68 static fsw_status_t fsw_hfs_dnode_stat(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, 70 static fsw_status_t fsw_hfs_get_extent(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, 73 static fsw_status_t fsw_hfs_dir_lookup(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, 75 static fsw_status_t fsw_hfs_dir_read(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, 81 static fsw_status_t fsw_hfs_readlink(struct fsw_hfs_volume *vol, struc 193 fsw_hfs_volume_mount(struct fsw_hfs_volume *vol) argument 351 fsw_hfs_volume_free(struct fsw_hfs_volume *vol) argument 364 fsw_hfs_volume_stat(struct fsw_hfs_volume *vol, struct fsw_volume_stat *sb) argument 377 fsw_hfs_dnode_fill(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno) argument 388 fsw_hfs_dnode_free(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno) argument 405 fsw_hfs_dnode_stat(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, struct fsw_dnode_stat *sb) argument 634 struct fsw_hfs_volume * vol; member in struct:__anon13091 921 fsw_hfs_get_extent(struct fsw_hfs_volume * vol, struct fsw_hfs_dnode * dno, struct fsw_extent * extent) argument 1045 fsw_hfs_dir_lookup(struct fsw_hfs_volume * vol, struct fsw_hfs_dnode * dno, struct fsw_string * lookup_name, struct fsw_hfs_dnode ** child_dno_out) argument 1183 fsw_hfs_dir_read(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, struct fsw_shandle *shand, struct fsw_hfs_dnode **child_dno_out) argument 1242 fsw_hfs_readlink(struct fsw_hfs_volume *vol, struct fsw_hfs_dnode *dno, struct fsw_string *link_target) argument [all...] |
H A D | fsw_core.h | 273 struct VOLSTRUCTNAME *vol; //!< The volume this dnode belongs to member in struct:fsw_dnode 369 void (*change_blocksize)(struct fsw_volume *vol, 372 fsw_status_t (*read_block)(struct fsw_volume *vol, fsw_u32 phys_bno, void *buffer); 385 fsw_status_t (*volume_mount)(struct VOLSTRUCTNAME *vol); 386 void (*volume_free)(struct VOLSTRUCTNAME *vol); 387 fsw_status_t (*volume_stat)(struct VOLSTRUCTNAME *vol, struct fsw_volume_stat *sb); 389 fsw_status_t (*dnode_fill)(struct VOLSTRUCTNAME *vol, struct DNODESTRUCTNAME *dno); 390 void (*dnode_free)(struct VOLSTRUCTNAME *vol, struct DNODESTRUCTNAME *dno); 391 fsw_status_t (*dnode_stat)(struct VOLSTRUCTNAME *vol, struct DNODESTRUCTNAME *dno, 393 fsw_status_t (*get_extent)(struct VOLSTRUCTNAME *vol, struc [all...] |
H A D | fsw_efi.c | 101 void fsw_efi_change_blocksize(struct fsw_volume *vol, 104 fsw_status_t fsw_efi_read_block(struct fsw_volume *vol, fsw_u32 phys_bno, void *buffer); 281 &FSW_FSTYPE_TABLE_NAME(FSTYPE), &pVolume->vol), 351 if (Volume->vol != NULL) 352 fsw_unmount(Volume->vol); 419 if (Volume->vol != NULL) 420 fsw_unmount(Volume->vol); 473 void fsw_efi_change_blocksize(struct fsw_volume *vol, argument 485 fsw_status_t fsw_efi_read_block(struct fsw_volume *vol, fsw_u32 phys_bno, void *buffer) argument 488 FSW_VOLUME_DATA *Volume = (FSW_VOLUME_DATA *)vol [all...] |
H A D | fsw_efi.h | 81 struct fsw_volume *vol; //!< FSW volume structure member in struct:__anon13088
|
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/ |
H A D | lsroot.c | 48 struct fsw_posix_volume *vol; local 57 //vol = fsw_posix_mount(argv[1], &FSW_FSTYPE_TABLE_NAME(ext2)); 58 //vol = fsw_posix_mount(argv[1], &FSW_FSTYPE_TABLE_NAME(reiserfs)); 59 vol = fsw_posix_mount(argv[1], &FSW_FSTYPE_TABLE_NAME(FSTYPE)); 60 if (vol == NULL) { 64 //dir = fsw_posix_opendir(vol, "/drivers/net/"); 65 dir = fsw_posix_opendir(vol, "/"); 74 fsw_posix_unmount(vol);
|
H A D | lslr.c | 52 static int listdir(struct fsw_posix_volume *vol, char *path, int level) argument 59 dir = fsw_posix_opendir(vol, path); 71 listdir(vol, subpath, level + 1); 79 static int catfile(struct fsw_posix_volume *vol, char *path) argument 85 file = fsw_posix_open(vol, path, 0, 0); 105 struct fsw_posix_volume *vol; local 114 vol = fsw_posix_mount(argv[1], fstypes[i]); 115 if (vol != NULL) { 120 if (vol == NULL) { 125 //listdir(vol, "/Syste [all...] |
H A D | fsw_posix.c | 52 void fsw_posix_change_blocksize(struct fsw_volume *vol, 55 fsw_status_t fsw_posix_read_block(struct fsw_volume *vol, fsw_u32 phys_bno, void *buffer); 97 status = fsw_mount(pvol, &fsw_posix_host_table, fstype_table, &pvol->vol); 113 if (pvol->vol != NULL) 114 fsw_unmount(pvol->vol); 311 status = fsw_dnode_lookup_path(pvol->vol->root, &lookup_path, '/', &dno); 353 void fsw_posix_change_blocksize(struct fsw_volume *vol, argument 365 fsw_status_t fsw_posix_read_block(struct fsw_volume *vol, fsw_u32 phys_bno, void *buffer) argument 367 struct fsw_posix_volume *pvol = (struct fsw_posix_volume *)vol->host_data; 371 FSW_MSG_DEBUGV((FSW_MSGSTR("fsw_posix_read_block: %d (%d)\n"), phys_bno, vol [all...] |
H A D | fsw_posix.h | 53 struct fsw_volume *vol; //!< FSW volume structure member in struct:fsw_posix_volume
|
/vbox/src/VBox/Devices/Audio/ |
H A D | mixeng_template.h | 117 (PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) 119 (st_sample_t *dst, const void *src, int samples, volume_t *vol) 129 if (vol->mute) { 134 (void) vol; 138 out->u64LSample = VOL (glue (conv_, ET) (*in++), vol->l); 139 out->u64RSample = VOL (glue (conv_, ET) (*in++), vol->r); 141 out->l = VOL (glue (conv_, ET) (*in++), vol->l); 142 out->r = VOL (glue (conv_, ET) (*in++), vol->r); 150 (PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) 152 (st_sample_t *dst, const void *src, int samples, volume_t *vol) 115 _to_stereo(PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) argument 148 _to_mono(PPDMHOSTSTEREOSAMPLE dst, const void *src, int samples, volume_t *vol) argument [all...] |
H A D | winaudio.c | 526 int vol; 539 static int winmm_write_volume (int fd, int ctl, int *vol) 543 dwVolume = (vol * 0xFFFF / 100); 571 for (i = 0; i < sizeof (conf.vol) / sizeof (conf.vol[0]); ++i) { 572 conf.vol[0].vol = winmm_read_volume (fd, conf.vol[i].ctl); 603 for (i = 0; i < sizeof (conf.vol) / sizeof (conf.vol[ [all...] |
H A D | mixeng.h | 47 int samples, volume_t *vol);
|
H A D | audio_int.h | 131 volume_t vol; member in struct:SWVoiceOut 147 volume_t vol; member in struct:SWVoiceIn
|
H A D | audio.c | 735 int samples, volume_t *vol) 740 (void) vol; 1066 sw->conv (sw->buf, buf, swlim, &sw->vol); 1917 sw->vol.mute = mute; 1918 sw->vol.l = (uint32_t)lvol * 0x808080; /* maximum is INT_MAX = 0x7fffffff */ 1919 sw->vol.r = (uint32_t)rvol * 0x808080; /* maximum is INT_MAX = 0x7fffffff */ 1925 volume_t *vol = NULL; local 1932 vol = &master_out_volume; 1936 vol = &pcm_out_volume; 1940 vol 734 noop_conv(st_sample_t *dst, const void *src, int samples, volume_t *vol) argument [all...] |
H A D | DevIchAc97.cpp | 857 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; local 861 audioMixerSetMasterVolume(pThis->pMixer, &vol); 865 audioMixerSetSinkVolume(pThis->pSinkOutput, &vol); 869 audioMixerSetSinkVolume(pThis->pSinkMicIn, &vol); 873 audioMixerSetSinkVolume(pThis->pSinkLineIn, &vol);
|
H A D | DevSB16.cpp | 1585 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; local 1586 audioMixerSetMasterVolume(pThis->pMixer, &vol); 1600 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; local 1601 audioMixerSetSinkVolume(pThis->pSinkOutput, &vol);
|
H A D | audio_template.h | 498 sw->vol = nominal_volume;
|
H A D | DevIchHda.cpp | 2527 PDMAUDIOVOLUME vol = { fMute, uVolLeft, uVolRight }; 2528 audioMixerSetMasterVolume(pThis->pMixer, &vol);
|