inotify.h 664 B

12345678910111213141516171819202122
  1. #include <linux/fsnotify_backend.h>
  2. #include <linux/inotify.h>
  3. #include <linux/slab.h> /* struct kmem_cache */
  4. extern struct kmem_cache *event_priv_cachep;
  5. struct inotify_event_private_data {
  6. struct fsnotify_event_private_data fsnotify_event_priv_data;
  7. int wd;
  8. };
  9. struct inotify_inode_mark_entry {
  10. /* fsnotify_mark_entry MUST be the first thing */
  11. struct fsnotify_mark_entry fsn_entry;
  12. int wd;
  13. };
  14. extern void inotify_ignored_and_remove_idr(struct fsnotify_mark_entry *entry,
  15. struct fsnotify_group *group);
  16. extern void inotify_free_event_priv(struct fsnotify_event_private_data *event_priv);
  17. extern const struct fsnotify_ops inotify_fsnotify_ops;