Lines Matching refs:folder
507 struct hfsplus_cat_folder *folder = &entry.folder; in hfsplus_cat_read_inode() local
516 hfsplus_get_perms(inode, &folder->permissions, 1); in hfsplus_cat_read_inode()
518 inode->i_size = 2 + be32_to_cpu(folder->valence); in hfsplus_cat_read_inode()
519 inode_set_atime_to_ts(inode, hfsp_mt2ut(folder->access_date)); in hfsplus_cat_read_inode()
521 hfsp_mt2ut(folder->content_mod_date)); in hfsplus_cat_read_inode()
523 hfsp_mt2ut(folder->attribute_mod_date)); in hfsplus_cat_read_inode()
524 HFSPLUS_I(inode)->create_date = folder->create_date; in hfsplus_cat_read_inode()
526 if (folder->flags & cpu_to_be16(HFSPLUS_HAS_FOLDER_COUNT)) { in hfsplus_cat_read_inode()
528 be32_to_cpu(folder->subfolders); in hfsplus_cat_read_inode()
598 struct hfsplus_cat_folder *folder = &entry.folder; in hfsplus_cat_write_inode() local
608 hfsplus_cat_set_perms(inode, &folder->permissions); in hfsplus_cat_write_inode()
609 folder->access_date = hfsp_ut2mt(inode_get_atime(inode)); in hfsplus_cat_write_inode()
610 folder->content_mod_date = hfsp_ut2mt(inode_get_mtime(inode)); in hfsplus_cat_write_inode()
611 folder->attribute_mod_date = hfsp_ut2mt(inode_get_ctime(inode)); in hfsplus_cat_write_inode()
612 folder->valence = cpu_to_be32(inode->i_size - 2); in hfsplus_cat_write_inode()
613 if (folder->flags & cpu_to_be16(HFSPLUS_HAS_FOLDER_COUNT)) { in hfsplus_cat_write_inode()
614 folder->subfolders = in hfsplus_cat_write_inode()