Lines Matching refs:p_dir

33 		struct exfat_chain *p_dir, int entry, unsigned short *uniname)  in exfat_get_uniname_from_ext_entry()  argument
38 es = exfat_get_dentry_set(sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
441 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
456 ep = exfat_get_dentry(sb, p_dir, entry, &bh, &sector); in exfat_init_dir_entry()
480 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh, &sector); in exfat_init_dir_entry()
493 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir, in exfat_update_dir_chksum() argument
504 fep = exfat_get_dentry(sb, p_dir, entry, &fbh, &sector); in exfat_update_dir_chksum()
512 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, NULL); in exfat_update_dir_chksum()
529 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_ext_entry() argument
540 ep = exfat_get_dentry(sb, p_dir, entry, &bh, &sector); in exfat_init_ext_entry()
548 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh, &sector); in exfat_init_ext_entry()
558 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, &sector); in exfat_init_ext_entry()
568 exfat_update_dir_chksum(inode, p_dir, entry); in exfat_init_ext_entry()
572 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir, in exfat_remove_entries() argument
582 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, &sector); in exfat_remove_entries()
628 struct exfat_chain *p_dir, unsigned int byte_offset, in exfat_walk_fat_chain() argument
636 cur_clu = p_dir->dir; in exfat_walk_fat_chain()
638 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) { in exfat_walk_fat_chain()
647 p_dir->dir, in exfat_walk_fat_chain()
659 int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, in exfat_find_location() argument
668 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu); in exfat_find_location()
720 struct exfat_chain *p_dir, int entry, struct buffer_head **bh, in exfat_get_dentry() argument
727 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry()
732 if (exfat_find_location(sb, p_dir, entry, &sec, &off)) in exfat_get_dentry()
735 if (p_dir->dir != EXFAT_FREE_CLUSTER && in exfat_get_dentry()
824 struct exfat_chain *p_dir, int entry, unsigned int type) in exfat_get_dentry_set() argument
836 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry_set()
842 ret = exfat_walk_fat_chain(sb, p_dir, byte_offset, &clu); in exfat_get_dentry_set()
880 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) in exfat_get_dentry_set()
927 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, in exfat_find_dir_entry() argument
942 exfat_chain_dup(&clu, p_dir); in exfat_find_dir_entry()
1100 clu.dir = p_dir->dir; in exfat_find_dir_entry()
1108 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1128 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1139 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, in exfat_count_ext_entries() argument
1148 ext_ep = exfat_get_dentry(sb, p_dir, entry, &bh, NULL); in exfat_count_ext_entries()
1162 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) in exfat_count_dir_entries() argument
1174 exfat_chain_dup(&clu, p_dir); in exfat_count_dir_entries()