/linux-master/include/linux/netfilter/ |
H A D | nfnetlink_acct.h | 17 void nfnl_acct_put(struct nf_acct *acct);
|
/linux-master/net/netfilter/ |
H A D | xt_connbytes.c | 29 const struct nf_conn_acct *acct; local 36 acct = nf_conn_acct_find(ct); 37 if (!acct) 40 counters = acct->counter;
|
H 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.");
|
H A D | nf_conntrack_core.c | 951 struct nf_conn_acct *acct; local 953 acct = nf_conn_acct_find(ct); 954 if (acct) { 955 struct nf_conn_counter *counter = acct->counter; 966 struct nf_conn_acct *acct; local 968 acct = nf_conn_acct_find(loser_ct); 969 if (acct) { 970 struct nf_conn_counter *counter = acct->counter; 2052 goto acct; 2060 acct [all...] |
H A D | nf_conntrack_netlink.c | 258 dump_counters(struct sk_buff *skb, struct nf_conn_acct *acct, argument 262 struct nf_conn_counter *counter = acct->counter; 295 struct nf_conn_acct *acct = nf_conn_acct_find(ct); local 297 if (!acct) 300 if (dump_counters(skb, acct, IP_CT_DIR_ORIGINAL, type) < 0) 302 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0)
|
H A D | nf_conntrack_standalone.c | 281 struct nf_conn_acct *acct; local 284 acct = nf_conn_acct_find(ct); 285 if (!acct) 288 counter = acct->counter;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | cputime.h | 48 struct cpu_accounting_data *acct = raw_get_accounting(current); local 50 acct->utime += (tb - acct->starttime_user); 51 acct->starttime = tb; 57 struct cpu_accounting_data *acct = raw_get_accounting(current); local 59 acct->stime += (tb - acct->starttime); 60 acct->starttime_user = tb;
|
/linux-master/arch/powerpc/kernel/ |
H A D | time.c | 170 static unsigned long vtime_delta_scaled(struct cpu_accounting_data *acct, argument 179 deltascaled = nowscaled - acct->startspurr; 180 acct->startspurr = nowscaled; 181 utime = acct->utime - acct->utime_sspurr; 182 acct->utime_sspurr = acct->utime; 204 acct->utime_scaled += utime_scaled; 210 static unsigned long vtime_delta(struct cpu_accounting_data *acct, argument 219 stime = now - acct 233 vtime_delta_kernel(struct cpu_accounting_data *acct, unsigned long *stime, unsigned long *stime_scaled) argument 245 struct cpu_accounting_data *acct = get_accounting(tsk); local 267 struct cpu_accounting_data *acct = get_accounting(tsk); local 273 vtime_account_irq_field(struct cpu_accounting_data *acct, unsigned long *field) argument 287 struct cpu_accounting_data *acct = get_accounting(tsk); local 293 struct cpu_accounting_data *acct = get_accounting(tsk); local 297 vtime_flush_scaled(struct task_struct *tsk, struct cpu_accounting_data *acct) argument 321 struct cpu_accounting_data *acct = get_accounting(tsk); local 373 struct cpu_accounting_data *acct = get_accounting(current); local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | dtl.c | 425 struct cpu_accounting_data *acct = &local_paca->accounting; local 427 sst = scan_dispatch_log(acct->starttime_user); 428 ust = scan_dispatch_log(acct->starttime); 429 acct->stime -= sst; 430 acct->utime -= ust; 431 acct->steal_time += ust + sst;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 526 struct mtk_foe_accounting *acct; local 528 acct = ppe->acct_table + entry->hash * sizeof(*acct); 529 acct->packets = 0; 530 acct->bytes = 0; 854 struct mtk_foe_accounting *acct; local 864 acct = ppe->acct_table + index * size; 866 acct->bytes += bytes; 867 acct->packets += packets; 874 return acct; 881 struct mtk_foe_accounting *acct; local [all...] |
H A D | mtk_ppe_debugfs.c | 85 struct mtk_foe_accounting *acct; local 99 acct = mtk_foe_entry_get_mib(ppe, i, NULL); 163 acct ? acct->packets : 0, acct ? acct->bytes : 0);
|
/linux-master/fs/proc/ |
H A D | base.c | 2974 struct task_io_accounting acct; local 2997 acct = sig->ioac; 2999 task_io_accounting_add(&acct, &t->ioac); 3005 acct = task->ioac; 3016 (unsigned long long)acct.rchar, 3017 (unsigned long long)acct.wchar, 3018 (unsigned long long)acct.syscr, 3019 (unsigned long long)acct.syscw, 3020 (unsigned long long)acct.read_bytes, 3021 (unsigned long long)acct [all...] |
/linux-master/include/linux/ |
H A D | acct.h | 18 #include <uapi/linux/acct.h> 58 typedef struct acct acct_t;
|
H A D | hugetlb.h | 530 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack_acct.h | 34 struct nf_conn_acct *acct; local 39 acct = nf_ct_ext_add(ct, NF_CT_EXT_ACCT, gfp); 40 if (!acct) 44 return acct;
|
/linux-master/include/uapi/linux/ |
H A D | acct.h | 29 * See linux/kernel/acct.c for the specific encoding systems used. 44 struct acct struct
|
/linux-master/io_uring/ |
H A D | io-wq.c | 110 struct io_wq_acct acct[IO_WQ_ACCT_NR]; member in struct:io_wq 138 struct io_wq_acct *acct, 156 return &wq->acct[bound ? IO_WQ_ACCT_BOUND : IO_WQ_ACCT_UNBOUND]; 188 struct io_wq_acct *acct = io_wq_get_acct(worker); local 191 atomic_dec(&acct->nr_running); 193 acct->nr_workers--; 244 static inline bool __io_acct_run_queue(struct io_wq_acct *acct) argument 246 return !test_bit(IO_ACCT_STALLED_BIT, &acct->flags) && 247 !wq_list_empty(&acct->work_list); 251 * If there's work to do, returns true with acct 305 io_wq_create_worker(struct io_wq *wq, struct io_wq_acct *acct) argument 328 struct io_wq_acct *acct = io_wq_get_acct(worker); local 338 struct io_wq_acct *acct; local 361 io_queue_worker_create(struct io_worker *worker, struct io_wq_acct *acct, task_work_func_t func) argument 409 struct io_wq_acct *acct = io_wq_get_acct(worker); local 630 struct io_wq_acct *acct = io_wq_get_acct(worker); local 782 struct io_wq_acct *acct = io_wq_get_acct(worker); local 812 struct io_wq_acct *acct = io_wq_get_acct(worker); local 820 struct io_wq_acct *acct = &wq->acct[index]; local 902 struct io_wq_acct *acct = io_work_get_acct(wq, work); local 928 struct io_wq_acct *acct = io_work_get_acct(wq, work); local 1021 struct io_wq_acct *acct = io_work_get_acct(wq, work); local 1036 io_acct_cancel_pending_work(struct io_wq *wq, struct io_wq_acct *acct, struct io_cb_cancel_data *match) argument 1066 struct io_wq_acct *acct = io_get_acct(wq, i == 0); local 1133 struct io_wq_acct *acct = &wq->acct[i]; local 1172 struct io_wq_acct *acct = &wq->acct[i]; local 1339 struct io_wq_acct *acct; local [all...] |
/linux-master/kernel/ |
H A D | Makefile | 70 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
|
H A D | acct.c | 3 * linux/kernel/acct.c 13 * process exits, an accounting record of type "struct acct" is 14 * written to the file specified with the acct() system call. It is 49 #include <linux/acct.h> 81 .procname = "acct", 114 static void do_acct_process(struct bsd_acct_struct *acct); 119 static int check_free_space(struct bsd_acct_struct *acct) argument 123 if (time_is_after_jiffies(acct->needcheck)) 127 if (vfs_statfs(&acct->file->f_path, &sbuf)) 130 if (acct 190 struct bsd_acct_struct *acct = to_acct(pin); local 203 struct bsd_acct_struct *acct = container_of(work, struct bsd_acct_struct, work); local 216 struct bsd_acct_struct *acct; local 491 do_acct_process(struct bsd_acct_struct *acct) argument 595 struct bsd_acct_struct *acct = acct_get(ns); local [all...] |
H A D | exit.c | 25 #include <linux/acct.h>
|
H A D | fork.c | 72 #include <linux/acct.h>
|
H A D | pid_namespace.c | 18 #include <linux/acct.h>
|
H A D | sys_ni.c | 76 COND_SYSCALL(acct); variable
|
H A D | taskstats.c | 12 #include <linux/acct.h> 188 /* fill in basic acct fields */ 194 /* fill in extended acct fields */
|
H A D | tsacct.c | 13 #include <linux/acct.h>
|