Lines Matching defs:fs
13 #include <fs.h>
32 struct file_system *fs;
57 return fs_set_blk_dev_with_part(fh->fs->desc, fh->fs->part);
164 * @fs: file system
174 static struct efi_file_handle *file_open(struct file_system *fs,
202 fh->fs = fs;
286 *new_handle = file_open(fh->fs, fh, file_name, open_mode, attributes);
521 * So this is a bit awkward. Since fs layer is stateful and we
887 if (fh->fs->part >= 1)
888 r = part_get_info(fh->fs->desc, fh->fs->part, &part);
890 r = part_get_info_whole_disk(fh->fs->desc, &part);
1180 struct file_system *fs = to_fs(this);
1182 *root = file_open(fs, NULL, NULL, 0, 0);
1201 struct file_system *fs;
1203 fs = calloc(1, sizeof(*fs));
1204 if (!fs)
1206 fs->base.rev = EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION;
1207 fs->base.open_volume = efi_open_volume;
1208 fs->desc = desc;
1209 fs->part = part;
1210 fs->dp = dp;
1211 *fsp = &fs->base;