Home
last modified time | relevance | path

Searched refs:acct (Results 1 – 25 of 99) sorted by relevance

1234

/openbmc/linux/arch/powerpc/kernel/
H A Dtime.c181 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled()
182 acct->utime_sspurr = acct->utime; in vtime_delta_scaled()
288 vtime_account_irq_field(acct, &acct->softirq_time); in vtime_account_softirq()
294 vtime_account_irq_field(acct, &acct->hardirq_time); in vtime_account_hardirq()
323 if (acct->utime) in vtime_flush()
326 if (acct->gtime) in vtime_flush()
334 if (acct->idle_time) in vtime_flush()
337 if (acct->stime) in vtime_flush()
350 acct->utime = 0; in vtime_flush()
351 acct->gtime = 0; in vtime_flush()
[all …]
/openbmc/linux/kernel/
H A Dacct.c131 if (acct->active) { in check_free_space()
199 acct_put(acct); in acct_pin_kill()
222 if (!acct) in acct_on()
228 kfree(acct); in acct_on()
233 kfree(acct); in acct_on()
239 kfree(acct); in acct_on()
245 kfree(acct); in acct_on()
252 kfree(acct); in acct_on()
261 acct->file = file; in acct_on()
263 acct->ns = ns; in acct_on()
[all …]
/openbmc/linux/io_uring/
H A Dio-wq.c197 acct->nr_workers--; in io_worker_cancel_cb()
319 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()
323 acct->nr_workers++; in io_wq_create_worker()
347 acct = &wq->acct[worker->create_index]; in create_worker_cb()
350 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()
351 acct->nr_workers++; in create_worker_cb()
827 struct io_wq_acct *acct = &wq->acct[index]; in create_io_worker() local
1141 struct io_wq_acct *acct = &wq->acct[i]; in io_wq_hash_wake() local
1180 struct io_wq_acct *acct = &wq->acct[i]; in io_wq_create() local
1182 acct->index = i; in io_wq_create()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dcputime.h47 struct cpu_accounting_data *acct = get_accounting(current); in arch_vtime_task_switch() local
50 acct->starttime = acct0->starttime; in arch_vtime_task_switch()
61 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_entry() local
63 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry()
64 acct->starttime = tb; in account_cpu_user_entry()
70 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_exit() local
72 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
73 acct->starttime_user = tb; in account_cpu_user_exit()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_acct.c143 int event, struct nf_acct *acct) in nfnl_acct_fill_info() argument
159 old_flags = acct->flags; in nfnl_acct_fill_info()
164 if (acct->flags & NFACCT_F_QUOTA) in nfnl_acct_fill_info()
167 pkts = atomic64_read(&acct->pkts); in nfnl_acct_fill_info()
168 bytes = atomic64_read(&acct->bytes); in nfnl_acct_fill_info()
176 if (acct->flags & NFACCT_F_QUOTA) { in nfnl_acct_fill_info()
177 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info()
420 struct nf_acct *cur, *acct = NULL; in nfnl_acct_find_get() local
435 acct = cur; in nfnl_acct_find_get()
440 return acct; in nfnl_acct_find_get()
[all …]
H A Dnf_conntrack_acct.c22 module_param_named(acct, nf_ct_acct, bool, 0644);
23 MODULE_PARM_DESC(acct, "Enable connection tracking flow accounting.");
H A Dxt_connbytes.c29 const struct nf_conn_acct *acct; in connbytes_mt() local
36 acct = nf_conn_acct_find(ct); in connbytes_mt()
37 if (!acct) in connbytes_mt()
40 counters = acct->counter; in connbytes_mt()
H A Dnft_ct.c126 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); in nft_ct_get_eval() local
129 if (acct) in nft_ct_get_eval()
130 count = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval()
136 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); in nft_ct_get_eval() local
139 if (acct) { in nft_ct_get_eval()
140 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval()
142 bcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval()
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_acct.h34 struct nf_conn_acct *acct; in nf_ct_acct_ext_add() local
39 acct = nf_ct_ext_add(ct, NF_CT_EXT_ACCT, gfp); in nf_ct_acct_ext_add()
40 if (!acct) in nf_ct_acct_ext_add()
44 return acct; in nf_ct_acct_ext_add()
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c85 struct mtk_foe_accounting *acct; in mtk_ppe_debugfs_foe_show() local
99 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show()
163 acct ? acct->packets : 0, acct ? acct->bytes : 0); in mtk_ppe_debugfs_foe_show()
H A Dmtk_ppe.c526 acct = ppe->acct_table + entry->hash * sizeof(*acct); in __mtk_foe_entry_clear()
527 acct->packets = 0; in __mtk_foe_entry_clear()
528 acct->bytes = 0; in __mtk_foe_entry_clear()
852 struct mtk_foe_accounting *acct; in mtk_foe_entry_get_mib() local
864 acct->bytes += bytes; in mtk_foe_entry_get_mib()
865 acct->packets += packets; in mtk_foe_entry_get_mib()
872 return acct; in mtk_foe_entry_get_mib()
879 struct mtk_foe_accounting *acct; in mtk_ppe_init() local
923 acct = devm_kzalloc(dev, MTK_PPE_ENTRIES * sizeof(*acct), in mtk_ppe_init()
926 if (!acct) in mtk_ppe_init()
[all …]
/openbmc/qemu/hw/ide/
H A Dmacio.c123 block_acct_failed(blk_get_stats(s->blk), &s->acct); in pmac_ide_atapi_transfer_cb()
125 block_acct_done(blk_get_stats(s->blk), &s->acct); in pmac_ide_atapi_transfer_cb()
204 block_acct_failed(blk_get_stats(s->blk), &s->acct); in pmac_ide_transfer_cb()
206 block_acct_done(blk_get_stats(s->blk), &s->acct); in pmac_ide_transfer_cb()
222 block_acct_start(blk_get_stats(s->blk), &s->acct, io->len, in pmac_ide_transfer()
231 block_acct_start(blk_get_stats(s->blk), &s->acct, io->len, in pmac_ide_transfer()
235 block_acct_start(blk_get_stats(s->blk), &s->acct, io->len, in pmac_ide_transfer()
H A Datapi.c95 block_acct_start(blk_get_stats(s->blk), &s->acct, in cd_read_sector_sync()
118 block_acct_failed(blk_get_stats(s->blk), &s->acct); in cd_read_sector_sync()
120 block_acct_done(blk_get_stats(s->blk), &s->acct); in cd_read_sector_sync()
135 block_acct_failed(blk_get_stats(s->blk), &s->acct); in cd_read_sector_cb()
140 block_acct_done(blk_get_stats(s->blk), &s->acct); in cd_read_sector_cb()
167 block_acct_start(blk_get_stats(s->blk), &s->acct, in cd_read_sector()
312 block_acct_start(blk_get_stats(s->blk), &s->acct, size, in ide_atapi_cmd_reply()
415 block_acct_failed(blk_get_stats(s->blk), &s->acct); in ide_atapi_cmd_read_dma_cb()
417 block_acct_done(blk_get_stats(s->blk), &s->acct); in ide_atapi_cmd_read_dma_cb()
434 block_acct_start(blk_get_stats(s->blk), &s->acct, s->packet_transfer_size, in ide_atapi_cmd_read_dma()
H A Dcore.c470 block_acct_done(blk_get_stats(s->blk), &s->acct); in ide_issue_trim_cb()
472 block_acct_failed(blk_get_stats(s->blk), &s->acct); in ide_issue_trim_cb()
779 block_acct_done(blk_get_stats(s->blk), &s->acct); in ide_sector_read_cb()
824 block_acct_start(blk_get_stats(s->blk), &s->acct, in ide_sector_read()
866 block_acct_failed(blk_get_stats(s->blk), &s->acct); in ide_handle_rw_error()
983 block_acct_done(blk_get_stats(s->blk), &s->acct); in ide_dma_cb()
996 block_acct_start(blk_get_stats(s->blk), &s->acct, in ide_sector_start_dma()
1000 block_acct_start(blk_get_stats(s->blk), &s->acct, in ide_sector_start_dma()
1041 block_acct_done(blk_get_stats(s->blk), &s->acct); in ide_sector_write_cb()
1099 block_acct_start(blk_get_stats(s->blk), &s->acct, in ide_sector_write()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Ddtl.c425 struct cpu_accounting_data *acct = &local_paca->accounting; in pseries_accumulate_stolen_time() local
427 sst = scan_dispatch_log(acct->starttime_user); in pseries_accumulate_stolen_time()
428 ust = scan_dispatch_log(acct->starttime); in pseries_accumulate_stolen_time()
429 acct->stime -= sst; in pseries_accumulate_stolen_time()
430 acct->utime -= ust; in pseries_accumulate_stolen_time()
431 acct->steal_time += ust + sst; in pseries_accumulate_stolen_time()
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c46 BlockAcctCookie acct; member
85 memset(&request->acct, 0, sizeof(request->acct)); in reset_request()
304 block_acct_done(blk_get_stats(dataplane->blk), &request->acct); in xen_block_complete_aio()
306 block_acct_failed(blk_get_stats(dataplane->blk), &request->acct); in xen_block_complete_aio()
375 block_acct_start(blk_get_stats(dataplane->blk), &request->acct, in xen_block_do_aio()
388 block_acct_start(blk_get_stats(dataplane->blk), &request->acct, in xen_block_do_aio()
/openbmc/linux/include/linux/netfilter/
H A Dnfnetlink_acct.h17 void nfnl_acct_put(struct nf_acct *acct);
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c91 BlockAcctCookie acct; member
341 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_aio_complete()
423 block_acct_failed(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_dma_complete()
425 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_dma_complete()
466 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_read_complete()
496 block_acct_start(blk_get_stats(s->qdev.conf.blk), &r->acct, in scsi_do_read()
517 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_do_read_cb()
606 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_write_complete()
658 block_acct_start(blk_get_stats(s->qdev.conf.blk), &r->acct, in scsi_write_data()
1890 block_acct_done(blk_get_stats(s->qdev.conf.blk), &r->acct); in scsi_write_same_complete()
[all …]
/openbmc/linux/Documentation/features/time/irq-time-acct/
H A Darch-support.txt2 # Feature name: irq-time-acct
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/nfacct/
H A Dnfacct_1.0.2.bb10 DEPENDS = "libnfnetlink libmnl libnetfilter-acct"
/openbmc/linux/tools/perf/trace/strace/groups/
H A Dstring2 acct
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/libnetfilter/
H A Dlibnetfilter-acct_1.0.3.bb10 file://0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch \
/openbmc/linux/include/linux/
H A Dacct.h58 typedef struct acct acct_t;
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-blk.h92 BlockAcctCookie acct; member
/openbmc/linux/include/uapi/linux/
H A Dacct.h44 struct acct struct

1234