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);
563 struct exfat_chain *p_dir, unsigned int byte_offset,
571 cur_clu = p_dir->dir;
573 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) {
582 p_dir->dir,
594 static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
603 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu);
655 struct exfat_chain *p_dir, int entry, struct buffer_head **bh)
661 if (p_dir->dir == DIR_DELETED) {
666 if (exfat_find_location(sb, p_dir, entry, &sec, &off))
669 if (p_dir->dir != EXFAT_FREE_CLUSTER &&
741 * sb+p_dir+entry: indicates a file/dir
753 struct super_block *sb, struct exfat_chain *p_dir, int entry,
762 if (p_dir->dir == DIR_DELETED) {
767 ret = exfat_find_location(sb, p_dir, entry, &sec, &off);
811 if (p_dir->flags == ALLOC_NO_FAT_CHAIN)
834 struct super_block *sb, struct exfat_chain *p_dir,
841 ret = __exfat_get_dentry_set(es, sb, p_dir, entry, num_entries);
910 * sb+p_dir+entry: indicates the empty dentry location
921 struct super_block *sb, struct exfat_chain *p_dir,
926 ret = __exfat_get_dentry_set(es, sb, p_dir, entry, num_entries);
976 * @p_dir: directory structure of parent directory
986 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
1006 exfat_chain_dup(&clu, p_dir);
1152 clu.dir = p_dir->dir;
1162 ei->hint_femp.eidx = p_dir->size * dentries_per_clu;
1167 hint_stat->clu = p_dir->dir;
1187 hint_stat->clu = p_dir->dir;
1198 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir)
1211 exfat_chain_dup(&clu, p_dir);