| /linux-4.4.14/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 | 51 obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
|
| /linux-4.4.14/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 | 132 int event, struct nf_acct *acct) in nfnl_acct_fill_info() argument 150 if (nla_put_string(skb, NFACCT_NAME, acct->name)) in nfnl_acct_fill_info() 153 old_flags = acct->flags; in nfnl_acct_fill_info() 155 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info() 156 bytes = atomic64_xchg(&acct->bytes, 0); in nfnl_acct_fill_info() 158 if (acct->flags & NFACCT_F_QUOTA) in nfnl_acct_fill_info() 159 clear_bit(NFACCT_OVERQUOTA_BIT, &acct->flags); in nfnl_acct_fill_info() 161 pkts = atomic64_read(&acct->pkts); in nfnl_acct_fill_info() 162 bytes = atomic64_read(&acct->bytes); in nfnl_acct_fill_info() 166 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 | 1240 goto acct; in __nf_ct_refresh_acct() 1255 acct: in __nf_ct_refresh_acct() 1257 struct nf_conn_acct *acct; in __nf_ct_refresh_acct() local 1259 acct = nf_conn_acct_find(ct); in __nf_ct_refresh_acct() 1260 if (acct) { in __nf_ct_refresh_acct() 1261 struct nf_conn_counter *counter = acct->counter; in __nf_ct_refresh_acct() 1276 struct nf_conn_acct *acct; in __nf_ct_kill_acct() local 1278 acct = nf_conn_acct_find(ct); in __nf_ct_kill_acct() 1279 if (acct) { in __nf_ct_kill_acct() 1280 struct nf_conn_counter *counter = acct->counter; in __nf_ct_kill_acct()
|
| D | nf_conntrack_netlink.c | 228 dump_counters(struct sk_buff *skb, struct nf_conn_acct *acct, in dump_counters() argument 232 struct nf_conn_counter *counter = acct->counter; in dump_counters() 263 struct nf_conn_acct *acct = nf_conn_acct_find(ct); in ctnetlink_dump_acct() local 265 if (!acct) in ctnetlink_dump_acct() 268 if (dump_counters(skb, acct, IP_CT_DIR_ORIGINAL, type) < 0) in ctnetlink_dump_acct() 270 if (dump_counters(skb, acct, IP_CT_DIR_REPLY, type) < 0) in ctnetlink_dump_acct()
|
| /linux-4.4.14/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.4.14/include/linux/netfilter/ |
| D | nfnetlink_acct.h | 16 void nfnl_acct_put(struct nf_acct *acct);
|
| /linux-4.4.14/Documentation/features/time/irq-time-acct/ |
| D | arch-support.txt | 2 # Feature name: irq-time-acct
|
| /linux-4.4.14/include/linux/ |
| D | acct.h | 61 typedef struct acct acct_t;
|
| D | hugetlb.h | 264 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
|
| /linux-4.4.14/include/uapi/linux/ |
| D | acct.h | 43 struct acct struct
|
| D | Kbuild | 33 header-y += acct.h
|
| /linux-4.4.14/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 …
|
| D | kernel-api.xml.db | 590 API-sys-acct 591 API-acct-collect 592 API-acct-process
|
| /linux-4.4.14/fs/proc/ |
| D | base.c | 2527 struct task_io_accounting acct = task->ioac; in do_io_accounting() local 2543 task_io_accounting_add(&acct, &task->signal->ioac); in do_io_accounting() 2545 task_io_accounting_add(&acct, &t->ioac); in do_io_accounting() 2557 (unsigned long long)acct.rchar, in do_io_accounting() 2558 (unsigned long long)acct.wchar, in do_io_accounting() 2559 (unsigned long long)acct.syscr, in do_io_accounting() 2560 (unsigned long long)acct.syscw, in do_io_accounting() 2561 (unsigned long long)acct.read_bytes, in do_io_accounting() 2562 (unsigned long long)acct.write_bytes, in do_io_accounting() 2563 (unsigned long long)acct.cancelled_write_bytes); in do_io_accounting()
|
| /linux-4.4.14/security/apparmor/include/ |
| D | policy.h | 134 struct aa_ns_acct acct; member
|
| /linux-4.4.14/drivers/net/ipvlan/ |
| D | ipvlan_core.c | 233 goto acct; in ipvlan_process_multicast() 241 acct: in ipvlan_process_multicast()
|
| /linux-4.4.14/arch/parisc/kernel/ |
| D | syscall_table.S | 121 ENTRY_SAME(acct)
|
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | systbl.h | 57 SYSCALL(acct)
|
| /linux-4.4.14/Documentation/accounting/ |
| D | taskstats-struct.txt | 47 /* The accounting flags of a task as defined in <linux/acct.h>
|
| /linux-4.4.14/arch/s390/kernel/ |
| D | compat_wrapper.c | 76 COMPAT_SYSCALL_WRAP1(acct, const char __user *, name);
|
| /linux-4.4.14/arch/x86/entry/syscalls/ |
| D | syscall_64.tbl | 172 163 common acct sys_acct
|
| D | syscall_32.tbl | 60 51 i386 acct sys_acct
|
| /linux-4.4.14/Documentation/sysctl/ |
| D | kernel.txt | 21 - acct 94 acct:
|
| /linux-4.4.14/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.4.14/Documentation/ |
| D | kernel-parameters.txt | 2242 nf_conntrack.acct=
|