/linux-6.3-rc2/drivers/dma-buf/ |
A D | dma-resv.c | 363 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked() 365 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked() 379 if (cursor->index >= cursor->num_fences) { in dma_resv_iter_walk_unlocked() 385 dma_resv_list_entry(cursor->fences, cursor->index++, in dma_resv_iter_walk_unlocked() 386 cursor->obj, &cursor->fence, in dma_resv_iter_walk_unlocked() 388 cursor->fence = dma_fence_get_rcu(cursor->fence); in dma_resv_iter_walk_unlocked() 395 cursor->usage >= cursor->fence_usage) in dma_resv_iter_walk_unlocked() 470 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_first() 495 cursor->index >= cursor->fences->num_fences) in dma_resv_iter_next() 499 cursor->obj, &fence, &cursor->fence_usage); in dma_resv_iter_next() [all …]
|
A D | dma-fence-unwrap.c | 18 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor) in __dma_fence_unwrap_array() argument 20 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array() 21 cursor->index = 0; in __dma_fence_unwrap_array() 22 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array() 34 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() argument 36 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first() 37 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first() 52 ++cursor->index; in dma_fence_unwrap_next() 53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next() 57 cursor->chain = dma_fence_chain_walk(cursor->chain); in dma_fence_unwrap_next() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/sti/ |
A D | sti_cursor.c | 113 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show() 119 cursor_dbg_pml(s, cursor, readl(cursor->regs + CUR_PML)); in cursor_dbg_show() 124 cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML)); in cursor_dbg_show() 231 dma_free_wc(cursor->dev, cursor->pixmap.size, in sti_cursor_atomic_check() 232 cursor->pixmap.base, cursor->pixmap.paddr); in sti_cursor_atomic_check() 234 cursor->pixmap.size = cursor->width * cursor->height; in sti_cursor_atomic_check() 236 cursor->pixmap.base = dma_alloc_wc(cursor->dev, in sti_cursor_atomic_check() 297 writel(cursor->pixmap.paddr, cursor->regs + CUR_PML); in sti_cursor_atomic_update() 298 writel(cursor->width, cursor->regs + CUR_PMP); in sti_cursor_atomic_update() 299 writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); in sti_cursor_atomic_update() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_vm_pt.c | 176 cursor->pfn = start; in amdgpu_vm_pt_start() 197 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant() 204 ++cursor->level; in amdgpu_vm_pt_descendant() 206 cursor->parent = cursor->entry; in amdgpu_vm_pt_descendant() 207 cursor->entry = &to_amdgpu_bo_vm(cursor->entry->bo)->entries[idx]; in amdgpu_vm_pt_descendant() 242 ++cursor->entry; in amdgpu_vm_pt_sibling() 260 --cursor->level; in amdgpu_vm_pt_ancestor() 261 cursor->entry = cursor->parent; in amdgpu_vm_pt_ancestor() 262 cursor->parent = amdgpu_vm_pt_parent(cursor->parent); in amdgpu_vm_pt_ancestor() 307 *cursor = *start; in amdgpu_vm_pt_first_dfs() [all …]
|
/linux-6.3-rc2/tools/verification/dot2/ |
A D | automata.py | 43 cursor = 0 59 cursor += 1 63 cursor = 0 65 cursor += 1 66 return cursor 69 cursor = 0 71 cursor += 1 73 cursor += 1 75 cursor += 1 76 return cursor [all …]
|
/linux-6.3-rc2/scripts/ |
A D | asn1_compiler.c | 824 filename, cursor->line, cursor->content); in parse() 892 filename, cursor->line, cursor->content); in parse_type() 900 filename, cursor->line, cursor->content); in parse_type() 907 if (p - cursor->content != cursor->size) in parse_type() 915 filename, cursor->line, cursor->content); in parse_type() 1016 filename, cursor->line, cursor->content); in parse_type() 1066 filename, cursor->line, cursor->content); in parse_type() 1084 filename, cursor->line, cursor->content); in parse_type() 1136 filename, cursor->line, cursor->content); in parse_type() 1155 filename, cursor->line, cursor->content); in parse_compound() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | dma-resv.h | 234 cursor->obj = obj; in dma_resv_iter_begin() 235 cursor->usage = usage; in dma_resv_iter_begin() 236 cursor->fence = NULL; in dma_resv_iter_begin() 248 dma_fence_put(cursor->fence); in dma_resv_iter_end() 258 dma_resv_iter_usage(struct dma_resv_iter *cursor) in dma_resv_iter_usage() argument 260 return cursor->fence_usage; in dma_resv_iter_usage() 271 return cursor->is_restarted; in dma_resv_iter_is_restarted() 290 for (fence = dma_resv_iter_first_unlocked(cursor); \ 307 for (dma_resv_iter_begin(cursor, obj, usage), \ 308 fence = dma_resv_iter_first(cursor); fence; \ [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_attr_list.c | 43 (!((cursor)->initted) && !((cursor)->hashval) && \ 44 !((cursor)->blkno) && !((cursor)->offset)) 56 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 153 cursor->initted = 1; in xfs_attr_shortform_list() 154 cursor->blkno = 0; in xfs_attr_shortform_list() 189 cursor->offset++; in xfs_attr_shortform_list() 219 cursor->blkno = 0; in xfs_attr_node_list_lookup() 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_node_list() local 297 cursor->initted = 1; in xfs_attr_node_list() 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr3_leaf_list_int() local [all …]
|
/linux-6.3-rc2/drivers/staging/sm750fb/ |
A D | sm750_cursor.c | 23 writel((data), cursor->mmio + (addr)) 63 cursor->w = w; in sm750_hw_cursor_setSize() 64 cursor->h = h; in sm750_hw_cursor_setSize() 94 pitch = cursor->w >> 3; in sm750_hw_cursor_setData() 97 count = pitch * cursor->h; in sm750_hw_cursor_setData() 100 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData() 103 pstart = cursor->vstart; in sm750_hw_cursor_setData() 144 pitch = cursor->w >> 3; in sm750_hw_cursor_setData2() 147 count = pitch * cursor->h; in sm750_hw_cursor_setData2() 150 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData2() [all …]
|
A D | sm750_cursor.h | 6 void sm750_hw_cursor_enable(struct lynx_cursor *cursor); 7 void sm750_hw_cursor_disable(struct lynx_cursor *cursor); 8 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h); 9 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y); 10 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg); 11 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, 13 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
|
/linux-6.3-rc2/net/ceph/ |
A D | messenger.c | 788 cursor->bvec_iter.bi_size = cursor->resid; in ceph_msg_data_bvecs_cursor_init() 790 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init() 823 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance() 859 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_next() 877 cursor->page_offset = (cursor->page_offset + bytes) & ~PAGE_MASK; in ceph_msg_data_pages_advance() 886 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_advance() 932 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_next() 951 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_advance() 968 cursor->page = list_next_entry(cursor->page, lru); in ceph_msg_data_pagelist_advance() 1090 if (!cursor->resid && cursor->total_resid) { in ceph_msg_data_advance() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/aty/ |
A D | mach64_cursor.c | 82 if (cursor->enable) in atyfb_cursor() 90 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor() 91 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor() 99 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor() 107 h = cursor->image.height; in atyfb_cursor() 125 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor() 128 fg_idx = cursor->image.fg_color; in atyfb_cursor() 129 bg_idx = cursor->image.bg_color; in atyfb_cursor() 145 u8 *src = (u8 *)cursor->image.data; in atyfb_cursor() 146 u8 *msk = (u8 *)cursor->mask; in atyfb_cursor() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_cursor.c | 290 plane->cursor.base = base; in i845_cursor_update_arm() 291 plane->cursor.size = size; in i845_cursor_update_arm() 768 if (IS_ERR(cursor)) in intel_cursor_plane_create() 769 return cursor; in intel_cursor_plane_create() 771 cursor->pipe = pipe; in intel_cursor_plane_create() 774 cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); in intel_cursor_plane_create() 790 cursor->cursor.base = ~0; in intel_cursor_plane_create() 791 cursor->cursor.cntl = ~0; in intel_cursor_plane_create() 794 cursor->cursor.size = ~0; in intel_cursor_plane_create() 825 return cursor; in intel_cursor_plane_create() [all …]
|
/linux-6.3-rc2/drivers/firmware/google/ |
A D | memconsole-coreboot.c | 23 u32 cursor; member 42 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() local 43 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read() 53 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read() 54 cursor = 0; in memconsole_coreboot_read() 55 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read() 56 seg[1] = (struct seg){.phys = 0, .len = cursor}; in memconsole_coreboot_read() 58 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | callchain.h | 160 struct callchain_cursor_node cursor; member 197 struct callchain_cursor *cursor, 200 int callchain_merge(struct callchain_cursor *cursor, 203 void callchain_cursor_reset(struct callchain_cursor *cursor); 214 cursor->curr = cursor->first; in callchain_cursor_commit() 215 cursor->pos = 0; in callchain_cursor_commit() 220 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument 222 if (cursor->pos == cursor->nr) in callchain_cursor_current() 225 return cursor->curr; in callchain_cursor_current() 230 cursor->curr = cursor->curr->next; in callchain_cursor_advance() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | pmag-aa-fb.c | 108 if (cursor->image.height > BT431_CURSOR_SIZE || in aafb_cursor() 109 cursor->image.width > BT431_CURSOR_SIZE) { in aafb_cursor() 114 if (!cursor->enable) in aafb_cursor() 117 if (cursor->set & FB_CUR_SETPOS) in aafb_cursor() 119 cursor->image.dx, cursor->image.dy); in aafb_cursor() 120 if (cursor->set & FB_CUR_SETCMAP) { in aafb_cursor() 121 u8 fg = cursor->image.fg_color ? 0xf : 0x0; in aafb_cursor() 122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor() 130 cursor->image.data, cursor->mask, cursor->rop, in aafb_cursor() 131 cursor->image.width, cursor->image.height); in aafb_cursor() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/core/ |
A D | tileblit.c | 85 struct fb_tilecursor cursor; in tile_cursor() local 88 cursor.sx = vc->state.x; in tile_cursor() 89 cursor.sy = vc->state.y; in tile_cursor() 91 cursor.fg = fg; in tile_cursor() 92 cursor.bg = bg; in tile_cursor() 96 cursor.shape = FB_TILE_CURSOR_NONE; in tile_cursor() 99 cursor.shape = FB_TILE_CURSOR_UNDERLINE; in tile_cursor() 105 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor() 108 cursor.shape = FB_TILE_CURSOR_TWO_THIRDS; in tile_cursor() 112 cursor.shape = FB_TILE_CURSOR_BLOCK; in tile_cursor() [all …]
|
A D | softcursor.c | 22 int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) in soft_cursor() argument 34 s_pitch = (cursor->image.width + 7) >> 3; in soft_cursor() 35 dsize = s_pitch * cursor->image.height; in soft_cursor() 50 *image = cursor->image; in soft_cursor() 57 if (cursor->enable) { in soft_cursor() 58 switch (cursor->rop) { in soft_cursor() 61 src[i] = image->data[i] ^ cursor->mask[i]; in soft_cursor() 66 src[i] = image->data[i] & cursor->mask[i]; in soft_cursor()
|
A D | bitblit.c | 239 struct fb_cursor cursor; in bit_cursor() local 248 cursor.set = 0; in bit_cursor() 277 cursor.set |= FB_CUR_SETCMAP; in bit_cursor() 285 cursor.set |= FB_CUR_SETPOS; in bit_cursor() 293 cursor.set |= FB_CUR_SETSIZE; in bit_cursor() 299 cursor.set |= FB_CUR_SETHOT; in bit_cursor() 359 cursor.image.data = src; in bit_cursor() 370 cursor.image.depth = 1; in bit_cursor() 371 cursor.rop = ROP_XOR; in bit_cursor() 377 soft_cursor(info, &cursor); in bit_cursor() [all …]
|
A D | fbcon_cw.c | 207 struct fb_cursor cursor; in cw_cursor() local 220 cursor.set = 0; in cw_cursor() 249 cursor.set |= FB_CUR_SETCMAP; in cw_cursor() 257 cursor.set |= FB_CUR_SETSIZE; in cw_cursor() 268 cursor.set |= FB_CUR_SETPOS; in cw_cursor() 274 cursor.set |= FB_CUR_SETHOT; in cw_cursor() 346 cursor.image.data = src; in cw_cursor() 357 cursor.image.depth = 1; in cw_cursor() 358 cursor.rop = ROP_XOR; in cw_cursor() 364 soft_cursor(info, &cursor); in cw_cursor() [all …]
|
A D | fbcon_ccw.c | 224 struct fb_cursor cursor; in ccw_cursor() local 237 cursor.set = 0; in ccw_cursor() 266 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor() 274 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor() 285 cursor.set |= FB_CUR_SETPOS; in ccw_cursor() 291 cursor.set |= FB_CUR_SETHOT; in ccw_cursor() 363 cursor.image.data = src; in ccw_cursor() 374 cursor.image.depth = 1; in ccw_cursor() 375 cursor.rop = ROP_XOR; in ccw_cursor() 381 soft_cursor(info, &cursor); in ccw_cursor() [all …]
|
A D | fbcon_ud.c | 254 struct fb_cursor cursor; in ud_cursor() local 268 cursor.set = 0; in ud_cursor() 297 cursor.set |= FB_CUR_SETCMAP; in ud_cursor() 305 cursor.set |= FB_CUR_SETSIZE; in ud_cursor() 316 cursor.set |= FB_CUR_SETPOS; in ud_cursor() 322 cursor.set |= FB_CUR_SETHOT; in ud_cursor() 386 cursor.image.data = src; in ud_cursor() 397 cursor.image.depth = 1; in ud_cursor() 398 cursor.rop = ROP_XOR; in ud_cursor() 404 soft_cursor(info, &cursor); in ud_cursor() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_wait.c | 38 struct dma_resv_iter cursor; in i915_gem_object_boost() local 57 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_boost() 59 dma_resv_for_each_fence_unlocked(&cursor, fence) in i915_gem_object_boost() 63 dma_resv_iter_end(&cursor); in i915_gem_object_boost() 71 struct dma_resv_iter cursor; in i915_gem_object_wait_reservation() local 77 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_wait_reservation() 87 dma_resv_iter_end(&cursor); in i915_gem_object_wait_reservation() 152 struct dma_resv_iter cursor; in i915_gem_object_wait_priority() local 155 dma_resv_iter_begin(&cursor, obj->base.resv, in i915_gem_object_wait_priority() 157 dma_resv_for_each_fence_unlocked(&cursor, fence) in i915_gem_object_wait_priority() [all …]
|
/linux-6.3-rc2/net/rxrpc/ |
A D | peer_event.c | 233 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument 270 slot += cursor; in rxrpc_peer_keepalive_dispatch() 294 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local 299 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker() 300 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker() 316 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker() 320 cursor++; in rxrpc_peer_keepalive_worker() 327 rxnet->peer_keepalive_cursor = cursor; in rxrpc_peer_keepalive_worker() 332 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker() 333 stop = cursor + RXRPC_KEEPALIVE_TIME - 1; in rxrpc_peer_keepalive_worker() [all …]
|
/linux-6.3-rc2/crypto/asymmetric_keys/ |
A D | verify_pefile.c | 32 size_t cursor, datalen = pelen; in pefile_parse_binary() local 45 cursor = sizeof(*mz); in pefile_parse_binary() 51 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary() 54 pe32 = pebuf + cursor; in pefile_parse_binary() 55 pe64 = pebuf + cursor; in pefile_parse_binary() 59 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary() 63 cursor += sizeof(*pe32); in pefile_parse_binary() 68 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary() 72 cursor += sizeof(*pe64); in pefile_parse_binary() 90 ddir = pebuf + cursor; in pefile_parse_binary() [all …]
|