Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 8 of 8) sorted by relevance

/fs/notify/
Dnotification.c108 void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder) in fsnotify_destroy_event_holder() argument
110 if (holder) in fsnotify_destroy_event_holder()
111 kmem_cache_free(fsnotify_event_holder_cachep, holder); in fsnotify_destroy_event_holder()
146 struct fsnotify_event_holder *holder = NULL; in fsnotify_add_notify_event() local
159 if (!list_empty(&event->holder.event_list)) { in fsnotify_add_notify_event()
161 holder = fsnotify_alloc_event_holder(); in fsnotify_add_notify_event()
162 if (!holder) in fsnotify_add_notify_event()
191 if (holder != &event->holder) in fsnotify_add_notify_event()
192 fsnotify_destroy_event_holder(holder); in fsnotify_add_notify_event()
199 if (list_empty(&event->holder.event_list)) { in fsnotify_add_notify_event()
[all …]
Dfsnotify.h45 extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder);
/fs/
Dblock_dev.c645 void *holder) in bd_may_claim() argument
647 if (bdev->bd_holder == holder) in bd_may_claim()
681 struct block_device *whole, void *holder) in bd_prepare_to_claim() argument
685 if (!bd_may_claim(bdev, whole, holder)) in bd_prepare_to_claim()
729 void *holder) in bd_start_claiming() argument
766 err = bd_prepare_to_claim(bdev, whole, holder); in bd_start_claiming()
768 whole->bd_claiming = holder; in bd_start_claiming()
788 struct bd_holder_disk *holder; in bd_find_holder_disk() local
790 list_for_each_entry(holder, &bdev->bd_holder_disks, list) in bd_find_holder_disk()
791 if (holder->disk == disk) in bd_find_holder_disk()
[all …]
/fs/btrfs/
Dvolumes.h292 fmode_t flags, void *holder);
293 int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder,
Dsuper.c650 void *holder, char **subvol_name, u64 *subvol_objectid, in btrfs_parse_early_options() argument
704 flags, holder, fs_devices); in btrfs_parse_early_options()
Dvolumes.c130 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
136 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
698 fmode_t flags, void *holder) in __btrfs_open_devices() argument
722 if (btrfs_get_bdev_and_sb(device->name->str, flags, holder, 1, in __btrfs_open_devices()
791 fmode_t flags, void *holder) in btrfs_open_devices() argument
800 ret = __btrfs_open_devices(fs_devices, flags, holder); in btrfs_open_devices()
811 int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, in btrfs_scan_one_device() argument
835 bdev = blkdev_get_by_path(path, flags, holder); in btrfs_scan_one_device()
/fs/notify/inotify/
Dinotify_user.c300 struct fsnotify_event_holder *holder; in inotify_ioctl() local
314 list_for_each_entry(holder, &group->notification_list, event_list) { in inotify_ioctl()
315 event = holder->event; in inotify_ioctl()
/fs/notify/fanotify/
Dfanotify_user.c414 struct fsnotify_event_holder *holder; in fanotify_ioctl() local
426 list_for_each_entry(holder, &group->notification_list, event_list) in fanotify_ioctl()