Lines Matching refs:response
311 struct fanotify_perm_event *event, u32 response,
318 event->response = response & ~FAN_INFO;
319 if (response & FAN_INFO)
338 u32 response = response_struct->response;
342 pr_debug("%s: group=%p fd=%d response=%u buf=%p size=%zu\n", __func__,
343 group, fd, response, info, info_len);
345 * make sure the response is valid, if invalid we do nothing and either
346 * userspace can send a valid response or we will clean it up after the
349 if (response & ~FANOTIFY_RESPONSE_VALID_MASK)
352 switch (response & FANOTIFY_RESPONSE_ACCESS) {
360 if ((response & FAN_AUDIT) && !FAN_GROUP_FLAG(group, FAN_ENABLE_AUDIT))
363 if (response & FAN_INFO) {
383 finish_permission_event(group, event, response, &friar);
843 * Permission events get queued to wait for response. Other
875 struct fanotify_response response;
888 if (count < sizeof(response))
891 if (copy_from_user(&response, buf, sizeof(response)))
894 info_len = count - sizeof(response);
896 ret = process_access_response(group, &response, info_buf, info_len);
900 count = sizeof(response) + ret;
934 * dequeue them and set the response. They will be freed once the
935 * response is consumed and fanotify_get_response() returns.