Lines Matching refs:dir_f

93 	struct jffs2_inode_info *dir_f;  in jffs2_lookup()  local
101 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_lookup()
104 down(&dir_f->sem); in jffs2_lookup()
107 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
117 up(&dir_f->sem); in jffs2_lookup()
193 struct jffs2_inode_info *f, *dir_f; in jffs2_create() local
287 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_create()
288 down(&dir_f->sem); in jffs2_create()
296 rd->version = ++dir_f->highest_version; in jffs2_create()
312 up(&dir_f->sem); in jffs2_create()
323 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_create()
324 up(&dir_f->sem); in jffs2_create()
337 struct jffs2_inode_info *dir_f, *f; in jffs2_do_unlink() local
356 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_do_unlink()
357 down(&dir_f->sem); in jffs2_do_unlink()
366 rd->version = ++dir_f->highest_version; in jffs2_do_unlink()
380 up(&dir_f->sem); in jffs2_do_unlink()
385 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_unlink()
386 up(&dir_f->sem); in jffs2_do_unlink()
425 struct jffs2_inode_info *dir_f, *f; in jffs2_do_link() local
444 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_do_link()
445 down(&dir_f->sem); in jffs2_do_link()
454 rd->version = ++dir_f->highest_version; in jffs2_do_link()
472 up(&dir_f->sem); in jffs2_do_link()
477 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_link()
478 up(&dir_f->sem); in jffs2_do_link()
512 struct jffs2_inode_info *f, *dir_f; in jffs2_symlink() local
608 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_symlink()
609 down(&dir_f->sem); in jffs2_symlink()
617 rd->version = ++dir_f->highest_version; in jffs2_symlink()
633 up(&dir_f->sem); in jffs2_symlink()
644 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_symlink()
645 up(&dir_f->sem); in jffs2_symlink()
654 struct jffs2_inode_info *f, *dir_f; in jffs2_mkdir() local
742 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_mkdir()
743 down(&dir_f->sem); in jffs2_mkdir()
751 rd->version = ++dir_f->highest_version; in jffs2_mkdir()
767 up(&dir_f->sem); in jffs2_mkdir()
778 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mkdir()
779 up(&dir_f->sem); in jffs2_mkdir()
799 struct jffs2_inode_info *f, *dir_f; in jffs2_mknod() local
896 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_mknod()
897 down(&dir_f->sem); in jffs2_mknod()
905 rd->version = ++dir_f->highest_version; in jffs2_mknod()
924 up(&dir_f->sem); in jffs2_mknod()
935 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mknod()
936 up(&dir_f->sem); in jffs2_mknod()