Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/linux-6.12.1/fs/xfs/scrub/
Ddqiterate.c27 struct xchk_dqiter *cursor, in xchk_dqiter_init() argument
31 cursor->sc = sc; in xchk_dqiter_init()
32 cursor->bmap.br_startoff = NULLFILEOFF; in xchk_dqiter_init()
33 cursor->dqtype = dqtype & XFS_DQTYPE_REC_MASK; in xchk_dqiter_init()
34 cursor->quota_ip = xfs_quota_inode(sc->mp, cursor->dqtype); in xchk_dqiter_init()
35 cursor->id = 0; in xchk_dqiter_init()
44 struct xchk_dqiter *cursor) in xchk_dquot_iter_revalidate_bmap() argument
46 struct xfs_quotainfo *qi = cursor->sc->mp->m_quotainfo; in xchk_dquot_iter_revalidate_bmap()
47 struct xfs_ifork *ifp = xfs_ifork_ptr(cursor->quota_ip, in xchk_dquot_iter_revalidate_bmap()
50 xfs_dqid_t this_id = cursor->id; in xchk_dquot_iter_revalidate_bmap()
[all …]
/linux-6.12.1/drivers/dma-buf/
Ddma-resv.c366 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument
368 cursor->index = 0; in dma_resv_iter_restart_unlocked()
369 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked()
370 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked()
371 if (cursor->fences) in dma_resv_iter_restart_unlocked()
372 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked()
373 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked()
377 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument
379 if (!cursor->fences) in dma_resv_iter_walk_unlocked()
384 dma_fence_put(cursor->fence); in dma_resv_iter_walk_unlocked()
[all …]
Ddma-fence-unwrap.c18 __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()
48 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument
52 ++cursor->index; in dma_fence_unwrap_next()
53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next()
[all …]
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_cursor.c81 readl(cursor->regs + reg))
94 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument
96 if (cursor->pixmap.paddr == val) in cursor_dbg_pml()
97 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml()
101 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument
103 if (cursor->clut_paddr == val) in cursor_dbg_cml()
104 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
110 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local
113 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show()
117 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c158 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument
160 cursor->pfn = start; in amdgpu_vm_pt_start()
161 cursor->parent = NULL; in amdgpu_vm_pt_start()
162 cursor->entry = &vm->root; in amdgpu_vm_pt_start()
163 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start()
177 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument
181 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant()
182 !cursor->entry->bo) in amdgpu_vm_pt_descendant()
185 mask = amdgpu_vm_pt_entries_mask(adev, cursor->level); in amdgpu_vm_pt_descendant()
186 shift = amdgpu_vm_pt_level_shift(adev, cursor->level); in amdgpu_vm_pt_descendant()
[all …]
/linux-6.12.1/tools/verification/dot2/
Dautomata.py43 cursor = 0
54 line = dot_lines[cursor].split()
59 cursor += 1
63 cursor = 0
64 while self.__dot_lines[cursor].split()[0] != "{node":
65 cursor += 1
66 return cursor
69 cursor = 0
70 while self.__dot_lines[cursor].split()[0] != "{node":
71 cursor += 1
[all …]
/linux-6.12.1/drivers/gpu/drm/ci/xfails/
Drockchip-rk3399-fails.txt12 kms_cursor_crc@cursor-alpha-opaque,Fail
13 kms_cursor_crc@cursor-alpha-transparent,Fail
14 kms_cursor_crc@cursor-dpms,Fail
15 kms_cursor_crc@cursor-offscreen-32x10,Fail
16 kms_cursor_crc@cursor-offscreen-32x32,Fail
17 kms_cursor_crc@cursor-offscreen-64x21,Fail
18 kms_cursor_crc@cursor-offscreen-64x64,Fail
19 kms_cursor_crc@cursor-onscreen-32x10,Fail
20 kms_cursor_crc@cursor-onscreen-32x32,Fail
21 kms_cursor_crc@cursor-onscreen-64x21,Fail
[all …]
Dvkms-none-fails.txt22 kms_cursor_crc@cursor-rapid-movement-128x128,Fail
23 kms_cursor_crc@cursor-rapid-movement-128x42,Fail
24 kms_cursor_crc@cursor-rapid-movement-256x256,Fail
25 kms_cursor_crc@cursor-rapid-movement-256x85,Fail
26 kms_cursor_crc@cursor-rapid-movement-32x10,Fail
27 kms_cursor_crc@cursor-rapid-movement-32x32,Fail
28 kms_cursor_crc@cursor-rapid-movement-512x170,Fail
29 kms_cursor_crc@cursor-rapid-movement-512x512,Fail
30 kms_cursor_crc@cursor-rapid-movement-64x21,Fail
31 kms_cursor_crc@cursor-rapid-movement-64x64,Fail
[all …]
Dmsm-sdm845-fails.txt14 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail
15 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
16 kms_cursor_legacy@cursor-vs-flip-atomic,Fail
17 kms_cursor_legacy@cursor-vs-flip-atomic-transitions,Fail
18 kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size,Fail
19 kms_cursor_legacy@cursor-vs-flip-legacy,Fail
20 kms_cursor_legacy@cursor-vs-flip-toggle,Fail
21 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail
22 kms_cursor_legacy@flip-vs-cursor-atomic,Fail
23 kms_cursor_legacy@flip-vs-cursor-crc-atomic,Fail
[all …]
/linux-6.12.1/scripts/
Dasn1_compiler.c806 struct token *cursor; in parse() local
812 cursor = type->name; in parse()
814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
817 cursor += 2; in parse()
819 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
822 if (cursor != type[1].name) { in parse()
824 filename, cursor->line, cursor->content); in parse()
858 struct token *cursor = *_cursor; in parse_type() local
866 element->tag = token_to_tag[cursor->token_type]; in parse_type()
[all …]
/linux-6.12.1/include/linux/
Ddma-resv.h219 struct dma_fence *dma_resv_iter_first_unlocked(struct dma_resv_iter *cursor);
220 struct dma_fence *dma_resv_iter_next_unlocked(struct dma_resv_iter *cursor);
221 struct dma_fence *dma_resv_iter_first(struct dma_resv_iter *cursor);
222 struct dma_fence *dma_resv_iter_next(struct dma_resv_iter *cursor);
230 static inline void dma_resv_iter_begin(struct dma_resv_iter *cursor, in dma_resv_iter_begin() argument
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()
246 static inline void dma_resv_iter_end(struct dma_resv_iter *cursor) in dma_resv_iter_end() argument
248 dma_fence_put(cursor->fence); in dma_resv_iter_end()
[all …]
/linux-6.12.1/net/ceph/
Dmessenger.c724 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
727 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
728 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
730 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
732 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
733 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
735 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
738 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
742 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
743 cursor->bio_iter.iter); in ceph_msg_data_bio_next()
[all …]
/linux-6.12.1/drivers/staging/sm750fb/
Dsm750_cursor.c22 writel((data), cursor->mmio + (addr))
47 void sm750_hw_cursor_enable(struct lynx_cursor *cursor) in sm750_hw_cursor_enable() argument
51 reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; in sm750_hw_cursor_enable()
55 void sm750_hw_cursor_disable(struct lynx_cursor *cursor) in sm750_hw_cursor_disable() argument
60 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_setSize() argument
62 cursor->w = w; in sm750_hw_cursor_setSize()
63 cursor->h = h; in sm750_hw_cursor_setSize()
66 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_setPos() argument
75 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
84 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData() argument
[all …]
Dsm750_cursor.h6 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.12.1/fs/xfs/
Dxfs_attr_list.c43 #define XFS_ISRESET_CURSOR(cursor) \ argument
44 (!((cursor)->initted) && !((cursor)->hashval) && \
45 !((cursor)->blkno) && !((cursor)->offset))
57 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local
81 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
163 cursor->initted = 1; in xfs_attr_shortform_list()
164 cursor->blkno = 0; in xfs_attr_shortform_list()
166 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
167 if (cursor->offset == count) { in xfs_attr_shortform_list()
171 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/linux-6.12.1/drivers/video/fbdev/aty/
Dmach64_cursor.c68 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument
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()
144 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor()
[all …]
/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_resource.c38 ttm_resource_cursor_clear_bulk(struct ttm_resource_cursor *cursor) in ttm_resource_cursor_clear_bulk() argument
40 lockdep_assert_held(&cursor->man->bdev->lru_lock); in ttm_resource_cursor_clear_bulk()
42 cursor->bulk = NULL; in ttm_resource_cursor_clear_bulk()
43 list_del_init(&cursor->bulk_link); in ttm_resource_cursor_clear_bulk()
48 struct ttm_resource_cursor *cursor) in ttm_resource_cursor_move_bulk_tail() argument
52 lockdep_assert_held(&cursor->man->bdev->lru_lock); in ttm_resource_cursor_move_bulk_tail()
54 if (WARN_ON_ONCE(bulk != cursor->bulk)) { in ttm_resource_cursor_move_bulk_tail()
55 list_del_init(&cursor->bulk_link); in ttm_resource_cursor_move_bulk_tail()
59 pos = &bulk->pos[cursor->mem_type][cursor->priority]; in ttm_resource_cursor_move_bulk_tail()
61 list_move(&cursor->hitch.link, &pos->last->lru.link); in ttm_resource_cursor_move_bulk_tail()
[all …]
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_plane.c222 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in lsdc_cursor_plane_atomic_async_update() local
223 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in lsdc_cursor_plane_atomic_async_update()
257 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update()
259 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update()
262 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update()
301 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in ls7a1000_cursor_plane_atomic_update() local
306 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in ls7a1000_cursor_plane_atomic_update()
312 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a1000_cursor_plane_atomic_update()
315 ops->update_bo_addr(cursor, addr); in ls7a1000_cursor_plane_atomic_update()
317 ops->update_cfg(cursor, CURSOR_SIZE_32X32, CURSOR_FORMAT_ARGB8888); in ls7a1000_cursor_plane_atomic_update()
[all …]
/linux-6.12.1/tools/perf/util/
Dcallchain.h160 struct callchain_cursor_node cursor; member
195 struct callchain_cursor *cursor,
198 int callchain_merge(struct callchain_cursor *cursor,
201 void callchain_cursor_reset(struct callchain_cursor *cursor);
203 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
210 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
212 if (cursor == NULL) in callchain_cursor_commit()
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
[all …]
Dcallchain.c573 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
577 node->val_nr = cursor->nr - cursor->pos; in fill_node()
581 cursor_node = callchain_cursor_current(cursor); in fill_node()
640 callchain_cursor_advance(cursor); in fill_node()
641 cursor_node = callchain_cursor_current(cursor); in fill_node()
648 struct callchain_cursor *cursor, in add_child() argument
657 if (fill_node(new, cursor) < 0) { in add_child()
816 struct callchain_cursor *cursor, in split_add_child() argument
848 if (idx_total < cursor->nr) { in split_add_child()
859 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
/linux-6.12.1/drivers/video/fbdev/
Dpmag-aa-fb.c104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in aafb_cursor() argument
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()
128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) in aafb_cursor()
[all …]
/linux-6.12.1/drivers/firmware/google/
Dmemconsole-coreboot.c23 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.12.1/drivers/video/fbdev/core/
Dtileblit.c85 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()
90 cursor.mode = enable && !use_sw; 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()
102 cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; in tile_cursor()
105 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_cursor.c301 if (plane->cursor.base != base || in i845_cursor_update_arm()
302 plane->cursor.size != size || in i845_cursor_update_arm()
303 plane->cursor.cntl != cntl) { in i845_cursor_update_arm()
310 plane->cursor.base = base; in i845_cursor_update_arm()
311 plane->cursor.size = size; in i845_cursor_update_arm()
312 plane->cursor.cntl = cntl; in i845_cursor_update_arm()
696 if (plane->cursor.base != base || in i9xx_cursor_update_arm()
697 plane->cursor.size != fbc_ctl || in i9xx_cursor_update_arm()
698 plane->cursor.cntl != cntl) { in i9xx_cursor_update_arm()
707 plane->cursor.base = base; in i9xx_cursor_update_arm()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c38 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()
79 dma_resv_for_each_fence_unlocked(&cursor, fence) { 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()
[all …]

12345678910>>...13