Home
last modified time | relevance | path

Searched refs:reloc (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.6.39/arch/m32r/include/asm/
Dflat.h18 #define flat_reloc_valid(reloc, size) \ argument
19 (((reloc) - textlen_for_m32r_lo16_data) <= (size))
64 unsigned int reloc = flat_m32r_get_reloc_type (relval); in m32r_flat_get_addr_from_rp() local
66 if (reloc & 0xf0) { in m32r_flat_get_addr_from_rp()
68 switch (reloc & 0xf0) in m32r_flat_get_addr_from_rp()
74 *rp = (M32R_SETH_OPCODE | ((reloc & 0x0f)<<24)); in m32r_flat_get_addr_from_rp()
81 switch (reloc) in m32r_flat_get_addr_from_rp()
107 unsigned int reloc = flat_m32r_get_reloc_type (relval); in m32r_flat_put_addr_at_rp() local
108 if (reloc & 0xf0) { in m32r_flat_put_addr_at_rp()
109 unsigned long Rn = reloc & 0x0f; /* get a number of register */ in m32r_flat_put_addr_at_rp()
[all …]
/linux-2.6.39/drivers/gpu/drm/radeon/
Devergreen_cs.c420 struct radeon_cs_reloc *reloc; in evergreen_cs_check_reg() local
485 r = evergreen_cs_packet_next_reloc(p, &reloc); in evergreen_cs_check_reg()
491 ib[idx] += (u32)((reloc->lobj.gpu_offset >> 8) & 0xffffffff); in evergreen_cs_check_reg()
511 r = evergreen_cs_packet_next_reloc(p, &reloc); in evergreen_cs_check_reg()
520 if (reloc->lobj.tiling_flags & RADEON_TILING_MACRO) { in evergreen_cs_check_reg()
539 r = evergreen_cs_packet_next_reloc(p, &reloc); in evergreen_cs_check_reg()
546 ib[idx] += (u32)((reloc->lobj.gpu_offset >> 8) & 0xffffffff); in evergreen_cs_check_reg()
547 track->db_z_read_bo = reloc->robj; in evergreen_cs_check_reg()
550 r = evergreen_cs_packet_next_reloc(p, &reloc); in evergreen_cs_check_reg()
557 ib[idx] += (u32)((reloc->lobj.gpu_offset >> 8) & 0xffffffff); in evergreen_cs_check_reg()
[all …]
Dr100_track.h105 struct radeon_cs_reloc *reloc; in r100_reloc_pitch_offset() local
108 r = r100_cs_packet_next_reloc(p, &reloc); in r100_reloc_pitch_offset()
117 tmp += (((u32)reloc->lobj.gpu_offset) >> 10); in r100_reloc_pitch_offset()
119 if (reloc->lobj.tiling_flags & RADEON_TILING_MACRO) in r100_reloc_pitch_offset()
121 if (reloc->lobj.tiling_flags & RADEON_TILING_MICRO) { in r100_reloc_pitch_offset()
140 struct radeon_cs_reloc *reloc; in r100_packet3_load_vbpntr() local
151 r = r100_cs_packet_next_reloc(p, &reloc); in r100_packet3_load_vbpntr()
159 ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc->lobj.gpu_offset); in r100_packet3_load_vbpntr()
162 track->arrays[i + 0].robj = reloc->robj; in r100_packet3_load_vbpntr()
164 r = r100_cs_packet_next_reloc(p, &reloc); in r100_packet3_load_vbpntr()
[all …]
Dr200.c146 struct radeon_cs_reloc *reloc; in r200_packet0_check() local
178 r = r100_cs_packet_next_reloc(p, &reloc); in r200_packet0_check()
185 track->zb.robj = reloc->robj; in r200_packet0_check()
188 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r200_packet0_check()
191 r = r100_cs_packet_next_reloc(p, &reloc); in r200_packet0_check()
198 track->cb[0].robj = reloc->robj; in r200_packet0_check()
201 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r200_packet0_check()
210 r = r100_cs_packet_next_reloc(p, &reloc); in r200_packet0_check()
217 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r200_packet0_check()
218 track->textures[i].robj = reloc->robj; in r200_packet0_check()
[all …]
Dr600_cs.c909 struct radeon_cs_reloc *reloc; in r600_cs_check_reg() local
957 r = r600_cs_packet_next_reloc(p, &reloc); in r600_cs_check_reg()
966 if (reloc->lobj.tiling_flags & RADEON_TILING_MACRO) { in r600_cs_check_reg()
1008 r = r600_cs_packet_next_reloc(p, &reloc); in r600_cs_check_reg()
1015 if (reloc->lobj.tiling_flags & RADEON_TILING_MACRO) { in r600_cs_check_reg()
1018 } else if (reloc->lobj.tiling_flags & RADEON_TILING_MICRO) { in r600_cs_check_reg()
1065 r = r600_cs_packet_next_reloc(p, &reloc); in r600_cs_check_reg()
1070 ib[idx] += (u32)((reloc->lobj.gpu_offset >> 8) & 0xffffffff); in r600_cs_check_reg()
1071 track->cb_color_frag_bo[tmp] = reloc->robj; in r600_cs_check_reg()
1091 r = r600_cs_packet_next_reloc(p, &reloc); in r600_cs_check_reg()
[all …]
Dr300.c627 struct radeon_cs_reloc *reloc; in r300_packet0_check() local
661 r = r100_cs_packet_next_reloc(p, &reloc); in r300_packet0_check()
668 track->cb[i].robj = reloc->robj; in r300_packet0_check()
671 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r300_packet0_check()
674 r = r100_cs_packet_next_reloc(p, &reloc); in r300_packet0_check()
681 track->zb.robj = reloc->robj; in r300_packet0_check()
684 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r300_packet0_check()
703 r = r100_cs_packet_next_reloc(p, &reloc); in r300_packet0_check()
711 if (reloc->lobj.tiling_flags & RADEON_TILING_MACRO) in r300_packet0_check()
713 if (reloc->lobj.tiling_flags & RADEON_TILING_MICRO) in r300_packet0_check()
[all …]
Dr100.c1367 struct radeon_cs_reloc *reloc; in r100_packet0_check() local
1400 r = r100_cs_packet_next_reloc(p, &reloc); in r100_packet0_check()
1407 track->zb.robj = reloc->robj; in r100_packet0_check()
1410 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r100_packet0_check()
1413 r = r100_cs_packet_next_reloc(p, &reloc); in r100_packet0_check()
1420 track->cb[0].robj = reloc->robj; in r100_packet0_check()
1423 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r100_packet0_check()
1429 r = r100_cs_packet_next_reloc(p, &reloc); in r100_packet0_check()
1436 ib[idx] = idx_value + ((u32)reloc->lobj.gpu_offset); in r100_packet0_check()
1437 track->textures[i].robj = reloc->robj; in r100_packet0_check()
[all …]
/linux-2.6.39/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c275 struct drm_i915_gem_relocation_entry *reloc) in i915_gem_execbuffer_relocate_entry() argument
283 target_obj = &eb_get_object(eb, reloc->target_handle)->base; in i915_gem_execbuffer_relocate_entry()
294 reloc->target_handle); in i915_gem_execbuffer_relocate_entry()
299 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in i915_gem_execbuffer_relocate_entry()
303 obj, reloc->target_handle, in i915_gem_execbuffer_relocate_entry()
304 (int) reloc->offset, in i915_gem_execbuffer_relocate_entry()
305 reloc->read_domains, in i915_gem_execbuffer_relocate_entry()
306 reloc->write_domain); in i915_gem_execbuffer_relocate_entry()
309 if (unlikely((reloc->write_domain | reloc->read_domains) & I915_GEM_DOMAIN_CPU)) { in i915_gem_execbuffer_relocate_entry()
313 obj, reloc->target_handle, in i915_gem_execbuffer_relocate_entry()
[all …]
/linux-2.6.39/fs/isofs/
Drock.c297 struct inode *reloc; in parse_rock_ridge_inode_internal() local
490 reloc = in parse_rock_ridge_inode_internal()
494 if (IS_ERR(reloc)) { in parse_rock_ridge_inode_internal()
495 ret = PTR_ERR(reloc); in parse_rock_ridge_inode_internal()
498 inode->i_mode = reloc->i_mode; in parse_rock_ridge_inode_internal()
499 inode->i_nlink = reloc->i_nlink; in parse_rock_ridge_inode_internal()
500 inode->i_uid = reloc->i_uid; in parse_rock_ridge_inode_internal()
501 inode->i_gid = reloc->i_gid; in parse_rock_ridge_inode_internal()
502 inode->i_rdev = reloc->i_rdev; in parse_rock_ridge_inode_internal()
503 inode->i_size = reloc->i_size; in parse_rock_ridge_inode_internal()
[all …]
/linux-2.6.39/arch/xtensa/include/asm/
Dflat.h6 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/m68k/include/asm/
Dflat.h10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/arm/include/asm/
Dflat.h10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/h8300/include/asm/
Dflat.h10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/blackfin/include/asm/
Dflat.h28 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/sh/include/asm/
Dflat.h17 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/arch/microblaze/include/asm/
Dflat.h18 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
/linux-2.6.39/fs/
Dbinfmt_flat.c392 ptr = (unsigned long *) (current->mm->start_code + r.reloc.offset); in old_reloc()
394 ptr = (unsigned long *) (current->mm->start_data + r.reloc.offset); in old_reloc()
400 r.reloc.offset, ptr, (int)*ptr, segment[r.reloc.type]); in old_reloc()
403 switch (r.reloc.type) { in old_reloc()
414 printk("BINFMT_FLAT: Unknown relocation type=%x\n", r.reloc.type); in old_reloc()
434 unsigned long *reloc = 0, *rp; in load_flat_file() local
600 reloc = (unsigned long *) (datapos+(ntohl(hdr->reloc_start)-text_len)); in load_flat_file()
626 reloc = (unsigned long *) in load_flat_file()
760 relval = ntohl(reloc[i]); in load_flat_file()
792 old_reloc(ntohl(reloc[i])); in load_flat_file()
/linux-2.6.39/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c193 struct vmw_relocation *reloc; in vmw_translate_guest_ptr() local
212 reloc = &sw_context->relocs[sw_context->cur_reloc++]; in vmw_translate_guest_ptr()
213 reloc->location = ptr; in vmw_translate_guest_ptr()
223 reloc->index = cur_validate_node; in vmw_translate_guest_ptr()
533 struct vmw_relocation *reloc; in vmw_apply_relocations() local
538 reloc = &sw_context->relocs[i]; in vmw_apply_relocations()
539 validate = &sw_context->val_bufs[reloc->index]; in vmw_apply_relocations()
542 reloc->location->offset += bo->offset; in vmw_apply_relocations()
543 reloc->location->gmrId = SVGA_GMR_FRAMEBUFFER; in vmw_apply_relocations()
545 reloc->location->gmrId = bo->mem.start; in vmw_apply_relocations()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_gem.c460 struct drm_nouveau_gem_pushbuf_reloc *reloc = NULL; in nouveau_gem_pushbuf_reloc_apply() local
464 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); in nouveau_gem_pushbuf_reloc_apply()
465 if (IS_ERR(reloc)) in nouveau_gem_pushbuf_reloc_apply()
466 return PTR_ERR(reloc); in nouveau_gem_pushbuf_reloc_apply()
469 struct drm_nouveau_gem_pushbuf_reloc *r = &reloc[i]; in nouveau_gem_pushbuf_reloc_apply()
534 kfree(reloc); in nouveau_gem_pushbuf_reloc_apply()
/linux-2.6.39/include/linux/
Dflat.h95 } reloc; member
/linux-2.6.39/arch/x86/xen/
Denlighten.c886 char *start, *end, *reloc; in xen_patch() local
889 start = end = reloc = NULL; in xen_patch()
896 reloc = xen_##x##_direct_reloc; \ in xen_patch()
917 if (reloc > start && reloc < end) { in xen_patch()
918 int reloc_off = reloc - start; in xen_patch()
/linux-2.6.39/tools/perf/util/
Dmap.c485 s64 reloc; in map__reloc_vmlinux() local
490 reloc = (kmap->ref_reloc_sym->unrelocated_addr - in map__reloc_vmlinux()
493 if (!reloc) in map__reloc_vmlinux()
498 self->pgoff = reloc; in map__reloc_vmlinux()
/linux-2.6.39/drivers/staging/tidspbridge/
DMakefile12 libdload = dynload/cload.o dynload/getsection.o dynload/reloc.o \
/linux-2.6.39/arch/ia64/kernel/
Dmodule.c111 #define N(reloc) [R_IA64_##reloc] = #reloc argument
/linux-2.6.39/arch/ia64/xen/
Dxen_pv_ops.c1107 unsigned long reloc = in xen_patch_bundle() local
1109 unsigned long reloc_offset = reloc - (unsigned long) in xen_patch_bundle()

12