#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/acct.h>
#include <linux/capability.h>
#include <linux/file.h>
#include <linux/tty.h>
#include <linux/security.h>
#include <linux/vfs.h>
#include <linux/jiffies.h>
#include <linux/times.h>
#include <linux/syscalls.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
#include <asm/div64.h>
#include <linux/blkdev.h>
#include <linux/pid_namespace.h>
Go to the source code of this file.
#define EXPSIZE 3 /* Base 8 (3 bit) exponent. */ |
#define MANTSIZE 13 /* 13 bit mantissa. */ |
#define MAXFRACT ((1 << MANTSIZE) - 1) /* Maximum fractional value. */ |
acct_auto_close - turn off a filesystem's accounting if it is on : super block for the filesystem
If the accounting is turned on for a file in the filesystem pointed to by sb, turn accounting off.
Definition at line 311 of file acct.c.
acct_auto_close - turn off a filesystem's accounting if it is on : vfsmount being shut down
If the accounting is turned on for a file in the subtree pointed to to by m, turn accounting off. Done when m is about to die.
Definition at line 290 of file acct.c.
acct_collect - collect accounting information into pacct_struct : task exit code : not 0, if this thread is the last one in the process.
Definition at line 566 of file acct.c.
acct_process - now just a wrapper around acct_process_in_ns, which in turn is a wrapper around do_acct_process.
handles process accounting for an exiting task
Definition at line 634 of file acct.c.
int acct_parm[3] = {4, 2, 30} |