Home
last modified time | relevance | path

Searched full:cursor (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/linux/fs/xfs/scrub/
H A Ddqiterate.c24 /* Initialize a dquot iteration cursor. */
27 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()
39 * Ensure that the cached data fork mapping for the dqiter cursor is fresh and
40 * covers the dquot pointed to by the scan cursor.
44 struct xchk_dqiter *cursor) in xchk_dquot_iter_revalidate_bmap() argument
[all …]
/linux/drivers/dma-buf/
H A Ddma-resv.c366 /* Restart the unlocked iteration by initializing the cursor object. */
367 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument
369 cursor->index = 0; in dma_resv_iter_restart_unlocked()
370 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked()
371 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked()
372 if (cursor->fences) in dma_resv_iter_restart_unlocked()
373 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked()
374 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked()
378 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument
380 if (!cursor->fences) in dma_resv_iter_walk_unlocked()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm_pt.c153 * @cursor: state to initialize
159 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument
161 cursor->pfn = start; in amdgpu_vm_pt_start()
162 cursor->parent = NULL; in amdgpu_vm_pt_start()
163 cursor->entry = &vm->root; in amdgpu_vm_pt_start()
164 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start()
171 * @cursor: current state
178 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument
182 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant()
183 !cursor->entry->bo) in amdgpu_vm_pt_descendant()
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dautomata.py44 cursor = 0
55 line = dot_lines[cursor].split()
60 cursor += 1
64 cursor = 0
65 while self.__dot_lines[cursor].split()[0] != "{node":
66 cursor += 1
67 return cursor
70 cursor = 0
71 while self.__dot_lines[cursor].split()[0] != "{node":
72 cursor += 1
[all …]
/linux/scripts/
H A 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/fs/xfs/
H A 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
72 * If the buffer is large enough and the cursor is at the start, in xfs_attr_shortform_list()
74 * one buffer and another call using the cursor won't need to be in xfs_attr_shortform_list()
81 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
164 cursor->initted = 1; in xfs_attr_shortform_list()
165 cursor->blkno = 0; in xfs_attr_shortform_list()
167 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cursor_plane.c27 SVGAFifoCmdDefineAlphaCursor cursor; member
31 * vmw_send_define_cursor_cmd - queue a define cursor command
33 * @image: buffer which holds the cursor image
34 * @width: width of the mouse cursor image
35 * @height: height of the mouse cursor image
64 cmd->cursor.id = 0; in vmw_send_define_cursor_cmd()
65 cmd->cursor.width = width; in vmw_send_define_cursor_cmd()
66 cmd->cursor.height = height; in vmw_send_define_cursor_cmd()
67 cmd->cursor.hotspotX = hotspotX; in vmw_send_define_cursor_cmd()
68 cmd->cursor.hotspotY = hotspotY; in vmw_send_define_cursor_cmd()
[all …]
/linux/net/ceph/
H A Dmessenger.c725 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
728 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
729 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
731 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
733 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
734 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
736 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
739 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
743 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
744 cursor->bio_iter.iter); in ceph_msg_data_bio_next()
[all …]
/linux/drivers/staging/sm750fb/
H A Dsm750_cursor.c22 writel((data), cursor->mmio + (addr))
24 /* cursor control for voyager and 718/750*/
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_set_size(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_set_size() argument
62 cursor->w = w; in sm750_hw_cursor_set_size()
63 cursor->h = h; in sm750_hw_cursor_set_size()
66 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_set_pos() argument
75 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_set_color() argument
[all …]
H A 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_set_size(struct lynx_cursor *cursor, int w, int h);
9 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y);
10 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg);
11 void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
13 void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
/linux/tools/perf/util/
H A Dcallchain.h138 * A callchain cursor is a single linked list that
147 /* Indicate valid cursor node for LBR stitch */
160 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,
209 /* Close a cursor writing session. Initialize for the reader */
210 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
212 if (cursor == NULL) in callchain_cursor_commit()
[all …]
H A 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()
638 callchain_cursor_advance(cursor); in fill_node()
639 cursor_node = callchain_cursor_current(cursor); in fill_node()
646 struct callchain_cursor *cursor,
655 if (fill_node(new, cursor) < 0) { in add_child()
814 struct callchain_cursor *cursor,
846 if (idx_total < cursor in split_add_child()
648 add_child(struct callchain_node * parent,struct callchain_cursor * cursor,u64 period) add_child() argument
816 split_add_child(struct callchain_node * parent,struct callchain_cursor * cursor,struct callchain_list * to_split,u64 idx_parents,u64 idx_local,u64 period) split_add_child() argument
894 append_chain_children(struct callchain_node * root,struct callchain_cursor * cursor,u64 period) append_chain_children() argument
941 append_chain(struct callchain_node * root,struct callchain_cursor * cursor,u64 period) append_chain() argument
1004 callchain_append(struct callchain_root * root,struct callchain_cursor * cursor,u64 period) callchain_append() argument
1025 merge_chain_branch(struct callchain_cursor * cursor,struct callchain_node * dst,struct callchain_node * src) merge_chain_branch() argument
1073 callchain_merge(struct callchain_cursor * cursor,struct callchain_root * dst,struct callchain_root * src) callchain_merge() argument
1079 callchain_cursor_append(struct callchain_cursor * cursor,u64 ip,struct map_symbol * ms,bool branch,struct branch_flags * flags,int nr_loop_iter,u64 iter_cycles,u64 branch_from,const char * srcline) callchain_cursor_append() argument
1118 sample__resolve_callchain(struct perf_sample * sample,struct callchain_cursor * cursor,struct symbol ** parent,struct evsel * evsel,struct addr_location * al,int max_stack) sample__resolve_callchain() argument
1597 struct callchain_cursor *cursor = vcursor; callchain_cursor__delete() local
1619 struct callchain_cursor *cursor; get_tls_callchain_cursor() local
1665 callchain_cursor_reset(struct callchain_cursor * cursor) callchain_cursor_reset() argument
1805 struct callchain_cursor *cursor = get_tls_callchain_cursor(); sample__for_each_callchain_node() local
[all...]
/linux/include/video/
H A Ds1d13xxxfb.h82 #define S1DREG_LCD_CUR_CTL 0x0070 /* LCD Ink/Cursor Control Register */
83 #define S1DREG_LCD_CUR_START 0x0071 /* LCD Ink/Cursor Start Address Register */
84 #define S1DREG_LCD_CUR_XPOS0 0x0072 /* LCD Cursor X Position Register 0 */
85 #define S1DREG_LCD_CUR_XPOS1 0x0073 /* LCD Cursor X Position Register 1 */
86 #define S1DREG_LCD_CUR_YPOS0 0x0074 /* LCD Cursor Y Position Register 0 */
87 #define S1DREG_LCD_CUR_YPOS1 0x0075 /* LCD Cursor Y Position Register 1 */
88 #define S1DREG_LCD_CUR_BCTL0 0x0076 /* LCD Ink/Cursor Blue Color 0 Register */
89 #define S1DREG_LCD_CUR_GCTL0 0x0077 /* LCD Ink/Cursor Green Color 0 Register */
90 #define S1DREG_LCD_CUR_RCTL0 0x0078 /* LCD Ink/Cursor Red Color 0 Register */
91 #define S1DREG_LCD_CUR_BCTL1 0x007A /* LCD Ink/Cursor Blue Color 1 Register */
[all …]
/linux/drivers/accessibility/speakup/
H A DDefaultKeyAssignments12 InsKeyPad-8 say from top of screen to reading cursor.
18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
26 InsKeyPad-plus Say from reading cursor line to bottom of screen.
27 KeyPad-Minus Park reading cursor (toggle)
31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup)
32 InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn)
33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
35 ControlKeyPad-1 Move reading cursor to last character on current line.
[all …]
/linux/drivers/video/fbdev/
H A Dpmag-aa-fb.c24 * Hardware cursor support.
54 * Bt431 cursor generator offset (rel. to TC slot base address).
104 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()
[all …]
/linux/rust/kernel/
H A Drbtree.rs245 /// Returns a cursor over the tree nodes, starting with the smallest key.
246 pub fn cursor_front(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_front()
253 Cursor { in cursor_front()
260 /// Returns a cursor over the tree nodes, starting with the largest key.
261 pub fn cursor_back(&mut self) -> Option<Cursor<'_, K, V>> { in cursor_back()
268 Cursor { in cursor_back()
419 /// Returns a cursor over the tree nodes based on the given key.
421 /// If the given key exists, the cursor starts there.
424 pub fn cursor_lower_bound(&mut self, key: &K) -> Option<Cursor<'_, K, V>> in cursor_lower_bound()
473 Cursor { in cursor_lower_bound()
[all …]
H A Dlist.rs718 /// Returns a cursor that points before the first element of the list.
719 pub fn cursor_front(&mut self) -> Cursor<'_, T, ID> {
721 Cursor {
727 /// Returns a cursor that points after the last element in the list.
728 pub fn cursor_back(&mut self) -> Cursor<'_, T, ID> {
730 Cursor {
810 /// A cursor into a [`List`].
812 /// A cursor always rests between two elements in the list. This means that a cursor has a previous
813 /// and next element, but no current element. It also means that it's possible to have a cursor
825 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> { global() struct
831 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> { global() implementation
982 cursor: &'a mut Cursor<'b, T, ID>, global() field
[all...]
/linux/arch/arm/mach-sa1100/
H A Djornada720.c111 {0x0070,0x00}, // LCD Ink/Cursor Control Register
112 {0x0071,0x01}, // LCD Ink/Cursor Start Address Register
113 {0x0072,0x00}, // LCD Cursor X Position Register 0
114 {0x0073,0x00}, // LCD Cursor X Position Register 1
115 {0x0074,0x00}, // LCD Cursor Y Position Register 0
116 {0x0075,0x00}, // LCD Cursor Y Position Register 1
117 {0x0076,0x00}, // LCD Ink/Cursor Blue Color 0 Register
118 {0x0077,0x00}, // LCD Ink/Cursor Green Color 0 Register
119 {0x0078,0x00}, // LCD Ink/Cursor Red Color 0 Register
120 {0x007A,0x1F}, // LCD Ink/Cursor Blue Color 1 Register
[all …]
/linux/drivers/video/fbdev/core/
H A Dbitblit.c263 struct fb_cursor cursor; in bit_cursor() local
272 cursor.set = 0; in bit_cursor()
284 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
304 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
312 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
320 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
325 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
326 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
329 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
344 cursor.set |= FB_CUR_SETSHAPE; in bit_cursor()
[all …]
H A Dsoftcursor.c4 * Generic software cursor for frame buffer devices
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()
/linux/drivers/firmware/google/
H A Dmemconsole-coreboot.c23 u32 cursor; member
37 * ring buffer with more lines after we have already read |cursor|. It should be
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/Documentation/admin-guide/
H A Dvga-softcursor.rst1 Software cursor for VGA
7 Linux now has some ability to manipulate cursor appearance. Normally,
8 you can set the size of hardware cursor. You can now play a few new
9 tricks: you can make your cursor look like a non-blinking red block,
11 that character and still choose whether the original hardware cursor
15 The cursor appearance is controlled by a ``<ESC>[?1;2;3c`` escape sequence
20 specifies cursor size::
27 + 16 if you want the software cursor to be applied
/linux/arch/m68k/include/asm/
H A Dfbio.h102 short enable; /* cursor on/off */
103 struct fbcurpos pos; /* cursor position */
104 struct fbcurpos hot; /* cursor hot spot */
106 struct fbcurpos size; /* cursor bit map size */
107 char __user *image; /* cursor image bits */
108 char __user *mask; /* cursor mask bits */
111 /* set/get cursor attributes/shape */
115 /* set/get cursor position */
119 /* get max cursor size */
256 #define CG14_CURSORREGS 0x1000 /* cursor registers */
[all …]
/linux/net/rxrpc/
H A Dpeer_event.c246 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
271 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
283 slot += cursor; in rxrpc_peer_keepalive_dispatch()
307 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
312 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
313 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
321 * Everything in the bucket at the cursor is processed this in rxrpc_peer_keepalive_worker()
322 * second; the bucket at cursor + 1 goes at now + 1s and so in rxrpc_peer_keepalive_worker()
328 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); in rxrpc_peer_keepalive_worker()
329 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_btree_staging.c24 * A staging btree cursor is a special type of btree cursor that callers must
26 * bulk loading code uses the staging btree cursor to abstract the details of
46 * staging cursor. Callers should initialize this to zero.
49 * xfs_btree_stage_afakeroot to set up the in-memory cursor as a staging
50 * cursor. The corresponding _commit_staged_btree() function should log the
52 * cursor into a regular btree cursor.
56 * Initialize a AG-rooted btree cursor with the given AG btree fake root.
73 * Transform an AG-rooted staging btree cursor back into a regular cursor by
75 * cursor ops. The caller must log the btree root change prior to calling
100 * the staging cursor. This structure should be initialized as follows:
[all …]

12345678910>>...21