Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 41) sorted by relevance

12

/linux/arch/arm64/kernel/probes/
A Dsimulate-insn.c174 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 Dentry_from_vm86.c27 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 Dcvmx-pow.h1261 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 Dgenelf.c102 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 Defi-stub-helper.c568 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 Dfile.c135 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 Defistub.h815 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 Dbinfmt_elf_fdpic.c290 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 Dbinfmt_elf.c260 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 Dvpe.c136 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 Delf.c123 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 Dparse_vdso.c44 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 Dkexec_elf.c399 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 Delf.h77 # define ELF_PLAT_INIT(_r, load_addr) do { \ argument
78 _r->gpr[2] = load_addr; \
/linux/arch/x86/include/asm/
A Delf.h107 #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 Docteon_console.c815 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 Delf.h36 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
131 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
/linux/include/linux/
A Delf-fdpic.h26 unsigned long load_addr; /* user address at which to map binary */ member
/linux/arch/arc/include/asm/
A Delf.h57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument
/linux/arch/csky/include/asm/
A Delf.h54 #define ELF_PLAT_INIT(_r, load_addr) { _r->a0 = 0; } argument
/linux/arch/mips/include/asm/
A Dvpe.h60 void *load_addr; member
/linux/arch/m68k/include/asm/
A Delf.h61 #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 argument
/linux/arch/nds32/include/asm/
A Delf.h141 #define ELF_PLAT_INIT(_r, load_addr) (_r)->uregs[0] = 0 argument
/linux/arch/nios2/include/asm/
A Delf.h16 #define ELF_PLAT_INIT(_r, load_addr) argument
/linux/arch/arm/include/asm/
A Delf.h128 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument

Completed in 36 milliseconds

12