/linux/arch/powerpc/kernel/ |
A D | time.c | 237 acct->stime -= sst; in accumulate_stolen_time() 276 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled() 277 acct->utime_sspurr = acct->utime; in vtime_delta_scaled() 379 vtime_account_irq_field(acct, &acct->softirq_time); in vtime_account_softirq() 385 vtime_account_irq_field(acct, &acct->hardirq_time); in vtime_account_hardirq() 414 if (acct->utime) in vtime_flush() 417 if (acct->gtime) in vtime_flush() 428 if (acct->stime) in vtime_flush() 441 acct->utime = 0; in vtime_flush() 442 acct->gtime = 0; in vtime_flush() [all …]
|
/linux/kernel/ |
A D | acct.c | 111 if (acct->active) { in check_free_space() 179 acct_put(acct); in acct_pin_kill() 202 if (!acct) in acct_on() 208 kfree(acct); in acct_on() 213 kfree(acct); in acct_on() 219 kfree(acct); in acct_on() 225 kfree(acct); in acct_on() 232 kfree(acct); in acct_on() 241 acct->file = file; in acct_on() 243 acct->ns = ns; in acct_on() [all …]
|
A D | .acct.o.cmd | 1 …acct.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aar… 3 source_kernel/acct.o := kernel/acct.c 5 deps_kernel/acct.o := \ 910 include/linux/acct.h \ 913 include/uapi/linux/acct.h \ 1239 kernel/acct.o: $(deps_kernel/acct.o) 1241 $(deps_kernel/acct.o):
|
A D | .built-in.a.cmd | 1 …in.a kernel/smp.o kernel/uid16.o kernel/module.o kernel/kallsyms.o kernel/acct.o kernel/crash_core…
|
A D | Makefile | 73 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
|
A D | sys_ni.c | 132 COND_SYSCALL(acct);
|
A D | built-in.a | 151 acct.o/
|
/linux/fs/ |
A D | io-wq.c | 188 acct->nr_workers--; in io_worker_cancel_cb() 293 if (acct->nr_workers >= acct->max_workers) { in io_wqe_create_worker() 297 acct->nr_workers++; in io_wqe_create_worker() 322 acct = &wqe->acct[worker->create_index]; in create_worker_cb() 324 if (acct->nr_workers < acct->max_workers) { in create_worker_cb() 325 acct->nr_workers++; in create_worker_cb() 799 struct io_wqe_acct *acct = &wqe->acct[index]; in create_io_worker() local 1117 struct io_wqe_acct *acct = &wqe->acct[i]; in io_wqe_hash_wake() local 1169 struct io_wqe_acct *acct = &wqe->acct[i]; in io_wq_create() local 1171 acct->index = i; in io_wq_create() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | cputime.h | 61 struct cpu_accounting_data *acct = get_accounting(current); in arch_vtime_task_switch() local 64 acct->starttime = acct0->starttime; in arch_vtime_task_switch() 75 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_entry() local 77 acct->utime += (tb - acct->starttime_user); in account_cpu_user_entry() 78 acct->starttime = tb; in account_cpu_user_entry() 84 struct cpu_accounting_data *acct = raw_get_accounting(current); in account_cpu_user_exit() local 86 acct->stime += (tb - acct->starttime); in account_cpu_user_exit() 87 acct->starttime_user = tb; in account_cpu_user_exit()
|
/linux/net/netfilter/ |
A D | nfnetlink_acct.c | 143 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 …]
|
A D | xt_connbytes.c | 29 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()
|
A D | nf_conntrack_acct.c | 22 module_param_named(acct, nf_ct_acct, bool, 0644); 23 MODULE_PARM_DESC(acct, "Enable connection tracking flow accounting.");
|
A D | nft_ct.c | 135 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); in nft_ct_get_eval() local 138 if (acct) in nft_ct_get_eval() 139 count = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval() 145 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); in nft_ct_get_eval() local 148 if (acct) { in nft_ct_get_eval() 149 pcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval() 151 bcnt = nft_ct_get_eval_counter(acct->counter, in nft_ct_get_eval()
|
A D | nf_conntrack_core.c | 929 struct nf_conn_acct *acct; in nf_ct_acct_add() local 931 acct = nf_conn_acct_find(ct); in nf_ct_acct_add() 932 if (acct) { in nf_ct_acct_add() 933 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_add() 944 struct nf_conn_acct *acct; in nf_ct_acct_merge() local 946 acct = nf_conn_acct_find(loser_ct); in nf_ct_acct_merge() 947 if (acct) { in nf_ct_acct_merge() 948 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_merge() 1981 goto acct; in __nf_ct_refresh_acct() 1989 acct: in __nf_ct_refresh_acct()
|
A D | nf_conntrack_standalone.c | 281 struct nf_conn_acct *acct; in seq_print_acct() local 284 acct = nf_conn_acct_find(ct); in seq_print_acct() 285 if (!acct) in seq_print_acct() 288 counter = acct->counter; in seq_print_acct()
|
A D | nf_conntrack_netlink.c | 246 dump_counters(struct sk_buff *skb, struct nf_conn_acct *acct, in dump_counters() argument 250 struct nf_conn_counter *counter = acct->counter; in dump_counters() 283 struct nf_conn_acct *acct = nf_conn_acct_find(ct); in ctnetlink_dump_acct() local 285 if (!acct) in ctnetlink_dump_acct() 288 if (dump_counters(skb, acct, IP_CT_DIR_ORIGINAL, type) < 0) in ctnetlink_dump_acct() 290 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct()
|
/linux/include/net/netfilter/ |
A D | nf_conntrack_acct.h | 34 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/include/linux/netfilter/ |
A D | nfnetlink_acct.h | 17 void nfnl_acct_put(struct nf_acct *acct);
|
/linux/Documentation/features/time/irq-time-acct/ |
A D | arch-support.txt | 2 # Feature name: irq-time-acct
|
/linux/tools/perf/trace/strace/groups/ |
A D | string | 2 acct
|
/linux/include/linux/ |
A D | acct.h | 59 typedef struct acct acct_t;
|
/linux/include/uapi/linux/ |
A D | acct.h | 44 struct acct struct
|
/linux/security/apparmor/include/ |
A D | policy_ns.h | 62 struct aa_ns_acct acct; member
|
/linux/fs/proc/ |
A D | base.c | 2949 struct task_io_accounting acct = task->ioac; in do_io_accounting() local 2965 task_io_accounting_add(&acct, &task->signal->ioac); in do_io_accounting() 2967 task_io_accounting_add(&acct, &t->ioac); in do_io_accounting() 2979 (unsigned long long)acct.rchar, in do_io_accounting() 2980 (unsigned long long)acct.wchar, in do_io_accounting() 2981 (unsigned long long)acct.syscr, in do_io_accounting() 2982 (unsigned long long)acct.syscw, in do_io_accounting() 2983 (unsigned long long)acct.read_bytes, in do_io_accounting() 2984 (unsigned long long)acct.write_bytes, in do_io_accounting() 2985 (unsigned long long)acct.cancelled_write_bytes); in do_io_accounting()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | kernel-api.rst | 278 kernel/acct.c
|