Searched refs:refs (Results 126 - 150 of 169) sorted by relevance

1234567

/linux-master/include/linux/
H A Dhugetlb.h57 struct kref refs; member in struct:resv_map
111 struct kref refs; member in struct:hugetlb_vma_lock
H A Dbpf_verifier.h271 * impossible to distinguish nested callback refs. Hence store the
323 struct bpf_reference_state *refs; member in struct:bpf_func_state
/linux-master/mm/
H A Dhugetlb.c350 struct hugetlb_vma_lock, refs);
367 kref_put(&vma_lock->refs, hugetlb_vma_lock_release);
428 kref_init(&vma_lock->refs);
1094 kref_init(&resv_map->refs);
1117 struct resv_map *resv_map = container_of(ref, struct resv_map, refs);
1242 kref_put(&reservations->refs, resv_map_release);
5188 kref_get(&resv->refs);
5239 kref_put(&resv->refs, resv_map_release);
7249 kref_put(&resv_map->refs, resv_map_release);
H A Dinternal.h1099 struct folio *try_grab_folio(struct page *page, int refs, unsigned int flags);
H A Dpage_owner.c217 if (atomic_try_cmpxchg_relaxed(&stack_record->count.refs, &old, 1))
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.h15 u32 refs[2]; member in struct:nvkm_vmm_pt
/linux-master/fs/btrfs/
H A Dsuper.c87 refcount_t refs; member in struct:btrfs_fs_context
818 * Walk up the filesystem tree by inode refs until we hit the
2103 if (ctx && refcount_dec_and_test(&ctx->refs)) {
2121 refcount_inc(&ctx->refs);
2144 refcount_set(&ctx->refs, 1);
H A Ddisk-io.c558 BUG_ON(!atomic_read(&eb->refs));
583 ASSERT(atomic_read(&eb->refs));
697 refcount_set(&root->refs, 1);
957 * counts still get updated (along with back refs to the log tree).
1246 refcount_read(&root->refs));
1248 while (refcount_read(&root->refs) > 1)
1852 if (refcount_dec_and_test(&root->refs)) {
3012 * roots (with 0 refs), flag them with BTRFS_ROOT_DEAD_TREE and load
H A Dscrub.c219 refcount_t refs; member in struct:scrub_ctx
338 if (refcount_dec_and_test(&sctx->refs))
354 refcount_set(&sctx->refs, 1);
H A Dvolumes.c3071 refcount_inc(&map->refs);
3107 refcount_inc(&prev_map->refs);
4962 * the new size, and then following the back refs to the chunks.
5612 refcount_set(&map->refs, 1);
5627 refcount_set(&clone->refs, 1);
6121 refcount_set(&bioc->refs, 1);
6133 WARN_ON(!refcount_read(&bioc->refs));
6134 refcount_inc(&bioc->refs);
6141 if (refcount_dec_and_test(&bioc->refs))
H A Drelocation.c1720 atomic_inc(&reloc_root->node->refs);
1813 * this is OK since root refs == 1 in this case.
2191 "bytenr %llu has multiple refs with one ending in a non-shareable root",
2293 * This can occur if we have incomplete extent refs leading all
2713 * multiple refs pointing to the same block improperly,
3501 while ((ref_node = ulist_next(ctx.refs, &leaf_uiter))) {
3521 ulist_free(ctx.refs);
4503 atomic_inc(&cow->refs);
H A Dbio.c96 refcount_inc(&orig_bbio->ordered->refs);
H A Dblock-group.c143 refcount_inc(&cache->refs);
148 if (refcount_dec_and_test(&cache->refs)) {
2215 refcount_set(&cache->refs, 1);
3443 * Go through delayed refs for all the stuff we've just kicked off
3500 * delayed refs to make sure we have the best chance at doing this all
4416 ASSERT(refcount_read(&block_group->refs) == 1);
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h590 refcount_t refs; member in struct:arm_smmu_ctx_desc
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h749 int refs[MLX4_MAX_MAC_NUM]; member in struct:mlx4_mac_table
772 int refs[MLX4_MAX_VLAN_NUM]; member in struct:mlx4_vlan_table
/linux-master/include/net/netfilter/
H A Dnf_tables.h544 * @refs: internal refcounting for async set destruction
578 refcount_t refs; member in struct:nft_set
624 return refcount_read(&s->refs) != 1;
/linux-master/sound/core/
H A Dpcm_native.c82 refcount_set(&group->refs, 1);
1313 do_free = refcount_dec_and_test(&group->refs);
1335 refcount_inc(&group->refs);
2280 refcount_inc(&target_group->refs);
2308 refcount_dec(&group->refs);
2315 do_free = refcount_dec_and_test(&group->refs);
/linux-master/drivers/tty/
H A Dtty_io.c583 int refs; local
625 refs = tty_signal_session_leader(tty, exit_session);
627 while (refs--)
/linux-master/kernel/bpf/
H A Dverifier.c1261 dst->refs = copy_array(dst->refs, src->refs, src->acquired_refs,
1263 if (!dst->refs)
1285 state->refs = realloc_array(state->refs, state->acquired_refs, n,
1287 if (!state->refs)
1321 /* Acquire a pointer id from the env and update the state->refs to include
1336 state->refs[new_ofs].id = id;
1337 state->refs[new_of
[all...]
/linux-master/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c783 p[i] = builder->refs[i].frame_num;
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dr535.c373 refcount_inc(&vctx->refs);
/linux-master/tools/testing/selftests/iommu/
H A Diommufd_utils.h58 .refs = _refs }, \
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_gem.c208 if (--vma->refs == 0) {
/linux-master/drivers/pci/controller/
H A Dpci-hyperv.c555 refcount_t refs; member in struct:hv_pci_dev
965 refcount_inc(&hpdev->refs);
970 if (refcount_dec_and_test(&hpdev->refs))
2501 refcount_set(&hpdev->refs, 1);
2872 /* For the two refs got in new_pcichild_device() */
3840 /* For the two refs got in new_pcichild_device() */
/linux-master/io_uring/
H A Drw.c222 if (percpu_ref_is_dying(&ctx->refs))

Completed in 398 milliseconds

1234567