/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/ |
H A D | fsw_core.c | 651 fsw_status_t fsw_dnode_dir_read(struct fsw_shandle *shand, struct fsw_dnode **child_dno_out) argument 654 struct fsw_dnode *dno = shand->dnode; 660 saved_pos = shand->pos; 661 status = dno->vol->fstype_table->dir_read(dno->vol, dno, shand, child_dno_out); 663 shand->pos = saved_pos; 705 struct fsw_shandle shand; local 719 status = fsw_shandle_open(dno, &shand); 723 status = fsw_shandle_read(&shand, &buffer_size, buffer); 724 fsw_shandle_close(&shand); 799 * data size is available as shand 805 fsw_shandle_open(struct fsw_dnode *dno, struct fsw_shandle *shand) argument 832 fsw_shandle_close(struct fsw_shandle *shand) argument 844 fsw_shandle_read(struct fsw_shandle *shand, fsw_u32 *buffer_size_inout, void *buffer_in) argument [all...] |
H A D | fsw_efi.h | 100 struct fsw_shandle shand; //!< FSW handle for this file member in struct:__anon13089
|
H A D | fsw_iso9660.c | 90 struct fsw_shandle *shand, struct fsw_iso9660_dnode **child_dno); 91 static fsw_status_t fsw_iso9660_read_dirrec(struct fsw_iso9660_volume *vol, struct fsw_shandle *shand, struct iso9660_dirrec_buffer *dirrec_buffer); 469 struct fsw_shandle shand; local 476 status = fsw_shandle_open(dno, &shand); 483 status = fsw_iso9660_read_dirrec(vol, &shand, &dirrec_buffer); 508 fsw_shandle_close(&shand); 521 struct fsw_shandle *shand, struct fsw_iso9660_dnode **child_dno_out) 536 if (shand->pos >= dno->g.size) 538 status = fsw_iso9660_read_dirrec(vol, shand, &dirrec_buffer); 544 shand 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 [all...] |
H A D | fsw_core.h | 399 struct fsw_shandle *shand, struct DNODESTRUCTNAME **child_dno); 443 fsw_status_t fsw_dnode_dir_read(struct fsw_shandle *shand, struct fsw_dnode **child_dno_out); 456 fsw_status_t fsw_shandle_open(struct DNODESTRUCTNAME *dno, struct fsw_shandle *shand); 457 void fsw_shandle_close(struct fsw_shandle *shand); 458 fsw_status_t fsw_shandle_read(struct fsw_shandle *shand, fsw_u32 *buffer_size_inout, void *buffer);
|
H A D | fsw_efi.c | 583 fsw_shandle_close(&File->shand); 741 Status = fsw_efi_map_status(fsw_shandle_open(dno, &File->shand), 783 Status = fsw_efi_map_status(fsw_shandle_read(&File->shand, &buffer_size, Buffer), 784 (FSW_VOLUME_DATA *)File->shand.dnode->vol->host_data); 797 *Position = File->shand.pos; 810 File->shand.pos = File->shand.dnode->size; 812 File->shand.pos = Position; 831 FSW_VOLUME_DATA *Volume = (FSW_VOLUME_DATA *)File->shand.dnode->vol->host_data; 849 Status = fsw_efi_map_status(fsw_dnode_lookup_path(File->shand [all...] |
H A D | fsw_hfs.c | 76 struct fsw_shandle *shand, struct fsw_hfs_dnode **child_dno); 78 static fsw_status_t fsw_hfs_read_dirrec(struct fsw_shandle *shand, struct hfs_dirrec_buffer *dirrec_buffer); 1185 struct fsw_shandle *shand, 1212 /* Iterator updates shand state */ 1214 param.shandle = shand; 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
|
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/ |
H A D | fsw_posix.c | 50 struct fsw_shandle *shand); 137 status = fsw_posix_open_dno(pvol, path, FSW_DNODE_TYPE_FILE, &file->shand); 157 status = fsw_shandle_read(&file->shand, &buffer_size, buf); 174 base_offset = file->shand.pos; 176 base_offset = file->shand.dnode->size; 180 file->shand.pos = 0; 182 file->shand.pos = base_offset + offset; 184 return file->shand.pos; 193 fsw_shandle_close(&file->shand); 214 status = fsw_posix_open_dno(pvol, path, FSW_DNODE_TYPE_DIR, &dir->shand); 298 fsw_posix_open_dno(struct fsw_posix_volume *pvol, const char *path, int required_type, struct fsw_shandle *shand) argument [all...] |
H A D | fsw_posix.h | 66 struct fsw_shandle shand; //!< FSW handle for this file member in struct:fsw_posix_file 77 struct fsw_shandle shand; //!< FSW handle for this file member in struct:fsw_posix_dir
|