/linux-master/fs/btrfs/ |
H A D | extent_io.h | 106 atomic_t refs; member in struct:extent_buffer
|
H A D | raid56.c | 89 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 D | ctree.c | 268 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 D | accessors.h | 341 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 D | print-tree.c | 118 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 D | ctree.h | 240 refcount_t refs; member in struct:btrfs_root
|
/linux-master/net/xdp/ |
H A D | xsk_diag.c | 67 du.refs = refcount_read(&umem->users);
|
/linux-master/fs/smb/client/ |
H A D | misc.c | 1332 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 D | slabinfo.c | 31 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 D | alternative.c | 2108 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 D | property-entry-test.c | 412 static const struct software_node_ref_args refs[] = { local 420 PROPERTY_ENTRY_REF_ARRAY("ref-3", refs),
|
/linux-master/io_uring/ |
H A D | tctx.c | 30 refcount_set(&hash->refs, 1);
|
H A D | rsrc.c | 185 if (node->refs) 213 ref_node->refs = 1;
|
/linux-master/block/ |
H A D | blk-core.c | 288 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 D | extent-map-tests.c | 26 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 D | inode.c | 505 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 D | migrate.c | 384 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 D | mm.h | 1439 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 D | binder.c | 897 !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 D | selftest.c | 880 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 D | seccomp.c | 193 * @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 D | dlmdebug.c | 92 res->last_used, kref_read(&res->refs), 507 kref_read(&res->refs));
|
H A D | dlmcommon.h | 278 struct kref refs; member in struct:dlm_lock_resource 859 kref_get(&res->refs);
|
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 740 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 D | parse-events.l | 172 lc_op_result (load|loads|read|store|stores|write|prefetch|prefetches|speculative-read|speculative-load|refs|Reference|ops|access|misses|miss)
|