Home
last modified time | relevance | path

Searched refs:relocs (Results 1 – 25 of 52) sorted by relevance

123

/linux/arch/mips/boot/tools/
A DMakefile3 hostprogs += relocs
4 relocs-objs += relocs_32.o
5 relocs-objs += relocs_64.o
6 relocs-objs += relocs_main.o
7 PHONY += relocs
8 relocs: $(obj)/relocs target
A Drelocs.c16 struct relocs { struct
22 static struct relocs relocs; argument
442 static void add_reloc(struct relocs *r, uint32_t offset, unsigned type) in add_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
613 for (i = 0; i < relocs.count; i++) in emit_relocs()
614 size += write_reloc(relocs.offset[i], outf); in emit_relocs()
A D.gitignore2 relocs
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_cmd_parser.c17 const struct drm_etnaviv_gem_submit_reloc *relocs; member
92 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
96 state->relocs->submit_offset); in etnaviv_warn_if_non_sensitive()
98 state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
99 state->relocs++; in etnaviv_warn_if_non_sensitive()
117 state->relocs->submit_offset == buf_offset) { in etnaviv_validate_load_state()
118 state->relocs++; in etnaviv_validate_load_state()
132 state->relocs->submit_offset - in etnaviv_validate_load_state()
149 struct drm_etnaviv_gem_submit_reloc *relocs, in etnaviv_cmd_validate_one() argument
157 state.relocs = relocs; in etnaviv_cmd_validate_one()
A Detnaviv_gem_submit.c271 u32 size, const struct drm_etnaviv_gem_submit_reloc *relocs, in submit_reloc() argument
283 const struct drm_etnaviv_gem_submit_reloc *r = relocs + i; in submit_reloc()
430 struct drm_etnaviv_gem_submit_reloc *relocs; in etnaviv_ioctl_gem_submit() local
477 relocs = kvmalloc_array(args->nr_relocs, sizeof(*relocs), GFP_KERNEL); in etnaviv_ioctl_gem_submit()
480 if (!bos || !relocs || !pmrs || !stream) { in etnaviv_ioctl_gem_submit()
492 ret = copy_from_user(relocs, u64_to_user_ptr(args->relocs), in etnaviv_ioctl_gem_submit()
493 args->nr_relocs * sizeof(*relocs)); in etnaviv_ioctl_gem_submit()
545 relocs, args->nr_relocs)) { in etnaviv_ioctl_gem_submit()
563 relocs, args->nr_relocs); in etnaviv_ioctl_gem_submit()
616 kvfree(relocs); in etnaviv_ioctl_gem_submit()
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_fw.c352 int relocs; in sym_fw_bind_script() local
395 relocs = 0; in sym_fw_bind_script()
401 relocs = 1; in sym_fw_bind_script()
407 relocs = 2; in sym_fw_bind_script()
429 relocs = 1; in sym_fw_bind_script()
437 relocs = 0; in sym_fw_bind_script()
447 relocs = 1; in sym_fw_bind_script()
456 relocs = 0; in sym_fw_bind_script()
465 relocs = 0; in sym_fw_bind_script()
475 relocs = 1; in sym_fw_bind_script()
[all …]
/linux/arch/mips/kvm/
A Dentry.c291 struct uasm_reloc relocs[2]; in kvm_mips_build_enter_guest() local
296 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_enter_guest()
437 struct uasm_reloc relocs[2]; in kvm_mips_build_tlb_refill_exception() local
440 struct uasm_reloc *r = relocs; in kvm_mips_build_tlb_refill_exception()
444 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_tlb_refill_exception()
525 struct uasm_reloc relocs[2]; in kvm_mips_build_exception() local
530 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_exception()
568 struct uasm_reloc relocs[3]; in kvm_mips_build_exit() local
573 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_exit()
794 struct uasm_reloc relocs[2]; in kvm_mips_build_ret_from_exit() local
[all …]
/linux/arch/x86/realmode/rm/
A DMakefile18 always-y := realmode.bin realmode.relocs
52 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T
62 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
66 cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
68 targets += realmode.relocs
69 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE
70 $(call if_changed,relocs)
A D.gitignore4 realmode.relocs
/linux/drivers/gpu/drm/radeon/
A Dradeon_cs.c98 if (p->relocs == NULL) { in radeon_cs_parser_relocs()
138 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs()
141 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()
159 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
178 if (!p->relocs[i].allowed_domains) { in radeon_cs_parser_relocs()
185 p->relocs[i].tv.bo = &p->relocs[i].robj->tbo; in radeon_cs_parser_relocs()
441 if (parser->relocs != NULL) { in radeon_cs_parser_fini()
451 kvfree(parser->relocs); in radeon_cs_parser_fini()
526 bo = p->relocs[i].robj; in radeon_bo_vm_update_pte()
876 *cs_reloc = p->relocs; in radeon_cs_packet_next_reloc()
[all …]
/linux/arch/mips/mm/
A Dtlbex.c1303 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler()
1311 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_refill_handler()
1532 struct uasm_reloc *r = relocs; in build_loongson3_tlb_refill_handler()
1535 memset(relocs, 0, sizeof(relocs)); in build_loongson3_tlb_refill_handler()
1599 memset(relocs, 0, sizeof(relocs)); in build_setup_pgd()
1940 memset(relocs, 0, sizeof(relocs)); in build_r3000_tlb_load_handler()
1970 memset(relocs, 0, sizeof(relocs)); in build_r3000_tlb_store_handler()
2000 memset(relocs, 0, sizeof(relocs)); in build_r3000_tlb_modify_handler()
2117 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_load_handler()
2318 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_store_handler()
[all …]
A Dpage.c68 static struct uasm_reloc relocs[5]; variable
280 struct uasm_reloc *r = relocs; in build_clear_page()
289 memset(relocs, 0, sizeof(relocs)); in build_clear_page()
356 uasm_resolve_relocs(relocs, labels); in build_clear_page()
429 struct uasm_reloc *r = relocs; in build_copy_page()
438 memset(relocs, 0, sizeof(relocs)); in build_copy_page()
602 uasm_resolve_relocs(relocs, labels); in build_copy_page()
/linux/arch/x86/tools/
A DMakefile42 hostprogs += relocs
43 relocs-objs := relocs_32.o relocs_64.o relocs_common.o
44 PHONY += relocs
45 relocs: $(obj)/relocs target
A Drelocs.c22 struct relocs { struct
28 static struct relocs relocs16; argument
29 static struct relocs relocs32;
31 static struct relocs relocs32neg;
32 static struct relocs relocs64;
705 static void add_reloc(struct relocs *r, uint32_t offset) in add_reloc()
1044 static void sort_relocs(struct relocs *r) in sort_relocs()
A D.gitignore2 relocs
/linux/arch/x86/boot/compressed/
A DMakefile112 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
114 CMD_RELOCS = arch/x86/tools/relocs
116 cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $<
117 $(obj)/vmlinux.relocs: vmlinux FORCE
118 $(call if_changed,relocs)
121 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
A D.gitignore2 relocs
4 vmlinux.relocs
/linux/include/trace/events/
A Dhost1x.h131 TP_PROTO(const char *name, u32 cmdbufs, u32 relocs, u32 syncpt_id,
134 TP_ARGS(name, cmdbufs, relocs, syncpt_id, syncpt_incrs),
139 __field(u32, relocs)
147 __entry->relocs = relocs;
154 __entry->name, __entry->cmdbufs, __entry->relocs,
/linux/arch/mips/kernel/
A Dpm-cps.c70 static struct uasm_reloc relocs[32]; variable
345 struct uasm_reloc *r = relocs; in cps_gen_entry_code()
374 memset(relocs, 0, sizeof(relocs)); in cps_gen_entry_code()
622 BUG_ON((r - relocs) > ARRAY_SIZE(relocs)); in cps_gen_entry_code()
625 uasm_resolve_relocs(relocs, labels); in cps_gen_entry_code()
/linux/arch/mips/
A DMakefile.postlink19 CMD_RELOCS = arch/mips/boot/tools/relocs
31 $(call if_changed,relocs)
/linux/scripts/
A Dsorttable.h209 Elf_Rel *relocs = NULL; in do_sort() local
249 relocs = (void *)ehdr + _r(&s->sh_offset); in do_sort()
326 if (relocs) in do_sort()
327 memset(relocs, 0, relocs_size); in do_sort()
/linux/arch/powerpc/kernel/
A Dmodule_64.c191 unsigned long relocs = 1; in get_stubs_size() local
211 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
219 relocs++; in get_stubs_size()
222 relocs++; in get_stubs_size()
226 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
227 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c272 struct list_head relocs; member
576 list_add_tail(&ev->reloc_link, &eb->relocs); in eb_add_vma()
890 INIT_LIST_HEAD(&eb->relocs); in eb_lookup_vmas()
1563 size = nreloc * sizeof(*relocs); in eb_copy_relocations()
1566 if (!relocs) { in eb_copy_relocations()
1604 eb->exec[i].relocs_ptr = (uintptr_t)relocs; in eb_copy_relocations()
1612 kvfree(relocs); in eb_copy_relocations()
1616 relocs = u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr); in eb_copy_relocations()
1618 kvfree(relocs); in eb_copy_relocations()
1779 relocs = u64_to_ptr(typeof(*relocs), entry->relocs_ptr); in eb_relocate_parse_slow()
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c88 kfree(submit->cmd[i].relocs); in __msm_gem_submit_destroy()
203 userptr = u64_to_user_ptr(submit_cmd.relocs); in submit_lookup_cmds()
212 submit->cmd[i].relocs = kmalloc(sz, GFP_KERNEL); in submit_lookup_cmds()
213 ret = copy_from_user(submit->cmd[i].relocs, userptr, sz); in submit_lookup_cmds()
427 uint32_t offset, uint32_t nr_relocs, struct drm_msm_gem_submit_reloc *relocs) in submit_reloc() argument
453 struct drm_msm_gem_submit_reloc submit_reloc = relocs[i]; in submit_reloc()
868 submit->cmd[i].nr_relocs, submit->cmd[i].relocs); in msm_ioctl_gem_submit()
/linux/fs/
A Dbinfmt_flat.c445 int i, rev, relocs; in load_flat_file() local
461 relocs = ntohl(hdr->reloc_count); in load_flat_file()
464 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file()
561 relocs * sizeof(unsigned long)); in load_flat_file()
815 for (i = 0; i < relocs; i++) { in load_flat_file()
865 for (i = 0; i < relocs; i++) { in load_flat_file()

Completed in 49 milliseconds

123