Lines Matching refs:fs_l
18 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_prepare() local
20 fs_file_t_init(&fs_l->file); in llext_fs_prepare()
22 ret = fs_open(&fs_l->file, fs_l->name, FS_O_READ); in llext_fs_prepare()
28 fs_l->is_open = true; in llext_fs_prepare()
35 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_read() local
37 if (fs_l->is_open) { in llext_fs_read()
38 ret = fs_read(&fs_l->file, buf, len); in llext_fs_read()
48 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_seek() local
50 if (fs_l->is_open) { in llext_fs_seek()
51 return fs_seek(&fs_l->file, pos, FS_SEEK_SET); in llext_fs_seek()
59 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_finalize() local
61 if (fs_l->is_open) { in llext_fs_finalize()
62 fs_close(&fs_l->file); in llext_fs_finalize()
63 fs_l->is_open = false; in llext_fs_finalize()