Lines Matching refs:fsi
51 fsig_file_alloc(fsi_t *fsi) in fsig_file_alloc() argument
60 bcopy(fsig_fs_buf(fsi), data->ffd_buf, FSYS_BUFLEN); in fsig_file_alloc()
62 if ((ffi = fsip_file_alloc(fsi, data)) == NULL) { in fsig_file_alloc()
71 fsig_fs_buf(fsi_t *fsi) in fsig_fs_buf() argument
73 fsig_data_t *data = fsip_fs_data(fsi); in fsig_fs_buf()
224 fsig_mount(fsi_t *fsi, const char *path, const char *options) in fsig_mount() argument
226 fsig_plugin_ops_t *ops = fsi->f_plugin->fp_data; in fsig_mount()
228 fsi->f_data = malloc(sizeof (fsig_data_t)); in fsig_mount()
230 if (fsi->f_data == NULL) in fsig_mount()
233 if ((ffi = fsig_file_alloc(fsi)) == NULL) { in fsig_mount()
234 free(fsi->f_data); in fsig_mount()
235 fsi->f_data = NULL; in fsig_mount()
239 bzero(fsi->f_data, sizeof (fsig_data_t)); 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()
249 bcopy(fsig_file_buf(ffi), fsig_fs_buf(fsi), FSYS_BUFLEN); in fsig_mount()
255 fsig_umount(fsi_t *fsi) in fsig_umount() argument
257 fsi_bootstring_free(fsi); in fsig_umount()
258 free(fsi->f_data); in fsig_umount()
263 fsig_open(fsi_t *fsi, const char *name) in fsig_open() argument
265 fsig_plugin_ops_t *ops = fsi->f_plugin->fp_data; in fsig_open()
269 if (path == NULL || (ffi = fsig_file_alloc(fsi)) == NULL) in fsig_open()