Lines Matching refs:NULL

18 struct vfs_superblock_t *vfs_root_sb = NULL;
34 struct vfs_dir_entry_t *target_dentry = NULL; in vfs_mount_fs()
37 if (target_dentry == NULL) in vfs_mount_fs()
38 return NULL; in vfs_mount_fs()
40 struct vfs_filesystem_type_t *p = NULL; in vfs_mount_fs()
66 return NULL; in vfs_mount_fs()
77 struct vfs_filesystem_type_t *p = NULL; in vfs_register_filesystem()
97 fs->next = NULL; in vfs_unregister_filesystem()
116 return NULL; in vfs_search_dentry_list()
119 struct vfs_dir_entry_t *d_ptr = NULL; in vfs_search_dentry_list()
128 return NULL; in vfs_search_dentry_list()
149 struct vfs_dir_entry_t *dentry = NULL; in vfs_path_walk()
170 if (dentry == NULL) in vfs_path_walk()
179 if (parent->dir_inode->inode_ops->lookup(parent->dir_inode, dentry) == NULL) in vfs_path_walk()
185 return NULL; in vfs_path_walk()
286 if (parent_dir == NULL) in vfs_mkdir()
295 if (vfs_path_walk((const char *)path, 0) != NULL) in vfs_mkdir()
391 if (path == NULL) in do_open()
408 if (dentry == NULL && flags & O_CREAT) in do_open()
421 struct vfs_dir_entry_t *parent_dentry = NULL; in do_open()
428 if (parent_dentry == NULL) in do_open()
465 struct vfs_dir_entry_t *next_dentry = NULL; in do_open()
473 if (next_dentry != NULL) in do_open()
482 if (dentry == NULL) in do_open()
554 if (current_pcb->fds[fd_num] == NULL) in vfs_close()
563 current_pcb->fds[fd_num] = NULL; in vfs_close()
575 return NULL; in vfs_alloc_dentry()
577 if (unlikely(dentry == NULL)) in vfs_alloc_dentry()
578 return NULL; in vfs_alloc_dentry()
605 BUG_ON(dentry->dir_inode == NULL); in vfs_may_delete()
672 if (dentry == NULL) in vfs_rmdir()
729 if (unlikely(mnt_userns != NULL)) in vfs_unlink()
823 if (dentry == NULL || dentry->parent == NULL) in do_unlink_at()
833 retval = vfs_unlink(NULL, dentry->parent->dir_inode, dentry, NULL); in do_unlink_at()