| /linux/fs/xfs/scrub/ |
| H A D | dqiterate.c | 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() 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/drivers/dma-buf/ |
| H A D | dma-resv.c | 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() 385 dma_fence_put(cursor->fence); in dma_resv_iter_walk_unlocked() [all …]
|
| H A D | dma-fence-unwrap.c | 19 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor) in __dma_fence_unwrap_array() argument 21 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array() 22 cursor->index = 0; in __dma_fence_unwrap_array() 23 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array() 35 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() argument 37 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first() 38 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first() 49 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument 53 ++cursor->index; in dma_fence_unwrap_next() 54 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next() [all …]
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_cursor.c | 82 readl(cursor->regs + reg)) 95 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument 97 if (cursor->pixmap.paddr == val) in cursor_dbg_pml() 98 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml() 102 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument 104 if (cursor->clut_paddr == val) in cursor_dbg_cml() 105 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml() 111 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local 114 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show() 118 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show() [all …]
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| H A D | rockchip-rk3399-fails.txt | 7 kms_cursor_crc@cursor-alpha-opaque,Fail 8 kms_cursor_crc@cursor-alpha-transparent,Fail 9 kms_cursor_crc@cursor-dpms,Fail 10 kms_cursor_crc@cursor-offscreen-32x10,Fail 11 kms_cursor_crc@cursor-offscreen-32x32,Fail 12 kms_cursor_crc@cursor-offscreen-64x21,Fail 13 kms_cursor_crc@cursor-offscreen-64x64,Fail 14 kms_cursor_crc@cursor-onscreen-32x10,Fail 15 kms_cursor_crc@cursor-onscreen-32x32,Fail 16 kms_cursor_crc@cursor-onscreen-64x21,Fail [all …]
|
| H A D | vkms-none-fails.txt | 1 kms_cursor_crc@cursor-rapid-movement-256x85,Fail 2 kms_cursor_crc@cursor-rapid-movement-32x10,Fail 3 kms_cursor_crc@cursor-rapid-movement-64x64,Fail 4 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail 5 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail 6 kms_cursor_legacy@cursor-vs-flip-atomic,Fail 7 kms_cursor_legacy@cursor-vs-flip-legacy,Fail 8 kms_cursor_legacy@cursor-vs-flip-toggle,Fail 9 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail 10 kms_cursor_legacy@flip-vs-cursor-atomic,Fail [all …]
|
| /linux/scripts/ |
| H A D | asn1_compiler.c | 806 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/tools/verification/rvgen/rvgen/ |
| H A D | automata.py | 44 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/net/ceph/ |
| H A D | messenger.c | 725 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/include/linux/ |
| H A D | dma-resv.h | 219 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/rust/syn/ |
| H A D | parse.rs | 268 if let Some((unexpected_span, delimiter)) = span_of_unexpected_ignoring_nones(self.cursor()) in drop() 280 Display::fmt(&self.cursor().token_stream(), f) in fmt() 286 Debug::fmt(&self.cursor().token_stream(), f) in fmt() 340 cursor: Cursor<'c>, field 356 &self.cursor in deref() 374 error::new_at(self.scope, self.cursor, message) in error() 389 cursor: Cursor, in new_parse_buffer() 395 cell: Cell::new(unsafe { mem::transmute::<Cursor, Cursor<'static>>(cursor) }), in new_parse_buffer() 447 fn span_of_unexpected_ignoring_nones(mut cursor: Cursor) -> Option<(Span, Delimiter)> { in span_of_unexpected_ignoring_nones() 448 if cursor.eof() { in span_of_unexpected_ignoring_nones() [all …]
|
| H A D | lookahead.rs | 66 cursor: Cursor<'a>, field 70 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 { in new() 73 cursor, in new() 83 if peek(lookahead.cursor) { in peek_impl() 118 *display = match self.cursor.scope_delimiter() { in error() 129 if self.cursor.eof() { in error() 132 Error::new(self.cursor.span(), "unexpected token") in error() 137 error::new_at(self.scope, self.cursor, message) in error() 141 error::new_at(self.scope, self.cursor, message) in error() 146 error::new_at(self.scope, self.cursor, message) in error() [all …]
|
| H A D | verbatim.rs | 9 let end = end.cursor(); in between() 10 let mut cursor = begin.cursor(); in between() localVariable 11 assert!(crate::buffer::same_buffer(end, cursor)); in between() 14 while cursor != end { in between() 15 let (tt, next) = cursor.token_tree().unwrap(); in between() 22 if let Some((inside, _span, after)) = cursor.group(Delimiter::None) { in between() 24 cursor = inside; in between() 32 cursor = next; in between()
|
| H A D | token.rs | 130 fn peek(cursor: Cursor) -> bool; in peek() 157 fn peek(cursor: Cursor) -> bool; in peek() 169 fn peek(cursor: Cursor) -> bool { 170 cursor.$get().is_some() 194 fn peek(cursor: Cursor) -> bool { in peek() 195 <Self as CustomToken>::peek(cursor) in peek() 290 fn peek(cursor: Cursor) -> bool { 291 parsing::peek_keyword(cursor, $token) 429 fn peek(cursor: Cursor) -> bool { 430 parsing::peek_punct(cursor, $token) [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_attr_list.c | 43 #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() 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() 168 if (cursor->offset == count) { in xfs_attr_shortform_list() 172 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list() [all …]
|
| /linux/drivers/staging/sm750fb/ |
| H A D | sm750_cursor.c | 22 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_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 84 void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_set_data() argument [all …]
|
| H 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_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/drivers/video/fbdev/aty/ |
| H A D | mach64_cursor.c | 73 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument 87 if (cursor->enable) in atyfb_cursor() 95 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor() 96 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor() 104 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor() 112 h = cursor->image.height; in atyfb_cursor() 130 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor() 133 fg_idx = cursor->image.fg_color; in atyfb_cursor() 134 bg_idx = cursor->image.bg_color; in atyfb_cursor() 149 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor() [all …]
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_plane.c | 224 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in lsdc_cursor_plane_atomic_async_update() local 225 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in lsdc_cursor_plane_atomic_async_update() 259 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update() 261 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update() 264 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update() 303 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in ls7a1000_cursor_plane_atomic_update() local 308 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in ls7a1000_cursor_plane_atomic_update() 314 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a1000_cursor_plane_atomic_update() 317 ops->update_bo_addr(cursor, addr); in ls7a1000_cursor_plane_atomic_update() 319 ops->update_cfg(cursor, CURSOR_SIZE_32X32, CURSOR_FORMAT_ARGB8888); in ls7a1000_cursor_plane_atomic_update() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_cursor_plane.c | 27 SVGAFifoCmdDefineAlphaCursor cursor; member 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() 78 s32 hotspot_x = vps->cursor.legacy.hotspot_x + vps->base.hotspot_x; in vmw_cursor_plane_update_legacy() 79 s32 hotspot_y = vps->cursor.legacy.hotspot_y + vps->base.hotspot_y; in vmw_cursor_plane_update_legacy() 84 if (vps->cursor.legacy.id != surface->snooper.id) { in vmw_cursor_plane_update_legacy() 88 vps->cursor.legacy.id = surface->snooper.id; in vmw_cursor_plane_update_legacy() [all …]
|
| /linux/tools/perf/util/ |
| H A D | callchain.h | 161 struct callchain_cursor_node cursor; member 196 struct callchain_cursor *cursor, 199 int callchain_merge(struct callchain_cursor *cursor, 202 void callchain_cursor_reset(struct callchain_cursor *cursor); 204 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip, 211 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument 213 if (cursor == NULL) in callchain_cursor_commit() 215 cursor->curr = cursor->first; in callchain_cursor_commit() 216 cursor->pos = 0; in callchain_cursor_commit() 221 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument [all …]
|
| H A D | callchain.c | 584 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument 588 node->val_nr = cursor->nr - cursor->pos; in fill_node() 592 cursor_node = callchain_cursor_current(cursor); in fill_node() 649 callchain_cursor_advance(cursor); in fill_node() 650 cursor_node = callchain_cursor_current(cursor); in fill_node() 657 struct callchain_cursor *cursor, in add_child() argument 666 if (fill_node(new, cursor) < 0) { in add_child() 825 struct callchain_cursor *cursor, in split_add_child() argument 857 if (idx_total < cursor->nr) { in split_add_child() 868 node = callchain_cursor_current(cursor); in split_add_child() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | pmag-aa-fb.c | 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() 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/drivers/firmware/google/ |
| H 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/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_wait.c | 37 struct dma_resv_iter cursor; in i915_gem_object_boost() local 56 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_boost() 58 dma_resv_for_each_fence_unlocked(&cursor, fence) in i915_gem_object_boost() 62 dma_resv_iter_end(&cursor); in i915_gem_object_boost() 70 struct dma_resv_iter cursor; in i915_gem_object_wait_reservation() local 76 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_wait_reservation() 78 dma_resv_for_each_fence_unlocked(&cursor, fence) { in i915_gem_object_wait_reservation() 86 dma_resv_iter_end(&cursor); in i915_gem_object_wait_reservation() 153 struct dma_resv_iter cursor; in i915_gem_object_wait_priority() local 156 dma_resv_iter_begin(&cursor, obj->base.resv, in i915_gem_object_wait_priority() [all …]
|