/linux/arch/arm64/kernel/probes/ |
A D | simulate-insn.c | 174 u64 *load_addr; in simulate_ldr_literal() local 179 load_addr = (u64 *) (addr + disp); in simulate_ldr_literal() 182 set_x_reg(regs, xn, *load_addr); in simulate_ldr_literal() 184 set_w_reg(regs, xn, *load_addr); in simulate_ldr_literal() 192 s32 *load_addr; in simulate_ldrsw_literal() local 197 load_addr = (s32 *) (addr + disp); in simulate_ldrsw_literal() 199 set_x_reg(regs, xn, *load_addr); in simulate_ldrsw_literal()
|
/linux/tools/testing/selftests/x86/ |
A D | entry_from_vm86.c | 27 static unsigned long load_addr = 0x10000; variable 253 unsigned char *addr = mmap((void *)load_addr, 4096, in main() 256 if (addr != (unsigned char *)load_addr) in main() 265 v86.regs.cs = load_addr / 16; in main() 266 v86.regs.ss = load_addr / 16; in main() 267 v86.regs.ds = load_addr / 16; in main() 268 v86.regs.es = load_addr / 16; in main()
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-pow.h | 1261 cvmx_pow_load_addr_t load_addr; in cvmx_pow_get_current_tag() local 1265 load_addr.u64 = 0; in cvmx_pow_get_current_tag() 1266 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag() 1267 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_tag() 1270 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_tag() 1288 cvmx_pow_load_addr_t load_addr; in cvmx_pow_get_current_wqp() local 1291 load_addr.u64 = 0; in cvmx_pow_get_current_wqp() 1292 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_wqp() 1293 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_wqp() 1296 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_wqp() [all …]
|
/linux/tools/perf/util/ |
A D | genelf.c | 102 unsigned long load_addr __maybe_unused, in gen_build_id() 126 unsigned long load_addr __maybe_unused, in gen_build_id() 139 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument 147 MD5_Update(&context, &load_addr, sizeof(load_addr)); in gen_build_id() 241 jit_write_elf(int fd, uint64_t load_addr, const char *sym, in jit_write_elf() argument 460 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf() 488 retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); in jit_write_elf()
|
/linux/drivers/firmware/efi/libstub/ |
A D | efi-stub-helper.c | 568 efi_status_t efi_load_initrd_dev_path(unsigned long *load_addr, in efi_load_initrd_dev_path() argument 605 *load_addr = initrd_addr; in efi_load_initrd_dev_path() 612 unsigned long *load_addr, in efi_load_initrd_cmdline() argument 619 *load_addr = *load_size = 0; in efi_load_initrd_cmdline() 625 load_addr, load_size); in efi_load_initrd_cmdline() 639 unsigned long *load_addr, in efi_load_initrd() argument 646 if (!load_addr || !load_size) in efi_load_initrd() 649 status = efi_load_initrd_dev_path(load_addr, load_size, hard_limit); in efi_load_initrd() 653 status = efi_load_initrd_cmdline(image, load_addr, load_size, in efi_load_initrd()
|
A D | file.c | 135 unsigned long *load_addr, in handle_cmdline_files() argument 148 if (!load_addr || !load_size) in handle_cmdline_files() 236 *load_addr = alloc_addr; in handle_cmdline_files()
|
A D | efistub.h | 815 unsigned long *load_addr, 820 unsigned long *load_addr, in efi_load_dtb() argument 824 ULONG_MAX, ULONG_MAX, load_addr, load_size); in efi_load_dtb() 828 unsigned long *load_addr,
|
/linux/fs/ |
A D | binfmt_elf_fdpic.c | 290 if (exec_params.load_addr == 0) in load_elf_fdpic_binary() 291 exec_params.load_addr = phdr->p_vaddr; in load_elf_fdpic_binary() 748 unsigned long load_addr, stop; in elf_fdpic_map_file() local 772 load_addr = params->load_addr; in elf_fdpic_map_file() 884 load_addr - in elf_fdpic_map_file() 934 load_addr = params->load_addr; in elf_fdpic_map_file_constdisp_on_uclinux() 956 if (load_addr != 0) in elf_fdpic_map_file_constdisp_on_uclinux() 957 load_addr += PAGE_ALIGN(top - base); in elf_fdpic_map_file_constdisp_on_uclinux() 1015 unsigned long load_addr, delta_vaddr; in elf_fdpic_map_file_by_direct_mmap() local 1018 load_addr = params->load_addr; in elf_fdpic_map_file_by_direct_mmap() [all …]
|
A D | binfmt_elf.c | 260 NEW_AUX_ENT(AT_PHDR, load_addr + exec->e_phoff); in create_elf_tables() 597 unsigned long load_addr = 0; in load_elf_interp() local 635 load_addr = -vaddr; in load_elf_interp() 646 load_addr = map_addr - ELF_PAGESTART(vaddr); in load_elf_interp() 655 k = load_addr + eppnt->p_vaddr; in load_elf_interp() 668 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp() 676 k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; in load_elf_interp() 708 error = load_addr; in load_elf_interp() 826 unsigned long load_addr = 0, load_bias = 0; in load_elf_binary() local 1168 load_addr += load_bias; in load_elf_binary() [all …]
|
/linux/arch/mips/kernel/ |
A D | vpe.c | 136 if (v->load_addr) in release_vpe() 137 release_progmem(v->load_addr); in release_vpe() 644 v->load_addr = alloc_progmem(mod.core_layout.size); in vpe_elfload() 645 if (!v->load_addr) in vpe_elfload() 648 pr_info("VPE loader: loading to %p\n", v->load_addr); in vpe_elfload() 657 dest = v->load_addr + sechdrs[i].sh_entsize; in vpe_elfload() 731 flush_icache_range((unsigned long)v->load_addr, in vpe_elfload() 732 (unsigned long)v->load_addr + v->len); in vpe_elfload() 777 release_progmem(v->load_addr); in vpe_open() 788 v->load_addr = NULL; in vpe_open()
|
/linux/arch/arm/kernel/ |
A D | elf.c | 123 exec_params->load_addr = 0x8000; in elf_fdpic_arch_lay_out_mm() 124 interp_params->load_addr = ELF_ET_DYN_BASE; in elf_fdpic_arch_lay_out_mm()
|
/linux/tools/testing/selftests/vDSO/ |
A D | parse_vdso.c | 44 uintptr_t load_addr; member 79 vdso_info.load_addr = base; in vdso_init_from_sysinfo_ehdr() 87 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
|
/linux/kernel/ |
A D | kexec_elf.c | 399 unsigned long load_addr; in kexec_elf_load() local 420 load_addr = kbuf->mem; in kexec_elf_load() 422 if (load_addr < lowest_addr) in kexec_elf_load() 423 lowest_addr = load_addr; in kexec_elf_load()
|
/linux/arch/powerpc/include/asm/ |
A D | elf.h | 77 # define ELF_PLAT_INIT(_r, load_addr) do { \ argument 78 _r->gpr[2] = load_addr; \
|
/linux/arch/x86/include/asm/ |
A D | elf.h | 107 #define ELF_PLAT_INIT(_r, load_addr) \ argument 183 #define ELF_PLAT_INIT(_r, load_addr) \ argument 186 #define COMPAT_ELF_PLAT_INIT(regs, load_addr) \ argument
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | octeon_console.c | 815 u64 load_addr; in octeon_download_firmware() local 867 load_addr = be64_to_cpu(h->desc[i].addr); in octeon_download_firmware() 871 image_len, load_addr); in octeon_download_firmware() 883 octeon_pci_write_core_mem(oct, load_addr, data, (u32)size); in octeon_download_firmware() 887 load_addr += size; in octeon_download_firmware()
|
/linux/arch/x86/um/asm/ |
A D | elf.h | 36 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument 131 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
|
/linux/include/linux/ |
A D | elf-fdpic.h | 26 unsigned long load_addr; /* user address at which to map binary */ member
|
/linux/arch/arc/include/asm/ |
A D | elf.h | 57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument
|
/linux/arch/csky/include/asm/ |
A D | elf.h | 54 #define ELF_PLAT_INIT(_r, load_addr) { _r->a0 = 0; } argument
|
/linux/arch/mips/include/asm/ |
A D | vpe.h | 60 void *load_addr; member
|
/linux/arch/m68k/include/asm/ |
A D | elf.h | 61 #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 argument
|
/linux/arch/nds32/include/asm/ |
A D | elf.h | 141 #define ELF_PLAT_INIT(_r, load_addr) (_r)->uregs[0] = 0 argument
|
/linux/arch/nios2/include/asm/ |
A D | elf.h | 16 #define ELF_PLAT_INIT(_r, load_addr) argument
|
/linux/arch/arm/include/asm/ |
A D | elf.h | 128 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument
|