Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_attr_list.c46 #define XFS_ISRESET_CURSOR(cursor) \ argument
47 (!((cursor)->initted) && !((cursor)->hashval) && \
48 !((cursor)->blkno) && !((cursor)->offset))
59 attrlist_cursor_kern_t *cursor; in xfs_attr_shortform_list() local
74 cursor = context->cursor; in xfs_attr_shortform_list()
75 ASSERT(cursor != NULL); in xfs_attr_shortform_list()
89 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
157 cursor->initted = 1; in xfs_attr_shortform_list()
158 cursor->blkno = 0; in xfs_attr_shortform_list()
160 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
[all …]
Dxfs_xattr.c219 struct attrlist_cursor_kern cursor = { 0 }; in xfs_vn_listxattr() local
228 context.cursor = &cursor; in xfs_vn_listxattr()
Dxfs_ioctl32.c364 attrlist_cursor_kern_t *cursor; in xfs_compat_attrlist_by_handle() local
394 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_compat_attrlist_by_handle()
396 al_hreq.flags, cursor); in xfs_compat_attrlist_by_handle()
400 if (copy_to_user(&p->pos, cursor, sizeof(attrlist_cursor_kern_t))) { in xfs_compat_attrlist_by_handle()
Dxfs_ioctl.c381 attrlist_cursor_kern_t *cursor; in xfs_attrlist_by_handle() local
409 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle()
411 al_hreq.flags, cursor); in xfs_attrlist_by_handle()
415 if (copy_to_user(&p->pos, cursor, sizeof(attrlist_cursor_kern_t))) { in xfs_attrlist_by_handle()
Dxfs_trace.h53 __entry->hashval = ctx->cursor->hashval;
54 __entry->blkno = ctx->cursor->blkno;
55 __entry->offset = ctx->cursor->offset;
179 __entry->hashval = ctx->cursor->hashval;
180 __entry->blkno = ctx->cursor->blkno;
181 __entry->offset = ctx->cursor->offset;
/linux-4.19.296/crypto/asymmetric_keys/
Dverify_pefile.c36 size_t cursor, datalen = pelen; in pefile_parse_binary() local
49 cursor = sizeof(*mz); in pefile_parse_binary()
51 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary()
55 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
57 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary()
58 pe32 = pebuf + cursor; in pefile_parse_binary()
59 pe64 = pebuf + cursor; in pefile_parse_binary()
63 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
67 cursor += sizeof(*pe32); in pefile_parse_binary()
72 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary()
[all …]
Dasymmetric_type.c560 struct asymmetric_key_parser *cursor; in register_asymmetric_key_parser() local
565 list_for_each_entry(cursor, &asymmetric_key_parsers, link) { in register_asymmetric_key_parser()
566 if (strcmp(cursor->name, parser->name) == 0) { in register_asymmetric_key_parser()
/linux-4.19.296/lib/
Dassoc_array.c31 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local
35 cursor = root; in assoc_array_subtree_iterate()
38 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate()
40 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate()
41 cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ in assoc_array_subtree_iterate()
44 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
83 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
87 cursor = ptr; in assoc_array_subtree_iterate()
101 cursor = parent; in assoc_array_subtree_iterate()
109 cursor = parent; in assoc_array_subtree_iterate()
[all …]
/linux-4.19.296/fs/afs/
Dcell.c216 struct afs_cell *cell, *candidate, *cursor; in afs_lookup_cell() local
252 cursor = rb_entry(parent, struct afs_cell, net_node); in afs_lookup_cell()
254 n = strncasecmp(cursor->name, name, in afs_lookup_cell()
255 min_t(size_t, cursor->name_len, namesz)); in afs_lookup_cell()
257 n = cursor->name_len - namesz; in afs_lookup_cell()
296 cell = cursor; in afs_lookup_cell()
300 afs_get_cell(cursor); in afs_lookup_cell()
705 struct rb_node *cursor; in afs_manage_cells() local
717 for (cursor = rb_first(&net->cells); cursor; cursor = rb_next(cursor)) { in afs_manage_cells()
719 rb_entry(cursor, struct afs_cell, net_node); in afs_manage_cells()
Dserver.c438 struct rb_node *cursor; in afs_manage_servers() local
449 for (cursor = rb_first(&net->fs_servers); cursor; cursor = rb_next(cursor)) { in afs_manage_servers()
451 rb_entry(cursor, struct afs_server, uuid_rb); in afs_manage_servers()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr.h113 struct attrlist_cursor_kern *cursor; /* position in list */ member
147 int flags, struct attrlist_cursor_kern *cursor);
/linux-4.19.296/fs/fscache/
Dcookie.c189 struct fscache_cookie *cursor; in fscache_hash_cookie() local
198 hlist_bl_for_each_entry(cursor, p, h, hash_link) { in fscache_hash_cookie()
199 if (fscache_compare_cookie(candidate, cursor) == 0) in fscache_hash_cookie()
211 if (test_and_set_bit(FSCACHE_COOKIE_ACQUIRED, &cursor->flags)) { in fscache_hash_cookie()
212 trace_fscache_cookie(cursor, fscache_cookie_collision, in fscache_hash_cookie()
213 atomic_read(&cursor->usage)); in fscache_hash_cookie()
215 fscache_print_cookie(cursor, 'O'); in fscache_hash_cookie()
221 fscache_cookie_get(cursor, fscache_cookie_get_reacquire); in fscache_hash_cookie()
223 return cursor; in fscache_hash_cookie()
/linux-4.19.296/fs/
Dlibfs.c96 static struct list_head *scan_positives(struct dentry *cursor, in scan_positives() argument
101 struct dentry *dentry = cursor->d_parent, *found = NULL; in scan_positives()
119 list_move(&cursor->d_child, p); in scan_positives()
120 p = &cursor->d_child; in scan_positives()
145 struct dentry *cursor = file->private_data; in dcache_dir_lseek() local
153 p = scan_positives(cursor, &dentry->d_subdirs, in dcache_dir_lseek()
156 list_move(&cursor->d_child, p); in dcache_dir_lseek()
160 list_del_init(&cursor->d_child); in dcache_dir_lseek()
187 struct dentry *cursor = file->private_data; in dcache_readdir() local
198 p = &cursor->d_child; in dcache_readdir()
[all …]
/linux-4.19.296/include/trace/events/
Dafs.h393 pgoff_t cursor, int ret),
395 TP_ARGS(call, first, last, cursor, ret),
401 __field(pgoff_t, cursor )
409 __entry->cursor = cursor;
416 __entry->cursor, __entry->ret)
/linux-4.19.296/include/drm/
Ddrm_crtc.h864 struct drm_plane *cursor; member
1077 struct drm_plane *cursor,
/linux-4.19.296/fs/xfs/scrub/
Dattr.c411 struct attrlist_cursor_kern cursor = { 0 }; in xchk_xattr() local
430 sx.context.cursor = &cursor; in xchk_xattr()
/linux-4.19.296/include/linux/
Dfsl-diu-fb.h146 __be32 cursor; member
Dsvga.h113 void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor);
Dfb.h298 int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
397 struct fb_tilecursor *cursor);
Dlibata.h690 int cursor; member
/linux-4.19.296/fs/configfs/
Ddir.c1668 struct configfs_dirent * cursor = file->private_data; in configfs_dir_close() local
1672 list_del_init(&cursor->s_sibling); in configfs_dir_close()
1676 release_configfs_dirent(cursor); in configfs_dir_close()
1692 struct configfs_dirent *cursor = file->private_data; in configfs_readdir() local
1693 struct list_head *p, *q = &cursor->s_sibling; in configfs_readdir()
1765 struct configfs_dirent *cursor = file->private_data; in configfs_dir_lseek() local
1770 list_del(&cursor->s_sibling); in configfs_dir_lseek()
1780 list_add_tail(&cursor->s_sibling, p); in configfs_dir_lseek()
/linux-4.19.296/fs/overlayfs/
Dreaddir.c59 struct list_head *cursor; member
347 od->cursor = NULL; in ovl_dir_reset()
405 od->cursor = p; in ovl_seek_cursor()
769 while (od->cursor != &od->cache->entries) { in ovl_iterate()
770 p = list_entry(od->cursor, struct ovl_cache_entry, l_node); in ovl_iterate()
780 od->cursor = p->l_node.next; in ovl_iterate()
/linux-4.19.296/include/media/davinci/
Dvpbe_osd.h378 struct osd_cursor_state cursor; member
/linux-4.19.296/drivers/char/
Dmem.c72 u64 cursor = from; in range_is_allowed() local
74 while (cursor < to) { in range_is_allowed()
77 cursor += PAGE_SIZE; in range_is_allowed()
/linux-4.19.296/include/linux/ceph/
Dmessenger.h244 struct ceph_msg_data_cursor cursor; member