Lines Matching refs:type

119 	if (conn->type == FSNOTIFY_OBJ_TYPE_INODE)  in fsnotify_conn_mask_p()
121 else if (conn->type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) in fsnotify_conn_mask_p()
123 else if (conn->type == FSNOTIFY_OBJ_TYPE_SB) in fsnotify_conn_mask_p()
125 else if (conn->type == FSNOTIFY_OBJ_TYPE_MNTNS) in fsnotify_conn_mask_p()
132 if (WARN_ON(!fsnotify_valid_obj_type(conn->type))) in fsnotify_conn_mask()
223 if (conn->type != FSNOTIFY_OBJ_TYPE_INODE || in fsnotify_update_iref()
248 if (!fsnotify_valid_obj_type(conn->type)) in __fsnotify_recalc_mask()
254 if (conn->type == FSNOTIFY_OBJ_TYPE_INODE && in __fsnotify_recalc_mask()
270 if (conn->type != FSNOTIFY_OBJ_TYPE_INODE) in fsnotify_conn_watches_children()
279 if (conn->type != FSNOTIFY_OBJ_TYPE_INODE) in fsnotify_conn_set_children_dentry_flags()
332 unsigned int *type) in fsnotify_detach_connector_from_object() argument
334 fsnotify_connp_t *connp = fsnotify_object_connp(conn->obj, conn->type); in fsnotify_detach_connector_from_object()
338 *type = conn->type; in fsnotify_detach_connector_from_object()
339 if (conn->type == FSNOTIFY_OBJ_TYPE_DETACHED) in fsnotify_detach_connector_from_object()
342 if (conn->type == FSNOTIFY_OBJ_TYPE_INODE) { in fsnotify_detach_connector_from_object()
349 } else if (conn->type == FSNOTIFY_OBJ_TYPE_VFSMOUNT) { in fsnotify_detach_connector_from_object()
351 } else if (conn->type == FSNOTIFY_OBJ_TYPE_SB) { in fsnotify_detach_connector_from_object()
353 } else if (conn->type == FSNOTIFY_OBJ_TYPE_MNTNS) { in fsnotify_detach_connector_from_object()
359 conn->type = FSNOTIFY_OBJ_TYPE_DETACHED; in fsnotify_detach_connector_from_object()
377 static void fsnotify_drop_object(unsigned int type, void *objp) in fsnotify_drop_object() argument
382 if (WARN_ON_ONCE(type != FSNOTIFY_OBJ_TYPE_INODE)) in fsnotify_drop_object()
391 unsigned int type = FSNOTIFY_OBJ_TYPE_DETACHED; in fsnotify_put_mark() local
410 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_put_mark()
419 type = conn->type; in fsnotify_put_mark()
424 fsnotify_drop_object(type, objp); in fsnotify_put_mark()
496 int type; in fsnotify_prepare_user_wait() local
498 fsnotify_foreach_iter_type(type) { in fsnotify_prepare_user_wait()
500 if (!fsnotify_get_mark_safe(iter_info->marks[type])) { in fsnotify_prepare_user_wait()
516 for (type--; type >= 0; type--) in fsnotify_prepare_user_wait()
517 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait()
524 int type; in fsnotify_finish_user_wait() local
527 fsnotify_foreach_iter_type(type) in fsnotify_finish_user_wait()
528 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
670 conn->type = obj_type; in fsnotify_attach_connector_to_object()
701 if (conn->type == FSNOTIFY_OBJ_TYPE_DETACHED) { in fsnotify_grab_connector()
907 if (mark->connector->type == obj_type) in fsnotify_clear_marks_by_group()
934 unsigned int type; in fsnotify_destroy_marks() local
960 objp = fsnotify_detach_connector_from_object(conn, &type); in fsnotify_destroy_marks()
964 fsnotify_drop_object(type, objp); in fsnotify_destroy_marks()