Lines Matching refs:kmod_file
41 struct kmod_file;
43 int (*load)(struct kmod_file *file);
44 void (*unload)(struct kmod_file *file);
47 struct kmod_file { struct
64 static void xz_uncompress_belch(struct kmod_file *file, lzma_ret ret) in xz_uncompress_belch() argument
88 static int xz_uncompress(lzma_stream *strm, struct kmod_file *file) in xz_uncompress()
143 static int load_xz(struct kmod_file *file) in load_xz()
162 static void unload_xz(struct kmod_file *file) in unload_xz()
174 static int load_zlib(struct kmod_file *file) in load_zlib()
225 static void unload_zlib(struct kmod_file *file) in unload_zlib()
250 static int load_reg(struct kmod_file *file) in load_reg()
266 static void unload_reg(struct kmod_file *file) in unload_reg()
275 struct kmod_elf *kmod_file_get_elf(struct kmod_file *file) in kmod_file_get_elf()
284 struct kmod_file *kmod_file_open(const struct kmod_ctx *ctx, in kmod_file_open()
287 struct kmod_file *file = calloc(1, sizeof(struct kmod_file)); in kmod_file_open()
350 void *kmod_file_get_contents(const struct kmod_file *file) in kmod_file_get_contents()
355 off_t kmod_file_get_size(const struct kmod_file *file) in kmod_file_get_size()
360 bool kmod_file_get_direct(const struct kmod_file *file) in kmod_file_get_direct()
365 int kmod_file_get_fd(const struct kmod_file *file) in kmod_file_get_fd()
370 void kmod_file_unref(struct kmod_file *file) in kmod_file_unref()