Home
last modified time | relevance | path

Searched refs:dir_f (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/jffs2/
Ddir.c81 struct jffs2_inode_info *dir_f; in jffs2_lookup() local
92 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_lookup()
97 mutex_lock(&dir_f->sem); in jffs2_lookup()
100 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
110 mutex_unlock(&dir_f->sem); in jffs2_lookup()
167 struct jffs2_inode_info *f, *dir_f; in jffs2_create() local
194 dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_create()
203 ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name); in jffs2_create()
230 struct jffs2_inode_info *dir_f = JFFS2_INODE_INFO(dir_i); in jffs2_unlink() local
235 ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name, in jffs2_unlink()
[all …]
Dwrite.c441 int jffs2_do_create(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, in jffs2_do_create() argument
485 ret = jffs2_init_security(&f->vfs_inode, &dir_f->vfs_inode, qstr); in jffs2_do_create()
508 mutex_lock(&dir_f->sem); in jffs2_do_create()
515 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_create()
516 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_do_create()
524 fd = jffs2_write_dirent(c, dir_f, rd, qstr->name, qstr->len, ALLOC_NORMAL); in jffs2_do_create()
532 mutex_unlock(&dir_f->sem); in jffs2_do_create()
538 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_create()
541 mutex_unlock(&dir_f->sem); in jffs2_do_create()
547 int jffs2_do_unlink(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, in jffs2_do_unlink() argument
[all …]
Dnodelist.h407 int jffs2_do_create(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, struct jffs2_inode_inf…
409 int jffs2_do_unlink(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, const char *name,
411 int jffs2_do_link(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino,
/linux-6.1.9/fs/adfs/
DMakefile8 adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o