Lines Matching refs:p_dir
33 struct exfat_chain *p_dir, int entry, unsigned short *uniname)
39 err = exfat_get_dentry_set(&es, sb, p_dir, entry, ES_ALL_ENTRIES);
449 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir,
463 ep = exfat_get_dentry(sb, p_dir, entry, &bh);
487 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh);
500 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir,
510 fep = exfat_get_dentry(sb, p_dir, entry, &fbh);
518 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh);
554 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir,
564 ep = exfat_get_dentry(sb, p_dir, entry, &bh);
572 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh);
582 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh);
595 exfat_update_dir_chksum(inode, p_dir, entry);
599 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir,
608 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh);
660 struct exfat_chain *p_dir, unsigned int byte_offset,
668 cur_clu = p_dir->dir;
670 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) {
679 p_dir->dir,
691 static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
700 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu);
752 struct exfat_chain *p_dir, int entry, struct buffer_head **bh)
758 if (p_dir->dir == DIR_DELETED) {
763 if (exfat_find_location(sb, p_dir, entry, &sec, &off))
766 if (p_dir->dir != EXFAT_FREE_CLUSTER &&
844 * sb+p_dir+entry: indicates a file/dir
851 struct super_block *sb, struct exfat_chain *p_dir, int entry,
863 if (p_dir->dir == DIR_DELETED) {
868 ret = exfat_find_location(sb, p_dir, entry, &sec, &off);
906 if (p_dir->flags == ALLOC_NO_FAT_CHAIN)
973 * @p_dir: directory structure of parent directory
983 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
1002 exfat_chain_dup(&clu, p_dir);
1144 clu.dir = p_dir->dir;
1154 ei->hint_femp.eidx = p_dir->size * dentries_per_clu;
1159 hint_stat->clu = p_dir->dir;
1179 hint_stat->clu = p_dir->dir;
1190 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir,
1199 ext_ep = exfat_get_dentry(sb, p_dir, entry, &bh);
1211 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir)
1223 exfat_chain_dup(&clu, p_dir);