Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_fw.c369 int relocs; in sym_fw_bind_script() local
412 relocs = 0; in sym_fw_bind_script()
418 relocs = 1; in sym_fw_bind_script()
424 relocs = 2; in sym_fw_bind_script()
446 relocs = 1; in sym_fw_bind_script()
454 relocs = 0; in sym_fw_bind_script()
464 relocs = 1; in sym_fw_bind_script()
473 relocs = 0; in sym_fw_bind_script()
482 relocs = 0; in sym_fw_bind_script()
484 relocs = 2; in sym_fw_bind_script()
[all …]
/linux-4.4.14/arch/x86/realmode/rm/
DMakefile11 always := realmode.bin realmode.relocs
46 LDFLAGS_realmode.elf := --emit-relocs -T
56 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
61 cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
63 targets += realmode.relocs
64 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE
65 $(call if_changed,relocs)
D.gitignore3 realmode.relocs
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_cs.c91 p->relocs = drm_calloc_large(p->nrelocs, sizeof(struct radeon_bo_list)); in radeon_cs_parser_relocs()
92 if (p->relocs == NULL) { in radeon_cs_parser_relocs()
110 p->relocs[i].robj = gem_to_radeon_bo(gobj); in radeon_cs_parser_relocs()
130 p->relocs[i].prefered_domains = in radeon_cs_parser_relocs()
133 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs()
148 p->relocs[i].prefered_domains = domain; in radeon_cs_parser_relocs()
151 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs()
154 if (radeon_ttm_tt_has_userptr(p->relocs[i].robj->tbo.ttm)) { in radeon_cs_parser_relocs()
155 uint32_t domain = p->relocs[i].prefered_domains; in radeon_cs_parser_relocs()
163 p->relocs[i].prefered_domains = domain; in radeon_cs_parser_relocs()
[all …]
Dr600_cs.c2345 kfree(parser->relocs); in r600_cs_parser_fini()
2357 p->relocs = kzalloc(sizeof(struct radeon_bo_list), GFP_KERNEL); in r600_cs_parser_relocs_legacy()
2358 if (p->relocs == NULL) { in r600_cs_parser_relocs_legacy()
2455 *cs_reloc = &p->relocs[idx]; in r600_dma_cs_next_reloc()
Dradeon_vce.c488 reloc = &p->relocs[(idx / 4)]; in radeon_vce_cs_reloc()
Dradeon_uvd.c547 reloc = &p->relocs[(idx / 4)]; in radeon_uvd_cs_reloc()
Dradeon.h1083 struct radeon_bo_list *relocs; member
/linux-4.4.14/arch/x86/tools/
DMakefile41 hostprogs-y += relocs
42 relocs-objs := relocs_32.o relocs_64.o relocs_common.o
43 PHONY += relocs
44 relocs: $(obj)/relocs target
D.gitignore1 relocs
Drelocs.c15 struct relocs { struct
21 static struct relocs relocs16; argument
22 static struct relocs relocs32;
24 static struct relocs relocs32neg;
25 static struct relocs relocs64;
630 static void add_reloc(struct relocs *r, uint32_t offset) in add_reloc()
951 static void sort_relocs(struct relocs *r) in sort_relocs()
/linux-4.4.14/arch/x86/boot/compressed/
DMakefile64 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
66 CMD_RELOCS = arch/x86/tools/relocs
68 cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $<
69 $(obj)/vmlinux.relocs: vmlinux FORCE
70 $(call if_changed,relocs)
73 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
D.gitignore1 relocs
3 vmlinux.relocs
/linux-4.4.14/arch/mips/mm/
Dtlbex.c311 static struct uasm_reloc relocs[128]; variable
1247 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler()
1255 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_refill_handler()
1332 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1338 && uasm_insn_has_bdelay(relocs, in build_r4000_tlb_refill_handler()
1347 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1384 if (uasm_insn_has_bdelay(relocs, split - 1)) in build_r4000_tlb_refill_handler()
1388 uasm_copy_handler(relocs, labels, tlb_handler, split, f); in build_r4000_tlb_refill_handler()
1395 if (uasm_insn_has_bdelay(relocs, split)) in build_r4000_tlb_refill_handler()
1398 uasm_copy_handler(relocs, labels, in build_r4000_tlb_refill_handler()
[all …]
Dpage.c70 static struct uasm_reloc relocs[5]; variable
271 struct uasm_reloc *r = relocs; in build_clear_page()
280 memset(relocs, 0, sizeof(relocs)); in build_clear_page()
347 uasm_resolve_relocs(relocs, labels); in build_clear_page()
418 struct uasm_reloc *r = relocs; in build_copy_page()
427 memset(relocs, 0, sizeof(relocs)); in build_copy_page()
591 uasm_resolve_relocs(relocs, labels); in build_copy_page()
/linux-4.4.14/include/trace/events/
Dhost1x.h118 TP_PROTO(const char *name, u32 cmdbufs, u32 relocs, u32 waitchks,
121 TP_ARGS(name, cmdbufs, relocs, waitchks, syncpt_id, syncpt_incrs),
126 __field(u32, relocs)
135 __entry->relocs = relocs;
143 __entry->name, __entry->cmdbufs, __entry->relocs, __entry->waitchks,
/linux-4.4.14/scripts/
Dsortextable.h105 Elf_Rel *relocs = NULL; in do_func() local
138 relocs = (void *)ehdr + _r(&shdr[i].sh_offset); in do_func()
175 if (relocs) in do_func()
176 memset(relocs, 0, relocs_size); in do_func()
/linux-4.4.14/arch/mips/kernel/
Dpm-cps.c74 static struct uasm_reloc relocs[32] __initdata; variable
352 struct uasm_reloc *r = relocs; in cps_gen_entry_code()
381 memset(relocs, 0, sizeof(relocs)); in cps_gen_entry_code()
610 BUG_ON((r - relocs) > ARRAY_SIZE(relocs)); in cps_gen_entry_code()
613 uasm_resolve_relocs(relocs, labels); in cps_gen_entry_code()
/linux-4.4.14/arch/powerpc/kernel/
Dmodule_64.c274 unsigned long relocs = 1; in get_stubs_size() local
294 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
302 relocs++; in get_stubs_size()
305 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
306 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
/linux-4.4.14/fs/
Dbinfmt_flat.c438 int i, rev, relocs = 0; in load_flat_file() local
454 relocs = ntohl(hdr->reloc_count); in load_flat_file()
457 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file()
535 relocs * sizeof(unsigned long)); in load_flat_file()
746 for (i=0; i < relocs; i++) { in load_flat_file()
783 for (i=0; i < relocs; i++) in load_flat_file()
/linux-4.4.14/drivers/watchdog/
Docteon-wdt-main.c111 static struct uasm_reloc relocs[5] __initdata; variable
133 struct uasm_reloc *r = relocs; in octeon_wdt_build_stage1()
208 uasm_resolve_relocs(relocs, labels); in octeon_wdt_build_stage1()
/linux-4.4.14/include/linux/
Dlivepatch.h98 struct klp_reloc *relocs; member
Dpe.h30 uint16_t relocs; /* relocations */ member
239 uint32_t relocs; /* file pointer to relocation entries */ member
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_gem_submit.c235 uint32_t offset, uint32_t nr_relocs, uint64_t relocs) in submit_reloc() argument
260 to_user_ptr(relocs + (i * sizeof(submit_reloc))); in submit_reloc()
410 submit_cmd.nr_relocs, submit_cmd.relocs); in msm_ioctl_gem_submit()
/linux-4.4.14/include/uapi/drm/
Dqxl_drm.h81 uint64_t __user relocs; /* struct drm_qxl_reloc* */ member
Dnouveau_drm.h103 uint64_t relocs; member
Dmsm_drm.h148 __u64 __user relocs; /* in, ptr to array of submit_reloc's */ member
Dtegra_drm.h126 __u64 relocs; member
/linux-4.4.14/arch/x86/
DMakefile39 LDFLAGS_vmlinux := --emit-relocs
193 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/linux-4.4.14/kernel/livepatch/
Dcore.c292 if (WARN_ON(!obj->relocs)) in klp_write_object_relocations()
295 for (reloc = obj->relocs; reloc->name; reloc++) { in klp_write_object_relocations()
752 if (obj->relocs) { in klp_init_object_loaded()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_gem.c473 int ret, relocs = 0; in validate_list() local
514 relocs++; in validate_list()
522 return relocs; in validate_list()
595 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); in nouveau_gem_pushbuf_reloc_apply()
/linux-4.4.14/Documentation/
Ddontdiff209 relocs
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.c336 struct drm_tegra_reloc __user *relocs = in tegra_drm_submit() local
337 (void __user *)(uintptr_t)args->relocs; in tegra_drm_submit()
382 &relocs[num_relocs], drm, in tegra_drm_submit()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_ioctl.c207 &((struct drm_qxl_reloc *)(uintptr_t)cmd->relocs)[i], in qxl_process_single_command()
/linux-4.4.14/drivers/scsi/
Dncr53c8xx.c3528 int relocs; in ncr_script_copy_and_bind() local
3565 relocs = 2; in ncr_script_copy_and_bind()
3595 relocs = 1; in ncr_script_copy_and_bind()
3604 relocs = 0; in ncr_script_copy_and_bind()
3606 relocs = 1; in ncr_script_copy_and_bind()
3613 relocs = 1; in ncr_script_copy_and_bind()
3617 relocs = 0; in ncr_script_copy_and_bind()
3621 if (relocs) { in ncr_script_copy_and_bind()
3622 while (relocs--) { in ncr_script_copy_and_bind()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c534 struct drm_i915_gem_relocation_entry *relocs) in i915_gem_execbuffer_relocate_vma_slow() argument
540 ret = i915_gem_execbuffer_relocate_entry(vma->obj, eb, &relocs[i]); in i915_gem_execbuffer_relocate_vma_slow()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.h296 struct vmw_relocation relocs[VMWGFX_MAX_RELOCATIONS]; member
Dvmwgfx_execbuf.c1254 reloc = &sw_context->relocs[sw_context->cur_reloc++]; in vmw_translate_mob_ptr()
1315 reloc = &sw_context->relocs[sw_context->cur_reloc++]; in vmw_translate_guest_ptr()
3467 reloc = &sw_context->relocs[i]; in vmw_apply_relocations()