reloc 113 arch/ia64/kernel/module.c #define N(reloc) [R_IA64_##reloc] = #reloc reloc 74 arch/parisc/kernel/kexec.c void (*reloc)(unsigned long head, reloc 87 arch/parisc/kernel/kexec.c reloc = (void *)&desc; reloc 90 arch/parisc/kernel/kexec.c reloc = (void *)virt; reloc 105 arch/parisc/kernel/kexec.c reloc(image->head & PAGE_MASK, image->start, phys); reloc 178 arch/x86/boot/compressed/misc.c int *reloc; reloc 231 arch/x86/boot/compressed/misc.c for (reloc = output + output_len - sizeof(*reloc); *reloc; reloc--) { reloc 232 arch/x86/boot/compressed/misc.c long extended = *reloc; reloc 242 arch/x86/boot/compressed/misc.c while (*--reloc) { reloc 243 arch/x86/boot/compressed/misc.c long extended = *reloc; reloc 252 arch/x86/boot/compressed/misc.c for (reloc--; *reloc; reloc--) { reloc 253 arch/x86/boot/compressed/misc.c long extended = *reloc; reloc 891 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c relocation_target(const struct drm_i915_gem_relocation_entry *reloc, reloc 894 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c return gen8_canonical_addr((int)reloc->delta + target->node.start); reloc 1260 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const struct drm_i915_gem_relocation_entry *reloc, reloc 1264 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64 offset = reloc->offset; reloc 1265 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64 target_offset = relocation_target(reloc, target); reloc 1351 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const struct drm_i915_gem_relocation_entry *reloc) reloc 1357 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c target = eb_get_vma(eb, reloc->target_handle); reloc 1362 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { reloc 1366 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->target_handle, reloc 1367 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c (int) reloc->offset, reloc 1368 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->read_domains, reloc 1369 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->write_domain); reloc 1372 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely((reloc->write_domain | reloc->read_domains) reloc 1377 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->target_handle, reloc 1378 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c (int) reloc->offset, reloc 1379 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->read_domains, reloc 1380 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->write_domain); reloc 1384 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (reloc->write_domain) { reloc 1393 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && reloc 1408 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c gen8_canonical_addr(target->node.start) == reloc->presumed_offset) reloc 1412 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(reloc->offset > reloc 1416 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->target_handle, reloc 1417 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c (int)reloc->offset, reloc 1421 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(reloc->offset & 3)) { reloc 1424 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c reloc->target_handle, reloc 1425 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c (int)reloc->offset); reloc 1440 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c return relocate_entry(vma, reloc, eb, target); reloc 95 drivers/gpu/drm/i915/gt/intel_renderstate.c if (i * 4 == rodata->reloc[reloc_index]) { reloc 113 drivers/gpu/drm/i915/gt/intel_renderstate.c if (rodata->reloc[reloc_index] != -1) { reloc 32 drivers/gpu/drm/i915/gt/intel_renderstate.h const u32 *reloc; reloc 39 drivers/gpu/drm/i915/gt/intel_renderstate.h .reloc = gen ## _g ## _null_state_relocs, \ reloc 610 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_nouveau_gem_pushbuf_reloc *reloc = NULL; reloc 614 drivers/gpu/drm/nouveau/nouveau_gem.c reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); reloc 615 drivers/gpu/drm/nouveau/nouveau_gem.c if (IS_ERR(reloc)) reloc 616 drivers/gpu/drm/nouveau/nouveau_gem.c return PTR_ERR(reloc); reloc 619 drivers/gpu/drm/nouveau/nouveau_gem.c struct drm_nouveau_gem_pushbuf_reloc *r = &reloc[i]; reloc 682 drivers/gpu/drm/nouveau/nouveau_gem.c u_free(reloc); reloc 209 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_qxl_reloc reloc; reloc 212 drivers/gpu/drm/qxl/qxl_ioctl.c if (copy_from_user(&reloc, u + i, sizeof(reloc))) { reloc 219 drivers/gpu/drm/qxl/qxl_ioctl.c if (reloc.reloc_type != QXL_RELOC_TYPE_BO && reloc.reloc_type != QXL_RELOC_TYPE_SURF) { reloc 220 drivers/gpu/drm/qxl/qxl_ioctl.c DRM_DEBUG("unknown reloc type %d\n", reloc.reloc_type); reloc 225 drivers/gpu/drm/qxl/qxl_ioctl.c reloc_info[i].type = reloc.reloc_type; reloc 227 drivers/gpu/drm/qxl/qxl_ioctl.c if (reloc.dst_handle) { reloc 228 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxlhw_handle_to_bo(file_priv, reloc.dst_handle, release, reloc 232 drivers/gpu/drm/qxl/qxl_ioctl.c reloc_info[i].dst_offset = reloc.dst_offset; reloc 235 drivers/gpu/drm/qxl/qxl_ioctl.c reloc_info[i].dst_offset = reloc.dst_offset + release->release_offset; reloc 240 drivers/gpu/drm/qxl/qxl_ioctl.c if (reloc.reloc_type == QXL_RELOC_TYPE_BO || reloc.src_handle) { reloc 241 drivers/gpu/drm/qxl/qxl_ioctl.c ret = qxlhw_handle_to_bo(file_priv, reloc.src_handle, release, reloc 245 drivers/gpu/drm/qxl/qxl_ioctl.c reloc_info[i].src_offset = reloc.src_offset; reloc 1097 drivers/gpu/drm/radeon/evergreen_cs.c struct radeon_bo_list *reloc; reloc 1143 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1149 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1172 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1180 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] |= Z_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1181 drivers/gpu/drm/radeon/evergreen_cs.c track->db_z_info |= Z_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1182 drivers/gpu/drm/radeon/evergreen_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 1185 drivers/gpu/drm/radeon/evergreen_cs.c evergreen_tiling_fields(reloc->tiling_flags, reloc 1214 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1221 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1222 drivers/gpu/drm/radeon/evergreen_cs.c track->db_z_read_bo = reloc->robj; reloc 1226 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1233 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1234 drivers/gpu/drm/radeon/evergreen_cs.c track->db_z_write_bo = reloc->robj; reloc 1238 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1245 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1246 drivers/gpu/drm/radeon/evergreen_cs.c track->db_s_read_bo = reloc->robj; reloc 1250 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1257 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1258 drivers/gpu/drm/radeon/evergreen_cs.c track->db_s_write_bo = reloc->robj; reloc 1273 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1281 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1282 drivers/gpu/drm/radeon/evergreen_cs.c track->vgt_strmout_bo[tmp] = reloc->robj; reloc 1295 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1301 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1360 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1366 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1367 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1378 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1384 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1385 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 1439 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1446 drivers/gpu/drm/radeon/evergreen_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 1449 drivers/gpu/drm/radeon/evergreen_cs.c evergreen_tiling_fields(reloc->tiling_flags, reloc 1467 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1474 drivers/gpu/drm/radeon/evergreen_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 1477 drivers/gpu/drm/radeon/evergreen_cs.c evergreen_tiling_fields(reloc->tiling_flags, reloc 1500 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1505 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1506 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_fmask_bo[tmp] = reloc->robj; reloc 1517 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1522 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1523 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_cmask_bo[tmp] = reloc->robj; reloc 1555 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1563 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1564 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo[tmp] = reloc->robj; reloc 1571 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1579 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1580 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo[tmp] = reloc->robj; reloc 1584 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1591 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1592 drivers/gpu/drm/radeon/evergreen_cs.c track->htile_bo = reloc->robj; reloc 1702 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1708 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1716 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1722 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1730 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1736 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1775 drivers/gpu/drm/radeon/evergreen_cs.c struct radeon_bo_list *reloc; reloc 1813 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1819 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 1859 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1865 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 1894 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1900 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 1922 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1928 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 2017 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2023 drivers/gpu/drm/radeon/evergreen_cs.c track->indirect_draw_buffer_size = radeon_bo_size(reloc->robj); reloc 2025 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx+1] = reloc->gpu_offset; reloc 2026 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx+2] = upper_32_bits(reloc->gpu_offset) & 0xff; reloc 2074 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2079 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx+0] = idx_value + (u32)(reloc->gpu_offset & 0xffffffff); reloc 2095 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2101 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 2149 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2158 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + tmp; reloc 2160 drivers/gpu/drm/radeon/evergreen_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { reloc 2162 drivers/gpu/drm/radeon/evergreen_cs.c tmp + size, radeon_bo_size(reloc->robj)); reloc 2187 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2196 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + tmp; reloc 2198 drivers/gpu/drm/radeon/evergreen_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { reloc 2200 drivers/gpu/drm/radeon/evergreen_cs.c tmp + size, radeon_bo_size(reloc->robj)); reloc 2227 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2232 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx+2] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 2243 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2248 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 2264 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2270 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 2286 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2292 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + reloc 2355 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2362 drivers/gpu/drm/radeon/evergreen_cs.c TEX_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); reloc 2363 drivers/gpu/drm/radeon/evergreen_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 2366 drivers/gpu/drm/radeon/evergreen_cs.c evergreen_tiling_fields(reloc->tiling_flags, reloc 2377 drivers/gpu/drm/radeon/evergreen_cs.c texture = reloc->robj; reloc 2378 drivers/gpu/drm/radeon/evergreen_cs.c toffset = (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 2392 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2397 drivers/gpu/drm/radeon/evergreen_cs.c moffset = (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 2398 drivers/gpu/drm/radeon/evergreen_cs.c mipmap = reloc->robj; reloc 2411 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2418 drivers/gpu/drm/radeon/evergreen_cs.c if (p->rdev && (size + offset) > radeon_bo_size(reloc->robj)) { reloc 2421 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx+1+(i*8)+1] = radeon_bo_size(reloc->robj) - offset; reloc 2424 drivers/gpu/drm/radeon/evergreen_cs.c offset64 = reloc->gpu_offset + offset; reloc 2493 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2500 drivers/gpu/drm/radeon/evergreen_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2502 drivers/gpu/drm/radeon/evergreen_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2505 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 2512 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2519 drivers/gpu/drm/radeon/evergreen_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2521 drivers/gpu/drm/radeon/evergreen_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2524 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 2537 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2548 drivers/gpu/drm/radeon/evergreen_cs.c if ((offset + 8) > radeon_bo_size(reloc->robj)) { reloc 2550 drivers/gpu/drm/radeon/evergreen_cs.c offset + 8, radeon_bo_size(reloc->robj)); reloc 2553 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 2566 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2573 drivers/gpu/drm/radeon/evergreen_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2575 drivers/gpu/drm/radeon/evergreen_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2578 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 2593 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2600 drivers/gpu/drm/radeon/evergreen_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2602 drivers/gpu/drm/radeon/evergreen_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2605 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 2643 drivers/gpu/drm/radeon/evergreen_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 2654 drivers/gpu/drm/radeon/evergreen_cs.c offset += reloc->gpu_offset; reloc 1267 drivers/gpu/drm/radeon/r100.c struct radeon_bo_list *reloc; reloc 1270 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1280 drivers/gpu/drm/radeon/r100.c tmp += (((u32)reloc->gpu_offset) >> 10); reloc 1283 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 1285 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MICRO) { reloc 1306 drivers/gpu/drm/radeon/r100.c struct radeon_bo_list *reloc; reloc 1323 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1331 drivers/gpu/drm/radeon/r100.c ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc->gpu_offset); reloc 1334 drivers/gpu/drm/radeon/r100.c track->arrays[i + 0].robj = reloc->robj; reloc 1336 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1343 drivers/gpu/drm/radeon/r100.c ib[idx+2] = radeon_get_ib_value(p, idx + 2) + ((u32)reloc->gpu_offset); reloc 1344 drivers/gpu/drm/radeon/r100.c track->arrays[i + 1].robj = reloc->robj; reloc 1349 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1357 drivers/gpu/drm/radeon/r100.c ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc->gpu_offset); reloc 1358 drivers/gpu/drm/radeon/r100.c track->arrays[i + 0].robj = reloc->robj; reloc 1555 drivers/gpu/drm/radeon/r100.c struct radeon_bo_list *reloc; reloc 1588 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1595 drivers/gpu/drm/radeon/r100.c track->zb.robj = reloc->robj; reloc 1598 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1601 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1608 drivers/gpu/drm/radeon/r100.c track->cb[0].robj = reloc->robj; reloc 1611 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1617 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1625 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 1627 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 1632 drivers/gpu/drm/radeon/r100.c ib[idx] = tmp + ((u32)reloc->gpu_offset); reloc 1634 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1635 drivers/gpu/drm/radeon/r100.c track->textures[i].robj = reloc->robj; reloc 1644 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1652 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1653 drivers/gpu/drm/radeon/r100.c track->textures[0].cube_info[i].robj = reloc->robj; reloc 1662 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1670 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1671 drivers/gpu/drm/radeon/r100.c track->textures[1].cube_info[i].robj = reloc->robj; reloc 1680 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1688 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1689 drivers/gpu/drm/radeon/r100.c track->textures[2].cube_info[i].robj = reloc->robj; reloc 1698 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1706 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 1708 drivers/gpu/drm/radeon/r100.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 1769 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1776 drivers/gpu/drm/radeon/r100.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1913 drivers/gpu/drm/radeon/r100.c struct radeon_bo_list *reloc; reloc 1929 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1935 drivers/gpu/drm/radeon/r100.c ib[idx+1] = radeon_get_ib_value(p, idx+1) + ((u32)reloc->gpu_offset); reloc 1936 drivers/gpu/drm/radeon/r100.c r = r100_cs_track_check_pkt3_indx_buffer(p, pkt, reloc->robj); reloc 1943 drivers/gpu/drm/radeon/r100.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1949 drivers/gpu/drm/radeon/r100.c ib[idx] = radeon_get_ib_value(p, idx) + ((u32)reloc->gpu_offset); reloc 1953 drivers/gpu/drm/radeon/r100.c track->arrays[0].robj = reloc->robj; reloc 149 drivers/gpu/drm/radeon/r200.c struct radeon_bo_list *reloc; reloc 181 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 188 drivers/gpu/drm/radeon/r200.c track->zb.robj = reloc->robj; reloc 191 drivers/gpu/drm/radeon/r200.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 194 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 201 drivers/gpu/drm/radeon/r200.c track->cb[0].robj = reloc->robj; reloc 204 drivers/gpu/drm/radeon/r200.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 213 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 221 drivers/gpu/drm/radeon/r200.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 223 drivers/gpu/drm/radeon/r200.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 228 drivers/gpu/drm/radeon/r200.c ib[idx] = tmp + ((u32)reloc->gpu_offset); reloc 230 drivers/gpu/drm/radeon/r200.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 231 drivers/gpu/drm/radeon/r200.c track->textures[i].robj = reloc->robj; reloc 266 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 274 drivers/gpu/drm/radeon/r200.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 275 drivers/gpu/drm/radeon/r200.c track->textures[i].cube_info[face - 1].robj = reloc->robj; reloc 284 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 293 drivers/gpu/drm/radeon/r200.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 295 drivers/gpu/drm/radeon/r200.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 361 drivers/gpu/drm/radeon/r200.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 368 drivers/gpu/drm/radeon/r200.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 635 drivers/gpu/drm/radeon/r300.c struct radeon_bo_list *reloc; reloc 669 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 676 drivers/gpu/drm/radeon/r300.c track->cb[i].robj = reloc->robj; reloc 679 drivers/gpu/drm/radeon/r300.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 682 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 689 drivers/gpu/drm/radeon/r300.c track->zb.robj = reloc->robj; reloc 692 drivers/gpu/drm/radeon/r300.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 711 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 721 drivers/gpu/drm/radeon/r300.c ((idx_value & ~31) + (u32)reloc->gpu_offset); reloc 723 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 725 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 727 drivers/gpu/drm/radeon/r300.c else if (reloc->tiling_flags & RADEON_TILING_MICRO_SQUARE) reloc 730 drivers/gpu/drm/radeon/r300.c tmp = idx_value + ((u32)reloc->gpu_offset); reloc 734 drivers/gpu/drm/radeon/r300.c track->textures[i].robj = reloc->robj; reloc 784 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 792 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 794 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 796 drivers/gpu/drm/radeon/r300.c else if (reloc->tiling_flags & RADEON_TILING_MICRO_SQUARE) reloc 869 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 877 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 879 drivers/gpu/drm/radeon/r300.c if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 881 drivers/gpu/drm/radeon/r300.c else if (reloc->tiling_flags & RADEON_TILING_MICRO_SQUARE) reloc 1084 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1091 drivers/gpu/drm/radeon/r300.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1126 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1133 drivers/gpu/drm/radeon/r300.c track->aa.robj = reloc->robj; reloc 1136 drivers/gpu/drm/radeon/r300.c ib[idx] = idx_value + ((u32)reloc->gpu_offset); reloc 1179 drivers/gpu/drm/radeon/r300.c struct radeon_bo_list *reloc; reloc 1195 drivers/gpu/drm/radeon/r300.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1201 drivers/gpu/drm/radeon/r300.c ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc->gpu_offset); reloc 1202 drivers/gpu/drm/radeon/r300.c r = r100_cs_track_check_pkt3_indx_buffer(p, pkt, reloc->robj); reloc 972 drivers/gpu/drm/radeon/r600_cs.c struct radeon_bo_list *reloc; reloc 1017 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, 0); reloc 1023 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1035 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1044 drivers/gpu/drm/radeon/r600_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 1077 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1085 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1086 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_bo[tmp] = reloc->robj; reloc 1087 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_bo_mc[tmp] = reloc->gpu_offset; reloc 1100 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1106 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1136 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1143 drivers/gpu/drm/radeon/r600_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) { reloc 1146 drivers/gpu/drm/radeon/r600_cs.c } else if (reloc->tiling_flags & RADEON_TILING_MICRO) { reloc 1208 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1213 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_frag_bo[tmp] = reloc->robj; reloc 1215 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1239 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1244 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_tile_bo[tmp] = reloc->robj; reloc 1246 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1274 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1282 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1284 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo[tmp] = reloc->robj; reloc 1285 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo_mc[tmp] = reloc->gpu_offset; reloc 1289 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1296 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1297 drivers/gpu/drm/radeon/r600_cs.c track->db_bo = reloc->robj; reloc 1298 drivers/gpu/drm/radeon/r600_cs.c track->db_bo_mc = reloc->gpu_offset; reloc 1302 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1309 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1310 drivers/gpu/drm/radeon/r600_cs.c track->htile_bo = reloc->robj; reloc 1372 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1378 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1381 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1387 drivers/gpu/drm/radeon/r600_cs.c ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1629 drivers/gpu/drm/radeon/r600_cs.c struct radeon_bo_list *reloc; reloc 1667 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1673 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + reloc 1708 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1714 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + reloc 1760 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1766 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + reloc 1797 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1806 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + tmp; reloc 1808 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { reloc 1810 drivers/gpu/drm/radeon/r600_cs.c tmp + size, radeon_bo_size(reloc->robj)); reloc 1827 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1836 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + tmp; reloc 1838 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { reloc 1840 drivers/gpu/drm/radeon/r600_cs.c tmp + size, radeon_bo_size(reloc->robj)); reloc 1857 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1862 drivers/gpu/drm/radeon/r600_cs.c ib[idx+2] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1873 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1878 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + reloc 1894 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1900 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + reloc 1960 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1965 drivers/gpu/drm/radeon/r600_cs.c base_offset = (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1967 drivers/gpu/drm/radeon/r600_cs.c if (reloc->tiling_flags & RADEON_TILING_MACRO) reloc 1969 drivers/gpu/drm/radeon/r600_cs.c else if (reloc->tiling_flags & RADEON_TILING_MICRO) reloc 1972 drivers/gpu/drm/radeon/r600_cs.c texture = reloc->robj; reloc 1974 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 1979 drivers/gpu/drm/radeon/r600_cs.c mip_offset = (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 1980 drivers/gpu/drm/radeon/r600_cs.c mipmap = reloc->robj; reloc 1985 drivers/gpu/drm/radeon/r600_cs.c reloc->tiling_flags); reloc 1995 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2002 drivers/gpu/drm/radeon/r600_cs.c if (p->rdev && (size + offset) > radeon_bo_size(reloc->robj)) { reloc 2005 drivers/gpu/drm/radeon/r600_cs.c size + offset, radeon_bo_size(reloc->robj)); reloc 2006 drivers/gpu/drm/radeon/r600_cs.c ib[idx+1+(i*7)+1] = radeon_bo_size(reloc->robj) - offset; reloc 2009 drivers/gpu/drm/radeon/r600_cs.c offset64 = reloc->gpu_offset + offset; reloc 2096 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2102 drivers/gpu/drm/radeon/r600_cs.c if (reloc->robj != track->vgt_strmout_bo[idx_value]) { reloc 2114 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2116 drivers/gpu/drm/radeon/r600_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2119 drivers/gpu/drm/radeon/r600_cs.c ib[idx+1] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); reloc 2140 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2147 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2149 drivers/gpu/drm/radeon/r600_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2152 drivers/gpu/drm/radeon/r600_cs.c offset += reloc->gpu_offset; reloc 2159 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2166 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2168 drivers/gpu/drm/radeon/r600_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2171 drivers/gpu/drm/radeon/r600_cs.c offset += reloc->gpu_offset; reloc 2184 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2195 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 8) > radeon_bo_size(reloc->robj)) { reloc 2197 drivers/gpu/drm/radeon/r600_cs.c offset + 8, radeon_bo_size(reloc->robj)); reloc 2200 drivers/gpu/drm/radeon/r600_cs.c offset += reloc->gpu_offset; reloc 2213 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2220 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2222 drivers/gpu/drm/radeon/r600_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2225 drivers/gpu/drm/radeon/r600_cs.c offset += reloc->gpu_offset; reloc 2237 drivers/gpu/drm/radeon/r600_cs.c r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); reloc 2244 drivers/gpu/drm/radeon/r600_cs.c if ((offset + 4) > radeon_bo_size(reloc->robj)) { reloc 2246 drivers/gpu/drm/radeon/r600_cs.c offset + 4, radeon_bo_size(reloc->robj)); reloc 2249 drivers/gpu/drm/radeon/r600_cs.c offset += reloc->gpu_offset; reloc 254 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_bo_list *reloc; reloc 257 drivers/gpu/drm/radeon/radeon_cs.c list_for_each_entry(reloc, &p->validated, tv.head) { reloc 260 drivers/gpu/drm/radeon/radeon_cs.c resv = reloc->robj->tbo.base.resv; reloc 262 drivers/gpu/drm/radeon/radeon_cs.c reloc->tv.num_shared); reloc 577 drivers/gpu/drm/radeon/radeon_uvd.c struct radeon_bo_list *reloc; reloc 591 drivers/gpu/drm/radeon/radeon_uvd.c reloc = &p->relocs[(idx / 4)]; reloc 592 drivers/gpu/drm/radeon/radeon_uvd.c start = reloc->gpu_offset; reloc 593 drivers/gpu/drm/radeon/radeon_uvd.c end = start + radeon_bo_size(reloc->robj); reloc 637 drivers/gpu/drm/radeon/radeon_uvd.c r = radeon_uvd_cs_msg(p, reloc->robj, offset, buf_sizes); reloc 474 drivers/gpu/drm/radeon/radeon_vce.c struct radeon_bo_list *reloc; reloc 488 drivers/gpu/drm/radeon/radeon_vce.c reloc = &p->relocs[(idx / 4)]; reloc 489 drivers/gpu/drm/radeon/radeon_vce.c start = reloc->gpu_offset; reloc 490 drivers/gpu/drm/radeon/radeon_vce.c end = start + radeon_bo_size(reloc->robj); reloc 427 drivers/gpu/drm/tegra/drm.c struct host1x_reloc *reloc; reloc 436 drivers/gpu/drm/tegra/drm.c reloc = &job->relocs[num_relocs]; reloc 437 drivers/gpu/drm/tegra/drm.c obj = host1x_to_tegra_bo(reloc->cmdbuf.bo); reloc 445 drivers/gpu/drm/tegra/drm.c if (reloc->cmdbuf.offset & 3 || reloc 446 drivers/gpu/drm/tegra/drm.c reloc->cmdbuf.offset >= obj->gem.size) { reloc 451 drivers/gpu/drm/tegra/drm.c obj = host1x_to_tegra_bo(reloc->target.bo); reloc 454 drivers/gpu/drm/tegra/drm.c if (reloc->target.offset >= obj->gem.size) { reloc 1161 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct vmw_relocation *reloc; reloc 1176 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc = vmw_validation_mem_alloc(sw_context->ctx, sizeof(*reloc)); reloc 1177 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (!reloc) reloc 1180 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->mob_loc = id; reloc 1181 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->vbo = vmw_bo; reloc 1184 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c list_add_tail(&reloc->head, &sw_context->bo_relocations); reloc 1216 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct vmw_relocation *reloc; reloc 1231 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc = vmw_validation_mem_alloc(sw_context->ctx, sizeof(*reloc)); reloc 1232 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (!reloc) reloc 1235 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->location = ptr; reloc 1236 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->vbo = vmw_bo; reloc 1238 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c list_add_tail(&reloc->head, &sw_context->bo_relocations); reloc 3301 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c struct vmw_relocation *reloc; reloc 3304 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c list_for_each_entry(reloc, &sw_context->bo_relocations, head) { reloc 3305 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c bo = &reloc->vbo->base; reloc 3308 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->location->offset += bo->offset; reloc 3309 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->location->gmrId = SVGA_GMR_FRAMEBUFFER; reloc 3312 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->location->gmrId = bo->mem.start; reloc 3315 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c *reloc->mob_loc = bo->mem.start; reloc 108 drivers/gpu/host1x/job.c struct host1x_reloc *reloc = &job->relocs[i]; reloc 112 drivers/gpu/host1x/job.c reloc->target.bo = host1x_bo_get(reloc->target.bo); reloc 113 drivers/gpu/host1x/job.c if (!reloc->target.bo) { reloc 118 drivers/gpu/host1x/job.c phys_addr = host1x_bo_pin(reloc->target.bo, &sgt); reloc 121 drivers/gpu/host1x/job.c job->unpins[job->num_unpins].bo = reloc->target.bo; reloc 196 drivers/gpu/host1x/job.c struct host1x_reloc *reloc = &job->relocs[i]; reloc 198 drivers/gpu/host1x/job.c reloc->target.offset) >> reloc->shift; reloc 202 drivers/gpu/host1x/job.c if (cmdbuf != reloc->cmdbuf.bo) reloc 207 drivers/gpu/host1x/job.c reloc->cmdbuf.offset / sizeof(u32) + reloc 212 drivers/gpu/host1x/job.c if (last_page != reloc->cmdbuf.offset >> PAGE_SHIFT) { reloc 218 drivers/gpu/host1x/job.c reloc->cmdbuf.offset >> PAGE_SHIFT); reloc 219 drivers/gpu/host1x/job.c last_page = reloc->cmdbuf.offset >> PAGE_SHIFT; reloc 227 drivers/gpu/host1x/job.c target = cmdbuf_page_addr + (reloc->cmdbuf.offset & ~PAGE_MASK); reloc 238 drivers/gpu/host1x/job.c static bool check_reloc(struct host1x_reloc *reloc, struct host1x_bo *cmdbuf, reloc 243 drivers/gpu/host1x/job.c if (reloc->cmdbuf.bo != cmdbuf || reloc->cmdbuf.offset != offset) reloc 247 drivers/gpu/host1x/job.c if (reloc->shift) reloc 258 drivers/gpu/host1x/job.c struct host1x_reloc *reloc; reloc 279 drivers/gpu/host1x/job.c if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) reloc 283 drivers/gpu/host1x/job.c fw->reloc++; reloc 449 drivers/gpu/host1x/job.c fw.reloc = job->relocs; reloc 393 fs/binfmt_flat.c ptr = (unsigned long __user *)(current->mm->start_code + r.reloc.offset); reloc 395 fs/binfmt_flat.c ptr = (unsigned long __user *)(current->mm->start_data + r.reloc.offset); reloc 401 fs/binfmt_flat.c r.reloc.offset, ptr, val, segment[r.reloc.type]); reloc 403 fs/binfmt_flat.c switch (r.reloc.type) { reloc 414 fs/binfmt_flat.c pr_err("Unknown relocation type=%x\n", r.reloc.type); reloc 432 fs/binfmt_flat.c __be32 __user *reloc; reloc 612 fs/binfmt_flat.c reloc = (__be32 __user *) reloc 635 fs/binfmt_flat.c reloc = (__be32 __user *) reloc 807 fs/binfmt_flat.c if (get_user(tmp, reloc + i)) reloc 850 fs/binfmt_flat.c if (get_user(relval, reloc + i)) reloc 315 fs/isofs/rock.c struct inode *reloc; reloc 524 fs/isofs/rock.c reloc = isofs_iget_reloc(inode->i_sb, reloc_block, 0); reloc 525 fs/isofs/rock.c if (IS_ERR(reloc)) { reloc 526 fs/isofs/rock.c ret = PTR_ERR(reloc); reloc 529 fs/isofs/rock.c inode->i_mode = reloc->i_mode; reloc 530 fs/isofs/rock.c set_nlink(inode, reloc->i_nlink); reloc 531 fs/isofs/rock.c inode->i_uid = reloc->i_uid; reloc 532 fs/isofs/rock.c inode->i_gid = reloc->i_gid; reloc 533 fs/isofs/rock.c inode->i_rdev = reloc->i_rdev; reloc 534 fs/isofs/rock.c inode->i_size = reloc->i_size; reloc 535 fs/isofs/rock.c inode->i_blocks = reloc->i_blocks; reloc 536 fs/isofs/rock.c inode->i_atime = reloc->i_atime; reloc 537 fs/isofs/rock.c inode->i_ctime = reloc->i_ctime; reloc 538 fs/isofs/rock.c inode->i_mtime = reloc->i_mtime; reloc 539 fs/isofs/rock.c iput(reloc); reloc 76 include/linux/flat.h } reloc; reloc 2786 sound/pci/hda/patch_ca0132.c unsigned int reloc, reloc 2835 sound/pci/hda/patch_ca0132.c if (reloc) reloc 2836 sound/pci/hda/patch_ca0132.c chip_addx = (chip_addx & (0xFFFF0000 << 2)) + (reloc << 2); reloc 2982 sound/pci/hda/patch_ca0132.c unsigned int reloc, reloc 3064 sound/pci/hda/patch_ca0132.c status = dspxfr_one_seg(codec, fls_data, reloc, reloc 3136 sound/pci/hda/patch_ca0132.c unsigned int reloc, reloc 3169 sound/pci/hda/patch_ca0132.c status = dspxfr_image(codec, fls, reloc, sample_rate, channels, reloc 270 tools/lib/bpf/libbpf.c } *reloc; reloc 550 tools/lib/bpf/libbpf.c zfree(&obj->efile.reloc); reloc 1618 tools/lib/bpf/libbpf.c void *reloc = obj->efile.reloc; reloc 1628 tools/lib/bpf/libbpf.c reloc = reallocarray(reloc, nr_reloc + 1, reloc 1629 tools/lib/bpf/libbpf.c sizeof(*obj->efile.reloc)); reloc 1630 tools/lib/bpf/libbpf.c if (!reloc) { reloc 1635 tools/lib/bpf/libbpf.c obj->efile.reloc = reloc; reloc 1638 tools/lib/bpf/libbpf.c obj->efile.reloc[nr_reloc].shdr = sh; reloc 1639 tools/lib/bpf/libbpf.c obj->efile.reloc[nr_reloc].data = data; reloc 3340 tools/lib/bpf/libbpf.c GElf_Shdr *shdr = &obj->efile.reloc[i].shdr; reloc 3341 tools/lib/bpf/libbpf.c Elf_Data *data = obj->efile.reloc[i].data; reloc 138 tools/perf/util/map.c map->reloc = 0; reloc 542 tools/perf/util/map.c return map->unmap_ip(map, rip) - map->reloc; reloc 572 tools/perf/util/map.c return ip + map->reloc; reloc 34 tools/perf/util/map.h u64 reloc; reloc 121 tools/perf/util/probe-event.c bool reloc, bool reladdr) reloc 130 tools/perf/util/probe-event.c *addr = (reloc) ? reloc_sym->addr : reloc_sym->unrelocated_addr; reloc 136 tools/perf/util/probe-event.c ((reloc) ? 0 : map->reloc) - reloc 376 tools/perf/util/probe-event.c address = map->unmap_ip(map, sym->start) - map->reloc; reloc 1044 tools/perf/util/symbol-elf.c map->reloc = kmap->ref_reloc_sym->addr - reloc 1055 tools/perf/util/symbol-elf.c map->reloc = map->start - dso->text_offset;