Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/arm64/kernel/probes/
Dsimulate-insn.c173 u64 *load_addr; in simulate_ldr_literal() local
178 load_addr = (u64 *) (addr + disp); in simulate_ldr_literal()
181 set_x_reg(regs, xn, *load_addr); in simulate_ldr_literal()
183 set_w_reg(regs, xn, *load_addr); in simulate_ldr_literal()
191 s32 *load_addr; in simulate_ldrsw_literal() local
196 load_addr = (s32 *) (addr + disp); in simulate_ldrsw_literal()
198 set_x_reg(regs, xn, *load_addr); in simulate_ldrsw_literal()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
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()
/kernel/linux/linux-5.10/tools/perf/util/
Dgenelf.c106 unsigned long load_addr __maybe_unused, in gen_build_id()
130 unsigned long load_addr __maybe_unused, in gen_build_id()
143 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
151 MD5_Update(&context, &load_addr, sizeof(load_addr)); in gen_build_id()
245 jit_write_elf(int fd, uint64_t load_addr, const char *sym, in jit_write_elf() argument
478 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
506 retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); in jit_write_elf()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
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()
1268 load_addr.sstatus.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_get_current_tag()
1269 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag()
1270 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_tag()
1271 load_resp.u64 = cvmx_read_csr(load_addr.u64); 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()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
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()
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()
Defistub.h818 unsigned long *load_addr,
823 unsigned long *load_addr, in efi_load_dtb() argument
827 ULONG_MAX, ULONG_MAX, load_addr, load_size); in efi_load_dtb()
831 unsigned long *load_addr,
/kernel/linux/linux-5.10/arch/mips/kernel/
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()
793 release_progmem(v->load_addr); in vpe_open()
804 v->load_addr = NULL; in vpe_open()
/kernel/linux/linux-5.10/fs/
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()
746 unsigned long load_addr, stop; in elf_fdpic_map_file() local
770 load_addr = params->load_addr; in elf_fdpic_map_file()
879 load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); in elf_fdpic_map_file()
880 if (load_addr == (seg->addr & PAGE_MASK)) { in elf_fdpic_map_file()
882 load_addr - in elf_fdpic_map_file()
929 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0, mflags; in elf_fdpic_map_file_constdisp_on_uclinux() local
932 load_addr = params->load_addr; in elf_fdpic_map_file_constdisp_on_uclinux()
953 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux()
[all …]
Dbinfmt_elf.c594 unsigned long load_addr = 0; in load_elf_interp() local
632 load_addr = -vaddr; in load_elf_interp()
634 map_addr = elf_map(interpreter, load_addr + vaddr, in load_elf_interp()
643 load_addr = map_addr - ELF_PAGESTART(vaddr); in load_elf_interp()
652 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
665 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp()
673 k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; in load_elf_interp()
705 error = load_addr; in load_elf_interp()
823 unsigned long load_addr, load_bias = 0, phdr_addr = 0; in load_elf_binary() local
1172 load_addr = (elf_ppnt->p_vaddr - elf_ppnt->p_offset); in load_elf_binary()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/
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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Delf.h77 # define ELF_PLAT_INIT(_r, load_addr) do { \ argument
78 _r->gpr[2] = load_addr; \
Dima.h17 int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr,
/kernel/linux/linux-5.10/arch/x86/include/asm/
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
/kernel/linux/linux-5.10/kernel/
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()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dima.c139 int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr, in arch_ima_add_kexec_buffer() argument
142 image->arch.ima_buffer_addr = load_addr; in arch_ima_add_kexec_buffer()
/kernel/linux/linux-5.10/include/linux/
Delf-fdpic.h26 unsigned long load_addr; /* user address at which to map binary */ member
/kernel/linux/linux-5.10/arch/arc/include/asm/
Delf.h57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument
/kernel/linux/linux-5.10/arch/x86/um/asm/
Delf.h36 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
131 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
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()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Delf.h56 #define ELF_PLAT_INIT(_r, load_addr) { _r->a0 = 0; } argument
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dvpe.h61 void *load_addr; member
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Delf.h16 #define ELF_PLAT_INIT(_r, load_addr) argument
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Delf.h142 #define ELF_PLAT_INIT(_r, load_addr) (_r)->uregs[0] = 0 argument

12