• Home
  • Raw
  • Download

Lines Matching refs:fd

79 	struct jffs2_full_dirent *fd = NULL, *fd_list;  in jffs2_lookup()  local
99 (!fd || fd_list->version > fd->version) && in jffs2_lookup()
102 fd = fd_list; in jffs2_lookup()
105 if (fd) in jffs2_lookup()
106 ino = fd->ino; in jffs2_lookup()
124 struct jffs2_full_dirent *fd; in jffs2_readdir() local
133 for (fd = f->dents; fd; fd = fd->next) { in jffs2_readdir()
138 fd->name, fd->ino, fd->type, curofs, (unsigned long)ctx->pos); in jffs2_readdir()
141 if (!fd->ino) { in jffs2_readdir()
143 fd->name); in jffs2_readdir()
148 (unsigned long)ctx->pos, fd->name, fd->ino, fd->type); in jffs2_readdir()
149 if (!dir_emit(ctx, fd->name, strlen(fd->name), fd->ino, fd->type)) in jffs2_readdir()
287 struct jffs2_full_dirent *fd; in jffs2_symlink() local
409 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_symlink()
411 if (IS_ERR(fd)) { in jffs2_symlink()
417 ret = PTR_ERR(fd); in jffs2_symlink()
427 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_symlink()
449 struct jffs2_full_dirent *fd; in jffs2_mkdir() local
552 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_mkdir()
554 if (IS_ERR(fd)) { in jffs2_mkdir()
560 ret = PTR_ERR(fd); in jffs2_mkdir()
571 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mkdir()
589 struct jffs2_full_dirent *fd; in jffs2_rmdir() local
593 for (fd = f->dents ; fd; fd = fd->next) { in jffs2_rmdir()
594 if (fd->ino) in jffs2_rmdir()
616 struct jffs2_full_dirent *fd; in jffs2_mknod() local
724 fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); in jffs2_mknod()
726 if (IS_ERR(fd)) { in jffs2_mknod()
732 ret = PTR_ERR(fd); in jffs2_mknod()
742 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mknod()
776 struct jffs2_full_dirent *fd; in jffs2_rename() local
779 for (fd = victim_f->dents; fd; fd = fd->next) { in jffs2_rename()
780 if (fd->ino) { in jffs2_rename()