XenevaOS
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
kobject_ns.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kobj_ns_type_operations
 

Enumerations

enum  kobj_ns_type { KOBJ_NS_TYPE_NONE = 0 , KOBJ_NS_TYPE_NET , KOBJ_NS_TYPES }
 

Functions

int kobj_ns_type_register (const struct kobj_ns_type_operations *ops)
 
int kobj_ns_type_registered (enum kobj_ns_type type)
 
const struct kobj_ns_type_operations * kobj_child_ns_ops (const struct kobject *parent)
 
const struct kobj_ns_type_operations * kobj_ns_ops (const struct kobject *kobj)
 
bool kobj_ns_current_may_mount (enum kobj_ns_type type)
 
struct ns_common * kobj_ns_grab_current (enum kobj_ns_type type)
 
void kobj_ns_drop (enum kobj_ns_type type, struct ns_common *ns)
 

Enumeration Type Documentation

◆ kobj_ns_type

Enumerator
KOBJ_NS_TYPE_NONE 
KOBJ_NS_TYPE_NET 
KOBJ_NS_TYPES 

Function Documentation

◆ kobj_child_ns_ops()

const struct kobj_ns_type_operations * kobj_child_ns_ops ( const struct kobject *  parent)

◆ kobj_ns_current_may_mount()

bool kobj_ns_current_may_mount ( enum kobj_ns_type  type)

◆ kobj_ns_drop()

void kobj_ns_drop ( enum kobj_ns_type  type,
struct ns_common *  ns 
)

◆ kobj_ns_grab_current()

struct ns_common * kobj_ns_grab_current ( enum kobj_ns_type  type)

◆ kobj_ns_ops()

const struct kobj_ns_type_operations * kobj_ns_ops ( const struct kobject *  kobj)

◆ kobj_ns_type_register()

int kobj_ns_type_register ( const struct kobj_ns_type_operations *  ops)

◆ kobj_ns_type_registered()

int kobj_ns_type_registered ( enum kobj_ns_type  type)