Searched refs:refs (Results 101 - 125 of 169) sorted by relevance

1234567

/linux-master/fs/btrfs/
H A Dextent_io.h106 atomic_t refs; member in struct:extent_buffer
H A Draid56.c89 if (!refcount_dec_and_test(&rbio->refs))
390 refcount_dec(&rbio->refs);
478 refcount_inc(&rbio->refs);
673 refcount_dec(&cur->refs);
717 refcount_inc(&rbio->refs);
764 refcount_dec(&rbio->refs);
781 refcount_inc(&next->refs);
959 refcount_set(&rbio->refs, 1);
H A Dctree.c268 if (atomic_inc_not_zero(&eb->refs)) {
417 u64 refs; local
443 &refs, &flags, NULL);
446 if (unlikely(refs == 0)) {
456 refs = 1;
468 if (refs > 1) {
623 atomic_inc(&cow->refs);
1137 atomic_inc(&left->refs);
1708 atomic_inc(&b->refs);
2900 atomic_inc(&c->refs);
[all...]
H A Daccessors.h341 BTRFS_SETGET_FUNCS(extent_refs, struct btrfs_extent_item, refs, 64);
740 BTRFS_SETGET_FUNCS(disk_root_refs, struct btrfs_root_item, refs, 32);
749 BTRFS_SETGET_STACK_FUNCS(root_refs, struct btrfs_root_item, refs, 32);
H A Dprint-tree.c118 pr_info("\t\textent refs %llu gen %llu flags %llu\n",
224 * Helper to output refs and locking status of extent buffer. Useful to debug
230 btrfs_info(eb->fs_info, "refs %u lock_owner %u current %u",
231 atomic_read(&eb->refs), eb->lock_owner, current->pid);
285 pr_info("\t\troot data bytenr %llu refs %u\n",
H A Dctree.h240 refcount_t refs; member in struct:btrfs_root
/linux-master/net/xdp/
H A Dxsk_diag.c67 du.refs = refcount_read(&umem->users);
/linux-master/fs/smb/client/
H A Dmisc.c1332 struct dfs_info3_param *refs = NULL; local
1343 !ses->server->ops->get_dfs_refer(xid, ses, ref_path, &refs,
1346 *islink = refs[0].server_type == DFS_TYPE_LINK;
1347 free_dfs_info_array(refs, num_refs);
/linux-master/tools/mm/
H A Dslabinfo.c31 int refs; member in struct:slabinfo
1144 s->refs++;
1162 if (!show_single_ref && a->slab->refs == 1)
1192 if (s->refs > 1 && !show_first_alias)
1249 slab->refs = 0;
/linux-master/arch/x86/kernel/
H A Dalternative.c2108 atomic_t refs; member in struct:bp_patching_desc
2118 if (!raw_atomic_inc_not_zero(&desc->refs))
2129 raw_atomic_dec(&desc->refs);
2162 * bp_desc.refs = 1 INT3
2164 * write INT3 if (bp_desc.refs != 0)
2270 atomic_set_release(&bp_desc.refs, 1);
2382 * Remove and wait for refs to be zero.
2384 if (!atomic_dec_and_test(&bp_desc.refs))
2385 atomic_cond_read_acquire(&bp_desc.refs, !VAL);
/linux-master/drivers/base/test/
H A Dproperty-entry-test.c412 static const struct software_node_ref_args refs[] = { local
420 PROPERTY_ENTRY_REF_ARRAY("ref-3", refs),
/linux-master/io_uring/
H A Dtctx.c30 refcount_set(&hash->refs, 1);
H A Drsrc.c185 if (node->refs)
213 ref_node->refs = 1;
/linux-master/block/
H A Dblk-core.c288 if (refcount_dec_and_test(&q->refs))
434 refcount_set(&q->refs, 1);
482 refcount_inc(&q->refs);
/linux-master/fs/btrfs/tests/
H A Dextent-map-tests.c26 if (refcount_read(&em->refs) != 1) {
28 "em leak: em (start %llu len %llu block_start %llu block_len %llu) refs %d",
30 em->block_len, refcount_read(&em->refs));
32 refcount_set(&em->refs, 1);
/linux-master/fs/hugetlbfs/
H A Dinode.c505 kref_get(&vma_lock->refs);
533 kref_put(&vma_lock->refs, hugetlb_vma_lock_release);
547 kref_put(&vma_lock->refs, hugetlb_vma_lock_release);
703 resv_map_release(&resv_map->refs);
1040 kref_put(&resv_map->refs, resv_map_release);
/linux-master/mm/
H A Dmigrate.c384 int refs = 1; local
386 return refs;
388 refs += folio_nr_pages(folio);
390 refs++;
392 return refs;
455 /* Move dirty while page refs frozen and newpage not yet exposed */
745 /* Check whether page does not have extra refs before we do more work */
/linux-master/include/linux/
H A Dmm.h1439 bool __put_devmap_managed_page_refs(struct page *page, int refs);
1440 static inline bool put_devmap_managed_page_refs(struct page *page, int refs) argument
1446 return __put_devmap_managed_page_refs(page, refs);
1449 static inline bool put_devmap_managed_page_refs(struct page *page, int refs) argument
1514 * @refs: The amount to subtract from the folio's reference count.
1525 static inline void folio_put_refs(struct folio *folio, int refs) argument
1527 if (folio_ref_sub_and_test(folio, refs))
1531 void folios_put_refs(struct folio_batch *folios, unsigned int *refs);
/linux-master/drivers/android/
H A Dbinder.c897 !hlist_empty(&node->refs))
907 if (hlist_empty(&node->refs) && !node->local_strong_refs &&
1058 * into the given proc rb_trees and node refs list.
1122 hlist_add_head(&new_ref->node_entry, &node->refs);
2849 * binder_get_node_refs_for_txn() - Get required refs on node for txn
2850 * @node: struct binder_node for which to get refs
2865 * Return: The target_node with refs taken or NULL if no @node->proc is NULL.
4523 weak = !hlist_empty(&node->refs) ||
5764 static int binder_node_release(struct binder_node *node, int refs) argument
5779 if (hlist_empty(&node->refs)
[all...]
/linux-master/drivers/iommu/iommufd/
H A Dselftest.c880 unsigned int refs)
901 if (count / GUP_PIN_COUNTING_BIAS != refs) {
1414 cmd->check_refs.length, cmd->check_refs.refs);
878 iommufd_test_md_check_refs(struct iommufd_ucmd *ucmd, void __user *uptr, size_t length, unsigned int refs) argument
/linux-master/kernel/
H A Dseccomp.c193 * @refs: Reference count to manage the object lifetime.
196 * requested for the user notifier. When @refs reaches zero,
204 * or equal to @refs. Hence, reaching 0 for @users does not mean
224 * to a task_struct (other than @refs).
227 refcount_t refs; member in struct:seccomp_filter
543 while (orig && refcount_dec_and_test(&orig->refs)) {
687 refcount_set(&sfilter->refs, 1);
930 refcount_inc(&filter->refs);
/linux-master/fs/ocfs2/dlm/
H A Ddlmdebug.c92 res->last_used, kref_read(&res->refs),
507 kref_read(&res->refs));
H A Ddlmcommon.h278 struct kref refs; member in struct:dlm_lock_resource
859 kref_get(&res->refs);
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c740 frame_num = b->refs[ref_id].frame_num;
822 if (b.refs[dpb_idx].top_field_order_cnt < b.cur_pic_order_count)
/linux-master/tools/perf/util/
H A Dparse-events.l172 lc_op_result (load|loads|read|store|stores|write|prefetch|prefetches|speculative-read|speculative-load|refs|Reference|ops|access|misses|miss)

Completed in 421 milliseconds

1234567