cursor 763 arch/powerpc/kvm/book3s_hv_nested.c struct rmap_nested *cursor; cursor 774 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) { cursor 829 arch/powerpc/kvm/book3s_hv_nested.c struct rmap_nested *cursor; cursor 838 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) cursor 867 arch/powerpc/kvm/book3s_hv_nested.c struct rmap_nested *cursor; cursor 870 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) { cursor 872 arch/powerpc/kvm/book3s_hv_nested.c kfree(cursor); cursor 905 arch/powerpc/kvm/book3s_hv_nested.c struct rmap_nested *cursor; cursor 909 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) cursor 910 arch/powerpc/kvm/book3s_hv_nested.c kfree(cursor); cursor 336 arch/x86/kernel/uprobes.c u8 *cursor; cursor 349 arch/x86/kernel/uprobes.c cursor = auprobe->insn + insn_offset_rex_prefix(insn); cursor 351 arch/x86/kernel/uprobes.c *cursor &= 0xfe; cursor 368 arch/x86/kernel/uprobes.c cursor = auprobe->insn + insn_offset_vex_prefix(insn) + 1; cursor 369 arch/x86/kernel/uprobes.c *cursor |= 0x60; cursor 446 arch/x86/kernel/uprobes.c cursor = auprobe->insn + insn_offset_modrm(insn); cursor 452 arch/x86/kernel/uprobes.c *cursor = 0x80 | (reg << 3) | reg2; cursor 810 arch/x86/mm/pat.c u64 cursor = from; cursor 815 arch/x86/mm/pat.c while (cursor < to) { cursor 818 arch/x86/mm/pat.c cursor += PAGE_SIZE; cursor 455 block/blk-iocost.c sector_t cursor; /* to detect randio */ cursor 1659 block/blk-iocost.c if (iocg->cursor) { cursor 1660 block/blk-iocost.c seek_pages = abs(bio->bi_iter.bi_sector - iocg->cursor); cursor 1707 block/blk-iocost.c iocg->cursor = bio_end_sector(bio); cursor 1835 block/blk-iocost.c blk_rq_pos(rq) + blk_rq_sectors(rq) == iocg->cursor) cursor 1836 block/blk-iocost.c iocg->cursor = bio_end; cursor 599 crypto/asymmetric_keys/asymmetric_type.c struct asymmetric_key_parser *cursor; cursor 604 crypto/asymmetric_keys/asymmetric_type.c list_for_each_entry(cursor, &asymmetric_key_parsers, link) { cursor 605 crypto/asymmetric_keys/asymmetric_type.c if (strcmp(cursor->name, parser->name) == 0) { cursor 32 crypto/asymmetric_keys/verify_pefile.c size_t cursor, datalen = pelen; cursor 45 crypto/asymmetric_keys/verify_pefile.c cursor = sizeof(*mz); cursor 47 crypto/asymmetric_keys/verify_pefile.c chkaddr(cursor, mz->peaddr, sizeof(*pe)); cursor 51 crypto/asymmetric_keys/verify_pefile.c cursor = mz->peaddr + sizeof(*pe); cursor 53 crypto/asymmetric_keys/verify_pefile.c chkaddr(0, cursor, sizeof(pe32->magic)); cursor 54 crypto/asymmetric_keys/verify_pefile.c pe32 = pebuf + cursor; cursor 55 crypto/asymmetric_keys/verify_pefile.c pe64 = pebuf + cursor; cursor 59 crypto/asymmetric_keys/verify_pefile.c chkaddr(0, cursor, sizeof(*pe32)); cursor 63 crypto/asymmetric_keys/verify_pefile.c cursor += sizeof(*pe32); cursor 68 crypto/asymmetric_keys/verify_pefile.c chkaddr(0, cursor, sizeof(*pe64)); cursor 72 crypto/asymmetric_keys/verify_pefile.c cursor += sizeof(*pe64); cursor 84 crypto/asymmetric_keys/verify_pefile.c if (cursor >= ctx->header_size || ctx->header_size >= datalen) cursor 87 crypto/asymmetric_keys/verify_pefile.c if (ctx->n_data_dirents > (ctx->header_size - cursor) / sizeof(*dde)) cursor 90 crypto/asymmetric_keys/verify_pefile.c ddir = pebuf + cursor; cursor 91 crypto/asymmetric_keys/verify_pefile.c cursor += sizeof(*dde) * ctx->n_data_dirents; cursor 111 crypto/asymmetric_keys/verify_pefile.c if (ctx->n_sections > (ctx->header_size - cursor) / sizeof(*sec)) cursor 113 crypto/asymmetric_keys/verify_pefile.c ctx->secs = secs = pebuf + cursor; cursor 368 drivers/ata/libata-eh.c ering->cursor++; cursor 369 drivers/ata/libata-eh.c ering->cursor %= ATA_ERING_SIZE; cursor 371 drivers/ata/libata-eh.c ent = &ering->ring[ering->cursor]; cursor 379 drivers/ata/libata-eh.c struct ata_ering_entry *ent = &ering->ring[ering->cursor]; cursor 393 drivers/ata/libata-eh.c idx = ering->cursor; cursor 402 drivers/ata/libata-eh.c } while (idx != ering->cursor); cursor 72 drivers/char/mem.c u64 cursor = from; cursor 74 drivers/char/mem.c while (cursor < to) { cursor 77 drivers/char/mem.c cursor += PAGE_SIZE; cursor 114 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, cursor 2063 drivers/dma/ppc4xx/adma.c static void ppc440spe_init_rxor_cursor(struct ppc440spe_rxor *cursor); cursor 3225 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, int src_cnt) cursor 3227 drivers/dma/ppc4xx/adma.c cursor->addr_count++; cursor 3229 drivers/dma/ppc4xx/adma.c ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count); cursor 3230 drivers/dma/ppc4xx/adma.c } else if (cursor->addr_count == XOR_MAX_OPS) { cursor 3231 drivers/dma/ppc4xx/adma.c ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count); cursor 3232 drivers/dma/ppc4xx/adma.c cursor->addr_count = 0; cursor 3233 drivers/dma/ppc4xx/adma.c cursor->desc_count++; cursor 3242 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, cursor 3250 drivers/dma/ppc4xx/adma.c for (i = 0; i < cursor->desc_count; i++) { cursor 3256 drivers/dma/ppc4xx/adma.c switch (cursor->state) { cursor 3258 drivers/dma/ppc4xx/adma.c if (addr == cursor->addrl + cursor->len) { cursor 3260 drivers/dma/ppc4xx/adma.c cursor->state = 1; cursor 3261 drivers/dma/ppc4xx/adma.c cursor->xor_count++; cursor 3264 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3267 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3269 drivers/dma/ppc4xx/adma.c } else if (cursor->addrl == addr + cursor->len) { cursor 3271 drivers/dma/ppc4xx/adma.c cursor->state = 1; cursor 3272 drivers/dma/ppc4xx/adma.c cursor->xor_count++; cursor 3273 drivers/dma/ppc4xx/adma.c set_bit(cursor->addr_count, &desc->reverse_flags[0]); cursor 3276 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3279 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3288 drivers/dma/ppc4xx/adma.c sign = test_bit(cursor->addr_count, cursor 3292 drivers/dma/ppc4xx/adma.c && addr != cursor->addrl - 2*cursor->len)) { cursor 3293 drivers/dma/ppc4xx/adma.c cursor->state = 0; cursor 3294 drivers/dma/ppc4xx/adma.c cursor->xor_count = 1; cursor 3295 drivers/dma/ppc4xx/adma.c cursor->addrl = addr; cursor 3297 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3300 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3301 drivers/dma/ppc4xx/adma.c } else if (addr == cursor->addrl + 2*sign*cursor->len) { cursor 3302 drivers/dma/ppc4xx/adma.c cursor->state = 2; cursor 3303 drivers/dma/ppc4xx/adma.c cursor->xor_count = 0; cursor 3305 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3309 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3311 drivers/dma/ppc4xx/adma.c } else if (addr == cursor->addrl + 3*cursor->len) { cursor 3312 drivers/dma/ppc4xx/adma.c cursor->state = 2; cursor 3313 drivers/dma/ppc4xx/adma.c cursor->xor_count = 0; cursor 3315 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3319 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3321 drivers/dma/ppc4xx/adma.c } else if (addr == cursor->addrl + 4*cursor->len) { cursor 3322 drivers/dma/ppc4xx/adma.c cursor->state = 2; cursor 3323 drivers/dma/ppc4xx/adma.c cursor->xor_count = 0; cursor 3325 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3329 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3332 drivers/dma/ppc4xx/adma.c cursor->state = 0; cursor 3333 drivers/dma/ppc4xx/adma.c cursor->xor_count = 1; cursor 3334 drivers/dma/ppc4xx/adma.c cursor->addrl = addr; cursor 3336 drivers/dma/ppc4xx/adma.c cursor->addr_count, cursor 3339 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3343 drivers/dma/ppc4xx/adma.c cursor->state = 0; cursor 3344 drivers/dma/ppc4xx/adma.c cursor->addrl = addr; cursor 3345 drivers/dma/ppc4xx/adma.c cursor->xor_count++; cursor 3348 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); cursor 3439 drivers/dma/ppc4xx/adma.c static void ppc440spe_init_rxor_cursor(struct ppc440spe_rxor *cursor) cursor 3441 drivers/dma/ppc4xx/adma.c memset(cursor, 0, sizeof(struct ppc440spe_rxor)); cursor 3442 drivers/dma/ppc4xx/adma.c cursor->state = 2; cursor 23 drivers/firmware/google/memconsole-coreboot.c u32 cursor; cursor 42 drivers/firmware/google/memconsole-coreboot.c u32 cursor = cbmem_console->cursor & CURSOR_MASK; cursor 43 drivers/firmware/google/memconsole-coreboot.c u32 flags = cbmem_console->cursor & ~CURSOR_MASK; cursor 53 drivers/firmware/google/memconsole-coreboot.c if (cursor > size) /* Shouldn't really happen, but... */ cursor 54 drivers/firmware/google/memconsole-coreboot.c cursor = 0; cursor 55 drivers/firmware/google/memconsole-coreboot.c seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; cursor 56 drivers/firmware/google/memconsole-coreboot.c seg[1] = (struct seg){.phys = 0, .len = cursor}; cursor 58 drivers/firmware/google/memconsole-coreboot.c seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; cursor 366 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 368 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->pfn = start; cursor 369 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->parent = NULL; cursor 370 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->entry = &vm->root; cursor 371 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->level = adev->vm_manager.root_level; cursor 385 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 389 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!cursor->entry->entries) cursor 392 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c BUG_ON(!cursor->entry->base.bo); cursor 393 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mask = amdgpu_vm_entries_mask(adev, cursor->level); cursor 394 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor->level); cursor 396 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ++cursor->level; cursor 397 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c idx = (cursor->pfn >> shift) & mask; cursor 398 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->parent = cursor->entry; cursor 399 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->entry = &cursor->entry->entries[idx]; cursor 414 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 419 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!cursor->parent) cursor 423 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor->level - 1); cursor 424 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c num_entries = amdgpu_vm_num_entries(adev, cursor->level - 1); cursor 426 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor->entry == &cursor->parent->entries[num_entries - 1]) cursor 429 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->pfn += 1ULL << shift; cursor 430 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->pfn &= ~((1ULL << shift) - 1); cursor 431 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ++cursor->entry; cursor 444 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static bool amdgpu_vm_pt_ancestor(struct amdgpu_vm_pt_cursor *cursor) cursor 446 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!cursor->parent) cursor 449 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c --cursor->level; cursor 450 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->entry = cursor->parent; cursor 451 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->parent = amdgpu_vm_pt_parent(cursor->parent); cursor 464 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 467 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (amdgpu_vm_pt_descendant(adev, cursor)) cursor 471 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (!amdgpu_vm_pt_sibling(adev, cursor)) { cursor 473 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!amdgpu_vm_pt_ancestor(cursor)) { cursor 474 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->pfn = ~0ll; cursor 492 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 495 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c *cursor = *start; cursor 497 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_pt_start(adev, vm, 0, cursor); cursor 498 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (amdgpu_vm_pt_descendant(adev, cursor)); cursor 525 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 527 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!cursor->entry) cursor 530 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!cursor->parent) cursor 531 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor->entry = NULL; cursor 532 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c else if (amdgpu_vm_pt_sibling(adev, cursor)) cursor 533 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (amdgpu_vm_pt_descendant(adev, cursor)); cursor 535 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_pt_ancestor(cursor); cursor 541 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c #define for_each_amdgpu_vm_pt_dfs_safe(adev, vm, start, cursor, entry) \ cursor 542 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c for (amdgpu_vm_pt_first_dfs((adev), (vm), (start), &(cursor)), \ cursor 543 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c (entry) = (cursor).entry, amdgpu_vm_pt_next_dfs((adev), &(cursor));\ cursor 545 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c (entry) = (cursor).entry, amdgpu_vm_pt_next_dfs((adev), &(cursor))) cursor 853 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor *cursor) cursor 855 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt *entry = cursor->entry; cursor 860 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor->level < AMDGPU_VM_PTB && !entry->entries) { cursor 863 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c num_entries = amdgpu_vm_num_entries(adev, cursor->level); cursor 874 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_bo_param(adev, vm, cursor->level, &bp); cursor 883 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c pt->parent = amdgpu_bo_ref(cursor->parent->base.bo); cursor 928 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor cursor; cursor 933 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c for_each_amdgpu_vm_pt_dfs_safe(adev, vm, start, cursor, entry) cursor 1219 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor cursor; cursor 1222 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c for_each_amdgpu_vm_pt_dfs_safe(adev, vm, NULL, cursor, entry) cursor 1385 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_pt_cursor cursor; cursor 1394 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_pt_start(adev, params->vm, start, &cursor); cursor 1395 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (cursor.pfn < end) { cursor 1400 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c r = amdgpu_vm_alloc_pts(params->adev, params->vm, &cursor); cursor 1404 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c pt = cursor.entry->base.bo; cursor 1407 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor.level == adev->vm_manager.root_level) { cursor 1408 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!amdgpu_vm_pt_descendant(adev, &cursor)) cursor 1413 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c shift = amdgpu_vm_level_shift(adev, cursor.level); cursor 1414 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c parent_shift = amdgpu_vm_level_shift(adev, cursor.level - 1); cursor 1418 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (cursor.level != AMDGPU_VM_PTB) { cursor 1419 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!amdgpu_vm_pt_descendant(adev, &cursor)) cursor 1428 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!amdgpu_vm_pt_descendant(adev, &cursor)) cursor 1432 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c cursor.level - 1 != adev->vm_manager.root_level) { cursor 1437 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (!amdgpu_vm_pt_ancestor(&cursor)) cursor 1444 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mask = amdgpu_vm_entries_mask(adev, cursor.level); cursor 1445 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c pe_start = ((cursor.pfn >> shift) & mask) * 8; cursor 1447 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c entry_end += cursor.pfn & ~(entry_end - 1); cursor 1454 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_update_flags(params, pt, cursor.level, cursor 1471 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (amdgpu_vm_pt_descendant(adev, &cursor)) { cursor 1473 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (cursor.pfn < frag_start) { cursor 1474 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_free_pts(adev, params->vm, &cursor); cursor 1475 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_pt_next(adev, &cursor); cursor 1480 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_pt_next(adev, &cursor); cursor 482 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c struct atmel_hlcdc_plane *primary = NULL, *cursor = NULL; cursor 504 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c cursor = atmel_hlcdc_layer_to_plane(dc->layers[i]); cursor 513 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c &cursor->base, &atmel_hlcdc_crtc_funcs, cursor 2865 drivers/gpu/drm/drm_atomic_helper.c if (plane == crtc->cursor) cursor 2903 drivers/gpu/drm/drm_atomic_helper.c if (plane_state->crtc && plane_state->crtc->cursor == plane) cursor 228 drivers/gpu/drm/drm_crtc.c struct drm_plane *cursor, cursor 236 drivers/gpu/drm/drm_crtc.c WARN_ON(cursor && cursor->type != DRM_PLANE_TYPE_CURSOR); cursor 283 drivers/gpu/drm/drm_crtc.c crtc->cursor = cursor; cursor 286 drivers/gpu/drm/drm_crtc.c if (cursor && !cursor->possible_crtcs) cursor 287 drivers/gpu/drm/drm_crtc.c cursor->possible_crtcs = drm_crtc_mask(crtc); cursor 450 drivers/gpu/drm/drm_lease.c if (crtc->cursor) { cursor 451 drivers/gpu/drm/drm_lease.c ret = idr_alloc(leases, &drm_lease_idr_object, crtc->cursor->base.id, crtc->cursor->base.id + 1, GFP_KERNEL); cursor 848 drivers/gpu/drm/drm_plane.c struct drm_plane *plane = crtc->cursor; cursor 958 drivers/gpu/drm/drm_plane.c if (crtc->cursor) { cursor 959 drivers/gpu/drm/drm_plane.c ret = drm_modeset_lock(&crtc->cursor->mutex, &ctx); cursor 963 drivers/gpu/drm/drm_plane.c if (!drm_lease_held(file_priv, crtc->cursor->base.id)) { cursor 10728 drivers/gpu/drm/i915/display/intel_display.c if (plane->cursor.base != base || cursor 10729 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.size != size || cursor 10730 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.cntl != cntl) { cursor 10737 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.base = base; cursor 10738 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.size = size; cursor 10739 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.cntl = cntl; cursor 10973 drivers/gpu/drm/i915/display/intel_display.c if (plane->cursor.base != base || cursor 10974 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.size != fbc_ctl || cursor 10975 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.cntl != cntl) { cursor 10982 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.base = base; cursor 10983 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.size = fbc_ctl; cursor 10984 drivers/gpu/drm/i915/display/intel_display.c plane->cursor.cntl = cntl; cursor 14953 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *cursor; cursor 14956 drivers/gpu/drm/i915/display/intel_display.c cursor = intel_plane_alloc(); cursor 14957 drivers/gpu/drm/i915/display/intel_display.c if (IS_ERR(cursor)) cursor 14958 drivers/gpu/drm/i915/display/intel_display.c return cursor; cursor 14960 drivers/gpu/drm/i915/display/intel_display.c cursor->pipe = pipe; cursor 14961 drivers/gpu/drm/i915/display/intel_display.c cursor->i9xx_plane = (enum i9xx_plane_id) pipe; cursor 14962 drivers/gpu/drm/i915/display/intel_display.c cursor->id = PLANE_CURSOR; cursor 14963 drivers/gpu/drm/i915/display/intel_display.c cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); cursor 14966 drivers/gpu/drm/i915/display/intel_display.c cursor->max_stride = i845_cursor_max_stride; cursor 14967 drivers/gpu/drm/i915/display/intel_display.c cursor->update_plane = i845_update_cursor; cursor 14968 drivers/gpu/drm/i915/display/intel_display.c cursor->disable_plane = i845_disable_cursor; cursor 14969 drivers/gpu/drm/i915/display/intel_display.c cursor->get_hw_state = i845_cursor_get_hw_state; cursor 14970 drivers/gpu/drm/i915/display/intel_display.c cursor->check_plane = i845_check_cursor; cursor 14972 drivers/gpu/drm/i915/display/intel_display.c cursor->max_stride = i9xx_cursor_max_stride; cursor 14973 drivers/gpu/drm/i915/display/intel_display.c cursor->update_plane = i9xx_update_cursor; cursor 14974 drivers/gpu/drm/i915/display/intel_display.c cursor->disable_plane = i9xx_disable_cursor; cursor 14975 drivers/gpu/drm/i915/display/intel_display.c cursor->get_hw_state = i9xx_cursor_get_hw_state; cursor 14976 drivers/gpu/drm/i915/display/intel_display.c cursor->check_plane = i9xx_check_cursor; cursor 14979 drivers/gpu/drm/i915/display/intel_display.c cursor->cursor.base = ~0; cursor 14980 drivers/gpu/drm/i915/display/intel_display.c cursor->cursor.cntl = ~0; cursor 14983 drivers/gpu/drm/i915/display/intel_display.c cursor->cursor.size = ~0; cursor 14987 drivers/gpu/drm/i915/display/intel_display.c ret = drm_universal_plane_init(&dev_priv->drm, &cursor->base, cursor 14998 drivers/gpu/drm/i915/display/intel_display.c drm_plane_create_rotation_property(&cursor->base, cursor 15003 drivers/gpu/drm/i915/display/intel_display.c drm_plane_helper_add(&cursor->base, &intel_plane_helper_funcs); cursor 15005 drivers/gpu/drm/i915/display/intel_display.c return cursor; cursor 15008 drivers/gpu/drm/i915/display/intel_display.c intel_plane_free(cursor); cursor 15108 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *cursor = NULL; cursor 15141 drivers/gpu/drm/i915/display/intel_display.c cursor = intel_cursor_plane_create(dev_priv, pipe); cursor 15142 drivers/gpu/drm/i915/display/intel_display.c if (IS_ERR(cursor)) { cursor 15143 drivers/gpu/drm/i915/display/intel_display.c ret = PTR_ERR(cursor); cursor 15146 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->plane_ids_mask |= BIT(cursor->id); cursor 15168 drivers/gpu/drm/i915/display/intel_display.c &primary->base, &cursor->base, cursor 17178 drivers/gpu/drm/i915/display/intel_display.c } cursor[I915_MAX_PIPES]; cursor 17244 drivers/gpu/drm/i915/display/intel_display.c error->cursor[i].control = I915_READ(CURCNTR(i)); cursor 17245 drivers/gpu/drm/i915/display/intel_display.c error->cursor[i].position = I915_READ(CURPOS(i)); cursor 17246 drivers/gpu/drm/i915/display/intel_display.c error->cursor[i].base = I915_READ(CURBASE(i)); cursor 17332 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " CNTR: %08x\n", error->cursor[i].control); cursor 17333 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " POS: %08x\n", error->cursor[i].position); cursor 17334 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " BASE: %08x\n", error->cursor[i].base); cursor 1043 drivers/gpu/drm/i915/display/intel_display_types.h } cursor; cursor 154 drivers/gpu/drm/i915/gvt/fb_decoder.h struct intel_vgpu_cursor_plane_format cursor; cursor 2743 drivers/gpu/drm/i915/i915_debugfs.c struct intel_plane *cursor = cursor 2744 drivers/gpu/drm/i915/i915_debugfs.c to_intel_plane(crtc->base.cursor); cursor 2749 drivers/gpu/drm/i915/i915_debugfs.c yesno(cursor->base.state->visible), cursor 2750 drivers/gpu/drm/i915/i915_debugfs.c cursor->base.state->crtc_x, cursor 2751 drivers/gpu/drm/i915/i915_debugfs.c cursor->base.state->crtc_y, cursor 2752 drivers/gpu/drm/i915/i915_debugfs.c cursor->base.state->crtc_w, cursor 2753 drivers/gpu/drm/i915/i915_debugfs.c cursor->base.state->crtc_h, cursor 2754 drivers/gpu/drm/i915/i915_debugfs.c cursor->cursor.base); cursor 852 drivers/gpu/drm/i915/i915_drv.h u16 cursor; cursor 183 drivers/gpu/drm/i915/i915_trace.h __field(u16, cursor) cursor 201 drivers/gpu/drm/i915/i915_trace.h __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; cursor 203 drivers/gpu/drm/i915/i915_trace.h __entry->sr_cursor = wm->sr.cursor; cursor 206 drivers/gpu/drm/i915/i915_trace.h __entry->hpll_cursor = wm->hpll.cursor; cursor 215 drivers/gpu/drm/i915/i915_trace.h __entry->primary, __entry->sprite, __entry->cursor, cursor 234 drivers/gpu/drm/i915/i915_trace.h __field(u32, cursor) cursor 248 drivers/gpu/drm/i915/i915_trace.h __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; cursor 250 drivers/gpu/drm/i915/i915_trace.h __entry->sr_cursor = wm->sr.cursor; cursor 256 drivers/gpu/drm/i915/i915_trace.h __entry->primary, __entry->sprite0, __entry->sprite1, __entry->cursor, cursor 971 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->sr.cursor, CURSOR_SR) | cursor 972 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->hpll.cursor, HPLL_CURSOR) | cursor 1017 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->sr.cursor, CURSOR_SR)); cursor 1319 drivers/gpu/drm/i915/intel_pm.c wm_state->sr.cursor = USHRT_MAX; cursor 1326 drivers/gpu/drm/i915/intel_pm.c wm_state->hpll.cursor = USHRT_MAX; cursor 1377 drivers/gpu/drm/i915/intel_pm.c wm_state->sr.cursor = raw->plane[PLANE_CURSOR]; cursor 1389 drivers/gpu/drm/i915/intel_pm.c wm_state->hpll.cursor = raw->plane[PLANE_CURSOR]; cursor 1458 drivers/gpu/drm/i915/intel_pm.c intermediate->sr.cursor = max(optimal->sr.cursor, cursor 1459 drivers/gpu/drm/i915/intel_pm.c active->sr.cursor); cursor 1465 drivers/gpu/drm/i915/intel_pm.c intermediate->hpll.cursor = max(optimal->hpll.cursor, cursor 1466 drivers/gpu/drm/i915/intel_pm.c active->hpll.cursor); cursor 1472 drivers/gpu/drm/i915/intel_pm.c intermediate->sr.cursor > cursor 1477 drivers/gpu/drm/i915/intel_pm.c intermediate->sr.cursor > cursor 1757 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].cursor = USHRT_MAX; cursor 1937 drivers/gpu/drm/i915/intel_pm.c wm_state->sr[level].cursor = cursor 2088 drivers/gpu/drm/i915/intel_pm.c intermediate->sr[level].cursor = min(optimal->sr[level].cursor, cursor 2089 drivers/gpu/drm/i915/intel_pm.c active->sr[level].cursor); cursor 2242 drivers/gpu/drm/i915/intel_pm.c crtc->base.cursor->state->crtc_w, 4, cursor 5905 drivers/gpu/drm/i915/intel_pm.c wm->sr.cursor = _FW_WM(tmp, CURSOR_SR); cursor 5906 drivers/gpu/drm/i915/intel_pm.c wm->hpll.cursor = _FW_WM(tmp, HPLL_CURSOR); cursor 5941 drivers/gpu/drm/i915/intel_pm.c wm->sr.cursor = _FW_WM(tmp, CURSOR_SR); cursor 6033 drivers/gpu/drm/i915/intel_pm.c raw->plane[PLANE_CURSOR] = active->sr.cursor; cursor 6042 drivers/gpu/drm/i915/intel_pm.c raw->plane[PLANE_CURSOR] = active->hpll.cursor; cursor 6063 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane, wm->sr.cursor, wm->sr.fbc); cursor 6065 drivers/gpu/drm/i915/intel_pm.c wm->hpll.plane, wm->hpll.cursor, wm->hpll.fbc); cursor 6191 drivers/gpu/drm/i915/intel_pm.c active->sr[level].cursor = wm->sr.cursor; cursor 6220 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane, wm->sr.cursor, wm->level, wm->cxsr); cursor 502 drivers/gpu/drm/mediatek/mtk_drm_crtc.c struct drm_plane *cursor = NULL; cursor 509 drivers/gpu/drm/mediatek/mtk_drm_crtc.c cursor = &mtk_crtc->planes[i]; cursor 512 drivers/gpu/drm/mediatek/mtk_drm_crtc.c ret = drm_crtc_init_with_planes(drm, &mtk_crtc->base, primary, cursor, cursor 23 drivers/gpu/drm/mgag200/mgag200_cursor.c if (mdev->cursor.pixels_current) cursor 24 drivers/gpu/drm/mgag200/mgag200_cursor.c drm_gem_vram_unpin(mdev->cursor.pixels_current); cursor 25 drivers/gpu/drm/mgag200/mgag200_cursor.c mdev->cursor.pixels_current = NULL; cursor 36 drivers/gpu/drm/mgag200/mgag200_cursor.c struct drm_gem_vram_object *pixels_1 = mdev->cursor.pixels_1; cursor 37 drivers/gpu/drm/mgag200/mgag200_cursor.c struct drm_gem_vram_object *pixels_2 = mdev->cursor.pixels_2; cursor 38 drivers/gpu/drm/mgag200/mgag200_cursor.c struct drm_gem_vram_object *pixels_current = mdev->cursor.pixels_current; cursor 213 drivers/gpu/drm/mgag200/mgag200_cursor.c mdev->cursor.pixels_current = pixels_next; cursor 181 drivers/gpu/drm/mgag200/mgag200_drv.h struct mga_cursor cursor; cursor 176 drivers/gpu/drm/mgag200/mgag200_main.c mdev->cursor.pixels_1 = drm_gem_vram_create(dev, &dev->vram_mm->bdev, cursor 179 drivers/gpu/drm/mgag200/mgag200_main.c mdev->cursor.pixels_2 = drm_gem_vram_create(dev, &dev->vram_mm->bdev, cursor 182 drivers/gpu/drm/mgag200/mgag200_main.c if (IS_ERR(mdev->cursor.pixels_2) || IS_ERR(mdev->cursor.pixels_1)) { cursor 183 drivers/gpu/drm/mgag200/mgag200_main.c mdev->cursor.pixels_1 = NULL; cursor 184 drivers/gpu/drm/mgag200/mgag200_main.c mdev->cursor.pixels_2 = NULL; cursor 188 drivers/gpu/drm/mgag200/mgag200_main.c mdev->cursor.pixels_current = NULL; cursor 1287 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct drm_plane *cursor) cursor 1320 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c drm_crtc_init_with_planes(dev, crtc, plane, cursor, &dpu_crtc_funcs, cursor 258 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h struct drm_plane *cursor); cursor 702 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define BLK_CURSOR(s) ((s)->cursor) cursor 38 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c } cursor; cursor 362 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); cursor 363 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c if (mdp4_crtc->cursor.stale) { cursor 364 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; cursor 365 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; cursor 366 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c uint64_t iova = mdp4_crtc->cursor.next_iova; cursor 375 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | cursor 376 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); cursor 391 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.scanout_bo = next_bo; cursor 392 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.stale = false; cursor 396 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c MDP4_DMA_CURSOR_POS_X(mdp4_crtc->cursor.x) | cursor 397 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c MDP4_DMA_CURSOR_POS_Y(mdp4_crtc->cursor.y)); cursor 399 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_unlock_irqrestore(&mdp4_crtc->cursor.lock, flags); cursor 436 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); cursor 437 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c old_bo = mdp4_crtc->cursor.next_bo; cursor 438 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.next_bo = cursor_bo; cursor 439 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.next_iova = iova; cursor 440 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.width = width; cursor 441 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.height = height; cursor 442 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.stale = true; cursor 443 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_unlock_irqrestore(&mdp4_crtc->cursor.lock, flags); cursor 464 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); cursor 465 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.x = x; cursor 466 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.y = y; cursor 467 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_unlock_irqrestore(&mdp4_crtc->cursor.lock, flags); cursor 644 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c spin_lock_init(&mdp4_crtc->cursor.lock); cursor 61 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c } cursor; cursor 477 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_crtc->cursor.iova) { cursor 480 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); cursor 482 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); cursor 775 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_crtc->cursor.x >= 0) cursor 776 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = min(mdp5_crtc->cursor.width, xres - cursor 777 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.x); cursor 779 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = mdp5_crtc->cursor.width - abs(mdp5_crtc->cursor.x); cursor 780 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_crtc->cursor.y >= 0) cursor 781 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_h = min(mdp5_crtc->cursor.height, yres - cursor 782 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.y); cursor 784 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_h = mdp5_crtc->cursor.height - abs(mdp5_crtc->cursor.y); cursor 799 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c assert_spin_locked(&mdp5_crtc->cursor.lock); cursor 803 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c x = mdp5_crtc->cursor.x; cursor 804 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c y = mdp5_crtc->cursor.y; cursor 805 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c width = mdp5_crtc->cursor.width; cursor 806 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c height = mdp5_crtc->cursor.height; cursor 817 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_crtc->cursor.x < 0) { cursor 818 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c src_x = abs(mdp5_crtc->cursor.x); cursor 823 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_crtc->cursor.y < 0) { cursor 824 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c src_y = abs(mdp5_crtc->cursor.y); cursor 848 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.iova); cursor 895 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.iova = 0; cursor 905 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c &mdp5_crtc->cursor.iova); cursor 911 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); cursor 912 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c old_bo = mdp5_crtc->cursor.scanout_bo; cursor 914 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.scanout_bo = cursor_bo; cursor 915 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.width = width; cursor 916 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.height = height; cursor 920 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); cursor 968 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.x = x = max(x, -(int)mdp5_crtc->cursor.width); cursor 969 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.y = y = max(y, -(int)mdp5_crtc->cursor.height); cursor 975 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); cursor 977 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); cursor 1223 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c spin_lock_init(&mdp5_crtc->cursor.lock); cursor 473 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct drm_plane *cursor[MAX_BASES] = { NULL }; cursor 522 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c cursor[ci++] = plane; cursor 528 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c crtc = mdp5_crtc_init(dev, primary[i], cursor[i], i); cursor 166 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); cursor 755 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unmap(nv_crtc->cursor.nvbo); cursor 756 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unpin(nv_crtc->cursor.nvbo); cursor 757 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_ref(NULL, &nv_crtc->cursor.nvbo); cursor 989 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_bo *cursor = NULL; cursor 994 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.hide(nv_crtc, true); cursor 1004 drivers/gpu/drm/nouveau/dispnv04/crtc.c cursor = nouveau_gem_object(gem); cursor 1006 drivers/gpu/drm/nouveau/dispnv04/crtc.c ret = nouveau_bo_map(cursor); cursor 1011 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv11_cursor_upload(dev, cursor, nv_crtc->cursor.nvbo); cursor 1013 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv04_cursor_upload(dev, cursor, nv_crtc->cursor.nvbo); cursor 1015 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unmap(cursor); cursor 1016 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.offset = nv_crtc->cursor.nvbo->bo.offset; cursor 1017 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); cursor 1018 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.show(nv_crtc, true); cursor 1029 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->cursor.set_pos(nv_crtc, x, y); cursor 1321 drivers/gpu/drm/nouveau/dispnv04/crtc.c &nv_crtc->cursor.nvbo); cursor 1323 drivers/gpu/drm/nouveau/dispnv04/crtc.c ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, false); cursor 1325 drivers/gpu/drm/nouveau/dispnv04/crtc.c ret = nouveau_bo_map(nv_crtc->cursor.nvbo); cursor 1327 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unpin(nv_crtc->cursor.nvbo); cursor 1330 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_ref(NULL, &nv_crtc->cursor.nvbo); cursor 65 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtc->cursor.set_offset = nv04_cursor_set_offset; cursor 66 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtc->cursor.set_pos = nv04_cursor_set_pos; cursor 67 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtc->cursor.hide = nv04_cursor_hide; cursor 68 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtc->cursor.show = nv04_cursor_show; cursor 66 drivers/gpu/drm/nouveau/dispnv04/disp.c if (nv_crtc->cursor.nvbo) { cursor 67 drivers/gpu/drm/nouveau/dispnv04/disp.c if (nv_crtc->cursor.set_offset) cursor 68 drivers/gpu/drm/nouveau/dispnv04/disp.c nouveau_bo_unmap(nv_crtc->cursor.nvbo); cursor 69 drivers/gpu/drm/nouveau/dispnv04/disp.c nouveau_bo_unpin(nv_crtc->cursor.nvbo); cursor 120 drivers/gpu/drm/nouveau/dispnv04/disp.c if (!nv_crtc->cursor.nvbo) cursor 123 drivers/gpu/drm/nouveau/dispnv04/disp.c ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, true); cursor 124 drivers/gpu/drm/nouveau/dispnv04/disp.c if (!ret && nv_crtc->cursor.set_offset) cursor 125 drivers/gpu/drm/nouveau/dispnv04/disp.c ret = nouveau_bo_map(nv_crtc->cursor.nvbo); cursor 150 drivers/gpu/drm/nouveau/dispnv04/disp.c if (!nv_crtc->cursor.nvbo) cursor 153 drivers/gpu/drm/nouveau/dispnv04/disp.c if (nv_crtc->cursor.set_offset) cursor 154 drivers/gpu/drm/nouveau/dispnv04/disp.c nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.nvbo->bo.offset); cursor 155 drivers/gpu/drm/nouveau/dispnv04/disp.c nv_crtc->cursor.set_pos(nv_crtc, nv_crtc->cursor_saved_x, cursor 62 drivers/gpu/drm/nouveau/nouveau_crtc.h } cursor; cursor 591 drivers/gpu/drm/qxl/qxl_display.c struct qxl_cursor *cursor; cursor 627 drivers/gpu/drm/qxl/qxl_display.c ret = qxl_bo_kmap(cursor_bo, (void **)&cursor); cursor 631 drivers/gpu/drm/qxl/qxl_display.c cursor->header.unique = 0; cursor 632 drivers/gpu/drm/qxl/qxl_display.c cursor->header.type = SPICE_CURSOR_TYPE_ALPHA; cursor 633 drivers/gpu/drm/qxl/qxl_display.c cursor->header.width = 64; cursor 634 drivers/gpu/drm/qxl/qxl_display.c cursor->header.height = 64; cursor 635 drivers/gpu/drm/qxl/qxl_display.c cursor->header.hot_spot_x = fb->hot_x; cursor 636 drivers/gpu/drm/qxl/qxl_display.c cursor->header.hot_spot_y = fb->hot_y; cursor 637 drivers/gpu/drm/qxl/qxl_display.c cursor->data_size = size; cursor 638 drivers/gpu/drm/qxl/qxl_display.c cursor->chunk.next_chunk = 0; cursor 639 drivers/gpu/drm/qxl/qxl_display.c cursor->chunk.prev_chunk = 0; cursor 640 drivers/gpu/drm/qxl/qxl_display.c cursor->chunk.data_size = size; cursor 641 drivers/gpu/drm/qxl/qxl_display.c memcpy(cursor->chunk.data, user_ptr, size); cursor 938 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane *primary, *cursor; cursor 952 drivers/gpu/drm/qxl/qxl_display.c cursor = qxl_create_plane(qdev, 1 << crtc_id, DRM_PLANE_TYPE_CURSOR); cursor 953 drivers/gpu/drm/qxl/qxl_display.c if (IS_ERR(cursor)) { cursor 958 drivers/gpu/drm/qxl/qxl_display.c r = drm_crtc_init_with_planes(dev, &qxl_crtc->base, primary, cursor, cursor 968 drivers/gpu/drm/qxl/qxl_display.c drm_plane_cleanup(cursor); cursor 969 drivers/gpu/drm/qxl/qxl_display.c kfree(cursor); cursor 928 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (plane != state->crtc->cursor) cursor 1507 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane *primary = NULL, *cursor = NULL, *plane, *tmp; cursor 1543 drivers/gpu/drm/rockchip/rockchip_drm_vop.c cursor = plane; cursor 1546 drivers/gpu/drm/rockchip/rockchip_drm_vop.c ret = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, cursor 69 drivers/gpu/drm/sti/sti_compositor.c struct drm_plane *cursor = NULL; cursor 114 drivers/gpu/drm/sti/sti_compositor.c cursor = sti_cursor_create(drm_dev, compo->dev, cursor 118 drivers/gpu/drm/sti/sti_compositor.c if (!cursor) { cursor 142 drivers/gpu/drm/sti/sti_compositor.c primary, cursor); cursor 144 drivers/gpu/drm/sti/sti_compositor.c cursor = NULL; cursor 346 drivers/gpu/drm/sti/sti_crtc.c struct drm_plane *primary, struct drm_plane *cursor) cursor 351 drivers/gpu/drm/sti/sti_crtc.c res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, cursor 17 drivers/gpu/drm/sti/sti_crtc.h struct drm_plane *primary, struct drm_plane *cursor); cursor 80 drivers/gpu/drm/sti/sti_cursor.c readl(cursor->regs + reg)) cursor 93 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor, u32 val) cursor 95 drivers/gpu/drm/sti/sti_cursor.c if (cursor->pixmap.paddr == val) cursor 96 drivers/gpu/drm/sti/sti_cursor.c seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); cursor 100 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor, u32 val) cursor 102 drivers/gpu/drm/sti/sti_cursor.c if (cursor->clut_paddr == val) cursor 103 drivers/gpu/drm/sti/sti_cursor.c seq_printf(s, "\tVirt @: %p", cursor->clut); cursor 109 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; cursor 112 drivers/gpu/drm/sti/sti_cursor.c sti_plane_to_str(&cursor->plane), cursor->regs); cursor 116 drivers/gpu/drm/sti/sti_cursor.c cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); cursor 118 drivers/gpu/drm/sti/sti_cursor.c cursor_dbg_pml(s, cursor, readl(cursor->regs + CUR_PML)); cursor 121 drivers/gpu/drm/sti/sti_cursor.c cursor_dbg_size(s, readl(cursor->regs + CUR_SIZE)); cursor 123 drivers/gpu/drm/sti/sti_cursor.c cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML)); cursor 134 drivers/gpu/drm/sti/sti_cursor.c static int cursor_debugfs_init(struct sti_cursor *cursor, cursor 140 drivers/gpu/drm/sti/sti_cursor.c cursor_debugfs_files[i].data = cursor; cursor 147 drivers/gpu/drm/sti/sti_cursor.c static void sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) cursor 149 drivers/gpu/drm/sti/sti_cursor.c u8 *dst = cursor->pixmap.base; cursor 153 drivers/gpu/drm/sti/sti_cursor.c for (i = 0; i < cursor->height; i++) { cursor 154 drivers/gpu/drm/sti/sti_cursor.c for (j = 0; j < cursor->width; j++) { cursor 167 drivers/gpu/drm/sti/sti_cursor.c static void sti_cursor_init(struct sti_cursor *cursor) cursor 169 drivers/gpu/drm/sti/sti_cursor.c unsigned short *base = cursor->clut; cursor 187 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor = to_sti_cursor(plane); cursor 219 drivers/gpu/drm/sti/sti_cursor.c if (!cursor->pixmap.base || cursor 220 drivers/gpu/drm/sti/sti_cursor.c (cursor->width != src_w) || cursor 221 drivers/gpu/drm/sti/sti_cursor.c (cursor->height != src_h)) { cursor 222 drivers/gpu/drm/sti/sti_cursor.c cursor->width = src_w; cursor 223 drivers/gpu/drm/sti/sti_cursor.c cursor->height = src_h; cursor 225 drivers/gpu/drm/sti/sti_cursor.c if (cursor->pixmap.base) cursor 226 drivers/gpu/drm/sti/sti_cursor.c dma_free_wc(cursor->dev, cursor->pixmap.size, cursor 227 drivers/gpu/drm/sti/sti_cursor.c cursor->pixmap.base, cursor->pixmap.paddr); cursor 229 drivers/gpu/drm/sti/sti_cursor.c cursor->pixmap.size = cursor->width * cursor->height; cursor 231 drivers/gpu/drm/sti/sti_cursor.c cursor->pixmap.base = dma_alloc_wc(cursor->dev, cursor 232 drivers/gpu/drm/sti/sti_cursor.c cursor->pixmap.size, cursor 233 drivers/gpu/drm/sti/sti_cursor.c &cursor->pixmap.paddr, cursor 235 drivers/gpu/drm/sti/sti_cursor.c if (!cursor->pixmap.base) { cursor 259 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor = to_sti_cursor(plane); cursor 278 drivers/gpu/drm/sti/sti_cursor.c sti_cursor_argb8888_to_clut8(cursor, (u32 *)cma_obj->vaddr); cursor 284 drivers/gpu/drm/sti/sti_cursor.c writel(val, cursor->regs + CUR_AWS); cursor 288 drivers/gpu/drm/sti/sti_cursor.c writel(val, cursor->regs + CUR_AWE); cursor 291 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->pixmap.paddr, cursor->regs + CUR_PML); cursor 292 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->width, cursor->regs + CUR_PMP); cursor 293 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); cursor 297 drivers/gpu/drm/sti/sti_cursor.c writel((y << 16) | x, cursor->regs + CUR_VPO); cursor 300 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->clut_paddr, cursor->regs + CUR_CML); cursor 301 drivers/gpu/drm/sti/sti_cursor.c writel(CUR_CTL_CLUT_UPDATE, cursor->regs + CUR_CTL); cursor 343 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor = to_sti_cursor(plane); cursor 345 drivers/gpu/drm/sti/sti_cursor.c return cursor_debugfs_init(cursor, drm_plane->dev->primary); cursor 363 drivers/gpu/drm/sti/sti_cursor.c struct sti_cursor *cursor; cursor 367 drivers/gpu/drm/sti/sti_cursor.c cursor = devm_kzalloc(dev, sizeof(*cursor), GFP_KERNEL); cursor 368 drivers/gpu/drm/sti/sti_cursor.c if (!cursor) { cursor 375 drivers/gpu/drm/sti/sti_cursor.c cursor->clut = dma_alloc_wc(dev, size, &cursor->clut_paddr, cursor 378 drivers/gpu/drm/sti/sti_cursor.c if (!cursor->clut) { cursor 383 drivers/gpu/drm/sti/sti_cursor.c cursor->dev = dev; cursor 384 drivers/gpu/drm/sti/sti_cursor.c cursor->regs = baseaddr; cursor 385 drivers/gpu/drm/sti/sti_cursor.c cursor->plane.desc = desc; cursor 386 drivers/gpu/drm/sti/sti_cursor.c cursor->plane.status = STI_PLANE_DISABLED; cursor 388 drivers/gpu/drm/sti/sti_cursor.c sti_cursor_init(cursor); cursor 390 drivers/gpu/drm/sti/sti_cursor.c res = drm_universal_plane_init(drm_dev, &cursor->plane.drm_plane, cursor 401 drivers/gpu/drm/sti/sti_cursor.c drm_plane_helper_add(&cursor->plane.drm_plane, cursor 404 drivers/gpu/drm/sti/sti_cursor.c sti_plane_init_property(&cursor->plane, DRM_PLANE_TYPE_CURSOR); cursor 406 drivers/gpu/drm/sti/sti_cursor.c return &cursor->plane.drm_plane; cursor 409 drivers/gpu/drm/sti/sti_cursor.c dma_free_wc(dev, size, cursor->clut, cursor->clut_paddr); cursor 411 drivers/gpu/drm/sti/sti_cursor.c devm_kfree(dev, cursor); cursor 192 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_plane *primary = NULL, *cursor = NULL; cursor 217 drivers/gpu/drm/sun4i/sun4i_crtc.c cursor = plane; cursor 226 drivers/gpu/drm/sun4i/sun4i_crtc.c cursor, cursor 1041 drivers/gpu/drm/tegra/dc.c bool cursor) cursor 1061 drivers/gpu/drm/tegra/dc.c if (!cursor) cursor 2002 drivers/gpu/drm/tegra/dc.c struct drm_plane *cursor = NULL; cursor 2035 drivers/gpu/drm/tegra/dc.c cursor = tegra_dc_cursor_plane_create(drm, dc); cursor 2036 drivers/gpu/drm/tegra/dc.c if (IS_ERR(cursor)) { cursor 2037 drivers/gpu/drm/tegra/dc.c err = PTR_ERR(cursor); cursor 2042 drivers/gpu/drm/tegra/dc.c cursor = tegra_dc_overlay_plane_create(drm, dc, 2, true); cursor 2043 drivers/gpu/drm/tegra/dc.c if (IS_ERR(cursor)) { cursor 2044 drivers/gpu/drm/tegra/dc.c err = PTR_ERR(cursor); cursor 2049 drivers/gpu/drm/tegra/dc.c err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor, cursor 2080 drivers/gpu/drm/tegra/dc.c if (!IS_ERR_OR_NULL(cursor)) cursor 2081 drivers/gpu/drm/tegra/dc.c drm_plane_cleanup(cursor); cursor 577 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane *cursor = NULL; cursor 599 drivers/gpu/drm/vboxvideo/vbox_mode.c cursor = vbox_create_plane(vbox, 1 << i, DRM_PLANE_TYPE_CURSOR); cursor 600 drivers/gpu/drm/vboxvideo/vbox_mode.c if (IS_ERR(cursor)) { cursor 601 drivers/gpu/drm/vboxvideo/vbox_mode.c ret = PTR_ERR(cursor); cursor 610 drivers/gpu/drm/vboxvideo/vbox_mode.c ret = drm_crtc_init_with_planes(dev, &vbox_crtc->base, primary, cursor, cursor 621 drivers/gpu/drm/vboxvideo/vbox_mode.c if (cursor) { cursor 622 drivers/gpu/drm/vboxvideo/vbox_mode.c drm_plane_cleanup(cursor); cursor 623 drivers/gpu/drm/vboxvideo/vbox_mode.c kfree(cursor); cursor 1204 drivers/gpu/drm/vc4/vc4_crtc.c crtc->cursor = cursor_plane; cursor 257 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_plane *primary, *cursor; cursor 269 drivers/gpu/drm/virtio/virtgpu_display.c cursor = virtio_gpu_plane_init(vgdev, DRM_PLANE_TYPE_CURSOR, index); cursor 270 drivers/gpu/drm/virtio/virtgpu_display.c if (IS_ERR(cursor)) cursor 271 drivers/gpu/drm/virtio/virtgpu_display.c return PTR_ERR(cursor); cursor 272 drivers/gpu/drm/virtio/virtgpu_display.c drm_crtc_init_with_planes(dev, crtc, primary, cursor, cursor 130 drivers/gpu/drm/virtio/virtgpu_drv.h struct virtio_gpu_update_cursor cursor; cursor 230 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hdr.type = cursor 232 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.resource_id = cpu_to_le32(handle); cursor 234 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hot_x = cursor 236 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hot_y = cursor 239 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hot_x = cpu_to_le32(0); cursor 240 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hot_y = cpu_to_le32(0); cursor 246 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.hdr.type = cursor 249 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); cursor 250 drivers/gpu/drm/virtio/virtgpu_plane.c output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y); cursor 1040 drivers/gpu/drm/virtio/virtgpu_vq.c output->cursor.pos.scanout_id = cpu_to_le32(output->index); cursor 1042 drivers/gpu/drm/virtio/virtgpu_vq.c memcpy(cur_p, &output->cursor, sizeof(output->cursor)); cursor 264 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_plane *primary, struct drm_plane *cursor) cursor 269 drivers/gpu/drm/vkms/vkms_crtc.c ret = drm_crtc_init_with_planes(dev, crtc, primary, cursor, cursor 112 drivers/gpu/drm/vkms/vkms_drv.h struct drm_plane *primary, struct drm_plane *cursor); cursor 45 drivers/gpu/drm/vkms/vkms_output.c struct drm_plane *primary, *cursor = NULL; cursor 53 drivers/gpu/drm/vkms/vkms_output.c cursor = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_CURSOR, index); cursor 54 drivers/gpu/drm/vkms/vkms_output.c if (IS_ERR(cursor)) { cursor 55 drivers/gpu/drm/vkms/vkms_output.c ret = PTR_ERR(cursor); cursor 60 drivers/gpu/drm/vkms/vkms_output.c ret = vkms_crtc_init(dev, crtc, primary, cursor); cursor 102 drivers/gpu/drm/vkms/vkms_output.c drm_plane_cleanup(cursor); cursor 45 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_plane_cleanup(&du->cursor); cursor 63 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c SVGAFifoCmdDefineAlphaCursor cursor; cursor 80 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.id = 0; cursor 81 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.width = width; cursor 82 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.height = height; cursor 83 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.hotspotX = hotspotX; cursor 84 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.hotspotY = hotspotY; cursor 341 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_plane cursor; cursor 359 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_plane *primary, *cursor; cursor 372 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c cursor = &ldu->base.cursor; cursor 403 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c vmw_du_plane_reset(cursor); cursor 405 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ret = drm_universal_plane_init(dev, &ldu->base.cursor, cursor 416 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c drm_plane_helper_add(cursor, &vmw_ldu_cursor_plane_helper_funcs); cursor 448 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c &ldu->base.cursor, cursor 832 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane *primary, *cursor; cursor 845 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cursor = &sou->base.cursor; cursor 875 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_du_plane_reset(cursor); cursor 877 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c ret = drm_universal_plane_init(dev, &sou->base.cursor, cursor 888 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drm_plane_helper_add(cursor, &vmw_sou_cursor_plane_helper_funcs); cursor 921 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c &sou->base.cursor, cursor 1731 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane *primary, *cursor; cursor 1745 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cursor = &stdu->base.cursor; cursor 1769 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_du_plane_reset(cursor); cursor 1771 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ret = drm_universal_plane_init(dev, cursor, cursor 1782 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_plane_helper_add(cursor, &vmw_stdu_cursor_plane_helper_funcs); cursor 1815 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c &stdu->base.cursor, cursor 1323 drivers/hsi/clients/cmt_speech.c struct list_head *cursor, *next; cursor 1326 drivers/hsi/clients/cmt_speech.c list_for_each_safe(cursor, next, head) { cursor 1327 drivers/hsi/clients/cmt_speech.c entry = list_entry(cursor, struct char_queue, list); cursor 914 drivers/md/persistent-data/dm-array.c r = dm_btree_cursor_get_value(&c->cursor, &key, &value_le); cursor 917 drivers/md/persistent-data/dm-array.c dm_btree_cursor_end(&c->cursor); cursor 923 drivers/md/persistent-data/dm-array.c dm_btree_cursor_end(&c->cursor); cursor 937 drivers/md/persistent-data/dm-array.c r = dm_btree_cursor_begin(&info->btree_info, root, true, &c->cursor); cursor 951 drivers/md/persistent-data/dm-array.c dm_btree_cursor_end(&c->cursor); cursor 966 drivers/md/persistent-data/dm-array.c r = dm_btree_cursor_next(&c->cursor); cursor 197 drivers/md/persistent-data/dm-array.h struct dm_btree_cursor cursor; cursor 218 drivers/md/persistent-data/dm-bitset.c r = dm_array_cursor_next(&c->cursor); cursor 222 drivers/md/persistent-data/dm-bitset.c dm_array_cursor_get_value(&c->cursor, (void **) &value); cursor 242 drivers/md/persistent-data/dm-bitset.c r = dm_array_cursor_begin(&info->array_info, root, &c->cursor); cursor 246 drivers/md/persistent-data/dm-bitset.c dm_array_cursor_get_value(&c->cursor, (void **) &value); cursor 257 drivers/md/persistent-data/dm-bitset.c return dm_array_cursor_end(&c->cursor); cursor 297 drivers/md/persistent-data/dm-bitset.c r = dm_array_cursor_skip(&c->cursor, nr_array_skip); cursor 301 drivers/md/persistent-data/dm-bitset.c dm_array_cursor_get_value(&c->cursor, (void **) &value); cursor 182 drivers/md/persistent-data/dm-bitset.h struct dm_array_cursor cursor; cursor 38 drivers/mtd/nand/raw/nand_onfi.c uint8_t *cursor; cursor 77 drivers/mtd/nand/raw/nand_onfi.c cursor = (uint8_t *)(ep + 1); cursor 82 drivers/mtd/nand/raw/nand_onfi.c cursor += s->length * 16; cursor 90 drivers/mtd/nand/raw/nand_onfi.c ecc = (struct onfi_ext_ecc_info *)cursor; cursor 2851 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c entry_idx = log->cursor + k; cursor 443 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int cursor; /* next position in the log to write */ cursor 1168 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c entry_idx = log->cursor + ((uintptr_t)v - 2); cursor 245 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c entry = mbox_cmd_log_entry(log, log->cursor++); cursor 246 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (log->cursor == log->size) cursor 247 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c log->cursor = 0; cursor 1975 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c entry_idx = log->cursor + ((uintptr_t)v - 2); cursor 286 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h unsigned int cursor; /* next position in the log to write */ cursor 94 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c entry = mbox_cmd_log_entry(log, log->cursor++); cursor 95 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c if (log->cursor == log->size) cursor 96 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c log->cursor = 0; cursor 1155 drivers/net/ethernet/sfc/ptp.c struct list_head *cursor; cursor 1164 drivers/net/ethernet/sfc/ptp.c list_for_each_safe(cursor, next, &ptp->evt_list) { cursor 1167 drivers/net/ethernet/sfc/ptp.c evt = list_entry(cursor, struct efx_ptp_event_rx, cursor 1184 drivers/net/ethernet/sfc/ptp.c struct list_head *cursor; cursor 1201 drivers/net/ethernet/sfc/ptp.c list_for_each_safe(cursor, next, &ptp->evt_list) { cursor 1204 drivers/net/ethernet/sfc/ptp.c evt = list_entry(cursor, struct efx_ptp_event_rx, link); cursor 1352 drivers/net/ethernet/sfc/ptp.c struct list_head *cursor; cursor 1369 drivers/net/ethernet/sfc/ptp.c list_for_each_safe(cursor, next, &efx->ptp_data->evt_list) { cursor 1370 drivers/net/ethernet/sfc/ptp.c list_move(cursor, &efx->ptp_data->evt_free_list); cursor 1693 drivers/net/usb/r8152.c struct list_head *cursor; cursor 1695 drivers/net/usb/r8152.c cursor = tp->tx_free.next; cursor 1696 drivers/net/usb/r8152.c list_del_init(cursor); cursor 1697 drivers/net/usb/r8152.c agg = list_entry(cursor, struct tx_agg, list); cursor 2044 drivers/net/usb/r8152.c struct list_head *cursor, *next, rx_queue; cursor 2074 drivers/net/usb/r8152.c list_for_each_safe(cursor, next, &rx_queue) { cursor 2081 drivers/net/usb/r8152.c list_del_init(cursor); cursor 2083 drivers/net/usb/r8152.c agg = list_entry(cursor, struct rx_agg, list); cursor 79 drivers/net/wireless/marvell/libertas/if_spi.c struct list_head *cursor, *next; cursor 82 drivers/net/wireless/marvell/libertas/if_spi.c list_for_each_safe(cursor, next, &card->cmd_packet_list) { cursor 83 drivers/net/wireless/marvell/libertas/if_spi.c packet = container_of(cursor, struct if_spi_packet, list); cursor 87 drivers/net/wireless/marvell/libertas/if_spi.c list_for_each_safe(cursor, next, &card->data_packet_list) { cursor 88 drivers/net/wireless/marvell/libertas/if_spi.c packet = container_of(cursor, struct if_spi_packet, list); cursor 123 drivers/soc/fsl/qbman/bman.c struct bm_rcr_entry *ring, *cursor; cursor 297 drivers/soc/fsl/qbman/bman.c struct bm_rcr_entry *partial = rcr->cursor + 1; cursor 299 drivers/soc/fsl/qbman/bman.c rcr->cursor = rcr_carryclear(partial); cursor 300 drivers/soc/fsl/qbman/bman.c if (partial != rcr->cursor) cursor 357 drivers/soc/fsl/qbman/bman.c dpaa_zero(rcr->cursor); cursor 358 drivers/soc/fsl/qbman/bman.c return rcr->cursor; cursor 370 drivers/soc/fsl/qbman/bman.c rcursor = rcr->cursor; cursor 390 drivers/soc/fsl/qbman/bman.c rcr->cursor = rcr->ring + pi; cursor 416 drivers/soc/fsl/qbman/bman.c if (i != rcr_ptr2idx(rcr->cursor)) cursor 422 drivers/soc/fsl/qbman/bman.c if (rcr->ci != rcr_ptr2idx(rcr->cursor)) cursor 198 drivers/soc/fsl/qbman/qman.c struct qm_eqcr_entry *ring, *cursor; cursor 207 drivers/soc/fsl/qbman/qman.c const struct qm_dqrr_entry *ring, *cursor; cursor 217 drivers/soc/fsl/qbman/qman.c union qm_mr_entry *ring, *cursor; cursor 414 drivers/soc/fsl/qbman/qman.c struct qm_eqcr_entry *partial = eqcr->cursor + 1; cursor 416 drivers/soc/fsl/qbman/qman.c eqcr->cursor = eqcr_carryclear(partial); cursor 417 drivers/soc/fsl/qbman/qman.c if (partial != eqcr->cursor) cursor 434 drivers/soc/fsl/qbman/qman.c eqcr->cursor = eqcr->ring + pi; cursor 464 drivers/soc/fsl/qbman/qman.c if (pi != eqcr_ptr2idx(eqcr->cursor)) cursor 468 drivers/soc/fsl/qbman/qman.c if (eqcr->ci != eqcr_ptr2idx(eqcr->cursor)) cursor 484 drivers/soc/fsl/qbman/qman.c dpaa_zero(eqcr->cursor); cursor 485 drivers/soc/fsl/qbman/qman.c return eqcr->cursor; cursor 507 drivers/soc/fsl/qbman/qman.c dpaa_zero(eqcr->cursor); cursor 508 drivers/soc/fsl/qbman/qman.c return eqcr->cursor; cursor 514 drivers/soc/fsl/qbman/qman.c DPAA_ASSERT(!(be32_to_cpu(eqcr->cursor->fqid) & ~QM_FQID_MASK)); cursor 526 drivers/soc/fsl/qbman/qman.c eqcursor = eqcr->cursor; cursor 622 drivers/soc/fsl/qbman/qman.c dqrr->cursor = dqrr->ring + dqrr->ci; cursor 653 drivers/soc/fsl/qbman/qman.c dqrr->ci != dqrr_ptr2idx(dqrr->cursor)) cursor 665 drivers/soc/fsl/qbman/qman.c return dqrr->cursor; cursor 673 drivers/soc/fsl/qbman/qman.c dqrr->cursor = dqrr_inc(dqrr->cursor); cursor 776 drivers/soc/fsl/qbman/qman.c mr->cursor = mr->ring + mr->ci; cursor 795 drivers/soc/fsl/qbman/qman.c if (mr->ci != mr_ptr2idx(mr->cursor)) cursor 805 drivers/soc/fsl/qbman/qman.c return mr->cursor; cursor 813 drivers/soc/fsl/qbman/qman.c mr->cursor = mr_inc(mr->cursor); cursor 848 drivers/soc/fsl/qbman/qman.c mr->ci = mr_ptr2idx(mr->cursor); cursor 109 drivers/staging/sm750fb/sm750.c struct lynx_cursor *cursor; cursor 113 drivers/staging/sm750fb/sm750.c cursor = &crtc->cursor; cursor 115 drivers/staging/sm750fb/sm750.c if (fbcursor->image.width > cursor->maxW || cursor 116 drivers/staging/sm750fb/sm750.c fbcursor->image.height > cursor->maxH || cursor 121 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_disable(cursor); cursor 123 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_setSize(cursor, cursor 128 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_setPos(cursor, cursor 144 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_setColor(cursor, fg, bg); cursor 148 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_setData(cursor, cursor 155 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_enable(cursor); cursor 449 drivers/staging/sm750fb/sm750.c struct lynx_cursor *cursor; cursor 484 drivers/staging/sm750fb/sm750.c cursor = &crtc->cursor; cursor 485 drivers/staging/sm750fb/sm750.c memset_io(cursor->vstart, 0x0, cursor->size); cursor 496 drivers/staging/sm750fb/sm750.c cursor = &crtc->cursor; cursor 497 drivers/staging/sm750fb/sm750.c memset_io(cursor->vstart, 0x0, cursor->size); cursor 781 drivers/staging/sm750fb/sm750.c crtc->cursor.offset = crtc->oScreen + crtc->vidmem_size - 1024; cursor 782 drivers/staging/sm750fb/sm750.c crtc->cursor.mmio = sm750_dev->pvReg + cursor 785 drivers/staging/sm750fb/sm750.c pr_info("crtc->cursor.mmio = %p\n", crtc->cursor.mmio); cursor 786 drivers/staging/sm750fb/sm750.c crtc->cursor.maxH = crtc->cursor.maxW = 64; cursor 787 drivers/staging/sm750fb/sm750.c crtc->cursor.size = crtc->cursor.maxH * crtc->cursor.maxW * 2 / 8; cursor 788 drivers/staging/sm750fb/sm750.c crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset; cursor 790 drivers/staging/sm750fb/sm750.c memset_io(crtc->cursor.vstart, 0, crtc->cursor.size); cursor 793 drivers/staging/sm750fb/sm750.c sm750_hw_cursor_disable(&crtc->cursor); cursor 144 drivers/staging/sm750fb/sm750.h struct lynx_cursor cursor; cursor 23 drivers/staging/sm750fb/sm750_cursor.c writel((data), cursor->mmio + (addr)) cursor 48 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_enable(struct lynx_cursor *cursor) cursor 52 drivers/staging/sm750fb/sm750_cursor.c reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; cursor 56 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_disable(struct lynx_cursor *cursor) cursor 61 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) cursor 63 drivers/staging/sm750fb/sm750_cursor.c cursor->w = w; cursor 64 drivers/staging/sm750fb/sm750_cursor.c cursor->h = h; cursor 67 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) cursor 76 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) cursor 85 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, cursor 94 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; cursor 97 drivers/staging/sm750fb/sm750_cursor.c count = pitch * cursor->h; cursor 100 drivers/staging/sm750fb/sm750_cursor.c offset = cursor->maxW * 2 / 8; cursor 103 drivers/staging/sm750fb/sm750_cursor.c pstart = cursor->vstart; cursor 135 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop, cursor 144 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; cursor 147 drivers/staging/sm750fb/sm750_cursor.c count = pitch * cursor->h; cursor 150 drivers/staging/sm750fb/sm750_cursor.c offset = cursor->maxW * 2 / 8; cursor 153 drivers/staging/sm750fb/sm750_cursor.c pstart = cursor->vstart; cursor 6 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_enable(struct lynx_cursor *cursor); cursor 7 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_disable(struct lynx_cursor *cursor); cursor 8 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, cursor 10 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, cursor 12 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, cursor 14 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_setData(struct lynx_cursor *cursor, cursor 16 drivers/staging/sm750fb/sm750_cursor.h void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, cursor 714 drivers/staging/speakup/kobjects.c enum msg_index_t cursor; cursor 718 drivers/staging/speakup/kobjects.c for (cursor = first; cursor <= last; cursor++, index++) { cursor 722 drivers/staging/speakup/kobjects.c index, spk_msg_get(cursor)); cursor 476 drivers/usb/core/hub.c int cursor = -1; cursor 489 drivers/usb/core/hub.c cursor = i; cursor 529 drivers/usb/core/hub.c cursor++; cursor 530 drivers/usb/core/hub.c cursor %= hdev->maxchild; cursor 531 drivers/usb/core/hub.c set_port_led(hub, cursor + 1, HUB_LED_GREEN); cursor 532 drivers/usb/core/hub.c hub->indicator[cursor] = INDICATOR_CYCLE; cursor 291 drivers/usb/serial/mos7720.c struct list_head *cursor, *next; cursor 322 drivers/usb/serial/mos7720.c list_for_each_safe(cursor, next, &mos_parport->deferred_urbs) cursor 323 drivers/usb/serial/mos7720.c list_move_tail(cursor, &mos_parport->active_urbs); cursor 147 drivers/video/fbdev/arkfb.c static void arkfb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) cursor 151 drivers/video/fbdev/arkfb.c svga_tilecursor(par->state.vgabase, info, cursor); cursor 68 drivers/video/fbdev/aty/mach64_cursor.c static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 82 drivers/video/fbdev/aty/mach64_cursor.c if (cursor->enable) cursor 90 drivers/video/fbdev/aty/mach64_cursor.c if (cursor->set & FB_CUR_SETPOS) { cursor 91 drivers/video/fbdev/aty/mach64_cursor.c x = cursor->image.dx - cursor->hot.x - info->var.xoffset; cursor 99 drivers/video/fbdev/aty/mach64_cursor.c y = cursor->image.dy - cursor->hot.y - info->var.yoffset; cursor 107 drivers/video/fbdev/aty/mach64_cursor.c h = cursor->image.height; cursor 125 drivers/video/fbdev/aty/mach64_cursor.c if (cursor->set & FB_CUR_SETCMAP) { cursor 128 drivers/video/fbdev/aty/mach64_cursor.c fg_idx = cursor->image.fg_color; cursor 129 drivers/video/fbdev/aty/mach64_cursor.c bg_idx = cursor->image.bg_color; cursor 144 drivers/video/fbdev/aty/mach64_cursor.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 145 drivers/video/fbdev/aty/mach64_cursor.c u8 *src = (u8 *)cursor->image.data; cursor 146 drivers/video/fbdev/aty/mach64_cursor.c u8 *msk = (u8 *)cursor->mask; cursor 148 drivers/video/fbdev/aty/mach64_cursor.c unsigned int width = (cursor->image.width + 7) >> 3; cursor 149 drivers/video/fbdev/aty/mach64_cursor.c unsigned int height = cursor->image.height; cursor 165 drivers/video/fbdev/aty/mach64_cursor.c switch (cursor->rop) { cursor 183 drivers/video/fbdev/aty/mach64_cursor.c if ((j + 1) * 8 > cursor->image.width) { cursor 185 drivers/video/fbdev/aty/mach64_cursor.c (1 << ((cursor->image.width & 7) * 2)) - 1); cursor 60 drivers/video/fbdev/bw2.c u32 cursor; cursor 194 drivers/video/fbdev/cg14.c struct cg14_cursor __iomem *cursor; cursor 457 drivers/video/fbdev/cg14.c if (par->cursor) cursor 459 drivers/video/fbdev/cg14.c par->cursor, sizeof(struct cg14_cursor)); cursor 503 drivers/video/fbdev/cg14.c par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, cursor 509 drivers/video/fbdev/cg14.c if (!par->regs || !par->clut || !par->cursor || !info->screen_base) cursor 85 drivers/video/fbdev/cg3.c u32 cursor; cursor 252 drivers/video/fbdev/cg6.c u32 cursor; cursor 237 drivers/video/fbdev/cobalt_lcdfb.c static int cobalt_lcdfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 242 drivers/video/fbdev/cobalt_lcdfb.c switch (cursor->set) { cursor 244 drivers/video/fbdev/cobalt_lcdfb.c x = cursor->image.dx; cursor 245 drivers/video/fbdev/cobalt_lcdfb.c y = cursor->image.dy; cursor 264 drivers/video/fbdev/cobalt_lcdfb.c if (cursor->enable) cursor 239 drivers/video/fbdev/core/bitblit.c struct fb_cursor cursor; cursor 248 drivers/video/fbdev/core/bitblit.c cursor.set = 0; cursor 266 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETIMAGE; cursor 286 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETCMAP; cursor 294 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETPOS; cursor 302 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETSIZE; cursor 307 drivers/video/fbdev/core/bitblit.c ops->cursor_state.hot.x = cursor.hot.y = 0; cursor 308 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETHOT; cursor 311 drivers/video/fbdev/core/bitblit.c if (cursor.set & FB_CUR_SETSIZE || cursor 326 drivers/video/fbdev/core/bitblit.c cursor.set |= FB_CUR_SETSHAPE; cursor 368 drivers/video/fbdev/core/bitblit.c cursor.image.data = src; cursor 369 drivers/video/fbdev/core/bitblit.c cursor.image.fg_color = ops->cursor_state.image.fg_color; cursor 370 drivers/video/fbdev/core/bitblit.c cursor.image.bg_color = ops->cursor_state.image.bg_color; cursor 371 drivers/video/fbdev/core/bitblit.c cursor.image.dx = ops->cursor_state.image.dx; cursor 372 drivers/video/fbdev/core/bitblit.c cursor.image.dy = ops->cursor_state.image.dy; cursor 373 drivers/video/fbdev/core/bitblit.c cursor.image.height = ops->cursor_state.image.height; cursor 374 drivers/video/fbdev/core/bitblit.c cursor.image.width = ops->cursor_state.image.width; cursor 375 drivers/video/fbdev/core/bitblit.c cursor.hot.x = ops->cursor_state.hot.x; cursor 376 drivers/video/fbdev/core/bitblit.c cursor.hot.y = ops->cursor_state.hot.y; cursor 377 drivers/video/fbdev/core/bitblit.c cursor.mask = ops->cursor_state.mask; cursor 378 drivers/video/fbdev/core/bitblit.c cursor.enable = ops->cursor_state.enable; cursor 379 drivers/video/fbdev/core/bitblit.c cursor.image.depth = 1; cursor 380 drivers/video/fbdev/core/bitblit.c cursor.rop = ROP_XOR; cursor 383 drivers/video/fbdev/core/bitblit.c err = info->fbops->fb_cursor(info, &cursor); cursor 386 drivers/video/fbdev/core/bitblit.c soft_cursor(info, &cursor); cursor 409 drivers/video/fbdev/core/bitblit.c ops->cursor = bit_cursor; cursor 417 drivers/video/fbdev/core/fbcon.c ops->cursor(vc, info, mode, softback_lines, get_color(vc, info, c, 1), cursor 1405 drivers/video/fbdev/core/fbcon.c ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1), cursor 64 drivers/video/fbdev/core/fbcon.h void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode, cursor 222 drivers/video/fbdev/core/fbcon.h extern int soft_cursor(struct fb_info *info, struct fb_cursor *cursor); cursor 224 drivers/video/fbdev/core/fbcon_ccw.c struct fb_cursor cursor; cursor 237 drivers/video/fbdev/core/fbcon_ccw.c cursor.set = 0; cursor 255 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETIMAGE; cursor 275 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETCMAP; cursor 283 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETSIZE; cursor 294 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETPOS; cursor 299 drivers/video/fbdev/core/fbcon_ccw.c ops->cursor_state.hot.x = cursor.hot.y = 0; cursor 300 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETHOT; cursor 303 drivers/video/fbdev/core/fbcon_ccw.c if (cursor.set & FB_CUR_SETSIZE || cursor 326 drivers/video/fbdev/core/fbcon_ccw.c cursor.set |= FB_CUR_SETSHAPE; cursor 372 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.data = src; cursor 373 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.fg_color = ops->cursor_state.image.fg_color; cursor 374 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.bg_color = ops->cursor_state.image.bg_color; cursor 375 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.dx = ops->cursor_state.image.dx; cursor 376 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.dy = ops->cursor_state.image.dy; cursor 377 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.height = ops->cursor_state.image.height; cursor 378 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.width = ops->cursor_state.image.width; cursor 379 drivers/video/fbdev/core/fbcon_ccw.c cursor.hot.x = ops->cursor_state.hot.x; cursor 380 drivers/video/fbdev/core/fbcon_ccw.c cursor.hot.y = ops->cursor_state.hot.y; cursor 381 drivers/video/fbdev/core/fbcon_ccw.c cursor.mask = ops->cursor_state.mask; cursor 382 drivers/video/fbdev/core/fbcon_ccw.c cursor.enable = ops->cursor_state.enable; cursor 383 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.depth = 1; cursor 384 drivers/video/fbdev/core/fbcon_ccw.c cursor.rop = ROP_XOR; cursor 387 drivers/video/fbdev/core/fbcon_ccw.c err = info->fbops->fb_cursor(info, &cursor); cursor 390 drivers/video/fbdev/core/fbcon_ccw.c soft_cursor(info, &cursor); cursor 418 drivers/video/fbdev/core/fbcon_ccw.c ops->cursor = ccw_cursor; cursor 207 drivers/video/fbdev/core/fbcon_cw.c struct fb_cursor cursor; cursor 220 drivers/video/fbdev/core/fbcon_cw.c cursor.set = 0; cursor 238 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETIMAGE; cursor 258 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETCMAP; cursor 266 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETSIZE; cursor 277 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETPOS; cursor 282 drivers/video/fbdev/core/fbcon_cw.c ops->cursor_state.hot.x = cursor.hot.y = 0; cursor 283 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETHOT; cursor 286 drivers/video/fbdev/core/fbcon_cw.c if (cursor.set & FB_CUR_SETSIZE || cursor 309 drivers/video/fbdev/core/fbcon_cw.c cursor.set |= FB_CUR_SETSHAPE; cursor 355 drivers/video/fbdev/core/fbcon_cw.c cursor.image.data = src; cursor 356 drivers/video/fbdev/core/fbcon_cw.c cursor.image.fg_color = ops->cursor_state.image.fg_color; cursor 357 drivers/video/fbdev/core/fbcon_cw.c cursor.image.bg_color = ops->cursor_state.image.bg_color; cursor 358 drivers/video/fbdev/core/fbcon_cw.c cursor.image.dx = ops->cursor_state.image.dx; cursor 359 drivers/video/fbdev/core/fbcon_cw.c cursor.image.dy = ops->cursor_state.image.dy; cursor 360 drivers/video/fbdev/core/fbcon_cw.c cursor.image.height = ops->cursor_state.image.height; cursor 361 drivers/video/fbdev/core/fbcon_cw.c cursor.image.width = ops->cursor_state.image.width; cursor 362 drivers/video/fbdev/core/fbcon_cw.c cursor.hot.x = ops->cursor_state.hot.x; cursor 363 drivers/video/fbdev/core/fbcon_cw.c cursor.hot.y = ops->cursor_state.hot.y; cursor 364 drivers/video/fbdev/core/fbcon_cw.c cursor.mask = ops->cursor_state.mask; cursor 365 drivers/video/fbdev/core/fbcon_cw.c cursor.enable = ops->cursor_state.enable; cursor 366 drivers/video/fbdev/core/fbcon_cw.c cursor.image.depth = 1; cursor 367 drivers/video/fbdev/core/fbcon_cw.c cursor.rop = ROP_XOR; cursor 370 drivers/video/fbdev/core/fbcon_cw.c err = info->fbops->fb_cursor(info, &cursor); cursor 373 drivers/video/fbdev/core/fbcon_cw.c soft_cursor(info, &cursor); cursor 401 drivers/video/fbdev/core/fbcon_cw.c ops->cursor = cw_cursor; cursor 254 drivers/video/fbdev/core/fbcon_ud.c struct fb_cursor cursor; cursor 268 drivers/video/fbdev/core/fbcon_ud.c cursor.set = 0; cursor 286 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETIMAGE; cursor 306 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETCMAP; cursor 314 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETSIZE; cursor 325 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETPOS; cursor 330 drivers/video/fbdev/core/fbcon_ud.c ops->cursor_state.hot.x = cursor.hot.y = 0; cursor 331 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETHOT; cursor 334 drivers/video/fbdev/core/fbcon_ud.c if (cursor.set & FB_CUR_SETSIZE || cursor 349 drivers/video/fbdev/core/fbcon_ud.c cursor.set |= FB_CUR_SETSHAPE; cursor 395 drivers/video/fbdev/core/fbcon_ud.c cursor.image.data = src; cursor 396 drivers/video/fbdev/core/fbcon_ud.c cursor.image.fg_color = ops->cursor_state.image.fg_color; cursor 397 drivers/video/fbdev/core/fbcon_ud.c cursor.image.bg_color = ops->cursor_state.image.bg_color; cursor 398 drivers/video/fbdev/core/fbcon_ud.c cursor.image.dx = ops->cursor_state.image.dx; cursor 399 drivers/video/fbdev/core/fbcon_ud.c cursor.image.dy = ops->cursor_state.image.dy; cursor 400 drivers/video/fbdev/core/fbcon_ud.c cursor.image.height = ops->cursor_state.image.height; cursor 401 drivers/video/fbdev/core/fbcon_ud.c cursor.image.width = ops->cursor_state.image.width; cursor 402 drivers/video/fbdev/core/fbcon_ud.c cursor.hot.x = ops->cursor_state.hot.x; cursor 403 drivers/video/fbdev/core/fbcon_ud.c cursor.hot.y = ops->cursor_state.hot.y; cursor 404 drivers/video/fbdev/core/fbcon_ud.c cursor.mask = ops->cursor_state.mask; cursor 405 drivers/video/fbdev/core/fbcon_ud.c cursor.enable = ops->cursor_state.enable; cursor 406 drivers/video/fbdev/core/fbcon_ud.c cursor.image.depth = 1; cursor 407 drivers/video/fbdev/core/fbcon_ud.c cursor.rop = ROP_XOR; cursor 410 drivers/video/fbdev/core/fbcon_ud.c err = info->fbops->fb_cursor(info, &cursor); cursor 413 drivers/video/fbdev/core/fbcon_ud.c soft_cursor(info, &cursor); cursor 445 drivers/video/fbdev/core/fbcon_ud.c ops->cursor = ud_cursor; cursor 496 drivers/video/fbdev/core/fbsysfs.c __ATTR(cursor, S_IRUGO|S_IWUSR, show_cursor, store_cursor), cursor 22 drivers/video/fbdev/core/softcursor.c int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 34 drivers/video/fbdev/core/softcursor.c s_pitch = (cursor->image.width + 7) >> 3; cursor 35 drivers/video/fbdev/core/softcursor.c dsize = s_pitch * cursor->image.height; cursor 50 drivers/video/fbdev/core/softcursor.c *image = cursor->image; cursor 57 drivers/video/fbdev/core/softcursor.c if (cursor->enable) { cursor 58 drivers/video/fbdev/core/softcursor.c switch (cursor->rop) { cursor 61 drivers/video/fbdev/core/softcursor.c src[i] = image->data[i] ^ cursor->mask[i]; cursor 66 drivers/video/fbdev/core/softcursor.c src[i] = image->data[i] & cursor->mask[i]; cursor 302 drivers/video/fbdev/core/svgalib.c void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor) cursor 306 drivers/video/fbdev/core/svgalib.c u16 pos = cursor->sx + (info->var.xoffset / 8) cursor 307 drivers/video/fbdev/core/svgalib.c + (cursor->sy + (info->var.yoffset / 16)) cursor 310 drivers/video/fbdev/core/svgalib.c if (! cursor -> mode) cursor 315 drivers/video/fbdev/core/svgalib.c if (cursor -> shape == FB_TILE_CURSOR_NONE) cursor 318 drivers/video/fbdev/core/svgalib.c switch (cursor -> shape) { cursor 85 drivers/video/fbdev/core/tileblit.c struct fb_tilecursor cursor; cursor 88 drivers/video/fbdev/core/tileblit.c cursor.sx = vc->vc_x; cursor 89 drivers/video/fbdev/core/tileblit.c cursor.sy = vc->vc_y; cursor 90 drivers/video/fbdev/core/tileblit.c cursor.mode = (mode == CM_ERASE || use_sw) ? 0 : 1; cursor 91 drivers/video/fbdev/core/tileblit.c cursor.fg = fg; cursor 92 drivers/video/fbdev/core/tileblit.c cursor.bg = bg; cursor 96 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_NONE; cursor 99 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_UNDERLINE; cursor 102 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; cursor 105 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_LOWER_HALF; cursor 108 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_TWO_THIRDS; cursor 112 drivers/video/fbdev/core/tileblit.c cursor.shape = FB_TILE_CURSOR_BLOCK; cursor 116 drivers/video/fbdev/core/tileblit.c info->tileops->fb_tilecursor(info, &cursor); cursor 140 drivers/video/fbdev/core/tileblit.c ops->cursor = tile_cursor; cursor 380 drivers/video/fbdev/fsl-diu-fb.c __le16 cursor[MAX_CURS * MAX_CURS] __aligned(32); cursor 448 drivers/video/fbdev/fsl-diu-fb.c hw->palette, hw->cursor, hw->curs_pos, hw->diu_mode, cursor 1000 drivers/video/fbdev/fsl-diu-fb.c __le16 *cursor = data->cursor; cursor 1010 drivers/video/fbdev/fsl-diu-fb.c cursor[w] = (line & mask) ? _fg : _bg; cursor 1014 drivers/video/fbdev/fsl-diu-fb.c cursor += MAX_CURS; cursor 1023 drivers/video/fbdev/fsl-diu-fb.c static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1029 drivers/video/fbdev/fsl-diu-fb.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) cursor 1033 drivers/video/fbdev/fsl-diu-fb.c if (cursor->set & FB_CUR_SETSIZE) { cursor 1041 drivers/video/fbdev/fsl-diu-fb.c memset(data->cursor, 0, sizeof(data->cursor)); cursor 1045 drivers/video/fbdev/fsl-diu-fb.c if (cursor->set & FB_CUR_SETPOS) { cursor 1048 drivers/video/fbdev/fsl-diu-fb.c yy = (cursor->image.dy - info->var.yoffset) & 0x7ff; cursor 1049 drivers/video/fbdev/fsl-diu-fb.c xx = (cursor->image.dx - info->var.xoffset) & 0x7ff; cursor 1059 drivers/video/fbdev/fsl-diu-fb.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETCMAP | FB_CUR_SETIMAGE)) { cursor 1065 drivers/video/fbdev/fsl-diu-fb.c DIV_ROUND_UP(cursor->image.width, 8) * cursor 1066 drivers/video/fbdev/fsl-diu-fb.c cursor->image.height; cursor 1069 drivers/video/fbdev/fsl-diu-fb.c unsigned int bg_idx = cursor->image.bg_color; cursor 1070 drivers/video/fbdev/fsl-diu-fb.c unsigned int fg_idx = cursor->image.fg_color; cursor 1090 drivers/video/fbdev/fsl-diu-fb.c source = (uint32_t *)cursor->image.data; cursor 1091 drivers/video/fbdev/fsl-diu-fb.c mask = (uint32_t *)cursor->mask; cursor 1093 drivers/video/fbdev/fsl-diu-fb.c if (cursor->rop == ROP_XOR) cursor 1101 drivers/video/fbdev/fsl-diu-fb.c cursor->image.width, cursor->image.height); cursor 1111 drivers/video/fbdev/fsl-diu-fb.c if (cursor->enable) cursor 1112 drivers/video/fbdev/fsl-diu-fb.c out_be32(&hw->cursor, DMA_ADDR(data, cursor)); cursor 1114 drivers/video/fbdev/fsl-diu-fb.c out_be32(&hw->cursor, DMA_ADDR(data, blank_cursor)); cursor 111 drivers/video/fbdev/g364fb.c static int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor); cursor 125 drivers/video/fbdev/g364fb.c int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 128 drivers/video/fbdev/g364fb.c switch (cursor->enable) { cursor 81 drivers/video/fbdev/i810/i810_main.c static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor); cursor 1478 drivers/video/fbdev/i810/i810_main.c static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1486 drivers/video/fbdev/i810/i810_main.c if (cursor->image.width > 64 || cursor->image.height > 64) cursor 1491 drivers/video/fbdev/i810/i810_main.c cursor->set |= FB_CUR_SETALL; cursor 1496 drivers/video/fbdev/i810/i810_main.c if (cursor->set & FB_CUR_SETPOS) { cursor 1499 drivers/video/fbdev/i810/i810_main.c tmp = (cursor->image.dx - info->var.xoffset) & 0xffff; cursor 1500 drivers/video/fbdev/i810/i810_main.c tmp |= (cursor->image.dy - info->var.yoffset) << 16; cursor 1504 drivers/video/fbdev/i810/i810_main.c if (cursor->set & FB_CUR_SETSIZE) cursor 1507 drivers/video/fbdev/i810/i810_main.c if (cursor->set & FB_CUR_SETCMAP) cursor 1508 drivers/video/fbdev/i810/i810_main.c i810_load_cursor_colors(cursor->image.fg_color, cursor 1509 drivers/video/fbdev/i810/i810_main.c cursor->image.bg_color, cursor 1512 drivers/video/fbdev/i810/i810_main.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 1513 drivers/video/fbdev/i810/i810_main.c int size = ((cursor->image.width + 7) >> 3) * cursor 1514 drivers/video/fbdev/i810/i810_main.c cursor->image.height; cursor 1521 drivers/video/fbdev/i810/i810_main.c switch (cursor->rop) { cursor 1524 drivers/video/fbdev/i810/i810_main.c data[i] = cursor->image.data[i] ^ cursor->mask[i]; cursor 1529 drivers/video/fbdev/i810/i810_main.c data[i] = cursor->image.data[i] & cursor->mask[i]; cursor 1533 drivers/video/fbdev/i810/i810_main.c i810_load_cursor_image(cursor->image.width, cursor 1534 drivers/video/fbdev/i810/i810_main.c cursor->image.height, data, cursor 1539 drivers/video/fbdev/i810/i810_main.c if (cursor->enable) cursor 1196 drivers/video/fbdev/imsttfb.c imsttfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1199 drivers/video/fbdev/imsttfb.c u32 flags = cursor->set, fg, bg, xx, yy; cursor 1201 drivers/video/fbdev/imsttfb.c if (cursor->dest == NULL && cursor->rop == ROP_XOR) cursor 1204 drivers/video/fbdev/imsttfb.c imstt_set_cursor(info, cursor, 0); cursor 1207 drivers/video/fbdev/imsttfb.c xx = cursor->image.dx - info->var.xoffset; cursor 1208 drivers/video/fbdev/imsttfb.c yy = cursor->image.dy - info->var.yoffset; cursor 1215 drivers/video/fbdev/imsttfb.c int fg_idx = cursor->image.fg_color; cursor 1216 drivers/video/fbdev/imsttfb.c int width = (cursor->image.width+7)/8; cursor 1217 drivers/video/fbdev/imsttfb.c u8 *dat = (u8 *) cursor->image.data; cursor 1218 drivers/video/fbdev/imsttfb.c u8 *dst = (u8 *) cursor->dest; cursor 1219 drivers/video/fbdev/imsttfb.c u8 *msk = (u8 *) cursor->mask; cursor 1221 drivers/video/fbdev/imsttfb.c switch (cursor->rop) { cursor 1223 drivers/video/fbdev/imsttfb.c for (i = 0; i < cursor->image.height; i++) { cursor 1235 drivers/video/fbdev/imsttfb.c for (i = 0; i < cursor->image.height; i++) { cursor 1252 drivers/video/fbdev/imsttfb.c if (cursor->enable) cursor 1253 drivers/video/fbdev/imsttfb.c imstt_set_cursor(info, cursor, 1); cursor 295 drivers/video/fbdev/intelfb/intelfb.h struct intelfb_heap_data cursor; cursor 154 drivers/video/fbdev/intelfb/intelfbdrv.c struct fb_cursor *cursor); cursor 610 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.size = HW_CURSOR_SIZE; cursor 636 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.offset = offset + cursor 641 drivers/video/fbdev/intelfb/intelfbdrv.c + (dinfo->cursor.size >> 12); cursor 692 drivers/video/fbdev/intelfb/intelfbdrv.c agp_allocate_memory(bridge, dinfo->cursor.size >> 12, cursor 700 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.offset)) { cursor 707 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.physical cursor 710 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.physical = dinfo->aperture.physical cursor 711 drivers/video/fbdev/intelfb/intelfbdrv.c + (dinfo->cursor.offset << 12); cursor 712 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.virtual = dinfo->aperture.virtual cursor 713 drivers/video/fbdev/intelfb/intelfbdrv.c + (dinfo->cursor.offset << 12); cursor 756 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.physical, dinfo->cursor.size, cursor 757 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.virtual, dinfo->cursor.offset, cursor 758 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->cursor.physical); cursor 1540 drivers/video/fbdev/intelfb/intelfbdrv.c static int intelfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1554 drivers/video/fbdev/intelfb/intelfbdrv.c physical = (dinfo->mobile || IS_I9XX(dinfo)) ? dinfo->cursor.physical : cursor 1555 drivers/video/fbdev/intelfb/intelfbdrv.c (dinfo->cursor.offset << 12); cursor 1562 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.width, cursor->image.height, cursor 1563 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.dx, cursor->image.dy); cursor 1567 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_cursor_setpos(dinfo, cursor->image.dx, cursor 1568 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.dy); cursor 1571 drivers/video/fbdev/intelfb/intelfbdrv.c fg =dinfo->pseudo_palette[cursor->image.fg_color]; cursor 1572 drivers/video/fbdev/intelfb/intelfbdrv.c bg =dinfo->pseudo_palette[cursor->image.bg_color]; cursor 1574 drivers/video/fbdev/intelfb/intelfbdrv.c fg = cursor->image.fg_color; cursor 1575 drivers/video/fbdev/intelfb/intelfbdrv.c bg = cursor->image.bg_color; cursor 1578 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_cursor_load(dinfo, cursor->image.width, cursor 1579 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.height, cursor 1582 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->enable) cursor 1587 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->set & FB_CUR_SETPOS) { cursor 1590 drivers/video/fbdev/intelfb/intelfbdrv.c dx = cursor->image.dx - info->var.xoffset; cursor 1591 drivers/video/fbdev/intelfb/intelfbdrv.c dy = cursor->image.dy - info->var.yoffset; cursor 1596 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->set & FB_CUR_SETSIZE) { cursor 1597 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->image.width > 64 || cursor->image.height > 64) cursor 1603 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->set & FB_CUR_SETCMAP) { cursor 1607 drivers/video/fbdev/intelfb/intelfbdrv.c fg = dinfo->pseudo_palette[cursor->image.fg_color]; cursor 1608 drivers/video/fbdev/intelfb/intelfbdrv.c bg = dinfo->pseudo_palette[cursor->image.bg_color]; cursor 1610 drivers/video/fbdev/intelfb/intelfbdrv.c fg = cursor->image.fg_color; cursor 1611 drivers/video/fbdev/intelfb/intelfbdrv.c bg = cursor->image.bg_color; cursor 1617 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 1618 drivers/video/fbdev/intelfb/intelfbdrv.c u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8); cursor 1619 drivers/video/fbdev/intelfb/intelfbdrv.c u32 size = s_pitch * cursor->image.height; cursor 1620 drivers/video/fbdev/intelfb/intelfbdrv.c u8 *dat = (u8 *) cursor->image.data; cursor 1621 drivers/video/fbdev/intelfb/intelfbdrv.c u8 *msk = (u8 *) cursor->mask; cursor 1625 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->image.depth != 1) cursor 1628 drivers/video/fbdev/intelfb/intelfbdrv.c switch (cursor->rop) { cursor 1644 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_cursor_load(dinfo, cursor->image.width, cursor 1645 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.height, src); cursor 1648 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->enable) cursor 1845 drivers/video/fbdev/intelfb/intelfbhw.c if (!dinfo->cursor.physical) cursor 1853 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); cursor 1860 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.offset << 12); cursor 1877 drivers/video/fbdev/intelfb/intelfbhw.c if (!dinfo->cursor.physical) cursor 1884 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); cursor 1906 drivers/video/fbdev/intelfb/intelfbhw.c if (!dinfo->cursor.physical) cursor 1913 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); cursor 1940 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); cursor 1958 drivers/video/fbdev/intelfb/intelfbhw.c u8 __iomem *addr = (u8 __iomem *)dinfo->cursor.virtual; cursor 1966 drivers/video/fbdev/intelfb/intelfbhw.c if (!dinfo->cursor.virtual) cursor 1986 drivers/video/fbdev/intelfb/intelfbhw.c u8 __iomem *addr = (u8 __iomem *)dinfo->cursor.virtual; cursor 1993 drivers/video/fbdev/intelfb/intelfbhw.c if (!dinfo->cursor.virtual) cursor 187 drivers/video/fbdev/leo.c struct leo_cursor __iomem *cursor; cursor 213 drivers/video/fbdev/leo.c struct leo_cursor __iomem *cursor = par->cursor; cursor 246 drivers/video/fbdev/leo.c sbus_writel(sbus_readl(&cursor->cur_misc) & ~LEO_CUR_ENABLE, &cursor->cur_misc); cursor 544 drivers/video/fbdev/leo.c if (par->cursor) cursor 546 drivers/video/fbdev/leo.c par->cursor, sizeof(struct leo_cursor)); cursor 589 drivers/video/fbdev/leo.c par->cursor = cursor 599 drivers/video/fbdev/leo.c !par->cursor || cursor 529 drivers/video/fbdev/nvidia/nvidia.c static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 533 drivers/video/fbdev/nvidia/nvidia.c int i, set = cursor->set; cursor 536 drivers/video/fbdev/nvidia/nvidia.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) cursor 552 drivers/video/fbdev/nvidia/nvidia.c yy = cursor->image.dy - info->var.yoffset; cursor 553 drivers/video/fbdev/nvidia/nvidia.c xx = cursor->image.dx - info->var.xoffset; cursor 561 drivers/video/fbdev/nvidia/nvidia.c u32 bg_idx = cursor->image.bg_color; cursor 562 drivers/video/fbdev/nvidia/nvidia.c u32 fg_idx = cursor->image.fg_color; cursor 563 drivers/video/fbdev/nvidia/nvidia.c u32 s_pitch = (cursor->image.width + 7) >> 3; cursor 565 drivers/video/fbdev/nvidia/nvidia.c u8 *dat = (u8 *) cursor->image.data; cursor 566 drivers/video/fbdev/nvidia/nvidia.c u8 *msk = (u8 *) cursor->mask; cursor 569 drivers/video/fbdev/nvidia/nvidia.c src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC); cursor 572 drivers/video/fbdev/nvidia/nvidia.c switch (cursor->rop) { cursor 574 drivers/video/fbdev/nvidia/nvidia.c for (i = 0; i < s_pitch * cursor->image.height; i++) cursor 579 drivers/video/fbdev/nvidia/nvidia.c for (i = 0; i < s_pitch * cursor->image.height; i++) cursor 585 drivers/video/fbdev/nvidia/nvidia.c cursor->image.height); cursor 598 drivers/video/fbdev/nvidia/nvidia.c cursor->image.width, cursor 599 drivers/video/fbdev/nvidia/nvidia.c cursor->image.height); cursor 604 drivers/video/fbdev/nvidia/nvidia.c if (cursor->enable) cursor 1259 drivers/video/fbdev/pm2fb.c static int pm2vfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1263 drivers/video/fbdev/pm2fb.c int x = cursor->image.dx - info->var.xoffset; cursor 1264 drivers/video/fbdev/pm2fb.c int y = cursor->image.dy - info->var.yoffset; cursor 1266 drivers/video/fbdev/pm2fb.c if (cursor->enable) cursor 1271 drivers/video/fbdev/pm2fb.c if (!cursor->enable) cursor 1283 drivers/video/fbdev/pm2fb.c if (!cursor->set) cursor 1286 drivers/video/fbdev/pm2fb.c if (cursor->set & FB_CUR_SETHOT) { cursor 1288 drivers/video/fbdev/pm2fb.c cursor->hot.x & 0x3f); cursor 1290 drivers/video/fbdev/pm2fb.c cursor->hot.y & 0x3f); cursor 1293 drivers/video/fbdev/pm2fb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 1294 drivers/video/fbdev/pm2fb.c u32 fg_idx = cursor->image.fg_color; cursor 1295 drivers/video/fbdev/pm2fb.c u32 bg_idx = cursor->image.bg_color; cursor 1316 drivers/video/fbdev/pm2fb.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 1317 drivers/video/fbdev/pm2fb.c u8 *bitmap = (u8 *)cursor->image.data; cursor 1318 drivers/video/fbdev/pm2fb.c u8 *mask = (u8 *)cursor->mask; cursor 1322 drivers/video/fbdev/pm2fb.c for (i = 0; i < cursor->image.height; i++) { cursor 1323 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; cursor 1331 drivers/video/fbdev/pm2fb.c if (cursor->rop == ROP_COPY) cursor 1360 drivers/video/fbdev/pm2fb.c static int pm2fb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1369 drivers/video/fbdev/pm2fb.c if (cursor->image.width > 64 || cursor 1370 drivers/video/fbdev/pm2fb.c cursor->image.height > 64 || cursor 1371 drivers/video/fbdev/pm2fb.c cursor->image.depth > 1) cursor 1375 drivers/video/fbdev/pm2fb.c return pm2vfb_cursor(info, cursor); cursor 1378 drivers/video/fbdev/pm2fb.c if (cursor->enable) cursor 1388 drivers/video/fbdev/pm2fb.c if (!cursor->set) cursor 1391 drivers/video/fbdev/pm2fb.c if (cursor->set & FB_CUR_SETPOS) { cursor 1392 drivers/video/fbdev/pm2fb.c int x = cursor->image.dx - info->var.xoffset + 63; cursor 1393 drivers/video/fbdev/pm2fb.c int y = cursor->image.dy - info->var.yoffset + 63; cursor 1402 drivers/video/fbdev/pm2fb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 1403 drivers/video/fbdev/pm2fb.c u32 fg_idx = cursor->image.fg_color; cursor 1404 drivers/video/fbdev/pm2fb.c u32 bg_idx = cursor->image.bg_color; cursor 1423 drivers/video/fbdev/pm2fb.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 1424 drivers/video/fbdev/pm2fb.c u8 *bitmap = (u8 *)cursor->image.data; cursor 1425 drivers/video/fbdev/pm2fb.c u8 *mask = (u8 *)cursor->mask; cursor 1431 drivers/video/fbdev/pm2fb.c for (i = 0; i < cursor->image.height; i++) { cursor 1432 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; cursor 1439 drivers/video/fbdev/pm2fb.c if (cursor->rop == ROP_COPY) cursor 1456 drivers/video/fbdev/pm2fb.c mask = (u8 *)cursor->mask; cursor 1457 drivers/video/fbdev/pm2fb.c for (i = 0; i < cursor->image.height; i++) { cursor 1458 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; cursor 612 drivers/video/fbdev/pm3fb.c static int pm3fb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 621 drivers/video/fbdev/pm3fb.c if (cursor->image.width > 64 || cursor 622 drivers/video/fbdev/pm3fb.c cursor->image.height > 64 || cursor 623 drivers/video/fbdev/pm3fb.c cursor->image.depth > 1) cursor 627 drivers/video/fbdev/pm3fb.c if (cursor->enable) cursor 637 drivers/video/fbdev/pm3fb.c if (!cursor->set) cursor 640 drivers/video/fbdev/pm3fb.c if (cursor->set & FB_CUR_SETPOS) { cursor 641 drivers/video/fbdev/pm3fb.c int x = cursor->image.dx - info->var.xoffset; cursor 642 drivers/video/fbdev/pm3fb.c int y = cursor->image.dy - info->var.yoffset; cursor 650 drivers/video/fbdev/pm3fb.c if (cursor->set & FB_CUR_SETHOT) { cursor 652 drivers/video/fbdev/pm3fb.c cursor->hot.x & 0x3f); cursor 654 drivers/video/fbdev/pm3fb.c cursor->hot.y & 0x3f); cursor 657 drivers/video/fbdev/pm3fb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 658 drivers/video/fbdev/pm3fb.c u32 fg_idx = cursor->image.fg_color; cursor 659 drivers/video/fbdev/pm3fb.c u32 bg_idx = cursor->image.bg_color; cursor 678 drivers/video/fbdev/pm3fb.c if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { cursor 679 drivers/video/fbdev/pm3fb.c u8 *bitmap = (u8 *)cursor->image.data; cursor 680 drivers/video/fbdev/pm3fb.c u8 *mask = (u8 *)cursor->mask; cursor 684 drivers/video/fbdev/pm3fb.c for (i = 0; i < cursor->image.height; i++) { cursor 685 drivers/video/fbdev/pm3fb.c int j = (cursor->image.width + 7) >> 3; cursor 691 drivers/video/fbdev/pm3fb.c if (cursor->rop == ROP_COPY) cursor 104 drivers/video/fbdev/pmag-aa-fb.c static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 108 drivers/video/fbdev/pmag-aa-fb.c if (cursor->image.height > BT431_CURSOR_SIZE || cursor 109 drivers/video/fbdev/pmag-aa-fb.c cursor->image.width > BT431_CURSOR_SIZE) { cursor 114 drivers/video/fbdev/pmag-aa-fb.c if (!cursor->enable) cursor 117 drivers/video/fbdev/pmag-aa-fb.c if (cursor->set & FB_CUR_SETPOS) cursor 119 drivers/video/fbdev/pmag-aa-fb.c cursor->image.dx, cursor->image.dy); cursor 120 drivers/video/fbdev/pmag-aa-fb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 121 drivers/video/fbdev/pmag-aa-fb.c u8 fg = cursor->image.fg_color ? 0xf : 0x0; cursor 122 drivers/video/fbdev/pmag-aa-fb.c u8 bg = cursor->image.bg_color ? 0xf : 0x0; cursor 128 drivers/video/fbdev/pmag-aa-fb.c if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) cursor 130 drivers/video/fbdev/pmag-aa-fb.c cursor->image.data, cursor->mask, cursor->rop, cursor 131 drivers/video/fbdev/pmag-aa-fb.c cursor->image.width, cursor->image.height); cursor 133 drivers/video/fbdev/pmag-aa-fb.c if (cursor->enable) cursor 1577 drivers/video/fbdev/riva/fbdev.c static int rivafb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1581 drivers/video/fbdev/riva/fbdev.c int i, set = cursor->set; cursor 1584 drivers/video/fbdev/riva/fbdev.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) cursor 1600 drivers/video/fbdev/riva/fbdev.c yy = cursor->image.dy - info->var.yoffset; cursor 1601 drivers/video/fbdev/riva/fbdev.c xx = cursor->image.dx - info->var.xoffset; cursor 1610 drivers/video/fbdev/riva/fbdev.c u32 bg_idx = cursor->image.bg_color; cursor 1611 drivers/video/fbdev/riva/fbdev.c u32 fg_idx = cursor->image.fg_color; cursor 1612 drivers/video/fbdev/riva/fbdev.c u32 s_pitch = (cursor->image.width+7) >> 3; cursor 1614 drivers/video/fbdev/riva/fbdev.c u8 *dat = (u8 *) cursor->image.data; cursor 1615 drivers/video/fbdev/riva/fbdev.c u8 *msk = (u8 *) cursor->mask; cursor 1618 drivers/video/fbdev/riva/fbdev.c src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC); cursor 1621 drivers/video/fbdev/riva/fbdev.c switch (cursor->rop) { cursor 1623 drivers/video/fbdev/riva/fbdev.c for (i = 0; i < s_pitch * cursor->image.height; i++) cursor 1628 drivers/video/fbdev/riva/fbdev.c for (i = 0; i < s_pitch * cursor->image.height; i++) cursor 1634 drivers/video/fbdev/riva/fbdev.c cursor->image.height); cursor 1649 drivers/video/fbdev/riva/fbdev.c cursor->image.width, cursor 1650 drivers/video/fbdev/riva/fbdev.c cursor->image.height); cursor 1655 drivers/video/fbdev/riva/fbdev.c if (cursor->enable) cursor 125 drivers/video/fbdev/riva/riva_hw.c int cursor; cursor 126 drivers/video/fbdev/riva/riva_hw.c cursor = chip->CurrentState->cursor1; cursor 131 drivers/video/fbdev/riva/riva_hw.c return (cursor & 0x01); cursor 312 drivers/video/fbdev/s3fb.c static void s3fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) cursor 316 drivers/video/fbdev/s3fb.c svga_tilecursor(par->state.vgabase, info, cursor); cursor 580 drivers/video/fbdev/skeletonfb.c int xxxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 105 drivers/video/fbdev/sm501fb.c struct sm501_mem cursor; cursor 1038 drivers/video/fbdev/sm501fb.c static int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1046 drivers/video/fbdev/sm501fb.c dev_dbg(fbi->dev, "%s(%p,%p)\n", __func__, info, cursor); cursor 1055 drivers/video/fbdev/sm501fb.c if (cursor->image.width > 64) cursor 1058 drivers/video/fbdev/sm501fb.c if (cursor->image.height > 64) cursor 1061 drivers/video/fbdev/sm501fb.c if (cursor->image.depth > 1) cursor 1066 drivers/video/fbdev/sm501fb.c if (cursor->enable) cursor 1074 drivers/video/fbdev/sm501fb.c if (cursor->set & FB_CUR_SETPOS) { cursor 1075 drivers/video/fbdev/sm501fb.c unsigned int x = cursor->image.dx; cursor 1076 drivers/video/fbdev/sm501fb.c unsigned int y = cursor->image.dy; cursor 1088 drivers/video/fbdev/sm501fb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 1089 drivers/video/fbdev/sm501fb.c unsigned int bg_col = cursor->image.bg_color; cursor 1090 drivers/video/fbdev/sm501fb.c unsigned int fg_col = cursor->image.fg_color; cursor 1109 drivers/video/fbdev/sm501fb.c if (cursor->set & FB_CUR_SETSIZE || cursor 1110 drivers/video/fbdev/sm501fb.c cursor->set & (FB_CUR_SETIMAGE | FB_CUR_SETSHAPE)) { cursor 1116 drivers/video/fbdev/sm501fb.c const unsigned char *pcol = cursor->image.data; cursor 1117 drivers/video/fbdev/sm501fb.c const unsigned char *pmsk = cursor->mask; cursor 1118 drivers/video/fbdev/sm501fb.c void __iomem *dst = par->cursor.k_addr; cursor 1124 drivers/video/fbdev/sm501fb.c __func__, cursor->image.width, cursor->image.height); cursor 1129 drivers/video/fbdev/sm501fb.c for (y = 0; y < cursor->image.height; y++) { cursor 1130 drivers/video/fbdev/sm501fb.c for (x = 0; x < cursor->image.width; x++) { cursor 1500 drivers/video/fbdev/sm501fb.c ret = sm501_alloc_mem(info, &par->cursor, SM501_MEMF_CURSOR, 1024, cursor 1507 drivers/video/fbdev/sm501fb.c smc501_writel(par->cursor.sm_addr, cursor 2103 drivers/video/fbdev/sm501fb.c par->store_cursor = vmalloc(par->cursor.size); cursor 2113 drivers/video/fbdev/sm501fb.c memcpy_fromio(par->store_cursor, par->cursor.k_addr, par->cursor.size); cursor 2151 drivers/video/fbdev/sm501fb.c memcpy_toio(par->cursor.k_addr, par->store_cursor, cursor 2152 drivers/video/fbdev/sm501fb.c par->cursor.size); cursor 104 drivers/video/fbdev/tcx.c u32 cursor; cursor 1041 drivers/video/fbdev/tdfxfb.c static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 1050 drivers/video/fbdev/tdfxfb.c if (cursor->image.width > 64 || cursor 1051 drivers/video/fbdev/tdfxfb.c cursor->image.height > 64 || cursor 1052 drivers/video/fbdev/tdfxfb.c cursor->image.depth > 1) cursor 1056 drivers/video/fbdev/tdfxfb.c if (cursor->enable) cursor 1066 drivers/video/fbdev/tdfxfb.c if (!cursor->set) cursor 1070 drivers/video/fbdev/tdfxfb.c if (cursor->set & FB_CUR_SETCMAP) { cursor 1072 drivers/video/fbdev/tdfxfb.c u32 bg_idx = cursor->image.bg_color; cursor 1073 drivers/video/fbdev/tdfxfb.c u32 fg_idx = cursor->image.fg_color; cursor 1087 drivers/video/fbdev/tdfxfb.c if (cursor->set & FB_CUR_SETPOS) { cursor 1088 drivers/video/fbdev/tdfxfb.c int x = cursor->image.dx; cursor 1089 drivers/video/fbdev/tdfxfb.c int y = cursor->image.dy - info->var.yoffset; cursor 1096 drivers/video/fbdev/tdfxfb.c if (cursor->set & (FB_CUR_SETIMAGE | FB_CUR_SETSHAPE)) { cursor 1116 drivers/video/fbdev/tdfxfb.c u8 *bitmap = (u8 *)cursor->image.data; cursor 1117 drivers/video/fbdev/tdfxfb.c u8 *mask = (u8 *)cursor->mask; cursor 1122 drivers/video/fbdev/tdfxfb.c for (i = 0; i < cursor->image.height; i++) { cursor 1124 drivers/video/fbdev/tdfxfb.c int j = (cursor->image.width + 7) >> 3; cursor 1128 drivers/video/fbdev/tdfxfb.c if (cursor->rop == ROP_COPY) cursor 1011 drivers/video/fbdev/vermilion/vermilion.c static int vmlfb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 758 drivers/video/fbdev/via/viafbdev.c static int viafb_cursor(struct fb_info *info, struct fb_cursor *cursor) cursor 776 drivers/video/fbdev/via/viafbdev.c if (cursor->set & FB_CUR_SETHOT) { cursor 777 drivers/video/fbdev/via/viafbdev.c temp = (cursor->hot.x << 16) + cursor->hot.y; cursor 781 drivers/video/fbdev/via/viafbdev.c if (cursor->set & FB_CUR_SETPOS) { cursor 782 drivers/video/fbdev/via/viafbdev.c yy = cursor->image.dy - info->var.yoffset; cursor 783 drivers/video/fbdev/via/viafbdev.c xx = cursor->image.dx - info->var.xoffset; cursor 789 drivers/video/fbdev/via/viafbdev.c if (cursor->image.width <= 32 && cursor->image.height <= 32) cursor 791 drivers/video/fbdev/via/viafbdev.c else if (cursor->image.width <= 64 && cursor->image.height <= 64) cursor 795 drivers/video/fbdev/via/viafbdev.c "%dx%d", cursor->image.width, cursor->image.height); cursor 799 drivers/video/fbdev/via/viafbdev.c if (cursor->set & FB_CUR_SETSIZE) { cursor 809 drivers/video/fbdev/via/viafbdev.c if (cursor->set & FB_CUR_SETCMAP) { cursor 810 drivers/video/fbdev/via/viafbdev.c fg_color = cursor->image.fg_color; cursor 811 drivers/video/fbdev/via/viafbdev.c bg_color = cursor->image.bg_color; cursor 839 drivers/video/fbdev/via/viafbdev.c if (cursor->set & FB_CUR_SETSHAPE) { cursor 844 drivers/video/fbdev/via/viafbdev.c int size = ((cursor->image.width + 7) >> 3) * cursor 845 drivers/video/fbdev/via/viafbdev.c cursor->image.height; cursor 866 drivers/video/fbdev/via/viafbdev.c switch (cursor->rop) { cursor 869 drivers/video/fbdev/via/viafbdev.c cr_data->data[i] = cursor->mask[i]; cursor 874 drivers/video/fbdev/via/viafbdev.c cr_data->data[i] = cursor->mask[i]; cursor 901 drivers/video/fbdev/via/viafbdev.c if (cursor->enable) cursor 114 drivers/video/fbdev/vt8623fb.c static void vt8623fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) cursor 118 drivers/video/fbdev/vt8623fb.c svga_tilecursor(par->state.vgabase, info, cursor); cursor 228 fs/afs/cell.c struct afs_cell *cell, *candidate, *cursor; cursor 265 fs/afs/cell.c cursor = rb_entry(parent, struct afs_cell, net_node); cursor 267 fs/afs/cell.c n = strncasecmp(cursor->name, name, cursor 268 fs/afs/cell.c min_t(size_t, cursor->name_len, namesz)); cursor 270 fs/afs/cell.c n = cursor->name_len - namesz; cursor 307 fs/afs/cell.c cell = cursor; cursor 311 fs/afs/cell.c afs_get_cell(cursor); cursor 757 fs/afs/cell.c struct rb_node *cursor; cursor 769 fs/afs/cell.c for (cursor = rb_first(&net->cells); cursor; cursor = rb_next(cursor)) { cursor 771 fs/afs/cell.c rb_entry(cursor, struct afs_cell, net_node); cursor 442 fs/afs/server.c struct rb_node *cursor; cursor 453 fs/afs/server.c for (cursor = rb_first(&net->fs_servers); cursor; cursor = rb_next(cursor)) { cursor 455 fs/afs/server.c rb_entry(cursor, struct afs_server, uuid_rb); cursor 1604 fs/configfs/dir.c struct configfs_dirent * cursor = file->private_data; cursor 1608 fs/configfs/dir.c list_del_init(&cursor->s_sibling); cursor 1612 fs/configfs/dir.c release_configfs_dirent(cursor); cursor 1628 fs/configfs/dir.c struct configfs_dirent *cursor = file->private_data; cursor 1629 fs/configfs/dir.c struct list_head *p, *q = &cursor->s_sibling; cursor 1703 fs/configfs/dir.c struct configfs_dirent *cursor = file->private_data; cursor 1708 fs/configfs/dir.c list_del(&cursor->s_sibling); cursor 1718 fs/configfs/dir.c list_add_tail(&cursor->s_sibling, p); cursor 197 fs/fscache/cookie.c struct fscache_cookie *cursor; cursor 206 fs/fscache/cookie.c hlist_bl_for_each_entry(cursor, p, h, hash_link) { cursor 207 fs/fscache/cookie.c if (fscache_compare_cookie(candidate, cursor) == 0) cursor 219 fs/fscache/cookie.c if (test_and_set_bit(FSCACHE_COOKIE_ACQUIRED, &cursor->flags)) { cursor 220 fs/fscache/cookie.c trace_fscache_cookie(cursor, fscache_cookie_collision, cursor 221 fs/fscache/cookie.c atomic_read(&cursor->usage)); cursor 223 fs/fscache/cookie.c fscache_print_cookie(cursor, 'O'); cursor 229 fs/fscache/cookie.c fscache_cookie_get(cursor, fscache_cookie_get_reacquire); cursor 231 fs/fscache/cookie.c return cursor; cursor 98 fs/libfs.c static struct dentry *scan_positives(struct dentry *cursor, cursor 103 fs/libfs.c struct dentry *dentry = cursor->d_parent, *found = NULL; cursor 121 fs/libfs.c list_move(&cursor->d_child, p); cursor 122 fs/libfs.c p = &cursor->d_child; cursor 148 fs/libfs.c struct dentry *cursor = file->private_data; cursor 154 fs/libfs.c to = scan_positives(cursor, &dentry->d_subdirs, cursor 158 fs/libfs.c list_move(&cursor->d_child, &to->d_child); cursor 160 fs/libfs.c list_del_init(&cursor->d_child); cursor 187 fs/libfs.c struct dentry *cursor = file->private_data; cursor 197 fs/libfs.c else if (!list_empty(&cursor->d_child)) cursor 198 fs/libfs.c p = &cursor->d_child; cursor 202 fs/libfs.c while ((next = scan_positives(cursor, p, 1, next)) != NULL) { cursor 211 fs/libfs.c list_move_tail(&cursor->d_child, &next->d_child); cursor 213 fs/libfs.c list_del_init(&cursor->d_child); cursor 56 fs/overlayfs/readdir.c struct list_head *cursor; cursor 344 fs/overlayfs/readdir.c od->cursor = NULL; cursor 402 fs/overlayfs/readdir.c od->cursor = p; cursor 766 fs/overlayfs/readdir.c while (od->cursor != &od->cache->entries) { cursor 767 fs/overlayfs/readdir.c p = list_entry(od->cursor, struct ovl_cache_entry, l_node); cursor 777 fs/overlayfs/readdir.c od->cursor = p->l_node.next; cursor 537 fs/unicode/mkutf8data.c void **cursor; cursor 543 fs/unicode/mkutf8data.c cursor = &tree->root; cursor 548 fs/unicode/mkutf8data.c if (!*cursor) cursor 549 fs/unicode/mkutf8data.c *cursor = alloc_node(node); cursor 550 fs/unicode/mkutf8data.c node = *cursor; cursor 554 fs/unicode/mkutf8data.c cursor = &node->right; cursor 556 fs/unicode/mkutf8data.c cursor = &node->left; cursor 559 fs/unicode/mkutf8data.c *cursor = leaf; cursor 118 fs/xfs/libxfs/xfs_attr.h struct attrlist_cursor_kern *cursor; /* position in list */ cursor 158 fs/xfs/libxfs/xfs_attr.h int flags, struct attrlist_cursor_kern *cursor); cursor 476 fs/xfs/scrub/attr.c struct attrlist_cursor_kern cursor = { 0 }; cursor 495 fs/xfs/scrub/attr.c sx.context.cursor = &cursor; cursor 41 fs/xfs/xfs_attr_list.c #define XFS_ISRESET_CURSOR(cursor) \ cursor 42 fs/xfs/xfs_attr_list.c (!((cursor)->initted) && !((cursor)->hashval) && \ cursor 43 fs/xfs/xfs_attr_list.c !((cursor)->blkno) && !((cursor)->offset)) cursor 54 fs/xfs/xfs_attr_list.c attrlist_cursor_kern_t *cursor; cursor 69 fs/xfs/xfs_attr_list.c cursor = context->cursor; cursor 70 fs/xfs/xfs_attr_list.c ASSERT(cursor != NULL); cursor 84 fs/xfs/xfs_attr_list.c (XFS_ISRESET_CURSOR(cursor) && cursor 152 fs/xfs/xfs_attr_list.c cursor->initted = 1; cursor 153 fs/xfs/xfs_attr_list.c cursor->blkno = 0; cursor 155 fs/xfs/xfs_attr_list.c if (sbp->hash == cursor->hashval) { cursor 156 fs/xfs/xfs_attr_list.c if (cursor->offset == count) { cursor 160 fs/xfs/xfs_attr_list.c } else if (sbp->hash > cursor->hashval) { cursor 173 fs/xfs/xfs_attr_list.c if (cursor->hashval != sbp->hash) { cursor 174 fs/xfs/xfs_attr_list.c cursor->hashval = sbp->hash; cursor 175 fs/xfs/xfs_attr_list.c cursor->offset = 0; cursor 184 fs/xfs/xfs_attr_list.c cursor->offset++; cursor 198 fs/xfs/xfs_attr_list.c struct attrlist_cursor_kern *cursor, cursor 214 fs/xfs/xfs_attr_list.c cursor->blkno = 0; cursor 216 fs/xfs/xfs_attr_list.c error = xfs_da3_node_read(tp, dp, cursor->blkno, -1, &bp, cursor 239 fs/xfs/xfs_attr_list.c if (cursor->blkno == 0) cursor 248 fs/xfs/xfs_attr_list.c if (cursor->hashval <= be32_to_cpu(btree->hashval)) { cursor 249 fs/xfs/xfs_attr_list.c cursor->blkno = be32_to_cpu(btree->before); cursor 261 fs/xfs/xfs_attr_list.c if (cursor->blkno == 0) cursor 281 fs/xfs/xfs_attr_list.c struct attrlist_cursor_kern *cursor; cursor 291 fs/xfs/xfs_attr_list.c cursor = context->cursor; cursor 292 fs/xfs/xfs_attr_list.c cursor->initted = 1; cursor 300 fs/xfs/xfs_attr_list.c if (cursor->blkno > 0) { cursor 301 fs/xfs/xfs_attr_list.c error = xfs_da3_node_read(context->tp, dp, cursor->blkno, -1, cursor 322 fs/xfs/xfs_attr_list.c if (cursor->hashval > be32_to_cpu( cursor 327 fs/xfs/xfs_attr_list.c } else if (cursor->hashval <= be32_to_cpu( cursor 348 fs/xfs/xfs_attr_list.c error = xfs_attr_node_list_lookup(context, cursor, &bp); cursor 365 fs/xfs/xfs_attr_list.c cursor->blkno = leafhdr.forw; cursor 367 fs/xfs/xfs_attr_list.c error = xfs_attr3_leaf_read(context->tp, dp, cursor->blkno, -1, &bp); cursor 383 fs/xfs/xfs_attr_list.c struct attrlist_cursor_kern *cursor; cursor 397 fs/xfs/xfs_attr_list.c cursor = context->cursor; cursor 398 fs/xfs/xfs_attr_list.c cursor->initted = 1; cursor 406 fs/xfs/xfs_attr_list.c if (be32_to_cpu(entry->hashval) == cursor->hashval) { cursor 407 fs/xfs/xfs_attr_list.c if (cursor->offset == context->dupcnt) { cursor 413 fs/xfs/xfs_attr_list.c cursor->hashval) { cursor 435 fs/xfs/xfs_attr_list.c if (be32_to_cpu(entry->hashval) != cursor->hashval) { cursor 436 fs/xfs/xfs_attr_list.c cursor->hashval = be32_to_cpu(entry->hashval); cursor 437 fs/xfs/xfs_attr_list.c cursor->offset = 0; cursor 464 fs/xfs/xfs_attr_list.c cursor->offset++; cursor 481 fs/xfs/xfs_attr_list.c context->cursor->blkno = 0; cursor 603 fs/xfs/xfs_attr_list.c attrlist_cursor_kern_t *cursor) cursor 612 fs/xfs/xfs_attr_list.c if (cursor->pad1 || cursor->pad2) cursor 614 fs/xfs/xfs_attr_list.c if ((cursor->initted == 0) && cursor 615 fs/xfs/xfs_attr_list.c (cursor->hashval || cursor->blkno || cursor->offset)) cursor 635 fs/xfs/xfs_attr_list.c context.cursor = cursor; cursor 375 fs/xfs/xfs_ioctl.c attrlist_cursor_kern_t *cursor; cursor 403 fs/xfs/xfs_ioctl.c cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; cursor 405 fs/xfs/xfs_ioctl.c al_hreq.flags, cursor); cursor 409 fs/xfs/xfs_ioctl.c if (copy_to_user(&p->pos, cursor, sizeof(attrlist_cursor_kern_t))) { cursor 358 fs/xfs/xfs_ioctl32.c attrlist_cursor_kern_t *cursor; cursor 388 fs/xfs/xfs_ioctl32.c cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; cursor 390 fs/xfs/xfs_ioctl32.c al_hreq.flags, cursor); cursor 394 fs/xfs/xfs_ioctl32.c if (copy_to_user(&p->pos, cursor, sizeof(attrlist_cursor_kern_t))) { cursor 58 fs/xfs/xfs_trace.h __entry->hashval = ctx->cursor->hashval; cursor 59 fs/xfs/xfs_trace.h __entry->blkno = ctx->cursor->blkno; cursor 60 fs/xfs/xfs_trace.h __entry->offset = ctx->cursor->offset; cursor 184 fs/xfs/xfs_trace.h __entry->hashval = ctx->cursor->hashval; cursor 185 fs/xfs/xfs_trace.h __entry->blkno = ctx->cursor->blkno; cursor 186 fs/xfs/xfs_trace.h __entry->offset = ctx->cursor->offset; cursor 216 fs/xfs/xfs_xattr.c struct attrlist_cursor_kern cursor = { 0 }; cursor 225 fs/xfs/xfs_xattr.c context.cursor = &cursor; cursor 927 include/drm/drm_crtc.h struct drm_plane *cursor; cursor 1147 include/drm/drm_crtc.h struct drm_plane *cursor, cursor 229 include/linux/ceph/messenger.h struct ceph_msg_data_cursor cursor; cursor 270 include/linux/fb.h int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor); cursor 369 include/linux/fb.h struct fb_tilecursor *cursor); cursor 141 include/linux/fsl-diu-fb.h __be32 cursor; cursor 665 include/linux/libata.h int cursor; cursor 113 include/linux/svga.h void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor); cursor 369 include/media/davinci/vpbe_osd.h struct osd_cursor_state cursor; cursor 800 include/trace/events/afs.h pgoff_t cursor, int ret), cursor 802 include/trace/events/afs.h TP_ARGS(call, first, last, cursor, ret), cursor 808 include/trace/events/afs.h __field(pgoff_t, cursor ) cursor 816 include/trace/events/afs.h __entry->cursor = cursor; cursor 823 include/trace/events/afs.h __entry->cursor, __entry->ret) cursor 681 kernel/audit_tree.c struct list_head cursor; cursor 684 kernel/audit_tree.c list_add(&cursor, &tree_list); cursor 685 kernel/audit_tree.c while (cursor.next != &tree_list) { cursor 692 kernel/audit_tree.c tree = container_of(cursor.next, struct audit_tree, list); cursor 694 kernel/audit_tree.c list_del(&cursor); cursor 695 kernel/audit_tree.c list_add(&cursor, &tree->list); cursor 724 kernel/audit_tree.c list_del(&cursor); cursor 874 kernel/audit_tree.c struct list_head cursor, barrier; cursor 896 kernel/audit_tree.c list_add(&cursor, &barrier); cursor 898 kernel/audit_tree.c while (cursor.next != &tree_list) { cursor 902 kernel/audit_tree.c tree = container_of(cursor.next, struct audit_tree, list); cursor 904 kernel/audit_tree.c list_del(&cursor); cursor 905 kernel/audit_tree.c list_add(&cursor, &tree->list); cursor 960 kernel/audit_tree.c list_del(&cursor); cursor 27 lib/assoc_array.c const struct assoc_array_ptr *cursor, *ptr, *parent; cursor 31 lib/assoc_array.c cursor = root; cursor 34 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(cursor)) { cursor 36 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(cursor); cursor 37 lib/assoc_array.c cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ cursor 40 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 79 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 83 lib/assoc_array.c cursor = ptr; cursor 97 lib/assoc_array.c cursor = parent; cursor 105 lib/assoc_array.c cursor = parent; cursor 177 lib/assoc_array.c struct assoc_array_ptr *cursor, *ptr; cursor 185 lib/assoc_array.c cursor = READ_ONCE(array->root); /* Address dependency. */ cursor 186 lib/assoc_array.c if (!cursor) cursor 202 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(cursor)) cursor 206 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 229 lib/assoc_array.c cursor = ptr; cursor 240 lib/assoc_array.c cursor = ptr; cursor 242 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(cursor); cursor 282 lib/assoc_array.c cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ cursor 348 lib/assoc_array.c struct assoc_array_ptr *cursor, *parent = NULL; cursor 353 lib/assoc_array.c cursor = root; cursor 354 lib/assoc_array.c if (!cursor) { cursor 360 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(cursor)) { cursor 363 lib/assoc_array.c BUG_ON(!assoc_array_ptr_is_shortcut(cursor)); cursor 364 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(cursor); cursor 367 lib/assoc_array.c parent = cursor; cursor 368 lib/assoc_array.c cursor = shortcut->next_node; cursor 370 lib/assoc_array.c BUG_ON(!assoc_array_ptr_is_node(cursor)); cursor 374 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 386 lib/assoc_array.c parent = cursor; cursor 387 lib/assoc_array.c cursor = ptr; cursor 408 lib/assoc_array.c BUG_ON(shortcut->next_node != cursor); cursor 409 lib/assoc_array.c cursor = parent; cursor 422 lib/assoc_array.c cursor = parent; cursor 423 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 1462 lib/assoc_array.c struct assoc_array_ptr *cursor, *ptr; cursor 1483 lib/assoc_array.c cursor = array->root; cursor 1489 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(cursor)) { cursor 1490 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(cursor); cursor 1504 lib/assoc_array.c cursor = shortcut->next_node; cursor 1508 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 1537 lib/assoc_array.c cursor = ptr; cursor 1697 lib/assoc_array.c cursor = shortcut->back_pointer; cursor 1698 lib/assoc_array.c if (!cursor) cursor 1702 lib/assoc_array.c cursor = ptr; cursor 1704 lib/assoc_array.c BUG_ON(!cursor); cursor 1705 lib/assoc_array.c node = assoc_array_ptr_to_node(cursor); cursor 543 mm/compaction.c struct page *cursor; cursor 553 mm/compaction.c cursor = pfn_to_page(blockpfn); cursor 556 mm/compaction.c for (; blockpfn < end_pfn; blockpfn += stride, cursor += stride) { cursor 558 mm/compaction.c struct page *page = cursor; cursor 585 mm/compaction.c cursor += (1UL << order) - 1; cursor 626 mm/compaction.c cursor += isolated - 1; cursor 1568 mm/memblock.c phys_addr_t cursor, end; cursor 1574 mm/memblock.c cursor = PFN_UP(base); cursor 1577 mm/memblock.c for (; cursor < end; cursor++) { cursor 1578 mm/memblock.c memblock_free_pages(pfn_to_page(cursor), cursor, 0); cursor 916 mm/zsmalloc.c struct page *cursor, *fail; cursor 918 mm/zsmalloc.c for (cursor = get_first_page(zspage); cursor != NULL; cursor = cursor 919 mm/zsmalloc.c get_next_page(cursor)) { cursor 920 mm/zsmalloc.c if (!trylock_page(cursor)) { cursor 921 mm/zsmalloc.c fail = cursor; cursor 928 mm/zsmalloc.c for (cursor = get_first_page(zspage); cursor != fail; cursor = cursor 929 mm/zsmalloc.c get_next_page(cursor)) cursor 930 mm/zsmalloc.c unlock_page(cursor); cursor 814 net/ceph/messenger.c static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, cursor 817 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 818 net/ceph/messenger.c struct ceph_bio_iter *it = &cursor->bio_iter; cursor 820 net/ceph/messenger.c cursor->resid = min_t(size_t, length, data->bio_length); cursor 822 net/ceph/messenger.c if (cursor->resid < it->iter.bi_size) cursor 823 net/ceph/messenger.c it->iter.bi_size = cursor->resid; cursor 825 net/ceph/messenger.c BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); cursor 826 net/ceph/messenger.c cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); cursor 829 net/ceph/messenger.c static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, cursor 833 net/ceph/messenger.c struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, cursor 834 net/ceph/messenger.c cursor->bio_iter.iter); cursor 841 net/ceph/messenger.c static bool ceph_msg_data_bio_advance(struct ceph_msg_data_cursor *cursor, cursor 844 net/ceph/messenger.c struct ceph_bio_iter *it = &cursor->bio_iter; cursor 847 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); cursor 849 net/ceph/messenger.c cursor->resid -= bytes; cursor 852 net/ceph/messenger.c if (!cursor->resid) { cursor 853 net/ceph/messenger.c BUG_ON(!cursor->last_piece); cursor 864 net/ceph/messenger.c if (cursor->resid < it->iter.bi_size) cursor 865 net/ceph/messenger.c it->iter.bi_size = cursor->resid; cursor 868 net/ceph/messenger.c BUG_ON(cursor->last_piece); cursor 869 net/ceph/messenger.c BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); cursor 870 net/ceph/messenger.c cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); cursor 875 net/ceph/messenger.c static void ceph_msg_data_bvecs_cursor_init(struct ceph_msg_data_cursor *cursor, cursor 878 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 881 net/ceph/messenger.c cursor->resid = min_t(size_t, length, data->bvec_pos.iter.bi_size); cursor 882 net/ceph/messenger.c cursor->bvec_iter = data->bvec_pos.iter; cursor 883 net/ceph/messenger.c cursor->bvec_iter.bi_size = cursor->resid; cursor 885 net/ceph/messenger.c BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); cursor 886 net/ceph/messenger.c cursor->last_piece = cursor 887 net/ceph/messenger.c cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); cursor 890 net/ceph/messenger.c static struct page *ceph_msg_data_bvecs_next(struct ceph_msg_data_cursor *cursor, cursor 894 net/ceph/messenger.c struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, cursor 895 net/ceph/messenger.c cursor->bvec_iter); cursor 902 net/ceph/messenger.c static bool ceph_msg_data_bvecs_advance(struct ceph_msg_data_cursor *cursor, cursor 905 net/ceph/messenger.c struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; cursor 906 net/ceph/messenger.c struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); cursor 908 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); cursor 909 net/ceph/messenger.c BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); cursor 910 net/ceph/messenger.c cursor->resid -= bytes; cursor 911 net/ceph/messenger.c bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); cursor 913 net/ceph/messenger.c if (!cursor->resid) { cursor 914 net/ceph/messenger.c BUG_ON(!cursor->last_piece); cursor 918 net/ceph/messenger.c if (!bytes || (cursor->bvec_iter.bi_bvec_done && cursor 919 net/ceph/messenger.c page == bvec_iter_page(bvecs, cursor->bvec_iter))) cursor 922 net/ceph/messenger.c BUG_ON(cursor->last_piece); cursor 923 net/ceph/messenger.c BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); cursor 924 net/ceph/messenger.c cursor->last_piece = cursor 925 net/ceph/messenger.c cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); cursor 933 net/ceph/messenger.c static void ceph_msg_data_pages_cursor_init(struct ceph_msg_data_cursor *cursor, cursor 936 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 944 net/ceph/messenger.c cursor->resid = min(length, data->length); cursor 946 net/ceph/messenger.c cursor->page_offset = data->alignment & ~PAGE_MASK; cursor 947 net/ceph/messenger.c cursor->page_index = 0; cursor 949 net/ceph/messenger.c cursor->page_count = (unsigned short)page_count; cursor 950 net/ceph/messenger.c BUG_ON(length > SIZE_MAX - cursor->page_offset); cursor 951 net/ceph/messenger.c cursor->last_piece = cursor->page_offset + cursor->resid <= PAGE_SIZE; cursor 955 net/ceph/messenger.c ceph_msg_data_pages_next(struct ceph_msg_data_cursor *cursor, cursor 958 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 962 net/ceph/messenger.c BUG_ON(cursor->page_index >= cursor->page_count); cursor 963 net/ceph/messenger.c BUG_ON(cursor->page_offset >= PAGE_SIZE); cursor 965 net/ceph/messenger.c *page_offset = cursor->page_offset; cursor 966 net/ceph/messenger.c if (cursor->last_piece) cursor 967 net/ceph/messenger.c *length = cursor->resid; cursor 971 net/ceph/messenger.c return data->pages[cursor->page_index]; cursor 974 net/ceph/messenger.c static bool ceph_msg_data_pages_advance(struct ceph_msg_data_cursor *cursor, cursor 977 net/ceph/messenger.c BUG_ON(cursor->data->type != CEPH_MSG_DATA_PAGES); cursor 979 net/ceph/messenger.c BUG_ON(cursor->page_offset + bytes > PAGE_SIZE); cursor 983 net/ceph/messenger.c cursor->resid -= bytes; cursor 984 net/ceph/messenger.c cursor->page_offset = (cursor->page_offset + bytes) & ~PAGE_MASK; cursor 985 net/ceph/messenger.c if (!bytes || cursor->page_offset) cursor 988 net/ceph/messenger.c if (!cursor->resid) cursor 993 net/ceph/messenger.c BUG_ON(cursor->page_index >= cursor->page_count); cursor 994 net/ceph/messenger.c cursor->page_index++; cursor 995 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; cursor 1005 net/ceph/messenger.c ceph_msg_data_pagelist_cursor_init(struct ceph_msg_data_cursor *cursor, cursor 1008 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 1023 net/ceph/messenger.c cursor->resid = min(length, pagelist->length); cursor 1024 net/ceph/messenger.c cursor->page = page; cursor 1025 net/ceph/messenger.c cursor->offset = 0; cursor 1026 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; cursor 1030 net/ceph/messenger.c ceph_msg_data_pagelist_next(struct ceph_msg_data_cursor *cursor, cursor 1033 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 1041 net/ceph/messenger.c BUG_ON(!cursor->page); cursor 1042 net/ceph/messenger.c BUG_ON(cursor->offset + cursor->resid != pagelist->length); cursor 1045 net/ceph/messenger.c *page_offset = cursor->offset & ~PAGE_MASK; cursor 1046 net/ceph/messenger.c if (cursor->last_piece) cursor 1047 net/ceph/messenger.c *length = cursor->resid; cursor 1051 net/ceph/messenger.c return cursor->page; cursor 1054 net/ceph/messenger.c static bool ceph_msg_data_pagelist_advance(struct ceph_msg_data_cursor *cursor, cursor 1057 net/ceph/messenger.c struct ceph_msg_data *data = cursor->data; cursor 1065 net/ceph/messenger.c BUG_ON(cursor->offset + cursor->resid != pagelist->length); cursor 1066 net/ceph/messenger.c BUG_ON((cursor->offset & ~PAGE_MASK) + bytes > PAGE_SIZE); cursor 1070 net/ceph/messenger.c cursor->resid -= bytes; cursor 1071 net/ceph/messenger.c cursor->offset += bytes; cursor 1073 net/ceph/messenger.c if (!bytes || cursor->offset & ~PAGE_MASK) cursor 1076 net/ceph/messenger.c if (!cursor->resid) cursor 1081 net/ceph/messenger.c BUG_ON(list_is_last(&cursor->page->lru, &pagelist->head)); cursor 1082 net/ceph/messenger.c cursor->page = list_next_entry(cursor->page, lru); cursor 1083 net/ceph/messenger.c cursor->last_piece = cursor->resid <= PAGE_SIZE; cursor 1096 net/ceph/messenger.c static void __ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor) cursor 1098 net/ceph/messenger.c size_t length = cursor->total_resid; cursor 1100 net/ceph/messenger.c switch (cursor->data->type) { cursor 1102 net/ceph/messenger.c ceph_msg_data_pagelist_cursor_init(cursor, length); cursor 1105 net/ceph/messenger.c ceph_msg_data_pages_cursor_init(cursor, length); cursor 1109 net/ceph/messenger.c ceph_msg_data_bio_cursor_init(cursor, length); cursor 1113 net/ceph/messenger.c ceph_msg_data_bvecs_cursor_init(cursor, length); cursor 1120 net/ceph/messenger.c cursor->need_crc = true; cursor 1125 net/ceph/messenger.c struct ceph_msg_data_cursor *cursor = &msg->cursor; cursor 1131 net/ceph/messenger.c cursor->total_resid = length; cursor 1132 net/ceph/messenger.c cursor->data = msg->data; cursor 1134 net/ceph/messenger.c __ceph_msg_data_cursor_init(cursor); cursor 1142 net/ceph/messenger.c static struct page *ceph_msg_data_next(struct ceph_msg_data_cursor *cursor, cursor 1148 net/ceph/messenger.c switch (cursor->data->type) { cursor 1150 net/ceph/messenger.c page = ceph_msg_data_pagelist_next(cursor, page_offset, length); cursor 1153 net/ceph/messenger.c page = ceph_msg_data_pages_next(cursor, page_offset, length); cursor 1157 net/ceph/messenger.c page = ceph_msg_data_bio_next(cursor, page_offset, length); cursor 1161 net/ceph/messenger.c page = ceph_msg_data_bvecs_next(cursor, page_offset, length); cursor 1172 net/ceph/messenger.c BUG_ON(*length > cursor->resid); cursor 1174 net/ceph/messenger.c *last_piece = cursor->last_piece; cursor 1183 net/ceph/messenger.c static void ceph_msg_data_advance(struct ceph_msg_data_cursor *cursor, cursor 1188 net/ceph/messenger.c BUG_ON(bytes > cursor->resid); cursor 1189 net/ceph/messenger.c switch (cursor->data->type) { cursor 1191 net/ceph/messenger.c new_piece = ceph_msg_data_pagelist_advance(cursor, bytes); cursor 1194 net/ceph/messenger.c new_piece = ceph_msg_data_pages_advance(cursor, bytes); cursor 1198 net/ceph/messenger.c new_piece = ceph_msg_data_bio_advance(cursor, bytes); cursor 1202 net/ceph/messenger.c new_piece = ceph_msg_data_bvecs_advance(cursor, bytes); cursor 1209 net/ceph/messenger.c cursor->total_resid -= bytes; cursor 1211 net/ceph/messenger.c if (!cursor->resid && cursor->total_resid) { cursor 1212 net/ceph/messenger.c WARN_ON(!cursor->last_piece); cursor 1213 net/ceph/messenger.c cursor->data++; cursor 1214 net/ceph/messenger.c __ceph_msg_data_cursor_init(cursor); cursor 1217 net/ceph/messenger.c cursor->need_crc = new_piece; cursor 1562 net/ceph/messenger.c struct ceph_msg_data_cursor *cursor = &msg->cursor; cursor 1581 net/ceph/messenger.c while (cursor->total_resid) { cursor 1587 net/ceph/messenger.c if (!cursor->resid) { cursor 1588 net/ceph/messenger.c ceph_msg_data_advance(cursor, 0); cursor 1592 net/ceph/messenger.c page = ceph_msg_data_next(cursor, &page_offset, &length, NULL); cursor 1593 net/ceph/messenger.c if (length == cursor->total_resid) cursor 1603 net/ceph/messenger.c if (do_datacrc && cursor->need_crc) cursor 1605 net/ceph/messenger.c ceph_msg_data_advance(cursor, (size_t)ret); cursor 2322 net/ceph/messenger.c struct ceph_msg_data_cursor *cursor = &msg->cursor; cursor 2335 net/ceph/messenger.c while (cursor->total_resid) { cursor 2336 net/ceph/messenger.c if (!cursor->resid) { cursor 2337 net/ceph/messenger.c ceph_msg_data_advance(cursor, 0); cursor 2341 net/ceph/messenger.c page = ceph_msg_data_next(cursor, &page_offset, &length, NULL); cursor 2352 net/ceph/messenger.c ceph_msg_data_advance(cursor, (size_t)ret); cursor 3162 net/ceph/messenger.c con->out_skip += msg->cursor.total_resid; cursor 161 net/rxrpc/call_event.c rxrpc_seq_t cursor, seq, top; cursor 175 net/rxrpc/call_event.c cursor = call->tx_hard_ack; cursor 177 net/rxrpc/call_event.c ASSERT(before_eq(cursor, top)); cursor 178 net/rxrpc/call_event.c if (cursor == top) cursor 185 net/rxrpc/call_event.c trace_rxrpc_resend(call, (cursor + 1) & RXRPC_RXTX_BUFF_MASK); cursor 187 net/rxrpc/call_event.c for (seq = cursor + 1; before_eq(seq, top); seq++) { cursor 244 net/rxrpc/call_event.c for (seq = cursor + 1; before_eq(seq, top); seq++) { cursor 66 net/rxrpc/conn_service.c struct rxrpc_connection *cursor = NULL; cursor 76 net/rxrpc/conn_service.c cursor = rb_entry(parent, cursor 79 net/rxrpc/conn_service.c if (cursor->proto.index_key < k.index_key) cursor 81 net/rxrpc/conn_service.c else if (cursor->proto.index_key > k.index_key) cursor 96 net/rxrpc/conn_service.c if (atomic_read(&cursor->usage) == 0) cursor 108 net/rxrpc/conn_service.c rb_replace_node_rcu(&cursor->service_node, cursor 111 net/rxrpc/conn_service.c clear_bit(RXRPC_CONN_IN_SERVICE_CONNS, &cursor->flags); cursor 226 net/rxrpc/local_object.c struct list_head *cursor; cursor 236 net/rxrpc/local_object.c for (cursor = rxnet->local_endpoints.next; cursor 237 net/rxrpc/local_object.c cursor != &rxnet->local_endpoints; cursor 238 net/rxrpc/local_object.c cursor = cursor->next) { cursor 239 net/rxrpc/local_object.c local = list_entry(cursor, struct rxrpc_local, link); cursor 276 net/rxrpc/local_object.c if (cursor != &rxnet->local_endpoints) cursor 277 net/rxrpc/local_object.c list_replace_init(cursor, &local->link); cursor 279 net/rxrpc/local_object.c list_add_tail(&local->link, cursor); cursor 304 net/rxrpc/peer_event.c u8 cursor) cursor 327 net/rxrpc/peer_event.c cursor, peer->debug_id, slot, &peer->srx.transport); cursor 339 net/rxrpc/peer_event.c slot += cursor; cursor 361 net/rxrpc/peer_event.c u8 cursor, stop; cursor 366 net/rxrpc/peer_event.c cursor = rxnet->peer_keepalive_cursor; cursor 367 net/rxrpc/peer_event.c _enter("%lld,%u", base - now, cursor); cursor 382 net/rxrpc/peer_event.c stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); cursor 383 net/rxrpc/peer_event.c while (base <= now && (s8)(cursor - stop) < 0) { cursor 384 net/rxrpc/peer_event.c list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask], cursor 387 net/rxrpc/peer_event.c cursor++; cursor 394 net/rxrpc/peer_event.c rxnet->peer_keepalive_cursor = cursor; cursor 395 net/rxrpc/peer_event.c rxrpc_peer_keepalive_dispatch(rxnet, &collector, base, cursor); cursor 399 net/rxrpc/peer_event.c cursor = rxnet->peer_keepalive_cursor; cursor 400 net/rxrpc/peer_event.c stop = cursor + RXRPC_KEEPALIVE_TIME - 1; cursor 401 net/rxrpc/peer_event.c for (; (s8)(cursor - stop) < 0; cursor++) { cursor 402 net/rxrpc/peer_event.c if (!list_empty(&rxnet->peer_keepalive[cursor & mask])) cursor 43 net/smc/smc_cdc.c &cdcpend->cursor); cursor 49 net/smc/smc_cdc.c smc_curs_copy(&conn->tx_curs_fin, &cdcpend->cursor, conn); cursor 85 net/smc/smc_cdc.c pend->cursor = conn->tx_curs_sent; cursor 301 net/smc/smc_cdc.h union smc_host_cursor cursor; /* tx sndbuf cursor sent */ cursor 295 net/sunrpc/xprtmultipath.c struct rpc_xprt **cursor, cursor 300 net/sunrpc/xprtmultipath.c old = smp_load_acquire(cursor); cursor 302 net/sunrpc/xprtmultipath.c smp_store_release(cursor, pos); cursor 207 net/unix/garbage.c struct list_head cursor; cursor 261 net/unix/garbage.c list_add(&cursor, &gc_candidates); cursor 262 net/unix/garbage.c while (cursor.next != &gc_candidates) { cursor 263 net/unix/garbage.c u = list_entry(cursor.next, struct unix_sock, link); cursor 266 net/unix/garbage.c list_move(&cursor, &u->link); cursor 274 net/unix/garbage.c list_del(&cursor); cursor 806 scripts/asn1_compiler.c struct token *cursor; cursor 812 scripts/asn1_compiler.c cursor = type->name; cursor 814 scripts/asn1_compiler.c if (cursor[0].token_type != TOKEN_TYPE_NAME || cursor 815 scripts/asn1_compiler.c cursor[1].token_type != TOKEN_ASSIGNMENT) cursor 817 scripts/asn1_compiler.c cursor += 2; cursor 819 scripts/asn1_compiler.c type->element = parse_type(&cursor, type[1].name, NULL); cursor 822 scripts/asn1_compiler.c if (cursor != type[1].name) { cursor 824 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 858 scripts/asn1_compiler.c struct token *cursor = *_cursor; cursor 863 scripts/asn1_compiler.c top = element = alloc_elem(cursor); cursor 866 scripts/asn1_compiler.c element->tag = token_to_tag[cursor->token_type]; cursor 870 scripts/asn1_compiler.c if (cursor->token_type == TOKEN_OPEN_SQUARE) { cursor 871 scripts/asn1_compiler.c cursor++; cursor 872 scripts/asn1_compiler.c if (cursor >= end) cursor 874 scripts/asn1_compiler.c switch (cursor->token_type) { cursor 877 scripts/asn1_compiler.c cursor++; cursor 881 scripts/asn1_compiler.c cursor++; cursor 888 scripts/asn1_compiler.c cursor++; cursor 892 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 896 scripts/asn1_compiler.c if (cursor >= end) cursor 898 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_NUMBER) { cursor 900 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 905 scripts/asn1_compiler.c element->tag |= strtoul(cursor->content, &p, 10); cursor 907 scripts/asn1_compiler.c if (p - cursor->content != cursor->size) cursor 909 scripts/asn1_compiler.c cursor++; cursor 911 scripts/asn1_compiler.c if (cursor >= end) cursor 913 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_CLOSE_SQUARE) { cursor 915 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 918 scripts/asn1_compiler.c cursor++; cursor 919 scripts/asn1_compiler.c if (cursor >= end) cursor 925 scripts/asn1_compiler.c if (cursor->token_type == DIRECTIVE_IMPLICIT) { cursor 928 scripts/asn1_compiler.c cursor++; cursor 929 scripts/asn1_compiler.c if (cursor >= end) cursor 931 scripts/asn1_compiler.c } else if (cursor->token_type == DIRECTIVE_EXPLICIT) { cursor 933 scripts/asn1_compiler.c cursor++; cursor 934 scripts/asn1_compiler.c if (cursor >= end) cursor 942 scripts/asn1_compiler.c element->children = alloc_elem(cursor); cursor 946 scripts/asn1_compiler.c element->tag = token_to_tag[cursor->token_type]; cursor 951 scripts/asn1_compiler.c element->type = cursor; cursor 952 scripts/asn1_compiler.c switch (cursor->token_type) { cursor 955 scripts/asn1_compiler.c cursor++; cursor 963 scripts/asn1_compiler.c cursor++; cursor 986 scripts/asn1_compiler.c cursor++; cursor 992 scripts/asn1_compiler.c cursor++; cursor 993 scripts/asn1_compiler.c if (cursor >= end) cursor 995 scripts/asn1_compiler.c if (cursor->token_type != DIRECTIVE_STRING) cursor 997 scripts/asn1_compiler.c cursor++; cursor 1002 scripts/asn1_compiler.c cursor++; cursor 1003 scripts/asn1_compiler.c if (cursor >= end) cursor 1005 scripts/asn1_compiler.c if (cursor->token_type != DIRECTIVE_IDENTIFIER) cursor 1007 scripts/asn1_compiler.c cursor++; cursor 1012 scripts/asn1_compiler.c ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]), cursor 1016 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1019 scripts/asn1_compiler.c cursor->type = *ref; cursor 1021 scripts/asn1_compiler.c cursor++; cursor 1026 scripts/asn1_compiler.c cursor++; cursor 1027 scripts/asn1_compiler.c element->children = parse_compound(&cursor, end, 1); cursor 1033 scripts/asn1_compiler.c cursor++; cursor 1034 scripts/asn1_compiler.c if (cursor >= end) cursor 1036 scripts/asn1_compiler.c if (cursor->token_type == DIRECTIVE_OF) { cursor 1038 scripts/asn1_compiler.c cursor++; cursor 1039 scripts/asn1_compiler.c if (cursor >= end) cursor 1041 scripts/asn1_compiler.c element->children = parse_type(&cursor, end, NULL); cursor 1043 scripts/asn1_compiler.c element->children = parse_compound(&cursor, end, 0); cursor 1050 scripts/asn1_compiler.c cursor++; cursor 1051 scripts/asn1_compiler.c if (cursor >= end) cursor 1053 scripts/asn1_compiler.c if (cursor->token_type == DIRECTIVE_OF) { cursor 1055 scripts/asn1_compiler.c cursor++; cursor 1056 scripts/asn1_compiler.c if (cursor >= end) cursor 1058 scripts/asn1_compiler.c element->children = parse_type(&cursor, end, NULL); cursor 1060 scripts/asn1_compiler.c element->children = parse_compound(&cursor, end, 1); cursor 1066 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1071 scripts/asn1_compiler.c if (cursor < end && (cursor->token_type == DIRECTIVE_OPTIONAL || cursor 1072 scripts/asn1_compiler.c cursor->token_type == DIRECTIVE_DEFAULT) cursor 1074 scripts/asn1_compiler.c cursor++; cursor 1078 scripts/asn1_compiler.c if (cursor < end && cursor->token_type == TOKEN_OPEN_ACTION) { cursor 1079 scripts/asn1_compiler.c cursor++; cursor 1080 scripts/asn1_compiler.c if (cursor >= end) cursor 1082 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_ELEMENT_NAME) { cursor 1084 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1094 scripts/asn1_compiler.c action->name = cursor->content; cursor 1119 scripts/asn1_compiler.c cursor->action = action; cursor 1120 scripts/asn1_compiler.c cursor++; cursor 1121 scripts/asn1_compiler.c if (cursor >= end) cursor 1123 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_CLOSE_ACTION) { cursor 1125 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1128 scripts/asn1_compiler.c cursor++; cursor 1131 scripts/asn1_compiler.c *_cursor = cursor; cursor 1136 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1151 scripts/asn1_compiler.c struct token *cursor = *_cursor, *name; cursor 1153 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_OPEN_CURLY) { cursor 1155 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1158 scripts/asn1_compiler.c cursor++; cursor 1159 scripts/asn1_compiler.c if (cursor >= end) cursor 1162 scripts/asn1_compiler.c if (cursor->token_type == TOKEN_OPEN_CURLY) { cursor 1164 scripts/asn1_compiler.c filename, cursor->line); cursor 1170 scripts/asn1_compiler.c if (cursor->token_type == TOKEN_ELEMENT_NAME) { cursor 1171 scripts/asn1_compiler.c name = cursor; cursor 1172 scripts/asn1_compiler.c cursor++; cursor 1173 scripts/asn1_compiler.c if (cursor >= end) cursor 1177 scripts/asn1_compiler.c element = parse_type(&cursor, end, name); cursor 1184 scripts/asn1_compiler.c if (cursor >= end) cursor 1186 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_COMMA) cursor 1188 scripts/asn1_compiler.c cursor++; cursor 1189 scripts/asn1_compiler.c if (cursor >= end) cursor 1195 scripts/asn1_compiler.c if (cursor->token_type != TOKEN_CLOSE_CURLY) { cursor 1197 scripts/asn1_compiler.c filename, cursor->line, cursor->content); cursor 1200 scripts/asn1_compiler.c cursor++; cursor 1202 scripts/asn1_compiler.c *_cursor = cursor; cursor 180 security/keys/gc.c struct rb_node *cursor; cursor 209 security/keys/gc.c cursor = rb_first(&key_serial_tree); cursor 212 security/keys/gc.c while (cursor) { cursor 213 security/keys/gc.c key = rb_entry(cursor, struct key, serial_node); cursor 214 security/keys/gc.c cursor = rb_next(cursor); cursor 262 security/keys/gc.c if (cursor) { cursor 283 tools/perf/builtin-sched.c struct callchain_cursor cursor; cursor 2144 tools/perf/builtin-sched.c struct callchain_cursor *cursor = &callchain_cursor; cursor 2157 tools/perf/builtin-sched.c if (thread__resolve_callchain(thread, cursor, evsel, sample, cursor 2165 tools/perf/builtin-sched.c callchain_cursor_commit(cursor); cursor 2171 tools/perf/builtin-sched.c node = callchain_cursor_current(cursor); cursor 2183 tools/perf/builtin-sched.c callchain_cursor_advance(cursor); cursor 2199 tools/perf/builtin-sched.c callchain_cursor_reset(&itr->cursor); cursor 2289 tools/perf/builtin-sched.c callchain_cursor__copy(&itr->cursor, &callchain_cursor); cursor 2602 tools/perf/builtin-sched.c if (itr->cursor.nr) cursor 2603 tools/perf/builtin-sched.c callchain_append(&itr->callchain, &itr->cursor, t - tprev); cursor 1317 tools/perf/builtin-script.c struct callchain_cursor *cursor = NULL; cursor 1322 tools/perf/builtin-script.c cursor = &callchain_cursor; cursor 1324 tools/perf/builtin-script.c if (cursor == NULL) { cursor 1333 tools/perf/builtin-script.c printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor, cursor 1868 tools/perf/builtin-script.c struct callchain_cursor *cursor = NULL; cursor 1873 tools/perf/builtin-script.c cursor = &callchain_cursor; cursor 1875 tools/perf/builtin-script.c fputc(cursor ? '\n' : ' ', fp); cursor 1876 tools/perf/builtin-script.c sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor, cursor 201 tools/perf/builtin-timechart.c struct per_pid *cursor = tchart->all_data; cursor 203 tools/perf/builtin-timechart.c while (cursor) { cursor 204 tools/perf/builtin-timechart.c if (cursor->pid == pid) cursor 205 tools/perf/builtin-timechart.c return cursor; cursor 206 tools/perf/builtin-timechart.c cursor = cursor->next; cursor 208 tools/perf/builtin-timechart.c cursor = zalloc(sizeof(*cursor)); cursor 209 tools/perf/builtin-timechart.c assert(cursor != NULL); cursor 210 tools/perf/builtin-timechart.c cursor->pid = pid; cursor 211 tools/perf/builtin-timechart.c cursor->next = tchart->all_data; cursor 212 tools/perf/builtin-timechart.c tchart->all_data = cursor; cursor 213 tools/perf/builtin-timechart.c return cursor; cursor 966 tools/perf/builtin-timechart.c struct per_pid *new_list, *p, *cursor, *prev; cursor 982 tools/perf/builtin-timechart.c cursor = new_list; cursor 983 tools/perf/builtin-timechart.c while (cursor) { cursor 984 tools/perf/builtin-timechart.c if (cursor->ppid > p->ppid || cursor 985 tools/perf/builtin-timechart.c (cursor->ppid == p->ppid && cursor->pid > p->pid)) { cursor 990 tools/perf/builtin-timechart.c cursor = NULL; cursor 995 tools/perf/builtin-timechart.c cursor = NULL; cursor 1000 tools/perf/builtin-timechart.c prev = cursor; cursor 1001 tools/perf/builtin-timechart.c cursor = cursor->next; cursor 1002 tools/perf/builtin-timechart.c if (!cursor) cursor 2058 tools/perf/builtin-trace.c struct callchain_cursor *cursor) cursor 2069 tools/perf/builtin-trace.c err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack); cursor 128 tools/perf/ui/browsers/annotate.c static bool is_fused(struct annotate_browser *ab, struct disasm_line *cursor) cursor 130 tools/perf/ui/browsers/annotate.c struct disasm_line *pos = list_prev_entry(cursor, al.node); cursor 141 tools/perf/ui/browsers/annotate.c if (!name || !cursor->ins.name) cursor 144 tools/perf/ui/browsers/annotate.c return ins__is_fused(ab->arch, name, cursor->ins.name); cursor 150 tools/perf/ui/browsers/annotate.c struct disasm_line *cursor = disasm_line(ab->selection); cursor 163 tools/perf/ui/browsers/annotate.c if (!disasm_line__is_valid_local_jump(cursor, sym)) cursor 186 tools/perf/ui/browsers/annotate.c target = notes->offsets[cursor->ops.target.offset]; cursor 189 tools/perf/ui/browsers/annotate.c cursor->ops.target.offset); cursor 194 tools/perf/ui/browsers/annotate.c from = cursor->al.idx_asm; cursor 197 tools/perf/ui/browsers/annotate.c from = (u64)cursor->al.idx; cursor 208 tools/perf/ui/browsers/annotate.c if (is_fused(ab, cursor)) { cursor 566 tools/perf/util/callchain.c fill_node(struct callchain_node *node, struct callchain_cursor *cursor) cursor 570 tools/perf/util/callchain.c node->val_nr = cursor->nr - cursor->pos; cursor 574 tools/perf/util/callchain.c cursor_node = callchain_cursor_current(cursor); cursor 623 tools/perf/util/callchain.c callchain_cursor_advance(cursor); cursor 624 tools/perf/util/callchain.c cursor_node = callchain_cursor_current(cursor); cursor 631 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 640 tools/perf/util/callchain.c if (fill_node(new, cursor) < 0) { cursor 790 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 822 tools/perf/util/callchain.c if (idx_total < cursor->nr) { cursor 833 tools/perf/util/callchain.c node = callchain_cursor_current(cursor); cursor 834 tools/perf/util/callchain.c new = add_child(parent, cursor, period); cursor 863 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 868 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 876 tools/perf/util/callchain.c node = callchain_cursor_current(cursor); cursor 888 tools/perf/util/callchain.c ret = append_chain(rnode, cursor, period); cursor 900 tools/perf/util/callchain.c rnode = add_child(root, cursor, period); cursor 915 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 919 tools/perf/util/callchain.c u64 start = cursor->pos; cursor 933 tools/perf/util/callchain.c node = callchain_cursor_current(cursor); cursor 943 tools/perf/util/callchain.c callchain_cursor_advance(cursor); cursor 952 tools/perf/util/callchain.c matches = cursor->pos - start; cursor 956 tools/perf/util/callchain.c if (split_add_child(root, cursor, cnode, start, matches, cursor 964 tools/perf/util/callchain.c if (matches == root->val_nr && cursor->pos == cursor->nr) { cursor 971 tools/perf/util/callchain.c if (append_chain_children(root, cursor, period) < 0) cursor 978 tools/perf/util/callchain.c struct callchain_cursor *cursor, cursor 981 tools/perf/util/callchain.c if (!cursor->nr) cursor 984 tools/perf/util/callchain.c callchain_cursor_commit(cursor); cursor 986 tools/perf/util/callchain.c if (append_chain_children(&root->node, cursor, period) < 0) cursor 989 tools/perf/util/callchain.c if (cursor->nr > root->max_depth) cursor 990 tools/perf/util/callchain.c root->max_depth = cursor->nr; cursor 996 tools/perf/util/callchain.c merge_chain_branch(struct callchain_cursor *cursor, cursor 999 tools/perf/util/callchain.c struct callchain_cursor_node **old_last = cursor->last; cursor 1003 tools/perf/util/callchain.c int old_pos = cursor->nr; cursor 1007 tools/perf/util/callchain.c callchain_cursor_append(cursor, list->ip, cursor 1016 tools/perf/util/callchain.c callchain_cursor_commit(cursor); cursor 1017 tools/perf/util/callchain.c if (append_chain_children(dst, cursor, src->hit) < 0) cursor 1027 tools/perf/util/callchain.c err = merge_chain_branch(cursor, dst, child); cursor 1034 tools/perf/util/callchain.c cursor->nr = old_pos; cursor 1035 tools/perf/util/callchain.c cursor->last = old_last; cursor 1040 tools/perf/util/callchain.c int callchain_merge(struct callchain_cursor *cursor, cursor 1043 tools/perf/util/callchain.c return merge_chain_branch(cursor, &dst->node, &src->node); cursor 1046 tools/perf/util/callchain.c int callchain_cursor_append(struct callchain_cursor *cursor, cursor 1052 tools/perf/util/callchain.c struct callchain_cursor_node *node = *cursor->last; cursor 1059 tools/perf/util/callchain.c *cursor->last = node; cursor 1076 tools/perf/util/callchain.c cursor->nr++; cursor 1078 tools/perf/util/callchain.c cursor->last = &node->next; cursor 1084 tools/perf/util/callchain.c struct callchain_cursor *cursor, struct symbol **parent, cursor 1093 tools/perf/util/callchain.c return thread__resolve_callchain(al->thread, cursor, evsel, sample, cursor 1592 tools/perf/util/callchain.c void callchain_cursor_reset(struct callchain_cursor *cursor) cursor 1596 tools/perf/util/callchain.c cursor->nr = 0; cursor 1597 tools/perf/util/callchain.c cursor->last = &cursor->first; cursor 1599 tools/perf/util/callchain.c for (node = cursor->first; node != NULL; node = node->next) cursor 189 tools/perf/util/callchain.h struct callchain_cursor *cursor, cursor 192 tools/perf/util/callchain.h int callchain_merge(struct callchain_cursor *cursor, cursor 195 tools/perf/util/callchain.h void callchain_cursor_reset(struct callchain_cursor *cursor); cursor 197 tools/perf/util/callchain.h int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip, cursor 204 tools/perf/util/callchain.h static inline void callchain_cursor_commit(struct callchain_cursor *cursor) cursor 206 tools/perf/util/callchain.h cursor->curr = cursor->first; cursor 207 tools/perf/util/callchain.h cursor->pos = 0; cursor 212 tools/perf/util/callchain.h callchain_cursor_current(struct callchain_cursor *cursor) cursor 214 tools/perf/util/callchain.h if (cursor->pos == cursor->nr) cursor 217 tools/perf/util/callchain.h return cursor->curr; cursor 220 tools/perf/util/callchain.h static inline void callchain_cursor_advance(struct callchain_cursor *cursor) cursor 222 tools/perf/util/callchain.h cursor->curr = cursor->curr->next; cursor 223 tools/perf/util/callchain.h cursor->pos++; cursor 242 tools/perf/util/callchain.h struct callchain_cursor *cursor, struct symbol **parent, cursor 105 tools/perf/util/evsel_fprintf.c unsigned int print_opts, struct callchain_cursor *cursor, cursor 125 tools/perf/util/evsel_fprintf.c callchain_cursor_commit(cursor); cursor 130 tools/perf/util/evsel_fprintf.c node = callchain_cursor_current(cursor); cursor 186 tools/perf/util/evsel_fprintf.c callchain_cursor_advance(cursor); cursor 195 tools/perf/util/evsel_fprintf.c struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) cursor 205 tools/perf/util/evsel_fprintf.c if (cursor != NULL) { cursor 207 tools/perf/util/evsel_fprintf.c cursor, bt_stop_list, fp); cursor 38 tools/perf/util/evsel_fprintf.h unsigned int print_opts, struct callchain_cursor *cursor, cursor 43 tools/perf/util/evsel_fprintf.h struct callchain_cursor *cursor, cursor 1074 tools/perf/util/hist.c struct callchain_cursor cursor; cursor 1076 tools/perf/util/hist.c callchain_cursor_snapshot(&cursor, &callchain_cursor); cursor 1101 tools/perf/util/hist.c callchain_append(he->callchain, &cursor, sample->period); cursor 2006 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2044 tools/perf/util/machine.c callchain_cursor_reset(cursor); cursor 2061 tools/perf/util/machine.c callchain_cursor_reset(cursor); cursor 2074 tools/perf/util/machine.c return callchain_cursor_append(cursor, ip, al.map, al.sym, cursor 2169 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2241 tools/perf/util/machine.c err = add_callchain_ip(thread, cursor, parent, cursor 2255 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2266 tools/perf/util/machine.c err = add_callchain_ip(thread, cursor, parent, cursor 2276 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2295 tools/perf/util/machine.c err = resolve_lbr_callchain_sample(thread, cursor, sample, parent, cursor 2357 tools/perf/util/machine.c err = add_callchain_ip(thread, cursor, parent, cursor 2364 tools/perf/util/machine.c err = add_callchain_ip(thread, cursor, parent, root_al, cursor 2382 tools/perf/util/machine.c err = find_prev_cpumode(chain, thread, cursor, parent, root_al, cursor 2404 tools/perf/util/machine.c err = find_prev_cpumode(chain, thread, cursor, parent, cursor 2411 tools/perf/util/machine.c err = add_callchain_ip(thread, cursor, parent, cursor 2422 tools/perf/util/machine.c static int append_inlines(struct callchain_cursor *cursor, cursor 2445 tools/perf/util/machine.c ret = callchain_cursor_append(cursor, ip, map, cursor 2458 tools/perf/util/machine.c struct callchain_cursor *cursor = arg; cursor 2465 tools/perf/util/machine.c if (append_inlines(cursor, entry->map, entry->sym, entry->ip) == 0) cursor 2476 tools/perf/util/machine.c return callchain_cursor_append(cursor, entry->ip, cursor 2482 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2497 tools/perf/util/machine.c return unwind__get_entries(unwind_entry, cursor, cursor 2502 tools/perf/util/machine.c struct callchain_cursor *cursor, cursor 2511 tools/perf/util/machine.c callchain_cursor_reset(cursor); cursor 2514 tools/perf/util/machine.c ret = thread__resolve_callchain_sample(thread, cursor, cursor 2520 tools/perf/util/machine.c ret = thread__resolve_callchain_unwind(thread, cursor, cursor 2524 tools/perf/util/machine.c ret = thread__resolve_callchain_unwind(thread, cursor, cursor 2529 tools/perf/util/machine.c ret = thread__resolve_callchain_sample(thread, cursor, cursor 178 tools/perf/util/machine.h struct callchain_cursor *cursor, cursor 55 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c void *cursor, *data_end; cursor 61 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c cursor = (void *)(long)skb->data; cursor 62 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c ipver = (uint8_t *)cursor; cursor 70 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c ip = cursor_advance(cursor, sizeof(*ip)); cursor 77 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c srh = cursor_advance(cursor, sizeof(*srh)); cursor 55 tools/testing/selftests/bpf/progs/test_seg6_loop.c void *cursor, *data_end; cursor 61 tools/testing/selftests/bpf/progs/test_seg6_loop.c cursor = (void *)(long)skb->data; cursor 62 tools/testing/selftests/bpf/progs/test_seg6_loop.c ipver = (uint8_t *)cursor; cursor 70 tools/testing/selftests/bpf/progs/test_seg6_loop.c ip = cursor_advance(cursor, sizeof(*ip)); cursor 77 tools/testing/selftests/bpf/progs/test_seg6_loop.c srh = cursor_advance(cursor, sizeof(*srh));