Home
last modified time | relevance | path

Searched refs:nr_records (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/kernel/trace/
H A Dtrace_recursion_record.c17 static atomic_t nr_records; variable
36 i = atomic_read(&nr_records); in ftrace_record_recursion()
109 i = atomic_read(&nr_records); in ftrace_record_recursion()
114 atomic_cmpxchg(&nr_records, i, index + 1); in ftrace_record_recursion()
127 index = atomic_read(&nr_records); in recursed_function_seq_start()
146 index = atomic_read(&nr_records); in recursed_function_seq_next()
189 atomic_set(&nr_records, -1); in recursed_function_open()
194 atomic_set(&nr_records, 0); in recursed_function_open()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_btree_staging.h86 uint64_t nr_records; member
126 struct xfs_btree_bload *bbl, uint64_t nr_records);
H A Dxfs_btree_staging.c575 uint64_t nr_records) in xfs_btree_bload_compute_geometry() argument
594 bbl->nr_records = nr_this_level = nr_records; in xfs_btree_bload_compute_geometry()
684 uint64_t nr_this_level = bbl->nr_records; in xfs_btree_bload()
/linux-6.15/include/trace/events/
H A Drcu.h656 TP_PROTO(const char *rcuname, unsigned long nr_records, void **p),
658 TP_ARGS(rcuname, nr_records, p),
662 __field(unsigned long, nr_records)
668 __entry->nr_records = nr_records;
673 __entry->rcuname, __entry->p, __entry->nr_records)
/linux-6.15/mm/
H A Dslab_common.c1340 unsigned long nr_records; member
1341 void *records[] __counted_by(nr_records);
1431 for (i = 0; i < bhead->nr_records; i++) in debug_rcu_bhead_unqueue()
1513 "slab", bnode->nr_records, in kvfree_rcu_bulk()
1516 kfree_bulk(bnode->nr_records, bnode->records); in kvfree_rcu_bulk()
1518 for (i = 0; i < bnode->nr_records; i++) { in kvfree_rcu_bulk()
1685 atomic_sub(bnode->nr_records, &krcp->bulk_count[i]); in kvfree_rcu_drain_ready()
1843 if (!bnode || bnode->nr_records == KVFREE_BULK_MAX_ENTR) { in add_ptr_to_bulk_krc_lock()
1868 bnode->nr_records = 0; in add_ptr_to_bulk_krc_lock()
1873 bnode->nr_records++; in add_ptr_to_bulk_krc_lock()
[all …]
/linux-6.15/tools/testing/cxl/test/
H A Dmem.c1137 int nr_records = 0; in cxl_get_injected_po() local
1152 po->record[nr_records].address = cpu_to_le64(dpa); in cxl_get_injected_po()
1153 po->record[nr_records].length = cpu_to_le32(1); in cxl_get_injected_po()
1154 nr_records++; in cxl_get_injected_po()
1155 if (nr_records == poison_inject_dev_max) in cxl_get_injected_po()
1160 po->count = cpu_to_le16(nr_records); in cxl_get_injected_po()
1172 int nr_records; in mock_get_poison() local
1177 nr_records = le16_to_cpu(po->count); in mock_get_poison()
1178 memcpy(cmd->payload_out, po, struct_size(po, record, nr_records)); in mock_get_poison()
1179 cmd->size_out = struct_size(po, record, nr_records); in mock_get_poison()
/linux-6.15/fs/xfs/scrub/
H A Drcbag_btree.h57 unsigned long long rcbagbt_calc_size(unsigned long long nr_records);
H A Drcbag_btree.c282 unsigned long long nr_records) in rcbagbt_calc_size() argument
292 return xfs_btree_calc_size(minrecs, nr_records); in rcbagbt_calc_size()
H A Drtrmap_repair.c97 uint64_t nr_records; member
536 rr->nr_records++; in xrep_rtrmap_check_record()
636 rr->nr_records = 0; in xrep_rtrmap_find_rmaps()
738 &rr->new_btree.bload, rr->nr_records); in xrep_rtrmap_build_new_tree()
H A Drmap_repair.c152 unsigned long long nr_records; member
895 rr->nr_records++; in xrep_rmap_check_record()
1002 rr->nr_records = 0; in xrep_rmap_find_rmaps()
1125 &rr->new_btree.bload, rr->nr_records + freesp_records); in xrep_rmap_try_reserve()
1150 &rr->new_btree.bload, rr->nr_records); in xrep_rmap_reserve_space()
1385 error = xrep_rmap_count_records(rr->mcur, &rr->nr_records); in xrep_rmap_build_new_tree()
/linux-6.15/drivers/cxl/core/
H A Dmbox.c1394 int nr_records = 0; in cxl_mem_get_poison() local
1425 nr_records = nr_records + le16_to_cpu(po->count); in cxl_mem_get_poison()
1426 if (nr_records >= mds->poison.max_errors) { in cxl_mem_get_poison()
1428 nr_records); in cxl_mem_get_poison()
/linux-6.15/fs/xfs/
H A Dxfs_trace.h4749 union xfs_btree_ptr *ptr, unsigned int nr_records),
4750 TP_ARGS(cur, level, block_idx, nr_blocks, ptr, nr_records),
4759 __field(unsigned int, nr_records)
4776 __entry->nr_records = nr_records;
4786 __entry->nr_records)