/linux/fs/bcachefs/ |
H A D | btree_write_buffer.h | 56 unsigned idx = eytzinger0_find(wb->accounting.data, wb->accounting.nr, in bch2_accounting_key_to_wb() 57 sizeof(wb->accounting.data[0]), in bch2_accounting_key_to_wb() 60 if (idx >= wb->accounting.nr) in bch2_accounting_key_to_wb() 63 struct bkey_i_accounting *dst = bkey_i_to_accounting(&wb->accounting.data[idx].k); in bch2_accounting_key_to_wb()
|
H A D | chardev.c | 427 darray_char accounting = {}; in bch2_ioctl_query_accounting() local 434 bch2_fs_accounting_read(c, &accounting, arg.accounting_types_mask) ?: in bch2_ioctl_query_accounting() 435 (arg.accounting_u64s * sizeof(u64) < accounting.nr ? -ERANGE : 0) ?: in bch2_ioctl_query_accounting() 436 copy_to_user_errcode(&user_arg->accounting, accounting.data, accounting.nr); in bch2_ioctl_query_accounting() 443 arg.accounting_u64s = accounting.nr / sizeof(u64); in bch2_ioctl_query_accounting() 447 darray_exit(&accounting); in bch2_ioctl_query_accounting()
|
H A D | disk_accounting.c | 306 struct bch_accounting_mem *acc = &c->accounting; in __bch2_accounting_mem_insert() 381 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_gc() 411 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_replicas_usage_read() 447 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_read() 493 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_start() 515 struct bch_accounting_mem *acc = &c->accounting; in bch2_gc_accounting_done() 691 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_read() 1000 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_gc_free() 1008 struct bch_accounting_mem *acc = &c->accounting; in bch2_fs_accounting_exit()
|
H A D | btree_write_buffer_types.h | 56 DARRAY(struct btree_write_buffered_key) accounting;
|
H A D | disk_accounting.h | 136 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_mod_locked() 214 struct bch_accounting_mem *acc = &c->accounting; in bch2_accounting_mem_read()
|
/linux/Documentation/accounting/ |
H A D | delay-accounting.rst | 2 Delay accounting 9 The per-task delay accounting functionality measures 42 Delay accounting uses the taskstats interface which is described 45 statistics. The delay accounting functionality populates specific fields of 50 for a description of the fields pertaining to delay accounting. 65 The getdelays.c userspace utility in tools/accounting directory allows simple 77 Delay accounting is disabled by default at boot up. 127 Get IO accounting for pid 1, it works only with -p:: 130 printing IO accounting
|
H A D | taskstats.rst | 12 - unified interface for multiple accounting subsystems 13 - extensibility for use by future accounting patches 48 for reporting delay accounting statistics. Users can register cpumasks, 62 struct taskstats is the common accounting structure for both per-pid and 63 per-tgid data. It is versioned and can be extended by each accounting subsystem 156 struct too much, requiring disparate userspace accounting utilities to
|
H A D | index.rst | 11 delay-accounting
|
H A D | cgroupstats.rst | 21 NOTE: We currently rely on delay accounting for extracting information
|
/linux/Documentation/translations/zh_CN/accounting/ |
H A D | delay-accounting.rst | 3 :Original: Documentation/accounting/delay-accounting.rst 54 tools/accounting目录中的用户空间程序getdelays.c提供了一些简单的命令,用以显示 109 printing IO accounting
|
H A D | index.rst | 5 :Original: Documentation/accounting/index.rst 18 delay-accounting
|
H A D | taskstats.rst | 3 :Original: Documentation/accounting/taskstats.rst
|
/linux/drivers/md/bcache/ |
H A D | stats.c | 203 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting() 204 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting() 211 atomic_inc(&dc->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision() 212 atomic_inc(&c->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision() 218 atomic_add(sectors, &dc->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed() 219 atomic_add(sectors, &c->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
|
/linux/arch/powerpc/include/asm/ |
H A D | cputime.h | 33 #define get_accounting(tsk) (&get_paca()->accounting) 34 #define raw_get_accounting(tsk) (&local_paca->accounting) 37 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting)
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | cpuacct.rst | 5 The CPU accounting controller is used to group tasks using cgroups and 8 The CPU accounting controller supports multi-hierarchy groups. An accounting 16 With the above step, the initial or the parent accounting group becomes 23 New accounting groups can be created under the parent group /sys/fs/cgroup::
|
H A D | hugetlb.rst | 66 1. Page fault accounting 85 2. Reservation accounting 107 non-HugeTLB memory for example. In the case of page fault accounting, it's very 111 systems is practically impossible with page fault accounting.
|
H A D | net_prio.rst | 22 With the above step, the initial group acting as the parent accounting group 44 said traffic set to the value 5. The parent accounting group also has a
|
/linux/block/ |
H A D | blk-stat.c | 17 int accounting; member 161 if (list_empty(&q->stats->callbacks) && !q->stats->accounting) in blk_stat_remove_callback() 189 if (!--q->stats->accounting && list_empty(&q->stats->callbacks)) in blk_stat_disable_accounting() 200 if (!q->stats->accounting++ && list_empty(&q->stats->callbacks)) in blk_stat_enable_accounting() 216 stats->accounting = 0; in blk_alloc_queue_stats()
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 525 if (ppe->accounting) { in __mtk_foe_entry_clear() 640 if (ppe->accounting) { in __mtk_foe_entry_commit() 858 if (!ppe->accounting) in mtk_foe_entry_get_mib() 879 bool accounting = eth->soc->has_accounting; in mtk_ppe_init() local 901 ppe->accounting = accounting; in mtk_ppe_init() 917 if (accounting) { in mtk_ppe_init() 1065 if (ppe->accounting && ppe->mib_phys) { in mtk_ppe_start()
|
/linux/Documentation/mm/ |
H A D | overcommit-accounting.rst | 65 Additional accounting 80 * SHMfs accounting
|
H A D | index.rst | 53 overcommit-accounting
|
/linux/Documentation/features/time/irq-time-acct/ |
H A D | arch-support.txt | 4 # description: arch supports precise IRQ time accounting
|
/linux/Documentation/features/time/virt-cpuacct/ |
H A D | arch-support.txt | 4 # description: arch supports precise virtual CPU time accounting
|
/linux/init/ |
H A D | Kconfig | 506 menu "CPU/Task time and stats accounting" 512 prompt "Cputime accounting" 515 # Kind of a stub config for the pure tick based cputime accounting 517 bool "Simple tick based cputime accounting" 520 This is the basic tick based cputime accounting that maintains 527 bool "Deterministic task and CPU time accounting" 532 accounting. This is done by reading a CPU counter on each 536 this also enables accounting of stolen time on logically-partitioned 540 bool "Full dynticks CPU time accounting" 547 Select this option to enable task and CPU time accounting on full [all …]
|
/linux/Documentation/core-api/ |
H A D | tracepoint.rst | 22 Thus, the purpose of this document is to provide a clear accounting of
|