Home
last modified time | relevance | path

Searched refs:nr_records (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_recursion_record.c17 static atomic_t nr_records; variable
36 i = atomic_read(&nr_records); in ftrace_record_recursion()
37 /* nr_records is -1 when clearing records */ in ftrace_record_recursion()
46 * be greater than nr_records. This is because the writer in ftrace_record_recursion()
47 * that succeeded has not updated the nr_records yet. in ftrace_record_recursion()
49 * updates nr_records. But if the other writer takes an in ftrace_record_recursion()
55 * recursed_functions, and it will update the nr_records in ftrace_record_recursion()
95 * nr_records = -1; in ftrace_record_recursion()
99 * nr_records = 0; in ftrace_record_recursion()
109 i = atomic_read(&nr_records); in ftrace_record_recursion()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_btree_staging.h64 * This function will be called nr_records times to load records into
89 uint64_t nr_records; member
107 * number of btree blocks needed to store nr_records records.
119 struct xfs_btree_bload *bbl, uint64_t nr_records);
H A Dxfs_btree_staging.c304 * algorithm: For leaf levels, the number of items for the level is nr_records
647 uint64_t nr_records) in xfs_btree_bload_compute_geometry()
665 bbl->nr_records = nr_this_level = nr_records; in xfs_btree_bload_compute_geometry()
751 uint64_t nr_this_level = bbl->nr_records; in xfs_btree_bload()
644 xfs_btree_bload_compute_geometry( struct xfs_btree_cur *cur, struct xfs_btree_bload *bbl, uint64_t nr_records) xfs_btree_bload_compute_geometry() argument
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_btree_staging.h64 * This function will be called nr_records times to load records into
89 uint64_t nr_records; member
107 * number of btree blocks needed to store nr_records records.
119 struct xfs_btree_bload *bbl, uint64_t nr_records);
H A Dxfs_btree_staging.c304 * algorithm: For leaf levels, the number of items for the level is nr_records
646 uint64_t nr_records) in xfs_btree_bload_compute_geometry()
664 bbl->nr_records = nr_this_level = nr_records; in xfs_btree_bload_compute_geometry()
752 uint64_t nr_this_level = bbl->nr_records; in xfs_btree_bload()
643 xfs_btree_bload_compute_geometry( struct xfs_btree_cur *cur, struct xfs_btree_bload *bbl, uint64_t nr_records) xfs_btree_bload_compute_geometry() argument
/kernel/linux/linux-5.10/include/trace/events/
H A Drcu.h631 * address of the array holding nr_records entries.
635 TP_PROTO(const char *rcuname, unsigned long nr_records, void **p),
637 TP_ARGS(rcuname, nr_records, p),
641 __field(unsigned long, nr_records)
647 __entry->nr_records = nr_records;
651 TP_printk("%s bulk=0x%p nr_records=%lu",
652 __entry->rcuname, __entry->p, __entry->nr_records)
/kernel/linux/linux-6.6/include/trace/events/
H A Drcu.h686 * address of the array holding nr_records entries.
690 TP_PROTO(const char *rcuname, unsigned long nr_records, void **p),
692 TP_ARGS(rcuname, nr_records, p),
696 __field(unsigned long, nr_records)
702 __entry->nr_records = nr_records;
706 TP_printk("%s bulk=0x%p nr_records=%lu",
707 __entry->rcuname, __entry->p, __entry->nr_records)
/kernel/linux/linux-6.6/tools/testing/cxl/test/
H A Dmem.c1007 int nr_records = 0; in cxl_get_injected_po() local
1022 po->record[nr_records].address = cpu_to_le64(dpa); in cxl_get_injected_po()
1023 po->record[nr_records].length = cpu_to_le32(1); in cxl_get_injected_po()
1024 nr_records++; in cxl_get_injected_po()
1025 if (nr_records == poison_inject_dev_max) in cxl_get_injected_po()
1030 po->count = cpu_to_le16(nr_records); in cxl_get_injected_po()
1042 int nr_records; in mock_get_poison() local
1047 nr_records = le16_to_cpu(po->count); in mock_get_poison()
1048 memcpy(cmd->payload_out, po, struct_size(po, record, nr_records)); in mock_get_poison()
1049 cmd->size_out = struct_size(po, record, nr_records); in mock_get_poison()
[all...]
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dmbox.c1314 int nr_records = 0; in cxl_mem_get_poison() local
1345 nr_records = nr_records + le16_to_cpu(po->count); in cxl_mem_get_poison()
1346 if (nr_records >= mds->poison.max_errors) { in cxl_mem_get_poison()
1348 nr_records); in cxl_mem_get_poison()
/kernel/linux/linux-6.6/kernel/rcu/
H A Dtree.c2839 * @nr_records: Number of active pointers in the array
2845 unsigned long nr_records; member
2936 for (i = 0; i < bhead->nr_records; i++) in debug_rcu_bhead_unqueue()
3018 rcu_state.name, bnode->nr_records, in kvfree_rcu_bulk()
3021 kfree_bulk(bnode->nr_records, bnode->records); in kvfree_rcu_bulk()
3023 for (i = 0; i < bnode->nr_records; i++) { in kvfree_rcu_bulk()
3181 atomic_sub(bnode->nr_records, &krcp->bulk_count[i]); in kvfree_rcu_drain_ready()
3356 if (!bnode || bnode->nr_records == KVFREE_BULK_MAX_ENTR) { in add_ptr_to_bulk_krc_lock()
3381 bnode->nr_records = 0; in add_ptr_to_bulk_krc_lock()
3386 bnode->records[bnode->nr_records in add_ptr_to_bulk_krc_lock()
[all...]
/kernel/linux/linux-5.10/kernel/rcu/
H A Dtree.c3062 * @nr_records: Number of active pointers in the array
3067 unsigned long nr_records; member
3148 for (i = 0; i < bhead->nr_records; i++) in debug_rcu_bhead_unqueue()
3235 rcu_state.name, bkvhead[i]->nr_records, in kfree_rcu_work()
3238 kfree_bulk(bkvhead[i]->nr_records, in kfree_rcu_work()
3241 for (j = 0; j < bkvhead[i]->nr_records; j++) { in kfree_rcu_work()
3468 krcp->bkvhead[idx]->nr_records == KVFREE_BULK_MAX_ENTR) { in kvfree_call_rcu_add_ptr_to_bulk()
3475 bnode->nr_records = 0; in kvfree_call_rcu_add_ptr_to_bulk()
3484 [krcp->bkvhead[idx]->nr_records++] = ptr; in kvfree_call_rcu_add_ptr_to_bulk()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_trace.h3807 union xfs_btree_ptr *ptr, unsigned int nr_records),
3808 TP_ARGS(cur, level, block_idx, nr_blocks, ptr, nr_records),
3817 __field(unsigned int, nr_records)
3834 __entry->nr_records = nr_records;
3844 __entry->nr_records)
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_trace.h4182 union xfs_btree_ptr *ptr, unsigned int nr_records),
4183 TP_ARGS(cur, level, block_idx, nr_blocks, ptr, nr_records),
4192 __field(unsigned int, nr_records)
4209 __entry->nr_records = nr_records;
4219 __entry->nr_records)

Completed in 29 milliseconds