Home
last modified time | relevance | path

Searched refs:p_dir (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/exfat/
H A Dnamei.c202 struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, in exfat_search_empty_slot()
224 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
260 p_dir->dir, clu.dir); in exfat_search_empty_slot()
305 struct exfat_chain *p_dir, int num_entries) in exfat_find_empty_entry()
325 while ((dentry = exfat_search_empty_slot(sb, &hint_femp, p_dir, in exfat_find_empty_entry()
337 /* we trust p_dir->size regardless of FAT type */ in exfat_find_empty_entry()
338 if (exfat_find_last_cluster(sb, p_dir, &last_clu)) in exfat_find_empty_entry()
341 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
358 p_dir->dir = clu.dir; in exfat_find_empty_entry()
362 if (clu.flags != p_dir in exfat_find_empty_entry()
201 exfat_search_empty_slot(struct super_block *sb, struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, int num_entries) exfat_search_empty_slot() argument
304 exfat_find_empty_entry(struct inode *inode, struct exfat_chain *p_dir, int num_entries) exfat_find_empty_entry() argument
422 __exfat_resolve_path(struct inode *inode, const unsigned char *path, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, int lookup) __exfat_resolve_path() argument
482 exfat_add_entry(struct inode *inode, const char *path, struct exfat_chain *p_dir, unsigned int type, struct exfat_dir_entry *info) exfat_add_entry() argument
892 exfat_check_dir_empty(struct super_block *sb, struct exfat_chain *p_dir) exfat_check_dir_empty() argument
1016 exfat_rename_file(struct inode *inode, struct exfat_chain *p_dir, int oldentry, struct exfat_uni_name *p_uniname, struct exfat_inode_info *ei) exfat_rename_file() argument
1205 struct exfat_chain *p_dir = NULL; __exfat_rename() local
[all...]
H A Ddir.c32 struct exfat_chain *p_dir, int entry, unsigned short *uniname) in exfat_get_uniname_from_ext_entry()
38 es = exfat_get_dentry_set(sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
434 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
449 ep = exfat_get_dentry(sb, p_dir, entry, &bh, &sector); in exfat_init_dir_entry()
473 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh, &sector); in exfat_init_dir_entry()
486 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir, in exfat_update_dir_chksum() argument
497 fep = exfat_get_dentry(sb, p_dir, entry, &fbh, &sector); in exfat_update_dir_chksum()
505 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, NULL); in exfat_update_dir_chksum()
522 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_ext_entry() argument
533 ep = exfat_get_dentry(sb, p_dir, entr in exfat_init_ext_entry()
31 exfat_get_uniname_from_ext_entry(struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned short *uniname) exfat_get_uniname_from_ext_entry() argument
565 exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir, int entry, int order, int num_entries) exfat_remove_entries() argument
624 exfat_walk_fat_chain(struct super_block *sb, struct exfat_chain *p_dir, unsigned int byte_offset, unsigned int *clu) exfat_walk_fat_chain() argument
656 exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, int entry, sector_t *sector, int *offset) exfat_find_location() argument
716 exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh, sector_t *sector) exfat_get_dentry() argument
820 exfat_get_dentry_set(struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned int type) exfat_get_dentry_set() argument
934 exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, int num_entries, unsigned int type, struct exfat_hint *hint_opt) exfat_find_dir_entry() argument
1148 exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct exfat_dentry *ep) exfat_count_ext_entries() argument
1171 exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) exfat_count_dir_entries() argument
[all...]
H A Dexfat_fs.h408 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir,
451 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir,
454 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir,
456 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir,
458 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir,
463 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
466 int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir,
469 struct exfat_chain *p_dir, int entry, struct buffer_head **bh,
474 struct exfat_chain *p_dir, int entry, unsigned int type);
476 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir);
[all...]
/kernel/linux/linux-6.6/fs/exfat/
H A Dnamei.c212 struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, in exfat_search_empty_slot()
232 * to "p_dir->size * dentries_per_clu", it means ENOSPC. in exfat_search_empty_slot()
234 if (dentry + hint_femp->count == p_dir->size * dentries_per_clu && in exfat_search_empty_slot()
241 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
277 p_dir->dir, clu.dir); in exfat_search_empty_slot()
303 hint_femp->eidx = p_dir->size * dentries_per_clu - num_empty; in exfat_search_empty_slot()
328 struct exfat_chain *p_dir, int num_entries) in exfat_find_empty_entry()
346 while ((dentry = exfat_search_empty_slot(sb, &hint_femp, p_dir, in exfat_find_empty_entry()
358 /* we trust p_dir->size regardless of FAT type */ in exfat_find_empty_entry()
359 if (exfat_find_last_cluster(sb, p_dir, in exfat_find_empty_entry()
211 exfat_search_empty_slot(struct super_block *sb, struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, int num_entries) exfat_search_empty_slot() argument
327 exfat_find_empty_entry(struct inode *inode, struct exfat_chain *p_dir, int num_entries) exfat_find_empty_entry() argument
420 __exfat_resolve_path(struct inode *inode, const unsigned char *path, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, int lookup) __exfat_resolve_path() argument
492 exfat_add_entry(struct inode *inode, const char *path, struct exfat_chain *p_dir, unsigned int type, struct exfat_dir_entry *info) exfat_add_entry() argument
890 exfat_check_dir_empty(struct super_block *sb, struct exfat_chain *p_dir) exfat_check_dir_empty() argument
1012 exfat_rename_file(struct inode *inode, struct exfat_chain *p_dir, int oldentry, struct exfat_uni_name *p_uniname, struct exfat_inode_info *ei) exfat_rename_file() argument
1173 struct exfat_chain *p_dir = NULL; __exfat_rename() local
[all...]
H A Ddir.c33 struct exfat_chain *p_dir, int entry, unsigned short *uniname) in exfat_get_uniname_from_ext_entry()
39 err = exfat_get_dentry_set(&es, sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
449 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
463 ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_init_dir_entry()
487 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh); in exfat_init_dir_entry()
500 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir, in exfat_update_dir_chksum() argument
510 fep = exfat_get_dentry(sb, p_dir, entry, &fbh); in exfat_update_dir_chksum()
518 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_update_dir_chksum()
554 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_ext_entry() argument
564 ep = exfat_get_dentry(sb, p_dir, entr in exfat_init_ext_entry()
32 exfat_get_uniname_from_ext_entry(struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned short *uniname) exfat_get_uniname_from_ext_entry() argument
599 exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir, int entry, int order, int num_entries) exfat_remove_entries() argument
659 exfat_walk_fat_chain(struct super_block *sb, struct exfat_chain *p_dir, unsigned int byte_offset, unsigned int *clu) exfat_walk_fat_chain() argument
691 exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, int entry, sector_t *sector, int *offset) exfat_find_location() argument
751 exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh) exfat_get_dentry() argument
850 exfat_get_dentry_set(struct exfat_entry_set_cache *es, struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned int type) exfat_get_dentry_set() argument
982 exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, struct exfat_hint *hint_opt) exfat_find_dir_entry() argument
1190 exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct exfat_dentry *ep) exfat_count_ext_entries() argument
1211 exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) exfat_count_dir_entries() argument
[all...]
H A Dexfat_fs.h430 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir,
479 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir,
482 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir,
484 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir,
486 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir,
491 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
495 struct exfat_chain *p_dir, int entry, struct buffer_head **bh);
499 struct super_block *sb, struct exfat_chain *p_dir, int entry,
502 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir);

Completed in 10 milliseconds