Symbol: __elfN
stand/boot/common/bootstrap.h
250
#ifdef __elfN
stand/boot/common/bootstrap.h
256
extern u_int64_t __elfN(relocation_offset);
stand/boot/common/bootstrap.h
261
int __elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result);
stand/boot/common/bootstrap.h
262
int __elfN(obj_loadfile)(char *filename, u_int64_t dest,
stand/boot/common/bootstrap.h
264
int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr,
stand/boot/common/load_elf.c
149
if (strcmp(__elfN(kerneltype), kfp->f_type)) {
stand/boot/common/load_elf.c
198
fp->f_type = strdup(ef.kernel ? __elfN(kerneltype) : __elfN(moduletype));
stand/boot/common/load_elf.c
231
fp->f_size = __elfN(loadimage)(fp, &ef, dest);
stand/boot/common/load_elf.c
259
__elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off)
stand/boot/common/load_elf.c
295
__elfN(relocation_offset) = off;
stand/boot/common/load_elf.c
531
if (__elfN(parse_modmetadata)(fp, ef) == 0)
stand/boot/common/load_elf.c
586
__elfN(parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef)
stand/boot/common/load_elf.c
599
if (__elfN(lookup_symbol)(fp, ef, "__start_set_modmetadata_set", &sym) != 0)
stand/boot/common/load_elf.c
602
if (__elfN(lookup_symbol)(fp, ef, "__stop_set_modmetadata_set", &sym) != 0)
stand/boot/common/load_elf.c
609
error = __elfN(reloc_ptr)(fp, ef, p, &v, sizeof(v));
stand/boot/common/load_elf.c
616
error = __elfN(reloc_ptr)(fp, ef, v, &md64, sizeof(md64));
stand/boot/common/load_elf.c
628
error = __elfN(reloc_ptr)(fp, ef, v, &md, sizeof(md));
stand/boot/common/load_elf.c
685
__elfN(lookup_symbol)(struct preloaded_file *fp, elf_file_t ef, const char* name,
stand/boot/common/load_elf.c
73
static int __elfN(loadimage)(struct preloaded_file *mp, elf_file_t ef, u_int64_t loadaddr);
stand/boot/common/load_elf.c
733
__elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
stand/boot/common/load_elf.c
74
static int __elfN(lookup_symbol)(struct preloaded_file *mp, elf_file_t ef, const char* name, Elf_Sym* sym);
stand/boot/common/load_elf.c
75
static int __elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
stand/boot/common/load_elf.c
751
error = __elfN(reloc)(ef, __elfN(symaddr), &r, ELF_RELOC_REL,
stand/boot/common/load_elf.c
759
error = __elfN(reloc)(ef, __elfN(symaddr), &a, ELF_RELOC_RELA,
stand/boot/common/load_elf.c
769
__elfN(symaddr)(struct elf_file *ef, Elf_Size symidx)
stand/boot/common/load_elf.c
77
static int __elfN(parse_modmetadata)(struct preloaded_file *mp, elf_file_t ef);
stand/boot/common/load_elf.c
78
static symaddr_fn __elfN(symaddr);
stand/boot/common/load_elf.c
81
const char *__elfN(kerneltype) = "elf kernel";
stand/boot/common/load_elf.c
82
const char *__elfN(moduletype) = "elf module";
stand/boot/common/load_elf.c
84
u_int64_t __elfN(relocation_offset) = 0;
stand/boot/common/load_elf.c
92
__elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result)
stand/boot/common/load_elf_obj.c
136
if (strcmp(__elfN(obj_kerneltype), kfp->f_type)) {
stand/boot/common/load_elf_obj.c
156
fp->f_type = strdup(__elfN(obj_moduletype));
stand/boot/common/load_elf_obj.c
160
fp->f_size = __elfN(obj_loadimage)(fp, &ef, dest);
stand/boot/common/load_elf_obj.c
189
__elfN(obj_loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off)
stand/boot/common/load_elf_obj.c
298
res = __elfN(obj_parse_modmetadata)(fp, ef);
stand/boot/common/load_elf_obj.c
322
__elfN(obj_parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef)
stand/boot/common/load_elf_obj.c
334
if (__elfN(obj_lookup_set)(fp, ef, "modmetadata_set", &p, &p_stop,
stand/boot/common/load_elf_obj.c
341
error = __elfN(obj_reloc_ptr)(fp, ef, p, &v, sizeof(v));
stand/boot/common/load_elf_obj.c
346
error = __elfN(obj_reloc_ptr)(fp, ef, v, &md64, sizeof(md64));
stand/boot/common/load_elf_obj.c
355
error = __elfN(obj_reloc_ptr)(fp, ef, v, &md, sizeof(md));
stand/boot/common/load_elf_obj.c
393
__elfN(obj_lookup_set)(struct preloaded_file *fp, elf_file_t ef,
stand/boot/common/load_elf_obj.c
431
__elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef, Elf_Addr p,
stand/boot/common/load_elf_obj.c
463
error = __elfN(reloc)(ef, __elfN(obj_symaddr),
stand/boot/common/load_elf_obj.c
476
error = __elfN(reloc)(ef, __elfN(obj_symaddr),
stand/boot/common/load_elf_obj.c
489
__elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx)
stand/boot/common/load_elf_obj.c
63
static int __elfN(obj_loadimage)(struct preloaded_file *mp, elf_file_t ef,
stand/boot/common/load_elf_obj.c
65
static int __elfN(obj_lookup_set)(struct preloaded_file *mp, elf_file_t ef,
stand/boot/common/load_elf_obj.c
67
static int __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
stand/boot/common/load_elf_obj.c
69
static int __elfN(obj_parse_modmetadata)(struct preloaded_file *mp,
stand/boot/common/load_elf_obj.c
71
static Elf_Addr __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx);
stand/boot/common/load_elf_obj.c
73
const char *__elfN(obj_kerneltype) = "elf kernel";
stand/boot/common/load_elf_obj.c
74
const char *__elfN(obj_moduletype) = "elf obj module";
stand/boot/common/load_elf_obj.c
82
__elfN(obj_loadfile)(char *filename, u_int64_t dest,
stand/boot/common/reloc_elf.c
49
__elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata,
sys/cpu/x86_64/misc/elf_machdep.c
48
.sv_fixup = __elfN(dragonfly_fixup),
sys/cpu/x86_64/misc/elf_machdep.c
53
.sv_coredump = __elfN(coredump),
sys/kern/imgact_elf.c
1012
__elfN(puthdr)(lp, &target, sig, DRYRUN, seginfo.count, fp);
sys/kern/imgact_elf.c
1025
error = __elfN(corehdr)(lp, sig, fp, cred, seginfo.count, &target);
sys/kern/imgact_elf.c
1072
phdr->p_flags = __elfN(untrans_prot)(entry->protection);
sys/kern/imgact_elf.c
1282
__elfN(corehdr)(struct lwp *lp, int sig, struct file *fp, struct ucred *cred,
sys/kern/imgact_elf.c
129
Elf_Brandnote __elfN(dragonfly_brandnote) = {
sys/kern/imgact_elf.c
1293
error = __elfN(puthdr)(lp, target, sig, WRITE, numsegs, fp);
sys/kern/imgact_elf.c
1304
__elfN(puthdr)(struct lwp *lp, elf_buf_t target, int sig, enum putmode mode,
sys/kern/imgact_elf.c
135
.trans_osrel = __elfN(bsd_trans_osrel),
sys/kern/imgact_elf.c
1449
__elfN(putnote)(target, "CORE", NT_PRPSINFO, psinfo, sizeof *psinfo);
sys/kern/imgact_elf.c
1469
__elfN(putnote)(target, "CORE", NT_PRSTATUS, status, sizeof *status);
sys/kern/imgact_elf.c
1473
__elfN(putnote)(target, "CORE", NT_FPREGSET, fpregs, sizeof *fpregs);
sys/kern/imgact_elf.c
1491
error = __elfN(putnote)(target, "CORE", NT_PRSTATUS,
sys/kern/imgact_elf.c
1495
error = __elfN(putnote)(target, "CORE", NT_FPREGSET,
sys/kern/imgact_elf.c
1513
__elfN(putnote)(elf_buf_t target, const char *name, int type,
sys/kern/imgact_elf.c
1671
__elfN(check_note)(struct image_params *imgp, Elf_Brandnote *checknote,
sys/kern/imgact_elf.c
1866
__elfN(bsd_trans_osrel)(const Elf_Note *note, int32_t *osrel)
sys/kern/imgact_elf.c
241
__elfN(load_section)(struct proc *p, struct vmspace *vmspace, struct vnode *vp,
sys/kern/imgact_elf.c
407
__elfN(load_file)(struct proc *p, const char *file, u_long *addr, u_long *entry)
sys/kern/imgact_elf.c
472
if ((error = __elfN(check_header)(hdr)) != 0)
sys/kern/imgact_elf.c
500
prot = __elfN(trans_prot)(phdr[i].p_flags);
sys/kern/imgact_elf.c
501
error = __elfN(load_section)(
sys/kern/imgact_elf.c
535
__elfN(get_brandinfo)(struct image_params *imgp, const char *interp,
sys/kern/imgact_elf.c
557
ret = __elfN(check_note)(imgp, bi->brand_note, osrel);
sys/kern/imgact_elf.c
596
__elfN(fallback_brand) == bi->brand)
sys/kern/imgact_elf.c
603
__CONCAT(exec_,__elfN(imgact))(struct image_params *imgp)
sys/kern/imgact_elf.c
628
if (__elfN(check_header)(hdr) != 0 ||
sys/kern/imgact_elf.c
678
brand_info = __elfN(get_brandinfo)(imgp, interp, &osrel);
sys/kern/imgact_elf.c
726
prot = __elfN(trans_prot)(phdr[i].p_flags);
sys/kern/imgact_elf.c
728
if ((error = __elfN(load_section)(
sys/kern/imgact_elf.c
76
static int __elfN(check_header)(const Elf_Ehdr *hdr);
sys/kern/imgact_elf.c
77
static Elf_Brandinfo *__elfN(get_brandinfo)(struct image_params *imgp,
sys/kern/imgact_elf.c
79
static int __elfN(load_file)(struct proc *p, const char *file, u_long *addr,
sys/kern/imgact_elf.c
81
static int __elfN(load_section)(struct proc *p,
sys/kern/imgact_elf.c
827
error = __elfN(load_file)(imgp->proc, path, &addr,
sys/kern/imgact_elf.c
834
error = __elfN(load_file)(imgp->proc, newinterp,
sys/kern/imgact_elf.c
840
error = __elfN(load_file)(imgp->proc, interp, &addr,
sys/kern/imgact_elf.c
85
static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
sys/kern/imgact_elf.c
86
static boolean_t __elfN(bsd_trans_osrel)(const Elf_Note *note,
sys/kern/imgact_elf.c
873
__elfN(dragonfly_fixup)(register_t **stack_base, struct image_params *imgp)
sys/kern/imgact_elf.c
88
static boolean_t __elfN(check_note)(struct image_params *imgp,
sys/kern/imgact_elf.c
90
static vm_prot_t __elfN(trans_prot)(Elf_Word);
sys/kern/imgact_elf.c
91
static Elf_Word __elfN(untrans_prot)(vm_prot_t);
sys/kern/imgact_elf.c
947
static int __elfN(corehdr)(struct lwp *, int, struct file *, struct ucred *,
sys/kern/imgact_elf.c
950
static int __elfN(puthdr)(struct lwp *, elf_buf_t, int sig, enum putmode,
sys/kern/imgact_elf.c
953
static int __elfN(putnote)(elf_buf_t, const char *, int, const void *, size_t);
sys/kern/imgact_elf.c
960
__elfN(coredump)(struct lwp *lp, int sig, struct vnode *vp, off_t limit)
sys/kern/imgact_elf.c
99
static int __elfN(fallback_brand) = -1;
sys/sys/imgact_elf.h
89
int __elfN(brand_inuse) (Elf_Brandinfo *entry);
sys/sys/imgact_elf.h
90
int __elfN(insert_brand_entry) (Elf_Brandinfo *entry);
sys/sys/imgact_elf.h
91
int __elfN(remove_brand_entry) (Elf_Brandinfo *entry);
sys/sys/imgact_elf.h
92
int __elfN(dragonfly_fixup) (register_t **, struct image_params *);
sys/sys/imgact_elf.h
93
int __elfN(coredump) (struct lwp *, int, struct vnode *, off_t);
sys/sys/imgact_elf.h
97
extern Elf_Brandnote __elfN(dragonfly_brandnote);