/linux-master/fs/btrfs/ |
H A D | raid56.h | 94 refcount_t refs; member in struct:btrfs_raid_bio
|
H A D | delayed-ref.h | 52 refcount_t refs; member in struct:btrfs_delayed_ref_node 55 * how many refs is this entry adding or deleting. For 56 * head refs, this may be a negative number because it is keeping 58 * For individual refs, this will always be a positive number 78 * the head refs are used to hold a lock on a given extent, which allows us 79 * to make sure that only one process is running the delayed refs 93 * the mutex is held while running the refs, and it is also 98 refcount_t refs; member in struct:btrfs_delayed_ref_head 109 * This is used to track the final ref_mod from all the refs associated 110 * with this head ref, this is not adjusted as delayed refs ar [all...] |
H A D | extent-tree.c | 98 * the delayed refs are not processed. 102 u64 offset, int metadata, u64 *refs, u64 *flags, 199 refcount_inc(&head->refs); 226 if (refs) 227 *refs = num_refs; 238 * Back reference rules. Back refs have three main goals: 251 * There are two kinds of back refs. The implicit back refs is optimized 253 * back refs of this kind provide information about the block's owner tree 255 * b-tree searching. The full back refs i 100 btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 offset, int metadata, u64 *refs, u64 *flags, u64 *owning_root) argument 1003 u64 refs; local 1098 u64 refs; local 1501 u64 refs; local 3121 u64 refs; local 5241 u64 refs[BTRFS_MAX_LEVEL]; member in struct:walk_control 5267 u64 refs; local [all...] |
H A D | ref-verify.c | 18 * Used to keep track the roots and number of refs each root has for a given 73 struct rb_root refs; member in struct:block_entry 248 while((n = rb_first(&be->refs))) { 250 rb_erase(&ref->node, &be->refs); 303 be->refs = RB_ROOT; 347 exist = insert_ref_entry(&be->refs, ref); 376 if (insert_ref_entry(&be->refs, ref)) { 414 if (insert_ref_entry(&be->refs, ref)) { 639 for (n = rb_first(&be->refs); n; n = rb_next(n)) { 716 * on-disk refs w [all...] |
H A D | extent_map.h | 64 refcount_t refs; member in struct:extent_map
|
H A D | extent_io.c | 79 "BTRFS: buffer leak start %llu len %u refs %d bflags %lu owner %llu\n", 80 eb->start, eb->len, atomic_read(&eb->refs), eb->bflags, 969 refcount_inc(&em->refs); 980 refcount_inc(&em->refs); 1627 if (eb && atomic_inc_not_zero(&eb->refs)) { 1803 * The eb has already reached 0 refs thus find_extent_buffer() 1874 ret = atomic_inc_not_zero(&eb->refs); 2760 atomic_inc(&clone->refs); 3333 * Even there is no eb refs here, we may still have 3445 atomic_set(&eb->refs, 3538 int refs; local 4058 int refs; local [all...] |
H A D | backref.h | 78 * added to each reference added to the @refs ulist. 93 * When using BTRFS_SEQ_LAST, delayed refs are not checked and it uses 102 struct ulist *refs; member in struct:btrfs_backref_walk_ctx 166 struct ulist refs; member in struct:btrfs_backref_share_check_ctx
|
H A D | backref.c | 218 * Return 0 when both refs are for the same block (and can be merged). 271 * Add @newref to the @root rbtree, merging identical refs. 300 /* Identical refs, merge them and free @newref */ 357 * delayed refs 370 * on disk refs (inline or keyed) 418 /* direct refs use root == 0, key == NULL */ 428 /* indirect refs use parent == 0 */ 606 * adding new delayed refs. To deal with this we need to look in cache 717 * We maintain three separate rbtrees: one for direct refs, one for 718 * indirect refs whic 2420 struct ulist *refs; local [all...] |
H A D | ordered-data.h | 130 refcount_t refs; member in struct:btrfs_ordered_extent
|
H A D | disk-io.h | 110 if (refcount_inc_not_zero(&root->refs))
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | base.c | 116 u32 refs; member in struct:nvkm_mmu_ptc 133 ptc->refs = 0; 155 if (pt->ptc->refs < 8 /* Heuristic. */ && !force) { 157 pt->ptc->refs++; 195 ptc->refs--;
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | intel-bts.c | 284 struct intel_bts_snapshot_ref *refs; local 292 refs = calloc(new_cnt, sz); 293 if (!refs) 296 memcpy(refs, btsr->snapshot_refs, cnt * sz); 298 btsr->snapshot_refs = refs;
|
/linux-master/include/linux/ |
H A D | io_uring_types.h | 217 atomic_t refs; member in struct:io_ev_fd 248 struct percpu_ref refs; member in struct:io_ring_ctx::__anon47 655 atomic_t refs; member in struct:io_kiocb
|
H A D | mm_inline.h | 136 static inline int lru_tier_from_refs(int refs) argument 138 VM_WARN_ON_ONCE(refs > BIT(LRU_REFS_WIDTH)); 141 return order_base_2(refs + 1);
|
/linux-master/net/mctp/ |
H A D | device.c | 39 if (!refcount_inc_not_zero(&mdev->refs)) 310 refcount_inc(&mdev->refs); 315 if (mdev && refcount_dec_and_test(&mdev->refs)) { 355 refcount_set(&mdev->refs, 1);
|
H A D | route.c | 153 refcount_inc(&key->refs); 188 refcount_set(&key->refs, 1); 198 if (!refcount_dec_and_test(&key->refs)) 201 /* even though no refs exist here, the lock allows us to stay 239 refcount_inc(&key->refs); 301 refcount_inc(&key->refs); 590 if (refcount_dec_and_test(&rt->refs)) { 606 refcount_set(&rt->refs, 1); 641 refcount_inc(&key->refs); 762 refcount_inc(&key->refs); [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.h | 80 refcount_t refs; member in struct:dpaa_bp
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.h | 13 refcount_t refs; member in struct:nvkm_cctx
|
/linux-master/io_uring/ |
H A D | sqpoll.c | 71 if (refcount_dec_and_test(&sqd->refs)) { 129 refcount_inc(&sqd->refs); 156 refcount_set(&sqd->refs, 1); 190 * Don't submit if refs are dying, good for io_uring_register(), 193 if (to_submit && likely(!percpu_ref_is_dying(&ctx->refs)) &&
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp6.c | 137 sp->sk_refcnt.refs.counter); 176 tw->tw_refcnt.refs.counter, tw);
|
H A D | bpf_iter_tcp4.c | 133 sp->sk_refcnt.refs.counter); 167 tw->tw_refcnt.refs.counter, tw);
|
/linux-master/net/core/ |
H A D | datagram.c | 646 int refs, order, n = 0; local 676 for (refs = 0; copied != 0; start = 0) { 699 refs++; 703 if (refs) { 704 page_ref_sub(last_head, refs); 705 refs = 0; 709 if (refs) 710 page_ref_sub(last_head, refs);
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | drm.c | 179 struct drm_gem_object **refs; local 214 refs = kmalloc_array(num_refs, sizeof(*refs), GFP_KERNEL); 215 if (!refs) { 251 refs[num_refs++] = &obj->gem; 281 refs[num_refs++] = &obj->gem; 295 refs[num_refs++] = &obj->gem; 338 drm_gem_object_put(refs[num_refs]); 340 kfree(refs);
|
/linux-master/drivers/tty/ |
H A D | tty_jobctrl.c | 199 int refs = 0; local 212 refs++; 238 return refs;
|
/linux-master/lib/ |
H A D | test_objpool.c | 121 unsigned long refs; member in struct:ot_node 339 on->refs++; 490 on->refs++; 527 on->refs++;
|