Searched refs:refs (Results 51 - 75 of 169) sorted by relevance

1234567

/linux-master/fs/btrfs/
H A Draid56.h94 refcount_t refs; member in struct:btrfs_raid_bio
H A Ddelayed-ref.h52 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 Dextent-tree.c98 * 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 Dref-verify.c18 * 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 Dextent_map.h64 refcount_t refs; member in struct:extent_map
H A Dextent_io.c79 "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 Dbackref.h78 * 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 Dbackref.c218 * 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 Dordered-data.h130 refcount_t refs; member in struct:btrfs_ordered_extent
H A Ddisk-io.h110 if (refcount_inc_not_zero(&root->refs))
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c116 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 Dintel-bts.c284 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 Dio_uring_types.h217 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 Dmm_inline.h136 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 Ddevice.c39 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 Droute.c153 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 Ddpaa_eth.h80 refcount_t refs; member in struct:dpaa_bp
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.h13 refcount_t refs; member in struct:nvkm_cctx
/linux-master/io_uring/
H A Dsqpoll.c71 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 Dbpf_iter_tcp6.c137 sp->sk_refcnt.refs.counter);
176 tw->tw_refcnt.refs.counter, tw);
H A Dbpf_iter_tcp4.c133 sp->sk_refcnt.refs.counter);
167 tw->tw_refcnt.refs.counter, tw);
/linux-master/net/core/
H A Ddatagram.c646 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 Ddrm.c179 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 Dtty_jobctrl.c199 int refs = 0; local
212 refs++;
238 return refs;
/linux-master/lib/
H A Dtest_objpool.c121 unsigned long refs; member in struct:ot_node
339 on->refs++;
490 on->refs++;
527 on->refs++;

Completed in 551 milliseconds

1234567