Searched refs:watch (Results 1 – 3 of 3) sorted by relevance
103 void get_inotify_watch(struct inotify_watch *watch) in get_inotify_watch() argument105 atomic_inc(&watch->count); in get_inotify_watch()109 int pin_inotify_watch(struct inotify_watch *watch) in pin_inotify_watch() argument111 struct super_block *sb = watch->inode->i_sb; in pin_inotify_watch()116 atomic_inc(&watch->count); in pin_inotify_watch()129 void put_inotify_watch(struct inotify_watch *watch) in put_inotify_watch() argument131 if (atomic_dec_and_test(&watch->count)) { in put_inotify_watch()132 struct inotify_handle *ih = watch->ih; in put_inotify_watch()134 iput(watch->inode); in put_inotify_watch()135 ih->in_ops->destroy_watch(watch); in put_inotify_watch()[all …]
171 struct inotify_user_watch *watch; in free_inotify_user_watch() local174 watch = container_of(w, struct inotify_user_watch, wdata); in free_inotify_user_watch()175 dev = watch->dev; in free_inotify_user_watch()179 kmem_cache_free(watch_cachep, watch); in free_inotify_user_watch()274 struct inotify_user_watch *watch; in inotify_dev_queue_event() local278 watch = container_of(w, struct inotify_user_watch, wdata); in inotify_dev_queue_event()279 dev = watch->dev; in inotify_dev_queue_event()389 struct inotify_user_watch *watch; in create_watch() local396 watch = kmem_cache_alloc(watch_cachep, GFP_KERNEL); in create_watch()397 if (unlikely(!watch)) in create_watch()[all …]
9 just listen to audio CDs and watch its LEDs, say Y (and read