Home
last modified time | relevance | path

Searched refs:fsi (Results 1 – 7 of 7) sorted by relevance

/xen/tools/libfsimage/common/
A Dfsimage.c41 fsi_t *fsi = NULL; in fsi_open_fsimage() local
48 if ((fsi = malloc(sizeof(*fsi))) == NULL) in fsi_open_fsimage()
51 fsi->f_fd = fd; in fsi_open_fsimage()
52 fsi->f_off = off; in fsi_open_fsimage()
53 fsi->f_data = NULL; in fsi_open_fsimage()
54 fsi->f_bootstring = NULL; in fsi_open_fsimage()
62 return (fsi); in fsi_open_fsimage()
68 free(fsi); in fsi_open_fsimage()
76 fsi->f_plugin->fp_ops->fpo_umount(fsi); in fsi_close_fsimage()
78 free(fsi); in fsi_close_fsimage()
[all …]
A Dfsimage_grub.c51 fsig_file_alloc(fsi_t *fsi) in fsig_file_alloc() argument
71 fsig_fs_buf(fsi_t *fsi) in fsig_fs_buf() argument
230 if (fsi->f_data == NULL) in fsig_mount()
234 free(fsi->f_data); in fsig_mount()
235 fsi->f_data = NULL; in fsig_mount()
243 fsi_bootstring_free(fsi); in fsig_mount()
244 free(fsi->f_data); in fsig_mount()
245 fsi->f_data = NULL; in fsig_mount()
255 fsig_umount(fsi_t *fsi) in fsig_umount() argument
257 fsi_bootstring_free(fsi); in fsig_umount()
[all …]
A Dfsimage_plugin.c38 fsip_fs_set_data(fsi_t *fsi, void *data) in fsip_fs_set_data() argument
40 fsi->f_data = data; in fsip_fs_set_data()
44 fsip_file_alloc(fsi_t *fsi, void *data) in fsip_file_alloc() argument
52 ffi->ff_fsi = fsi; in fsip_file_alloc()
70 fsip_fs_offset(fsi_t *fsi) in fsip_fs_offset() argument
72 return (fsi->f_off); in fsip_fs_offset()
76 fsip_fs_data(fsi_t *fsi) in fsip_fs_data() argument
78 return (fsi->f_data); in fsip_fs_data()
178 int find_plugin(fsi_t *fsi, const char *path, const char *options) in find_plugin() argument
187 fsi->f_plugin = fp; in find_plugin()
[all …]
A Dfsimage_priv.h44 struct fsi { struct
A Dxenfsimage.h35 typedef struct fsi fsi_t;
/xen/tools/libfsimage/ext2fs-lib/
A Dext2fs-lib.c30 ext2lib_mount(fsi_t *fsi, const char *name, const char *options) in ext2lib_mount() argument
35 uint64_t offset = fsip_fs_offset(fsi); in ext2lib_mount()
52 fsip_fs_set_data(fsi, fs); in ext2lib_mount()
57 ext2lib_umount(fsi_t *fsi) in ext2lib_umount() argument
59 ext2_filsys *fs = fsip_fs_data(fsi); in ext2lib_umount()
70 ext2lib_open(fsi_t *fsi, const char *path) in ext2lib_open() argument
73 ext2_filsys *fs = fsip_fs_data(fsi); in ext2lib_open()
98 file = fsip_file_alloc(fsi, f); in ext2lib_open()
/xen/tools/pygrub/src/fsimage/
A Dfsimage.c278 fsi_t *fsi; in fsimage_getbootstring() local
283 fsi = ((fsimage_fs_t *)fs)->fs; in fsimage_getbootstring()
284 bootstring = fsi_fs_bootstring(fsi); in fsimage_getbootstring()

Completed in 8 milliseconds