Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/kernel/
H A Dacct.c96 static void do_acct_process(struct bsd_acct_struct *acct);
101 static int check_free_space(struct bsd_acct_struct *acct) in check_free_space() argument
105 if (time_is_after_jiffies(acct->needcheck)) in check_free_space()
109 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space()
112 if (acct->active) { in check_free_space()
116 acct->active = 0; in check_free_space()
123 acct->active = 1; in check_free_space()
128 acct->needcheck = jiffies + ACCT_TIMEOUT*HZ; in check_free_space()
130 return acct->active; in check_free_space()
172 struct bsd_acct_struct *acct = to_acct(pin); in acct_pin_kill() local
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dtime.c233 struct cpu_accounting_data *acct = &local_paca->accounting; in accumulate_stolen_time() local
243 sst = scan_dispatch_log(acct->starttime_user); in accumulate_stolen_time()
244 ust = scan_dispatch_log(acct->starttime); in accumulate_stolen_time()
245 acct->stime -= sst; in accumulate_stolen_time()
246 acct->utime -= ust; in accumulate_stolen_time()
247 acct->steal_time += ust + sst; in accumulate_stolen_time()
275 static unsigned long vtime_delta_scaled(struct cpu_accounting_data *acct, in vtime_delta_scaled() argument
284 deltascaled = nowscaled - acct->startspurr; in vtime_delta_scaled()
285 acct->startspurr = nowscaled; in vtime_delta_scaled()
286 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled()
[all …]
/OK3568_Linux_fs/kernel/io_uring/
H A Dio-wq.c92 struct io_wqe_acct acct[2]; member
141 struct io_wqe_acct *acct,
159 return &wqe->acct[bound ? IO_WQ_ACCT_BOUND : IO_WQ_ACCT_UNBOUND]; in io_get_acct()
181 struct io_wqe_acct *acct = io_wqe_get_acct(worker); in io_worker_cancel_cb() local
185 atomic_dec(&acct->nr_running); in io_worker_cancel_cb()
187 acct->nr_workers--; in io_worker_cancel_cb()
238 static inline bool io_acct_run_queue(struct io_wqe_acct *acct) in io_acct_run_queue() argument
240 if (!wq_list_empty(&acct->work_list) && in io_acct_run_queue()
241 !test_bit(IO_ACCT_STALLED_BIT, &acct->flags)) in io_acct_run_queue()
251 struct io_wqe_acct *acct) in io_wqe_activate_free_worker() argument
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dcputime.h61 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()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnfnetlink_acct.c132 int event, struct nf_acct *acct) in nfnl_acct_fill_info() argument
145 if (nla_put_string(skb, NFACCT_NAME, acct->name)) in nfnl_acct_fill_info()
148 old_flags = acct->flags; in nfnl_acct_fill_info()
150 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info()
151 bytes = atomic64_xchg(&acct->bytes, 0); in nfnl_acct_fill_info()
153 if (acct->flags & NFACCT_F_QUOTA) in nfnl_acct_fill_info()
154 clear_bit(NFACCT_OVERQUOTA_BIT, &acct->flags); in nfnl_acct_fill_info()
156 pkts = atomic64_read(&acct->pkts); in nfnl_acct_fill_info()
157 bytes = atomic64_read(&acct->bytes); in nfnl_acct_fill_info()
163 nla_put_be32(skb, NFACCT_USE, htonl(refcount_read(&acct->refcnt)))) in nfnl_acct_fill_info()
[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.c135 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()
H A Dnf_conntrack_core.c874 struct nf_conn_acct *acct; in nf_ct_acct_add() local
876 acct = nf_conn_acct_find(ct); in nf_ct_acct_add()
877 if (acct) { in nf_ct_acct_add()
878 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_add()
889 struct nf_conn_acct *acct; in nf_ct_acct_merge() local
891 acct = nf_conn_acct_find(loser_ct); in nf_ct_acct_merge()
892 if (acct) { in nf_ct_acct_merge()
893 struct nf_conn_counter *counter = acct->counter; in nf_ct_acct_merge()
1894 goto acct; in __nf_ct_refresh_acct()
1902 acct: in __nf_ct_refresh_acct()
H A Dnf_conntrack_standalone.c278 struct nf_conn_acct *acct; in seq_print_acct() local
281 acct = nf_conn_acct_find(ct); in seq_print_acct()
282 if (!acct) in seq_print_acct()
285 counter = acct->counter; in seq_print_acct()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Dacct.h38 struct acct struct
102 extern int acct (const char *__filename) __THROW;
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Dacct.h38 struct acct struct
102 extern int acct (const char *__filename) __THROW;
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnfnetlink_acct.h17 void nfnl_acct_put(struct nf_acct *acct);
/OK3568_Linux_fs/kernel/Documentation/features/time/irq-time-acct/
H A Darch-support.txt2 # Feature name: irq-time-acct
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/nfacct/
H A Dnfacct_1.0.2.bb12 DEPENDS = "libnfnetlink libmnl libnetfilter-acct"
/OK3568_Linux_fs/kernel/tools/perf/trace/strace/groups/
H A Dstring2 acct
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/libnetfilter/
H A Dlibnetfilter-acct_1.0.3.bb10 file://0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch \
/OK3568_Linux_fs/kernel/include/linux/
H A Dacct.h59 typedef struct acct acct_t;
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dacct.h44 struct acct struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dacct.h44 struct acct struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dacct.h44 struct acct struct
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/
H A D0003-check-whether-password-expired-with-pam.patch43 g_debug("user %s acct mgmt fail with %d\n",user,ret);
/OK3568_Linux_fs/kernel/security/apparmor/include/
H A Dpolicy_ns.h62 struct aa_ns_acct acct; member
/OK3568_Linux_fs/kernel/fs/proc/
H A Dbase.c2943 struct task_io_accounting acct = task->ioac; in do_io_accounting() local
2959 task_io_accounting_add(&acct, &task->signal->ioac); in do_io_accounting()
2961 task_io_accounting_add(&acct, &t->ioac); in do_io_accounting()
2973 (unsigned long long)acct.rchar, in do_io_accounting()
2974 (unsigned long long)acct.wchar, in do_io_accounting()
2975 (unsigned long long)acct.syscr, in do_io_accounting()
2976 (unsigned long long)acct.syscw, in do_io_accounting()
2977 (unsigned long long)acct.read_bytes, in do_io_accounting()
2978 (unsigned long long)acct.write_bytes, in do_io_accounting()
2979 (unsigned long long)acct.cancelled_write_bytes); in do_io_accounting()

123