Searched refs:acct (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/arch/powerpc/include/asm/
H A Dcputime.h47 struct cpu_accounting_data *acct = get_accounting(current); local
50 acct->starttime = acct0->starttime;
61 struct cpu_accounting_data *acct = raw_get_accounting(current); local
63 acct->utime += (tb - acct->starttime_user);
64 acct->starttime = tb;
70 struct cpu_accounting_data *acct = raw_get_accounting(current); local
72 acct->stime += (tb - acct->starttime);
73 acct
[all...]
/linux-master/kernel/
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",
115 static void do_acct_process(struct bsd_acct_struct *acct);
120 static int check_free_space(struct bsd_acct_struct *acct) argument
124 if (time_is_after_jiffies(acct->needcheck))
128 if (vfs_statfs(&acct->file->f_path, &sbuf))
131 if (acct
191 struct bsd_acct_struct *acct = to_acct(pin); local
204 struct bsd_acct_struct *acct = container_of(work, struct bsd_acct_struct, work); local
217 struct bsd_acct_struct *acct; local
492 do_acct_process(struct bsd_acct_struct *acct) argument
596 struct bsd_acct_struct *acct = acct_get(ns); local
[all...]
H A Dtsacct.c13 #include <linux/acct.h>
H A Dsys_ni.c76 COND_SYSCALL(acct); variable
H A Dpid_namespace.c18 #include <linux/acct.h>
H A DMakefile70 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
H A Dtaskstats.c12 #include <linux/acct.h>
188 /* fill in basic acct fields */
194 /* fill in extended acct fields */
/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
[all...]
/linux-master/io_uring/
H A Dio-wq.c111 struct io_wq_acct acct[IO_WQ_ACCT_NR]; member in struct:io_wq
139 struct io_wq_acct *acct,
157 return &wq->acct[bound ? IO_WQ_ACCT_BOUND : IO_WQ_ACCT_UNBOUND];
189 struct io_wq_acct *acct = io_wq_get_acct(worker); local
192 atomic_dec(&acct->nr_running);
194 acct->nr_workers--;
245 static inline bool __io_acct_run_queue(struct io_wq_acct *acct) argument
247 return !test_bit(IO_ACCT_STALLED_BIT, &acct->flags) &&
248 !wq_list_empty(&acct->work_list);
252 * If there's work to do, returns true with acct
306 io_wq_create_worker(struct io_wq *wq, struct io_wq_acct *acct) argument
329 struct io_wq_acct *acct = io_wq_get_acct(worker); local
339 struct io_wq_acct *acct; local
362 io_queue_worker_create(struct io_worker *worker, struct io_wq_acct *acct, task_work_func_t func) argument
410 struct io_wq_acct *acct = io_wq_get_acct(worker); local
629 struct io_wq_acct *acct = io_wq_get_acct(worker); local
780 struct io_wq_acct *acct = io_wq_get_acct(worker); local
810 struct io_wq_acct *acct = io_wq_get_acct(worker); local
818 struct io_wq_acct *acct = &wq->acct[index]; local
900 struct io_wq_acct *acct = io_work_get_acct(wq, work); local
926 struct io_wq_acct *acct = io_work_get_acct(wq, work); local
1020 struct io_wq_acct *acct = io_work_get_acct(wq, work); local
1035 io_acct_cancel_pending_work(struct io_wq *wq, struct io_wq_acct *acct, struct io_cb_cancel_data *match) argument
1065 struct io_wq_acct *acct = io_get_acct(wq, i == 0); local
1132 struct io_wq_acct *acct = &wq->acct[i]; local
1171 struct io_wq_acct *acct = &wq->acct[i]; local
1338 struct io_wq_acct *acct; local
[all...]
/linux-master/net/netfilter/
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 Dnfnetlink_acct.c143 int event, struct nf_acct *acct)
156 if (nla_put_string(skb, NFACCT_NAME, acct->name))
159 old_flags = acct->flags;
161 pkts = atomic64_xchg(&acct->pkts, 0);
162 bytes = atomic64_xchg(&acct->bytes, 0);
164 if (acct->flags & NFACCT_F_QUOTA)
165 clear_bit(NFACCT_OVERQUOTA_BIT, &acct->flags);
167 pkts = atomic64_read(&acct->pkts);
168 bytes = atomic64_read(&acct->bytes);
174 nla_put_be32(skb, NFACCT_USE, htonl(refcount_read(&acct
142 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, int event, struct nf_acct *acct) argument
420 struct nf_acct *cur, *acct = NULL; local
444 nfnl_acct_put(struct nf_acct *acct) argument
[all...]
H A Dxt_connbytes.c29 const struct nf_conn_acct *acct; local
36 acct = nf_conn_acct_find(ct);
37 if (!acct)
40 counters = acct->counter;
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_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;
2054 goto acct;
2062 acct
[all...]
/linux-master/include/linux/netfilter/
H A Dnfnetlink_acct.h17 void nfnl_acct_put(struct nf_acct *acct);
/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/include/linux/
H A Dacct.h18 #include <uapi/linux/acct.h>
58 typedef struct acct acct_t;
/linux-master/drivers/net/ethernet/mediatek/
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);
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...]
/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
/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/tools/accounting/
H A Dprocacct.c40 #include <linux/acct.h>
/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...]

Completed in 253 milliseconds

12