/fs/xfs/ |
D | xfs_attr_list.c | 41 #define XFS_ISRESET_CURSOR(cursor) \ argument 42 (!((cursor)->initted) && !((cursor)->hashval) && \ 43 !((cursor)->blkno) && !((cursor)->offset)) 55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 81 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list() 153 cursor->initted = 1; in xfs_attr_shortform_list() 154 cursor->blkno = 0; in xfs_attr_shortform_list() 156 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list() 157 if (cursor->offset == count) { in xfs_attr_shortform_list() 161 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list() [all …]
|
D | xfs_ioctl.c | 399 if (copy_from_user(&context.cursor, ucursor, sizeof(context.cursor))) in xfs_ioc_attr_list() 401 if (context.cursor.pad1 || context.cursor.pad2) in xfs_ioc_attr_list() 403 if (!context.cursor.initted && in xfs_ioc_attr_list() 404 (context.cursor.hashval || context.cursor.blkno || in xfs_ioc_attr_list() 405 context.cursor.offset)) in xfs_ioc_attr_list() 433 copy_to_user(ucursor, &context.cursor, sizeof(context.cursor))) in xfs_ioc_attr_list()
|
D | xfs_trace.h | 102 __entry->hashval = ctx->cursor.hashval; 103 __entry->blkno = ctx->cursor.blkno; 104 __entry->offset = ctx->cursor.offset; 321 __entry->hashval = ctx->cursor.hashval; 322 __entry->blkno = ctx->cursor.blkno; 323 __entry->offset = ctx->cursor.offset;
|
/fs/afs/ |
D | cell.c | 238 struct afs_cell *cell, *candidate, *cursor; in afs_lookup_cell() local 273 cursor = rb_entry(parent, struct afs_cell, net_node); in afs_lookup_cell() 275 n = strncasecmp(cursor->name, name, in afs_lookup_cell() 276 min_t(size_t, cursor->name_len, namesz)); in afs_lookup_cell() 278 n = cursor->name_len - namesz; in afs_lookup_cell() 318 cell = cursor; in afs_lookup_cell() 322 afs_use_cell(cursor, afs_cell_trace_use_lookup); in afs_lookup_cell() 861 struct rb_node *cursor; in afs_manage_cells() local 873 for (cursor = rb_first(&net->cells); cursor; cursor = rb_next(cursor)) { in afs_manage_cells() 875 rb_entry(cursor, struct afs_cell, net_node); in afs_manage_cells()
|
D | server.c | 543 struct rb_node *cursor; in afs_manage_servers() local 554 for (cursor = rb_first(&net->fs_servers); cursor; cursor = rb_next(cursor)) { in afs_manage_servers() 556 rb_entry(cursor, struct afs_server, uuid_rb); in afs_manage_servers()
|
D | Kconfig | 34 bool "AFS server cursor debugging" 37 Say Y here to cause the contents of a server cursor to be dumped to
|
/fs/ |
D | libfs.c | 102 static struct dentry *scan_positives(struct dentry *cursor, in scan_positives() argument 107 struct dentry *dentry = cursor->d_parent, *found = NULL; in scan_positives() 125 list_move(&cursor->d_child, p); in scan_positives() 126 p = &cursor->d_child; in scan_positives() 152 struct dentry *cursor = file->private_data; in dcache_dir_lseek() local 158 to = scan_positives(cursor, &dentry->d_subdirs, in dcache_dir_lseek() 162 list_move(&cursor->d_child, &to->d_child); in dcache_dir_lseek() 164 list_del_init(&cursor->d_child); in dcache_dir_lseek() 191 struct dentry *cursor = file->private_data; in dcache_readdir() local 201 else if (!list_empty(&cursor->d_child)) in dcache_readdir() [all …]
|
D | mount.h | 131 struct mount cursor; member 150 extern void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor);
|
D | proc_namespace.c | 286 INIT_LIST_HEAD(&p->cursor.mnt_list); in mounts_open_common() 287 p->cursor.mnt.mnt_flags = MNT_CURSOR; in mounts_open_common() 304 mnt_cursor_del(p->ns, &p->cursor); in mounts_release()
|
D | namespace.c | 1321 prev = &p->cursor.mnt_list; in m_start() 1347 list_move_tail(&p->cursor.mnt_list, &mnt->mnt_list); in m_stop() 1349 list_del_init(&p->cursor.mnt_list); in m_stop() 1368 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del() argument 1372 list_del(&cursor->mnt_list); in mnt_cursor_del()
|
/fs/fscache/ |
D | cookie.c | 205 struct fscache_cookie *cursor; in fscache_hash_cookie() local 214 hlist_bl_for_each_entry(cursor, p, h, hash_link) { in fscache_hash_cookie() 215 if (fscache_compare_cookie(candidate, cursor) == 0) in fscache_hash_cookie() 227 if (test_and_set_bit(FSCACHE_COOKIE_ACQUIRED, &cursor->flags)) { in fscache_hash_cookie() 228 trace_fscache_cookie(cursor->debug_id, refcount_read(&cursor->ref), in fscache_hash_cookie() 231 fscache_print_cookie(cursor, 'O'); in fscache_hash_cookie() 237 fscache_cookie_get(cursor, fscache_cookie_get_reacquire); in fscache_hash_cookie() 239 return cursor; in fscache_hash_cookie()
|
/fs/configfs/ |
D | dir.c | 1589 struct configfs_dirent * cursor = file->private_data; in configfs_dir_close() local 1593 list_del_init(&cursor->s_sibling); in configfs_dir_close() 1597 release_configfs_dirent(cursor); in configfs_dir_close() 1613 struct configfs_dirent *cursor = file->private_data; in configfs_readdir() local 1614 struct list_head *p, *q = &cursor->s_sibling; in configfs_readdir() 1688 struct configfs_dirent *cursor = file->private_data; in configfs_dir_lseek() local 1693 list_del(&cursor->s_sibling); in configfs_dir_lseek() 1703 list_add_tail(&cursor->s_sibling, p); in configfs_dir_lseek()
|
/fs/overlayfs/ |
D | readdir.c | 56 struct list_head *cursor; member 332 od->cursor = NULL; in ovl_dir_reset() 390 od->cursor = p; in ovl_seek_cursor() 773 while (od->cursor != &od->cache->entries) { in ovl_iterate() 774 p = list_entry(od->cursor, struct ovl_cache_entry, l_node); in ovl_iterate() 787 od->cursor = p->l_node.next; in ovl_iterate()
|
/fs/vboxsf/ |
D | utils.c | 20 int cursor, ret; in vboxsf_new_inode() local 29 cursor = idr_get_cursor(&sbi->ino_idr); in vboxsf_new_inode() 31 if (ret >= 0 && ret < cursor) in vboxsf_new_inode()
|
/fs/xfs/libxfs/ |
D | xfs_attr.h | 56 struct xfs_attrlist_cursor_kern cursor; /* position in list */ member
|
/fs/unicode/ |
D | mkutf8data.c | 537 void **cursor; in insert() local 543 cursor = &tree->root; in insert() 548 if (!*cursor) in insert() 549 *cursor = alloc_node(node); in insert() 550 node = *cursor; in insert() 554 cursor = &node->right; in insert() 556 cursor = &node->left; in insert() 559 *cursor = leaf; in insert()
|