Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Dacct.c93 static void do_acct_process(struct bsd_acct_struct *acct);
98 static int check_free_space(struct bsd_acct_struct *acct) in check_free_space() argument
102 if (time_is_before_jiffies(acct->needcheck)) in check_free_space()
106 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space()
109 if (acct->active) { in check_free_space()
113 acct->active = 0; in check_free_space()
120 acct->active = 1; in check_free_space()
125 acct->needcheck = jiffies + ACCT_TIMEOUT*HZ; in check_free_space()
127 return acct->active; in check_free_space()
169 struct bsd_acct_struct *acct = to_acct(pin); in acct_pin_kill() local
[all …]
DMakefile52 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
/linux-4.1.27/net/netfilter/
Dnf_conntrack_acct.c23 module_param_named(acct, nf_ct_acct, bool, 0644);
24 MODULE_PARM_DESC(acct, "Enable connection tracking flow accounting.");
42 struct nf_conn_acct *acct; in seq_print_acct() local
45 acct = nf_conn_acct_find(ct); in seq_print_acct()
46 if (!acct) in seq_print_acct()
49 counter = acct->counter; in seq_print_acct()
Dnfnetlink_acct.c133 int event, struct nf_acct *acct) in nfnl_acct_fill_info() argument
151 if (nla_put_string(skb, NFACCT_NAME, acct->name)) in nfnl_acct_fill_info()
154 old_flags = acct->flags; in nfnl_acct_fill_info()
156 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info()
157 bytes = atomic64_xchg(&acct->bytes, 0); in nfnl_acct_fill_info()
159 if (acct->flags & NFACCT_F_QUOTA) in nfnl_acct_fill_info()
160 clear_bit(NFACCT_OVERQUOTA_BIT, &acct->flags); in nfnl_acct_fill_info()
162 pkts = atomic64_read(&acct->pkts); in nfnl_acct_fill_info()
163 bytes = atomic64_read(&acct->bytes); in nfnl_acct_fill_info()
167 nla_put_be32(skb, NFACCT_USE, htonl(atomic_read(&acct->refcnt)))) in nfnl_acct_fill_info()
[all …]
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()
Dnf_conntrack_core.c1215 goto acct; in __nf_ct_refresh_acct()
1230 acct: in __nf_ct_refresh_acct()
1232 struct nf_conn_acct *acct; in __nf_ct_refresh_acct() local
1234 acct = nf_conn_acct_find(ct); in __nf_ct_refresh_acct()
1235 if (acct) { in __nf_ct_refresh_acct()
1236 struct nf_conn_counter *counter = acct->counter; in __nf_ct_refresh_acct()
1251 struct nf_conn_acct *acct; in __nf_ct_kill_acct() local
1253 acct = nf_conn_acct_find(ct); in __nf_ct_kill_acct()
1254 if (acct) { in __nf_ct_kill_acct()
1255 struct nf_conn_counter *counter = acct->counter; in __nf_ct_kill_acct()
Dnf_conntrack_netlink.c214 dump_counters(struct sk_buff *skb, struct nf_conn_acct *acct, in dump_counters() argument
218 struct nf_conn_counter *counter = acct->counter; in dump_counters()
249 struct nf_conn_acct *acct = nf_conn_acct_find(ct); in ctnetlink_dump_acct() local
251 if (!acct) in ctnetlink_dump_acct()
254 if (dump_counters(skb, acct, IP_CT_DIR_ORIGINAL, type) < 0) in ctnetlink_dump_acct()
256 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct()
/linux-4.1.27/include/net/netfilter/
Dnf_conntrack_acct.h36 struct nf_conn_acct *acct; in nf_ct_acct_ext_add() local
41 acct = nf_ct_ext_add(ct, NF_CT_EXT_ACCT, gfp); in nf_ct_acct_ext_add()
42 if (!acct) in nf_ct_acct_ext_add()
46 return acct; in nf_ct_acct_ext_add()
/linux-4.1.27/include/linux/netfilter/
Dnfnetlink_acct.h15 void nfnl_acct_put(struct nf_acct *acct);
/linux-4.1.27/include/linux/
Dacct.h61 typedef struct acct acct_t;
Dhugetlb.h254 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
/linux-4.1.27/include/uapi/linux/
Dacct.h43 struct acct struct
DKbuild33 header-y += acct.h
/linux-4.1.27/fs/proc/
Dbase.c2341 struct task_io_accounting acct = task->ioac; in do_io_accounting() local
2357 task_io_accounting_add(&acct, &task->signal->ioac); in do_io_accounting()
2359 task_io_accounting_add(&acct, &t->ioac); in do_io_accounting()
2371 (unsigned long long)acct.rchar, in do_io_accounting()
2372 (unsigned long long)acct.wchar, in do_io_accounting()
2373 (unsigned long long)acct.syscr, in do_io_accounting()
2374 (unsigned long long)acct.syscw, in do_io_accounting()
2375 (unsigned long long)acct.read_bytes, in do_io_accounting()
2376 (unsigned long long)acct.write_bytes, in do_io_accounting()
2377 (unsigned long long)acct.cancelled_write_bytes); in do_io_accounting()
/linux-4.1.27/Documentation/DocBook/
D.kernel-api.xml.cmd2 …urity/inode.c kernel/audit.c kernel/auditsc.c kernel/auditfilter.c kernel/acct.c block/blk-core.c …
/linux-4.1.27/security/apparmor/include/
Dpolicy.h134 struct aa_ns_acct acct; member
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S121 ENTRY_SAME(acct)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h57 SYSCALL(acct)
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt47 /* The accounting flags of a task as defined in <linux/acct.h>
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c82 COMPAT_SYSCALL_WRAP1(acct, const char __user *, name);
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl172 163 common acct sys_acct
Dsyscall_32.tbl60 51 i386 acct sys_acct
/linux-4.1.27/Documentation/sysctl/
Dkernel.txt21 - acct
93 acct:
/linux-4.1.27/init/
DKconfig405 list is in the struct acct in <file:include/linux/acct.h>). It is
419 at <http://www.gnu.org/software/acct/>.
/linux-4.1.27/Documentation/
Dkernel-parameters.txt2175 nf_conntrack.acct=