linker_file
unwind_module_loaded(struct linker_file *lf)
unwind_module_unloaded(struct linker_file *lf)
struct linker_file thekernel;
struct linker_file;
void unwind_module_loaded(struct linker_file *);
void unwind_module_unloaded(struct linker_file *);
typedef struct linker_file modctl_t;
struct linker_file;
int fbt_provide_module_function(struct linker_file *, int,
struct linker_file;
void kinst_probe_create(struct kinst_probe *, struct linker_file *);
int kinst_make_probe(struct linker_file *, int, struct linker_symval *,
sdt_kld_load_providers(struct linker_file *lf)
sdt_kld_load_probes(struct linker_file *lf)
sdt_kld_load(void *arg __unused, struct linker_file *lf)
sdt_kld_unload_providers(struct linker_file *lf)
sdt_kld_unload_probes(struct linker_file *lf)
sdt_kld_unload_try(void *arg __unused, struct linker_file *lf, int *error)
static void sdt_kld_load(void *, struct linker_file *);
static void sdt_kld_unload_try(void *, struct linker_file *, int *);
struct linker_file *lf;
const char *modname, struct linker_file *parent,
const struct mod_depend *verinfo, struct linker_file **lfpp);
struct linker_file *parent, const struct mod_depend *verinfo,
struct linker_file **lfpp)
const int kld_off_address = offsetof(struct linker_file, address);
const int kld_off_filename = offsetof(struct linker_file, filename);
const int kld_off_pathname = offsetof(struct linker_file, pathname);
const int kld_off_next = offsetof(struct linker_file, link.tqe_next);
struct linker_file *file; /* file which contains this module */
struct linker_file lf; /* Common fields */
link_elf_locate_exidx_preload(struct linker_file *lf, caddr_t modptr)
struct linker_file lf; /* Common fields */
struct linker_file;
typedef void (*kld_load_fn)(void *, struct linker_file *);
typedef void (*kld_unload_try_fn)(void *, struct linker_file *, int *);
typedef struct linker_file* linker_file_t;
typedef TAILQ_HEAD(, linker_file) linker_file_list_t;
TAILQ_ENTRY(linker_file) link; /* list of all loaded files */
TAILQ_ENTRY(linker_file) loaded; /* preload dependency support */
struct linker_file;
int module_register(const struct moduledata *, struct linker_file *);
struct linker_file *module_file(module_t);
struct linker_file;
struct linker_file *sdtp_lf; /* Module in which we're defined. */