Home
last modified time | relevance | path

Searched refs:main_inode (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/hfsplus/
Dinode.c565 struct inode *main_inode = inode; in hfsplus_cat_write_inode() local
571 main_inode = HFSPLUS_I(inode)->rsrc_inode; in hfsplus_cat_write_inode()
573 if (!main_inode->i_nlink) in hfsplus_cat_write_inode()
576 if (hfs_find_init(HFSPLUS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfsplus_cat_write_inode()
580 if (hfsplus_find_cat(main_inode->i_sb, main_inode->i_ino, &fd)) in hfsplus_cat_write_inode()
584 if (S_ISDIR(main_inode->i_mode)) { in hfsplus_cat_write_inode()
/kernel/linux/linux-5.10/fs/hfs/
Dinode.c421 struct inode *main_inode = inode; in hfs_write_inode() local
448 main_inode = HFS_I(inode)->rsrc_inode; in hfs_write_inode()
450 if (!main_inode->i_nlink) in hfs_write_inode()
453 if (hfs_find_init(HFS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfs_write_inode()
458 if (HFS_I(main_inode)->cat_key.CName.len > HFS_NAMELEN) in hfs_write_inode()
460 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode()
464 if (S_ISDIR(main_inode->i_mode)) { in hfs_write_inode()