Searched refs:acct (Results 1 - 25 of 29) sorted by last modified time

12

/linux-master/kernel/
H A Dpid_namespace.c18 #include <linux/acct.h>
H A Dfork.c72 #include <linux/acct.h>
H A Dexit.c25 #include <linux/acct.h>
H A Dacct.c3 * 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 DMakefile70 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
H A Dsys_ni.c76 COND_SYSCALL(acct); variable
H A Dtaskstats.c12 #include <linux/acct.h>
188 /* fill in basic acct fields */
194 /* fill in extended acct fields */
H A Dtsacct.c13 #include <linux/acct.h>
/linux-master/include/linux/
H A Dhugetlb.h530 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
H A Dacct.h18 #include <uapi/linux/acct.h>
58 typedef struct acct acct_t;
/linux-master/net/netfilter/
H A Dnf_conntrack_standalone.c281 struct nf_conn_acct *acct; local
284 acct = nf_conn_acct_find(ct);
285 if (!acct)
288 counter = acct->counter;
H A Dnf_conntrack_core.c951 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 Dnft_ct.c126 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); local
129 if (acct)
130 count = nft_ct_get_eval_counter(acct->counter,
136 const struct nf_conn_acct *acct = nf_conn_acct_find(ct); local
139 if (acct) {
140 pcnt = nft_ct_get_eval_counter(acct->counter,
142 bcnt = nft_ct_get_eval_counter(acct->counter,
H A Dnf_conntrack_netlink.c258 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)
/linux-master/io_uring/
H A Dio-wq.c110 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/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c526 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 Dmtk_ppe_debugfs.c85 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/arch/powerpc/kernel/
H A Dtime.c170 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/include/asm/
H A Dcputime.h48 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/fs/proc/
H A Dbase.c2974 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/security/apparmor/include/
H A Dpolicy_ns.h39 * @acct: accounting for the namespace
62 struct aa_ns_acct acct; member in struct:aa_ns
/linux-master/include/net/netfilter/
H A Dnf_conntrack_acct.h34 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/tools/accounting/
H A Dprocacct.c40 #include <linux/acct.h>
/linux-master/arch/powerpc/platforms/pseries/
H A Ddtl.c425 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/include/uapi/linux/
H A Dacct.h29 * See linux/kernel/acct.c for the specific encoding systems used.
44 struct acct struct

Completed in 308 milliseconds

12