Home
last modified time | relevance | path

Searched refs:accounting (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dstats.c208 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
209 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
216 atomic_inc(&dc->accounting.collector.cache_readaheads); in bch_mark_cache_readahead()
217 atomic_inc(&c->accounting.collector.cache_readaheads); in bch_mark_cache_readahead()
224 atomic_inc(&dc->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision()
225 atomic_inc(&c->accounting.collector.cache_miss_collisions); in bch_mark_cache_miss_collision()
231 atomic_add(sectors, &dc->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
232 atomic_add(sectors, &c->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
H A Dbcache.h364 struct cache_accounting accounting; member
515 struct cache_accounting accounting; member
H A Dsuper.c1419 bch_cache_accounting_destroy(&dc->accounting); in cached_dev_flush()
1440 bch_cache_accounting_init(&dc->accounting, &dc->disk.cl); in cached_dev_init()
1498 if (bch_cache_accounting_add_kobjs(&dc->accounting, &dc->disk.kobj)) in register_bdev()
1745 bch_cache_accounting_destroy(&c->accounting); in cache_set_flush()
1905 bch_cache_accounting_init(&c->accounting, &c->cl); in bch_cache_set_alloc()
2195 if (bch_cache_accounting_add_kobjs(&c->accounting, &c->kobj)) in register_cache_set()
H A Dsysfs.c352 bch_cache_accounting_clear(&dc->accounting); in SHOW_LOCKED()
837 bch_cache_accounting_clear(&c->accounting); in SHOW_LOCKED()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dstats.c203 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()
H A Dbcache.h364 struct cache_accounting accounting; member
521 struct cache_accounting accounting; member
H A Dsuper.c1390 bch_cache_accounting_destroy(&dc->accounting); in cached_dev_flush()
1411 bch_cache_accounting_init(&dc->accounting, &dc->disk.cl); in cached_dev_init()
1466 if (bch_cache_accounting_add_kobjs(&dc->accounting, &dc->disk.kobj)) in register_bdev()
1719 bch_cache_accounting_destroy(&c->accounting); in cache_set_flush()
1879 bch_cache_accounting_init(&c->accounting, &c->cl); in bch_cache_set_alloc()
2169 if (bch_cache_accounting_add_kobjs(&c->accounting, &c->kobj)) in register_cache_set()
H A Dsysfs.c368 bch_cache_accounting_clear(&dc->accounting); in SHOW_LOCKED()
858 bch_cache_accounting_clear(&c->accounting); in SHOW_LOCKED()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dcputime.h28 * PPC64 uses PACA which is task independent for storing accounting data while
29 * PPC32 uses struct thread_info, therefore at task switch the accounting data
33 #define get_accounting(tsk) (&get_paca()->accounting)
34 #define raw_get_accounting(tsk) (&local_paca->accounting)
38 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting)
42 * accumulated times to the current process, and to prepare accounting on
H A Dthread_info.h47 #include <asm/accounting.h>
65 struct cpu_accounting_data accounting; member
H A Dpaca.h28 #include <asm/accounting.h>
236 /* Stuff for accurate time accounting */
237 struct cpu_accounting_data accounting; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dcputime.h42 * PPC64 uses PACA which is task independent for storing accounting data while
43 * PPC32 uses struct thread_info, therefore at task switch the accounting data
47 #define get_accounting(tsk) (&get_paca()->accounting)
48 #define raw_get_accounting(tsk) (&local_paca->accounting)
52 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting)
56 * accumulated times to the current process, and to prepare accounting on
H A Dthread_info.h48 #include <asm/accounting.h>
62 struct cpu_accounting_data accounting; member
H A Dpaca.h27 #include <asm/accounting.h>
228 /* Stuff for accurate time accounting */
229 struct cpu_accounting_data accounting; member
/kernel/linux/linux-6.6/block/
H A Dblk-stat.c17 int accounting; member
164 if (list_empty(&q->stats->callbacks) && !q->stats->accounting) in blk_stat_remove_callback()
192 if (!--q->stats->accounting && list_empty(&q->stats->callbacks)) in blk_stat_disable_accounting()
203 if (!q->stats->accounting++ && list_empty(&q->stats->callbacks)) in blk_stat_enable_accounting()
219 stats->accounting = 0; in blk_alloc_queue_stats()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dasm-offsets.c287 OFFSET(ACCOUNT_STARTTIME, paca_struct, accounting.starttime); in main()
288 OFFSET(ACCOUNT_STARTTIME_USER, paca_struct, accounting.starttime_user); in main()
289 OFFSET(ACCOUNT_USER_TIME, paca_struct, accounting.utime); in main()
290 OFFSET(ACCOUNT_SYSTEM_TIME, paca_struct, accounting.stime); in main()
297 OFFSET(ACCOUNT_STARTTIME, thread_info, accounting.starttime); in main()
298 OFFSET(ACCOUNT_STARTTIME_USER, thread_info, accounting.starttime_user); in main()
299 OFFSET(ACCOUNT_USER_TIME, thread_info, accounting.utime); in main()
300 OFFSET(ACCOUNT_SYSTEM_TIME, thread_info, accounting.stime); in main()
H A Dtime.c233 struct cpu_accounting_data *acct = &local_paca->accounting; in accumulate_stolen_time()
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c523 if (ppe->accounting) { in __mtk_foe_entry_clear()
638 if (ppe->accounting) { in __mtk_foe_entry_commit()
856 if (!ppe->accounting) in mtk_foe_entry_get_mib()
877 bool accounting = eth->soc->has_accounting; in mtk_ppe_init() local
899 ppe->accounting = accounting; in mtk_ppe_init()
915 if (accounting) { in mtk_ppe_init()
1063 if (ppe->accounting && ppe->mib_phys) { in mtk_ppe_start()
H A Dmtk_ppe.h330 bool accounting; member
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dxmon.c2639 DUMP(p, accounting.utime, "%#-*lx"); in dump_one_paca()
2640 DUMP(p, accounting.stime, "%#-*lx"); in dump_one_paca()
2642 DUMP(p, accounting.utime_scaled, "%#-*lx"); in dump_one_paca()
2644 DUMP(p, accounting.starttime, "%#-*lx"); in dump_one_paca()
2645 DUMP(p, accounting.starttime_user, "%#-*lx"); in dump_one_paca()
2647 DUMP(p, accounting.startspurr, "%#-*lx"); in dump_one_paca()
2648 DUMP(p, accounting.utime_sspurr, "%#-*lx"); in dump_one_paca()
2650 DUMP(p, accounting.steal_time, "%#-*lx"); in dump_one_paca()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Ddtl.c43 * When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE = y, the cpu accounting code controls
62 * The cpu accounting code controls the DTL ring buffer, and we get
425 struct cpu_accounting_data *acct = &local_paca->accounting; in pseries_accumulate_stolen_time()
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dxmon.c2733 DUMP(p, accounting.utime, "%#-*lx"); in dump_one_paca()
2734 DUMP(p, accounting.stime, "%#-*lx"); in dump_one_paca()
2736 DUMP(p, accounting.utime_scaled, "%#-*lx"); in dump_one_paca()
2738 DUMP(p, accounting.starttime, "%#-*lx"); in dump_one_paca()
2739 DUMP(p, accounting.starttime_user, "%#-*lx"); in dump_one_paca()
2741 DUMP(p, accounting.startspurr, "%#-*lx"); in dump_one_paca()
2742 DUMP(p, accounting.utime_sspurr, "%#-*lx"); in dump_one_paca()
2744 DUMP(p, accounting.steal_time, "%#-*lx"); in dump_one_paca()
/kernel/linux/linux-5.10/kernel/events/
H A Dcore.c6065 * In order to undo the VM accounting done by perf_mmap() we need to destroy
6167 * undo the VM accounting. in perf_mmap_close()
6276 goto accounting; in perf_mmap()
6313 accounting: in perf_mmap()
6396 * Since pinned accounting is per vm we cannot allow fork() to copy our in perf_mmap()
/kernel/linux/linux-6.6/kernel/events/
H A Dcore.c6303 * In order to undo the VM accounting done by perf_mmap() we need to destroy
6406 * undo the VM accounting. in perf_mmap_close()
6511 goto accounting; in perf_mmap()
6548 accounting: in perf_mmap()
6629 * Since pinned accounting is per vm we cannot allow fork() to copy our in perf_mmap()

Completed in 56 milliseconds