/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/ |
H A D | fsw_iso9660.c | 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, 93 static fsw_status_t fsw_iso9660_readlink(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno, 393 static fsw_status_t fsw_iso9660_dnode_fill(struct fsw_iso9660_volume *vol, struct fsw_iso9660_dnode *dno) argument 396 dno->g.size = ISOINT(dno 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 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_core.c | 309 static void fsw_dnode_register(struct fsw_volume *vol, struct fsw_dnode *dno) argument 311 dno->next = vol->dnode_head; 313 vol->dnode_head->prev = dno; 314 dno->prev = NULL; 315 vol->dnode_head = dno; 328 struct fsw_dnode *dno; local 331 status = fsw_alloc_zero(vol->fstype_table->dnode_struct_size, (void **)&dno); 336 dno->vol = vol; 337 dno->parent = NULL; 338 dno 373 struct fsw_dnode *dno; local 414 fsw_dnode_retain(struct fsw_dnode *dno) argument 426 fsw_dnode_release(struct fsw_dnode *dno) argument 467 fsw_dnode_fill(struct fsw_dnode *dno) argument 484 fsw_dnode_stat(struct fsw_dnode *dno, struct fsw_dnode_stat *sb) argument 511 fsw_dnode_lookup(struct fsw_dnode *dno, struct fsw_string *lookup_name, struct fsw_dnode **child_dno_out) argument 536 fsw_dnode_lookup_path(struct fsw_dnode *dno, struct fsw_string *lookup_path, char separator, struct fsw_dnode **child_dno_out) argument 654 struct fsw_dnode *dno = shand->dnode; local 677 fsw_dnode_readlink(struct fsw_dnode *dno, struct fsw_string *target_name) argument 702 fsw_dnode_readlink_data(struct fsw_dnode *dno, struct fsw_string *link_target) argument 747 fsw_dnode_resolve(struct fsw_dnode *dno, struct fsw_dnode **target_dno_out) argument 805 fsw_shandle_open(struct fsw_dnode *dno, struct fsw_shandle *shand) argument 847 struct fsw_dnode *dno = shand->dnode; local [all...] |
H A D | fsw_efi.c | 110 EFI_STATUS fsw_efi_dnode_to_FileHandle(IN struct fsw_dnode *dno, 137 IN struct fsw_dnode *dno, 717 EFI_STATUS fsw_efi_dnode_to_FileHandle(IN struct fsw_dnode *dno, argument 724 Status = fsw_efi_map_status(fsw_dnode_fill(dno), (FSW_VOLUME_DATA *)dno->vol->host_data); 729 if (dno->type != FSW_DNODE_TYPE_FILE && dno->type != FSW_DNODE_TYPE_DIR) 735 if (dno->type == FSW_DNODE_TYPE_FILE) 737 else if (dno->type == FSW_DNODE_TYPE_DIR) 741 Status = fsw_efi_map_status(fsw_shandle_open(dno, 832 struct fsw_dnode *dno; local 879 struct fsw_dnode *dno; local 1040 fsw_efi_dnode_fill_FileInfo(IN FSW_VOLUME_DATA *Volume, IN struct fsw_dnode *dno, IN OUT UINTN *BufferSize, OUT VOID *Buffer) argument [all...] |
H A D | fsw_hfs.c | 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, struct fsw_hfs_dnode *dno, 106 fsw_hfs_read_block (struct fsw_hfs_dnode * dno, argument 118 status = fsw_hfs_get_extent(dno->g.vol, dno, 137 fsw_hfs_read_file(struct fsw_hfs_dnode * dno, fsw_u64 pos, fsw_s32 len, fsw_u8 * buf) 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 921 fsw_hfs_get_extent(struct fsw_hfs_volume * vol, struct fsw_hfs_dnode * dno, struct fsw_extent * extent) argument 1008 create_hfs_dnode(struct fsw_hfs_dnode * dno, file_info_t * file_info, struct fsw_hfs_dnode ** child_dno_out) 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...] |
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/ |
H A D | fsw_posix.c | 231 struct fsw_dnode *dno; local 235 status = fsw_dnode_dir_read(&dir->shand, &dno); 241 status = fsw_dnode_fill(dno); 244 fsw_dnode_release(dno); 249 dent.d_fileno = dno->dnode_id; 250 dent.d_reclen = 8 + dno->name.size + 1; 251 switch (dno->type) { 266 dent.d_namlen = dno->name.size; 268 memcpy(dent.d_name, dno->name.data, dno 301 struct fsw_dnode *dno; local [all...] |