Searched refs:fsi (Results 1 – 7 of 7) sorted by relevance
41 fsi_t *fsi = NULL; in fsi_open_fsimage() local48 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 …]
51 fsig_file_alloc(fsi_t *fsi) in fsig_file_alloc() argument71 fsig_fs_buf(fsi_t *fsi) in fsig_fs_buf() argument230 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() argument257 fsi_bootstring_free(fsi); in fsig_umount()[all …]
38 fsip_fs_set_data(fsi_t *fsi, void *data) in fsip_fs_set_data() argument40 fsi->f_data = data; in fsip_fs_set_data()44 fsip_file_alloc(fsi_t *fsi, void *data) in fsip_file_alloc() argument52 ffi->ff_fsi = fsi; in fsip_file_alloc()70 fsip_fs_offset(fsi_t *fsi) in fsip_fs_offset() argument72 return (fsi->f_off); in fsip_fs_offset()76 fsip_fs_data(fsi_t *fsi) in fsip_fs_data() argument78 return (fsi->f_data); in fsip_fs_data()178 int find_plugin(fsi_t *fsi, const char *path, const char *options) in find_plugin() argument187 fsi->f_plugin = fp; in find_plugin()[all …]
44 struct fsi { struct
35 typedef struct fsi fsi_t;
30 ext2lib_mount(fsi_t *fsi, const char *name, const char *options) in ext2lib_mount() argument35 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() argument59 ext2_filsys *fs = fsip_fs_data(fsi); in ext2lib_umount()70 ext2lib_open(fsi_t *fsi, const char *path) in ext2lib_open() argument73 ext2_filsys *fs = fsip_fs_data(fsi); in ext2lib_open()98 file = fsip_file_alloc(fsi, f); in ext2lib_open()
278 fsi_t *fsi; in fsimage_getbootstring() local283 fsi = ((fsimage_fs_t *)fs)->fs; in fsimage_getbootstring()284 bootstring = fsi_fs_bootstring(fsi); in fsimage_getbootstring()
Completed in 8 milliseconds