Home
last modified time | relevance | path

Searched refs:ref_node (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/io_uring/
Drsrc.c161 static void __io_rsrc_put_work(struct io_rsrc_node *ref_node) in __io_rsrc_put_work() argument
163 struct io_rsrc_data *rsrc_data = ref_node->rsrc_data; in __io_rsrc_put_work()
167 list_for_each_entry_safe(prsrc, tmp, &ref_node->rsrc_list, list) { in __io_rsrc_put_work()
184 io_rsrc_node_destroy(ref_node); in __io_rsrc_put_work()
198 struct io_rsrc_node *ref_node; in io_rsrc_put_work() local
201 ref_node = llist_entry(node, struct io_rsrc_node, llist); in io_rsrc_put_work()
202 __io_rsrc_put_work(ref_node); in io_rsrc_put_work()
213 void io_rsrc_node_destroy(struct io_rsrc_node *ref_node) in io_rsrc_node_destroy() argument
215 percpu_ref_exit(&ref_node->refs); in io_rsrc_node_destroy()
216 kfree(ref_node); in io_rsrc_node_destroy()
[all …]
Drsrc.h59 void io_rsrc_node_destroy(struct io_rsrc_node *ref_node);
/linux-6.1.9/fs/btrfs/
Ddelayed-ref.c338 struct rb_node *node = &ins->ref_node; in tree_insert()
348 ref_node); in tree_insert()
445 rb_erase_cached(&ref->ref_node, &head->ref_tree); in drop_delayed_ref()
446 RB_CLEAR_NODE(&ref->ref_node); in drop_delayed_ref()
461 struct rb_node *node = rb_next(&ref->ref_node); in merge_ref()
467 next = rb_entry(node, struct btrfs_delayed_ref_node, ref_node); in merge_ref()
523 ref = rb_entry(node, struct btrfs_delayed_ref_node, ref_node); in btrfs_merge_delayed_refs()
902 RB_CLEAR_NODE(&ref->ref_node); in init_delayed_ref_common()
Ddelayed-ref.h18 struct rb_node ref_node; member
Dbackref.c854 ref_node); in add_delayed_refs()
2173 struct ulist_node *ref_node = NULL; in iterate_extent_inodes() local
2204 while (!ret && (ref_node = ulist_next(refs, &ref_uiter))) { in iterate_extent_inodes()
2205 ret = btrfs_find_all_roots_safe(trans, fs_info, ref_node->val, in iterate_extent_inodes()
2214 root_node->val, ref_node->val, in iterate_extent_inodes()
2215 ref_node->aux); in iterate_extent_inodes()
2218 (uintptr_t)ref_node->aux, in iterate_extent_inodes()
Drelocation.c3394 struct ulist_node *ref_node = NULL; in add_data_references() local
3405 while ((ref_node = ulist_next(leaves, &leaf_uiter))) { in add_data_references()
3408 eb = read_tree_block(fs_info, ref_node->val, 0, 0, 0, NULL); in add_data_references()
3418 ret = __add_tree_block(rc, ref_node->val, blocksize, blocks); in add_data_references()
Dextent-tree.c1736 struct btrfs_delayed_ref_node, ref_node); in select_delayed_ref()
1916 rb_erase_cached(&ref->ref_node, &locked_ref->ref_tree); in btrfs_run_delayed_refs_for_head()
1917 RB_CLEAR_NODE(&ref->ref_node); in btrfs_run_delayed_refs_for_head()
2256 ref = rb_entry(node, struct btrfs_delayed_ref_node, ref_node); in check_delayed_ref()
Ddisk-io.c4940 ref_node); in btrfs_destroy_delayed_refs()
4942 rb_erase_cached(&ref->ref_node, &head->ref_tree); in btrfs_destroy_delayed_refs()
4943 RB_CLEAR_NODE(&ref->ref_node); in btrfs_destroy_delayed_refs()