/linux-2.6.39/arch/m32r/include/asm/ |
D | flat.h | 18 #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/ |
D | evergreen_cs.c | 420 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 …]
|
D | r100_track.h | 105 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 …]
|
D | r200.c | 146 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 …]
|
D | r600_cs.c | 909 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 …]
|
D | r300.c | 627 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 …]
|
D | r100.c | 1367 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/ |
D | i915_gem_execbuffer.c | 275 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/ |
D | rock.c | 297 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/ |
D | flat.h | 6 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/m68k/include/asm/ |
D | flat.h | 10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/arm/include/asm/ |
D | flat.h | 10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | flat.h | 10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/blackfin/include/asm/ |
D | flat.h | 28 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/sh/include/asm/ |
D | flat.h | 17 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/arch/microblaze/include/asm/ |
D | flat.h | 18 #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) argument
|
/linux-2.6.39/fs/ |
D | binfmt_flat.c | 392 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/ |
D | vmwgfx_execbuf.c | 193 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/ |
D | nouveau_gem.c | 460 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/ |
D | flat.h | 95 } reloc; member
|
/linux-2.6.39/arch/x86/xen/ |
D | enlighten.c | 886 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/ |
D | map.c | 485 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/ |
D | Makefile | 12 libdload = dynload/cload.o dynload/getsection.o dynload/reloc.o \
|
/linux-2.6.39/arch/ia64/kernel/ |
D | module.c | 111 #define N(reloc) [R_IA64_##reloc] = #reloc argument
|
/linux-2.6.39/arch/ia64/xen/ |
D | xen_pv_ops.c | 1107 unsigned long reloc = in xen_patch_bundle() local 1109 unsigned long reloc_offset = reloc - (unsigned long) in xen_patch_bundle()
|