Home
last modified time | relevance | path

Searched refs:kmod_elf (Results 1 – 5 of 5) sorted by relevance

/external/kmod/libkmod/
Dlibkmod-internal.h153 struct kmod_elf *kmod_file_get_elf(struct kmod_file *file) __attribute__((nonnull(1)));
161 struct kmod_elf;
168 struct kmod_elf *kmod_elf_new(const void *memory, off_t size) _must_check_ __attribute__((nonnull(1…
169 void kmod_elf_unref(struct kmod_elf *elf) __attribute__((nonnull(1)));
170 const void *kmod_elf_get_memory(const struct kmod_elf *elf) _must_check_ __attribute__((nonnull(1))…
171 int kmod_elf_get_strings(const struct kmod_elf *elf, const char *section, char ***array) _must_chec…
172 int kmod_elf_get_modversions(const struct kmod_elf *elf, struct kmod_modversion **array) _must_chec…
173 int kmod_elf_get_symbols(const struct kmod_elf *elf, struct kmod_modversion **array) _must_check_ _…
174 int kmod_elf_get_dependency_symbols(const struct kmod_elf *elf, struct kmod_modversion **array) _mu…
175 int kmod_elf_strip_section(struct kmod_elf *elf, const char *section) _must_check_ __attribute__((n…
[all …]
Dlibkmod-elf.c49 struct kmod_elf { struct
76 static inline void _elf_dbg(const struct kmod_elf *elf, const char *fname, unsigned line, const cha… in _elf_dbg() argument
130 static inline uint64_t elf_get_uint(const struct kmod_elf *elf, uint64_t offset, uint16_t size) in elf_get_uint()
159 static inline int elf_set_uint(struct kmod_elf *elf, uint64_t offset, uint64_t size, uint64_t value) in elf_set_uint()
200 static inline const void *elf_get_mem(const struct kmod_elf *elf, uint64_t offset) in elf_get_mem()
211 static inline const void *elf_get_section_header(const struct kmod_elf *elf, uint16_t idx) in elf_get_section_header()
224 static inline int elf_get_section_info(const struct kmod_elf *elf, uint16_t idx, uint64_t *offset, … in elf_get_section_info()
266 static const char *elf_get_strings_section(const struct kmod_elf *elf, uint64_t *size) in elf_get_strings_section()
272 struct kmod_elf *kmod_elf_new(const void *memory, off_t size) in kmod_elf_new()
274 struct kmod_elf *elf; in kmod_elf_new()
[all …]
Dlibkmod-file.c66 struct kmod_elf *elf;
419 struct kmod_elf *kmod_file_get_elf(struct kmod_file *file) in kmod_file_get_elf()
Dlibkmod-module.c829 struct kmod_elf *elf; in kmod_module_insert_module()
2145 static struct kmod_elf *kmod_module_get_elf(const struct kmod_module *mod) in kmod_module_get_elf()
2284 struct kmod_elf *elf; in kmod_module_get_info()
2485 struct kmod_elf *elf; in kmod_module_get_versions()
2625 struct kmod_elf *elf; in kmod_module_get_symbols()
2768 struct kmod_elf *elf; in kmod_module_get_dependency_symbols()
/external/kmod/testsuite/
Dinit_module.c239 struct kmod_elf *elf; in init_module()