Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/drivers/gpu/drm/radeon/
Dradeon_cs.c52 p->relocs = kcalloc(p->nrelocs, sizeof(struct radeon_cs_reloc), GFP_KERNEL); in radeon_cs_parser_relocs()
53 if (p->relocs == NULL) { in radeon_cs_parser_relocs()
62 if (r->handle == p->relocs[j].handle) { in radeon_cs_parser_relocs()
63 p->relocs_ptr[i] = &p->relocs[j]; in radeon_cs_parser_relocs()
69 p->relocs[i].gobj = drm_gem_object_lookup(ddev, in radeon_cs_parser_relocs()
72 if (p->relocs[i].gobj == NULL) { in radeon_cs_parser_relocs()
77 p->relocs_ptr[i] = &p->relocs[i]; in radeon_cs_parser_relocs()
78 p->relocs[i].robj = gem_to_radeon_bo(p->relocs[i].gobj); in radeon_cs_parser_relocs()
79 p->relocs[i].lobj.bo = p->relocs[i].robj; in radeon_cs_parser_relocs()
80 p->relocs[i].lobj.wdomain = r->write_domain; in radeon_cs_parser_relocs()
[all …]
Dr600_cs.c914 *cs_reloc = p->relocs; in r600_cs_packet_next_reloc_nomm()
2270 p->relocs = kzalloc(sizeof(struct radeon_cs_reloc), GFP_KERNEL); in r600_cs_parser_relocs_legacy()
2271 if (p->relocs == NULL) { in r600_cs_parser_relocs_legacy()
2289 kfree(parser->relocs); in r600_cs_parser_fini()
Dradeon.h830 struct radeon_cs_reloc *relocs; member
/linux-3.4.99/arch/x86/boot/compressed/
DMakefile46 targets += $(patsubst $(obj)/%,%,$(VMLINUX_OBJS)) vmlinux.bin.all vmlinux.relocs
48 CMD_RELOCS = arch/x86/tools/relocs
50 cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $<
51 $(obj)/vmlinux.relocs: vmlinux FORCE
52 $(call if_changed,relocs)
55 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
D.gitignore1 relocs
3 vmlinux.relocs
/linux-3.4.99/arch/mips/mm/
Dtlbex.c233 static struct uasm_reloc relocs[128] __cpuinitdata; variable
1232 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler()
1240 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_refill_handler()
1309 && uasm_insn_has_bdelay(relocs, in build_r4000_tlb_refill_handler()
1320 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1326 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler()
1363 if (uasm_insn_has_bdelay(relocs, split - 1)) in build_r4000_tlb_refill_handler()
1367 uasm_copy_handler(relocs, labels, tlb_handler, split, f); in build_r4000_tlb_refill_handler()
1374 if (uasm_insn_has_bdelay(relocs, split)) in build_r4000_tlb_refill_handler()
1377 uasm_copy_handler(relocs, labels, in build_r4000_tlb_refill_handler()
[all …]
Dpage.c69 static struct uasm_reloc __cpuinitdata relocs[5]; variable
290 struct uasm_reloc *r = relocs; in build_clear_page()
294 memset(relocs, 0, sizeof(relocs)); in build_clear_page()
361 uasm_resolve_relocs(relocs, labels); in build_clear_page()
432 struct uasm_reloc *r = relocs; in build_copy_page()
436 memset(relocs, 0, sizeof(relocs)); in build_copy_page()
600 uasm_resolve_relocs(relocs, labels); in build_copy_page()
/linux-3.4.99/arch/x86/tools/
Drelocs.c20 static unsigned long *relocs; variable
657 relocs[reloc_idx++] = rel->r_offset; in collect_reloc()
681 relocs = malloc(reloc_count * sizeof(relocs[0])); in emit_relocs()
682 if (!relocs) { in emit_relocs()
687 relocs16 = malloc(reloc16_count * sizeof(relocs[0])); in emit_relocs()
700 qsort(relocs, reloc_count, sizeof(relocs[0]), cmp_relocs); in emit_relocs()
716 printf("\t.long 0x%08lx\n", relocs[i]); in emit_relocs()
722 printf("\t.long 0x%08lx\n", relocs[i]); in emit_relocs()
737 write32(relocs[i], stdout); in emit_relocs()
744 write32(relocs[i], stdout); in emit_relocs()
DMakefile41 hostprogs-y += relocs
42 relocs: $(obj)/relocs target
D.gitignore1 relocs
/linux-3.4.99/fs/
Dbinfmt_flat.c435 int i, rev, relocs = 0; in load_flat_file() local
451 relocs = ntohl(hdr->reloc_count); in load_flat_file()
531 relocs * sizeof(unsigned long)); in load_flat_file()
580 data_len + (relocs * sizeof(unsigned long)), 0); in load_flat_file()
585 data_len + (relocs * sizeof(unsigned long)), &fpos); in load_flat_file()
630 (text_len + data_len + (relocs * sizeof(unsigned long)) in load_flat_file()
634 data_len + (relocs * sizeof(unsigned long))); in load_flat_file()
641 data_len + (relocs * sizeof(unsigned long)), 0); in load_flat_file()
652 data_len + (relocs * sizeof(unsigned long)), &fpos); in load_flat_file()
747 for (i=0; i < relocs; i++) { in load_flat_file()
[all …]
/linux-3.4.99/arch/powerpc/kernel/
Dmodule_64.c141 unsigned long relocs = 1; in get_stubs_size() local
161 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
169 relocs++; in get_stubs_size()
172 DEBUGP("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
173 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_gem.c411 int ret, relocs = 0; in validate_list() local
457 relocs++; in validate_list()
465 return relocs; in validate_list()
476 int ret, relocs = 0; in nouveau_gem_pushbuf_validate() local
499 relocs += ret; in nouveau_gem_pushbuf_validate()
508 relocs += ret; in nouveau_gem_pushbuf_validate()
517 relocs += ret; in nouveau_gem_pushbuf_validate()
519 *apply_relocs = relocs; in nouveau_gem_pushbuf_validate()
550 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); in nouveau_gem_pushbuf_reloc_apply()
/linux-3.4.99/drivers/watchdog/
Docteon-wdt-main.c112 static struct uasm_reloc __initdata relocs[5]; variable
134 struct uasm_reloc *r = relocs; in octeon_wdt_build_stage1()
203 uasm_resolve_relocs(relocs, labels); in octeon_wdt_build_stage1()
/linux-3.4.99/arch/x86/
DMakefile25 LDFLAGS_vmlinux := --emit-relocs
138 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/linux-3.4.99/include/drm/
Dnouveau_drm.h164 uint64_t relocs; member
/linux-3.4.99/Documentation/
Ddontdiff210 relocs
/linux-3.4.99/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-3.4.99/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c465 reloc = &sw_context->relocs[sw_context->cur_reloc++]; in vmw_translate_guest_ptr()
870 reloc = &sw_context->relocs[i]; in vmw_apply_relocations()
Dvmwgfx_drv.h159 struct vmw_relocation relocs[VMWGFX_MAX_RELOCATIONS]; member
/linux-3.4.99/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c425 struct drm_i915_gem_relocation_entry *relocs) in i915_gem_execbuffer_relocate_object_slow() argument
431 ret = i915_gem_execbuffer_relocate_entry(obj, eb, &relocs[i]); in i915_gem_execbuffer_relocate_object_slow()