Lines Matching refs:fs
33 struct file_system *fs; member
58 return fs_set_blk_dev_with_part(fh->fs->desc, fh->fs->part); in set_blk_dev()
175 static struct efi_file_handle *file_open(struct file_system *fs, in file_open() argument
201 fh->fs = fs; in file_open()
285 *new_handle = file_open(fh->fs, fh, file_name, open_mode, attributes); in efi_file_open_int()
817 if (fh->fs->part >= 1) in efi_file_getinfo()
818 r = part_get_info(fh->fs->desc, fh->fs->part, &part); in efi_file_getinfo()
820 r = part_get_info_whole_disk(fh->fs->desc, &part); in efi_file_getinfo()
1091 struct file_system *fs = to_fs(this); in efi_open_volume() local
1095 *root = file_open(fs, NULL, NULL, 0, 0); in efi_open_volume()
1104 struct file_system *fs; in efi_simple_file_system() local
1106 fs = calloc(1, sizeof(*fs)); in efi_simple_file_system()
1107 fs->base.rev = EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION; in efi_simple_file_system()
1108 fs->base.open_volume = efi_open_volume; in efi_simple_file_system()
1109 fs->desc = desc; in efi_simple_file_system()
1110 fs->part = part; in efi_simple_file_system()
1111 fs->dp = dp; in efi_simple_file_system()
1113 return &fs->base; in efi_simple_file_system()