Home
last modified time | relevance | path

Searched refs:pino_nlink (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dbuild.c80 child_ic->pino_nlink++; in jffs2_build_inode_pass1()
85 if (child_ic->pino_nlink > 1) in jffs2_build_inode_pass1()
140 if (ic->pino_nlink) in jffs2_build_filesystem()
172 ic->pino_nlink = 0; in jffs2_build_filesystem()
200 if (dir_hardlinks && fd->ic->pino_nlink) { in jffs2_build_filesystem()
202 fd->name, fd->ino, ic->ino, fd->ic->pino_nlink); in jffs2_build_filesystem()
207 fd->ic->pino_nlink = ic->ino; in jffs2_build_filesystem()
287 child_ic->pino_nlink--; in jffs2_build_remove_unlinked_inode()
289 if (!child_ic->pino_nlink) { in jffs2_build_remove_unlinked_inode()
296 fd->ino, fd->name, child_ic->pino_nlink); in jffs2_build_remove_unlinked_inode()
Ddir.c210 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
235 set_nlink(d_inode(dentry), dead_f->inocache->pino_nlink); in jffs2_unlink()
268 set_nlink(d_inode(old_dentry), ++f->inocache->pino_nlink); in jffs2_link()
490 f->inocache->pino_nlink = dir_i->i_ino; in jffs2_mkdir()
823 victim_f->inocache->pino_nlink = 0; in jffs2_rename()
825 victim_f->inocache->pino_nlink--; in jffs2_rename()
847 f->inocache->pino_nlink++; in jffs2_rename()
Dwrite.c36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */ in jffs2_do_new_inode()
656 dead_f->inocache->pino_nlink = 0; in jffs2_do_unlink()
658 dead_f->inocache->pino_nlink--; in jffs2_do_unlink()
Dsuper.c144 pino = f->inocache->pino_nlink; in jffs2_get_parent()
Dreadinode.c1155 f->inocache->pino_nlink); in jffs2_do_read_inode_internal()
1379 f->inocache->ino = f->inocache->pino_nlink = 1; in jffs2_do_read_inode()
1420 deleted = f->inocache && !f->inocache->pino_nlink; in jffs2_do_clear_inode()
Derase.c284 if (ic->nodes == (void *)ic && ic->pino_nlink == 0) in jffs2_remove_node_refs_from_ino_list()
Dnodelist.h179 uint32_t pino_nlink; /* Directories store parent inode member
Dgc.c191 if (!ic->pino_nlink) { in jffs2_garbage_collect_pass()
451 nlink = ic->pino_nlink; in jffs2_garbage_collect_pass()
Dxattr.c602 if (!ic || ic->pino_nlink > 0) in jffs2_xattr_delete_inode()
843 if (!xd || !ic || !ic->pino_nlink) { in jffs2_build_xattr_subsystem()
Dfs.c288 set_nlink(inode, f->inocache->pino_nlink); in jffs2_iget()
Dnodemgmt.c826 if (ic->nodes == (void *)ic && ic->pino_nlink == 0) in jffs2_mark_node_obsolete()
Dwbuf.c505 f = jffs2_gc_fetch_inode(c, ic->ino, !ic->pino_nlink); in jffs2_wbuf_recover()
Dscan.c985 ic->pino_nlink = 1; in jffs2_scan_make_ino_cache()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch1388 - f->inocache->pino_nlink, inode->i_mapping->nrpages);
1419 - set_nlink(d_inode(dentry), dead_f->inocache->pino_nlink);
1420 + d_inode->i_nlink = dead_f->inocache->pino_nlink;
1461 - set_nlink(d_inode(old_dentry), ++f->inocache->pino_nlink);
1462 + old_d_inode->i_nlink = ++f->inocache->pino_nlink;
1638 /* but ic->pino_nlink is the parent ino# */
1639 f->inocache->pino_nlink = dir_i->i_ino;
1744 + d_inode->i_nlink = f->inocache->pino_nlink;
1839 + d_inode->i_nlink = f->inocache->pino_nlink++;
1965 + inode->i_ino, inode->i_mode, inode->i_nlink, f->inocache->pino_nlink));
[all …]