Lines Matching refs:fanotify_data
258 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd()
267 group->fanotify_data.f_flags | __FMODE_NONOTIFY, in create_fd()
377 list_for_each_entry(event, &group->fanotify_data.access_list, in process_access_response()
384 wake_up(&group->fanotify_data.access_waitq); in process_access_response()
853 wake_up(&group->fanotify_data.access_waitq); in fanotify_read()
857 &group->fanotify_data.access_list); in fanotify_read()
922 while (!list_empty(&group->fanotify_data.access_list)) { in fanotify_release()
925 event = list_first_entry(&group->fanotify_data.access_list, in fanotify_release()
952 wake_up(&group->fanotify_data.access_waitq); in fanotify_release()
1201 struct ucounts *ucounts = group->fanotify_data.ucounts; in fanotify_add_new_mark()
1240 if (mempool_initialized(&group->fanotify_data.error_events_pool)) in fanotify_group_init_error_pool()
1243 return mempool_init_kmalloc_pool(&group->fanotify_data.error_events_pool, in fanotify_group_init_error_pool()
1482 group->fanotify_data.ucounts = inc_ucount(current_user_ns(), in SYSCALL_DEFINE2()
1485 if (!group->fanotify_data.ucounts) { in SYSCALL_DEFINE2()
1490 group->fanotify_data.flags = flags | internal_flags; in SYSCALL_DEFINE2()
1493 group->fanotify_data.merge_hash = fanotify_alloc_merge_hash(); in SYSCALL_DEFINE2()
1494 if (!group->fanotify_data.merge_hash) { in SYSCALL_DEFINE2()
1507 group->fanotify_data.f_flags = event_f_flags; in SYSCALL_DEFINE2()
1508 init_waitqueue_head(&group->fanotify_data.access_waitq); in SYSCALL_DEFINE2()
1509 INIT_LIST_HEAD(&group->fanotify_data.access_list); in SYSCALL_DEFINE2()