Home
last modified time | relevance | path

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

12

/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c174 unsigned long load_addr; in simulate_ldr_literal() local
177 load_addr = addr + ldr_displacement(opcode); in simulate_ldr_literal()
180 set_x_reg(regs, xn, READ_ONCE(*(u64 *)load_addr)); in simulate_ldr_literal()
182 set_w_reg(regs, xn, READ_ONCE(*(u32 *)load_addr)); in simulate_ldr_literal()
190 unsigned long load_addr; in simulate_ldrsw_literal() local
193 load_addr = addr + ldr_displacement(opcode); in simulate_ldrsw_literal()
195 set_x_reg(regs, xn, READ_ONCE(*(s32 *)load_addr)); in simulate_ldrsw_literal()
/linux/tools/testing/selftests/x86/
H 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/
H 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()
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 …]
/linux/tools/perf/util/
H A Dgenelf.c98 unsigned long load_addr __maybe_unused, in gen_build_id()
122 unsigned long load_addr __maybe_unused, in gen_build_id()
135 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
147 EVP_DigestUpdate(mdctx, &load_addr, sizeof(load_addr)); in gen_build_id()
242 jit_write_elf(int fd, uint64_t load_addr, const char *sym, in jit_write_elf() argument
476 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
504 retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); in jit_write_elf()
/linux/arch/mips/kernel/
H A Dvpe.c136 if (v->load_addr) in release_vpe()
137 release_progmem(v->load_addr); in release_vpe()
643 v->load_addr = alloc_progmem(mod.mem[MOD_TEXT].size); in vpe_elfload()
644 if (!v->load_addr) in vpe_elfload()
647 pr_info("VPE loader: loading to %p\n", v->load_addr); in vpe_elfload()
656 dest = v->load_addr + sechdrs[i].sh_entsize; in vpe_elfload()
730 flush_icache_range((unsigned long)v->load_addr, in vpe_elfload()
731 (unsigned long)v->load_addr + v->len); in vpe_elfload()
776 release_progmem(v->load_addr); in vpe_open()
787 v->load_addr = NULL; in vpe_open()
/linux/fs/
H 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()
738 unsigned long load_addr; in elf_fdpic_map_file() local
870 load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); in elf_fdpic_map_file()
871 if (load_addr == (seg->addr & PAGE_MASK)) { in elf_fdpic_map_file()
873 load_addr - in elf_fdpic_map_file()
922 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0; in elf_fdpic_map_file_constdisp_on_uclinux() local
925 load_addr = params->load_addr; in elf_fdpic_map_file_constdisp_on_uclinux()
942 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux()
947 if (load_addr != 0) in elf_fdpic_map_file_constdisp_on_uclinux()
[all …]
/linux/arch/arm/kernel/
H 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/
H A Dparse_vdso.c50 uintptr_t load_addr; member
91 vdso_info.load_addr = base; in vdso_init_from_sysinfo_ehdr()
99 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
/linux/drivers/firmware/efi/libstub/
H A Dfile.c189 unsigned long *load_addr, in handle_cmdline_files() argument
202 if (!load_addr || !load_size) in handle_cmdline_files()
293 *load_addr = alloc_addr; in handle_cmdline_files()
/linux/kernel/
H 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/
H A Delf.h77 # define ELF_PLAT_INIT(_r, load_addr) do { \ argument
78 _r->gpr[2] = load_addr; \
/linux/arch/x86/include/asm/
H A Delf.h108 #define ELF_PLAT_INIT(_r, load_addr) \ argument
169 #define ELF_PLAT_INIT(_r, load_addr) \ argument
172 #define COMPAT_ELF_PLAT_INIT(regs, load_addr) \ argument
/linux/arch/arc/include/asm/
H A Delf.h57 #define ELF_PLAT_INIT(_r, load_addr) ((_r)->r0 = 0) argument
/linux/arch/x86/um/asm/
H A Delf.h36 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
131 #define ELF_PLAT_INIT(regs, load_addr) do { \ argument
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c814 u64 load_addr; in octeon_download_firmware() local
866 load_addr = be64_to_cpu(h->desc[i].addr); in octeon_download_firmware()
870 image_len, load_addr); in octeon_download_firmware()
882 octeon_pci_write_core_mem(oct, load_addr, data, (u32)size); in octeon_download_firmware()
886 load_addr += size; in octeon_download_firmware()
/linux/include/linux/
H A Delf-fdpic.h38 unsigned long load_addr; /* user address at which to map binary */ member
/linux/arch/csky/include/asm/
H A Delf.h54 #define ELF_PLAT_INIT(_r, load_addr) { _r->a0 = 0; } argument
/linux/arch/mips/include/asm/
H A Dvpe.h56 void *load_addr; member
/linux/arch/alpha/include/asm/
H A Delf.h104 #define ELF_PLAT_INIT(_r, load_addr) _r->r0 = 0 argument
/linux/arch/nios2/include/asm/
H A Delf.h16 #define ELF_PLAT_INIT(_r, load_addr) argument
/linux/arch/m68k/include/asm/
H A Delf.h61 #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 argument
/linux/arch/arm/include/asm/
H A Delf.h130 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0 argument
/linux/arch/xtensa/include/asm/
H A Delf.h159 #define ELF_PLAT_INIT(_r, load_addr) \ argument
/linux/arch/arm64/include/asm/
H A Delf.h159 #define ELF_PLAT_INIT(_r, load_addr) (_r)->regs[0] = 0 argument
/linux/arch/sh/include/asm/
H A Delf.h135 #define ELF_PLAT_INIT(_r, load_addr) \ argument

12