Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
notification.c File Reference
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/mount.h>
#include <linux/mutex.h>
#include <linux/namei.h>
#include <linux/path.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/atomic.h>
#include <linux/fsnotify_backend.h>
#include "fsnotify.h"

Go to the source code of this file.

Functions

u32 fsnotify_get_cookie (void)
 
 EXPORT_SYMBOL_GPL (fsnotify_get_cookie)
 
bool fsnotify_notify_queue_is_empty (struct fsnotify_group *group)
 
void fsnotify_get_event (struct fsnotify_event *event)
 
void fsnotify_put_event (struct fsnotify_event *event)
 
struct fsnotify_event_holder * fsnotify_alloc_event_holder (void)
 
void fsnotify_destroy_event_holder (struct fsnotify_event_holder *holder)
 
struct
fsnotify_event_private_data * 
fsnotify_remove_priv_from_event (struct fsnotify_group *group, struct fsnotify_event *event)
 
struct fsnotify_event * fsnotify_add_notify_event (struct fsnotify_group *group, struct fsnotify_event *event, struct fsnotify_event_private_data *priv, struct fsnotify_event *(*merge)(struct list_head *, struct fsnotify_event *))
 
struct fsnotify_event * fsnotify_remove_notify_event (struct fsnotify_group *group)
 
struct fsnotify_event * fsnotify_peek_notify_event (struct fsnotify_group *group)
 
void fsnotify_flush_notify (struct fsnotify_group *group)
 
int fsnotify_replace_event (struct fsnotify_event_holder *old_holder, struct fsnotify_event *new_event)
 
struct fsnotify_event * fsnotify_clone_event (struct fsnotify_event *old_event)
 
struct fsnotify_event * fsnotify_create_event (struct inode *to_tell, __u32 mask, void *data, int data_type, const unsigned char *name, u32 cookie, gfp_t gfp)
 
 subsys_initcall (fsnotify_notification_init)
 

Function Documentation

EXPORT_SYMBOL_GPL ( fsnotify_get_cookie  )
struct fsnotify_event* fsnotify_add_notify_event ( struct fsnotify_group *  group,
struct fsnotify_event *  event,
struct fsnotify_event_private_data *  priv,
struct fsnotify_event *(*)(struct list_head *, struct fsnotify_event *)  merge 
)
read

Definition at line 140 of file notification.c.

struct fsnotify_event_holder* fsnotify_alloc_event_holder ( void  )
read

Definition at line 103 of file notification.c.

struct fsnotify_event* fsnotify_clone_event ( struct fsnotify_event *  old_event)
read

Definition at line 357 of file notification.c.

struct fsnotify_event* fsnotify_create_event ( struct inode to_tell,
__u32  mask,
void data,
int  data_type,
const unsigned char name,
u32  cookie,
gfp_t  gfp 
)
read

Definition at line 396 of file notification.c.

void fsnotify_destroy_event_holder ( struct fsnotify_event_holder *  holder)

Definition at line 108 of file notification.c.

void fsnotify_flush_notify ( struct fsnotify_group *  group)

Definition at line 283 of file notification.c.

u32 fsnotify_get_cookie ( void  )

fsnotify_get_cookie - return a unique cookie for use in synchronizing events. Called from fsnotify_move, which is inlined into filesystem modules.

Definition at line 66 of file notification.c.

void fsnotify_get_event ( struct fsnotify_event *  event)

Definition at line 79 of file notification.c.

bool fsnotify_notify_queue_is_empty ( struct fsnotify_group *  group)

Definition at line 73 of file notification.c.

struct fsnotify_event* fsnotify_peek_notify_event ( struct fsnotify_group *  group)
read

Definition at line 266 of file notification.c.

void fsnotify_put_event ( struct fsnotify_event *  event)

Definition at line 84 of file notification.c.

struct fsnotify_event* fsnotify_remove_notify_event ( struct fsnotify_group *  group)
read

Definition at line 236 of file notification.c.

struct fsnotify_event_private_data* fsnotify_remove_priv_from_event ( struct fsnotify_group *  group,
struct fsnotify_event *  event 
)
read

Definition at line 118 of file notification.c.

int fsnotify_replace_event ( struct fsnotify_event_holder *  old_holder,
struct fsnotify_event *  new_event 
)

Definition at line 319 of file notification.c.

subsys_initcall ( fsnotify_notification_init  )