Home
last modified time | relevance | path

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

123

/linux-6.15/io_uring/
H A Dio-wq.c53 struct io_wq_acct *acct; member
180 return worker->acct; in io_wq_get_acct()
206 acct->nr_workers--; in io_worker_cancel_cb()
324 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()
328 acct->nr_workers++; in io_wq_create_worker()
352 acct = worker->acct; in create_worker_cb()
355 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()
871 worker->acct = acct; in create_io_worker()
1184 struct io_wq_acct *acct = &wq->acct[i]; in io_wq_hash_wake() local
1223 struct io_wq_acct *acct = &wq->acct[i]; in io_wq_create() local
[all …]
/linux-6.15/kernel/
H A Dacct.c198 fill_ac(acct); in acct_pin_kill()
230 if (!acct) in acct_on()
236 kfree(acct); in acct_on()
241 kfree(acct); in acct_on()
248 kfree(acct); in acct_on()
255 kfree(acct); in acct_on()
261 kfree(acct); in acct_on()
267 kfree(acct); in acct_on()
274 kfree(acct); in acct_on()
285 acct->ns = ns; in acct_on()
[all …]
H A DMakefile75 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
H A Dsys_ni.c76 COND_SYSCALL(acct);
/linux-6.15/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 …]
/linux-6.15/arch/powerpc/include/asm/
H A Dcputime.h48 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_entry() local
50 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry()
51 acct->starttime = tb; in account_cpu_user_entry()
57 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_exit() local
59 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
60 acct->starttime_user = tb; in account_cpu_user_exit()
/linux-6.15/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 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 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 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()
H A Dnf_conntrack_core.c951 struct nf_conn_acct *acct; in nf_ct_acct_add() local
953 acct = nf_conn_acct_find(ct); in nf_ct_acct_add()
954 if (acct) { in nf_ct_acct_add()
955 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_add()
966 struct nf_conn_acct *acct; in nf_ct_acct_merge() local
968 acct = nf_conn_acct_find(loser_ct); in nf_ct_acct_merge()
969 if (acct) { in nf_ct_acct_merge()
970 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_merge()
2091 goto acct; in __nf_ct_refresh_acct()
2099 acct: in __nf_ct_refresh_acct()
H A Dnf_conntrack_standalone.c277 struct nf_conn_acct *acct; in seq_print_acct() local
280 acct = nf_conn_acct_find(ct); in seq_print_acct()
281 if (!acct) in seq_print_acct()
284 counter = acct->counter; in seq_print_acct()
/linux-6.15/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()
/linux-6.15/tools/testing/selftests/acct/
H A Dacct_syscall.c40 acct(filename); in main()
56 acct(NULL); in main()
63 acct(NULL); in main()
/linux-6.15/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c86 struct mtk_foe_accounting *acct; in mtk_ppe_debugfs_foe_show() local
100 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show()
164 acct ? acct->packets : 0, acct ? acct->bytes : 0); in mtk_ppe_debugfs_foe_show()
H A Dmtk_ppe.c528 acct = ppe->acct_table + entry->hash * sizeof(*acct); in __mtk_foe_entry_clear()
529 acct->packets = 0; in __mtk_foe_entry_clear()
530 acct->bytes = 0; in __mtk_foe_entry_clear()
854 struct mtk_foe_accounting *acct; in mtk_foe_entry_get_mib() local
866 acct->bytes += bytes; in mtk_foe_entry_get_mib()
867 acct->packets += packets; in mtk_foe_entry_get_mib()
874 return acct; in mtk_foe_entry_get_mib()
881 struct mtk_foe_accounting *acct; in mtk_ppe_init() local
925 acct = devm_kzalloc(dev, MTK_PPE_ENTRIES * sizeof(*acct), in mtk_ppe_init()
928 if (!acct) in mtk_ppe_init()
[all …]
/linux-6.15/arch/powerpc/platforms/pseries/
H A Ddtl.c424 struct cpu_accounting_data *acct = &local_paca->accounting; in pseries_accumulate_stolen_time() local
426 sst = scan_dispatch_log(acct->starttime_user); in pseries_accumulate_stolen_time()
427 ust = scan_dispatch_log(acct->starttime); in pseries_accumulate_stolen_time()
428 acct->stime -= sst; in pseries_accumulate_stolen_time()
429 acct->utime -= ust; in pseries_accumulate_stolen_time()
430 acct->steal_time += ust + sst; in pseries_accumulate_stolen_time()
/linux-6.15/include/linux/netfilter/
H A Dnfnetlink_acct.h17 void nfnl_acct_put(struct nf_acct *acct);
/linux-6.15/Documentation/features/time/irq-time-acct/
H A Darch-support.txt2 # Feature name: irq-time-acct
/linux-6.15/tools/perf/trace/strace/groups/
H A Dstring2 acct
/linux-6.15/include/linux/
H A Dacct.h58 typedef struct acct acct_t;
/linux-6.15/include/uapi/linux/
H A Dacct.h44 struct acct struct
/linux-6.15/security/apparmor/include/
H A Dpolicy_ns.h62 struct aa_ns_acct acct; member
/linux-6.15/fs/proc/
H A Dbase.c3024 struct task_io_accounting acct; in do_io_accounting() local
3047 acct = sig->ioac; in do_io_accounting()
3049 task_io_accounting_add(&acct, &t->ioac); in do_io_accounting()
3055 acct = task->ioac; in do_io_accounting()
3066 (unsigned long long)acct.rchar, in do_io_accounting()
3067 (unsigned long long)acct.wchar, in do_io_accounting()
3068 (unsigned long long)acct.syscr, in do_io_accounting()
3069 (unsigned long long)acct.syscw, in do_io_accounting()
3070 (unsigned long long)acct.read_bytes, in do_io_accounting()
3071 (unsigned long long)acct.write_bytes, in do_io_accounting()
[all …]
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst285 kernel/acct.c

123