Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
cgroup_freezer.c File Reference
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/cgroup.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/freezer.h>
#include <linux/seq_file.h>

Go to the source code of this file.

Data Structures

struct  freezer
 

Enumerations

enum  freezer_state { CGROUP_THAWED = 0, CGROUP_FREEZING, CGROUP_FROZEN }
 

Functions

bool cgroup_freezing (struct task_struct *task)
 

Variables

struct cgroup_subsys freezer_subsys
 

Enumeration Type Documentation

Enumerator:
CGROUP_THAWED 
CGROUP_FREEZING 
CGROUP_FROZEN 

Definition at line 25 of file cgroup_freezer.c.

Function Documentation

bool cgroup_freezing ( struct task_struct task)

Definition at line 51 of file cgroup_freezer.c.

Variable Documentation

struct cgroup_subsys freezer_subsys
Initial value:
= {
.name = "freezer",
.create = freezer_create,
.destroy = freezer_destroy,
.subsys_id = freezer_subsys_id,
.can_attach = freezer_can_attach,
.fork = freezer_fork,
.base_cftypes = files,
.broken_hierarchy = true,
}

Definition at line 85 of file cgroup_freezer.c.