Lines Matching defs:file
70 static int zstd_read_block(struct kmod_file *file, size_t block_size, in zstd_read_block()
117 static int zstd_decompress_block(struct kmod_file *file, ZSTD_DStream *dstr, in zstd_decompress_block()
148 static int load_zstd(struct kmod_file *file) in load_zstd()
194 static void unload_zstd(struct kmod_file *file) in unload_zstd()
205 static void xz_uncompress_belch(struct kmod_file *file, lzma_ret ret) in xz_uncompress_belch()
229 static int xz_uncompress(lzma_stream *strm, struct kmod_file *file) in xz_uncompress()
284 static int load_xz(struct kmod_file *file) in load_xz()
303 static void unload_xz(struct kmod_file *file) in unload_xz()
315 static int load_zlib(struct kmod_file *file) in load_zlib()
366 static void unload_zlib(struct kmod_file *file) in unload_zlib()
394 static int load_reg(struct kmod_file *file) in load_reg()
410 static void unload_reg(struct kmod_file *file) in unload_reg()
419 struct kmod_elf *kmod_file_get_elf(struct kmod_file *file) in kmod_file_get_elf()
431 struct kmod_file *file = calloc(1, sizeof(struct kmod_file)); in kmod_file_open() local
494 void *kmod_file_get_contents(const struct kmod_file *file) in kmod_file_get_contents()
499 off_t kmod_file_get_size(const struct kmod_file *file) in kmod_file_get_size()
504 bool kmod_file_get_direct(const struct kmod_file *file) in kmod_file_get_direct()
509 int kmod_file_get_fd(const struct kmod_file *file) in kmod_file_get_fd()
514 void kmod_file_unref(struct kmod_file *file) in kmod_file_unref()