/linux-4.1.27/kernel/ |
D | acct.c | 93 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 …]
|
D | Makefile | 52 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_acct.c | 23 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()
|
D | nfnetlink_acct.c | 133 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 …]
|
D | xt_connbytes.c | 29 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()
|
D | nf_conntrack_core.c | 1215 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()
|
D | nf_conntrack_netlink.c | 214 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/ |
D | nf_conntrack_acct.h | 36 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/ |
D | nfnetlink_acct.h | 15 void nfnl_acct_put(struct nf_acct *acct);
|
/linux-4.1.27/include/linux/ |
D | acct.h | 61 typedef struct acct acct_t;
|
D | hugetlb.h | 254 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
|
/linux-4.1.27/include/uapi/linux/ |
D | acct.h | 43 struct acct struct
|
D | Kbuild | 33 header-y += acct.h
|
/linux-4.1.27/fs/proc/ |
D | base.c | 2341 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.cmd | 2 …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/ |
D | policy.h | 134 struct aa_ns_acct acct; member
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 121 ENTRY_SAME(acct)
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 57 SYSCALL(acct)
|
/linux-4.1.27/Documentation/accounting/ |
D | taskstats-struct.txt | 47 /* The accounting flags of a task as defined in <linux/acct.h>
|
/linux-4.1.27/arch/s390/kernel/ |
D | compat_wrapper.c | 82 COMPAT_SYSCALL_WRAP1(acct, const char __user *, name);
|
/linux-4.1.27/arch/x86/syscalls/ |
D | syscall_64.tbl | 172 163 common acct sys_acct
|
D | syscall_32.tbl | 60 51 i386 acct sys_acct
|
/linux-4.1.27/Documentation/sysctl/ |
D | kernel.txt | 21 - acct 93 acct:
|
/linux-4.1.27/init/ |
D | Kconfig | 405 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/ |
D | kernel-parameters.txt | 2175 nf_conntrack.acct=
|