Lines Matching refs:sinfo
224 struct fat_slot_info sinfo; in vfat_find_form() local
225 int err = fat_scan(dir, name, &sinfo); in vfat_find_form()
228 brelse(sinfo.bh); in vfat_find_form()
657 struct fat_slot_info *sinfo) in vfat_add_entry() argument
676 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry()
692 struct fat_slot_info *sinfo) in vfat_find() argument
697 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
713 struct fat_slot_info sinfo; in vfat_lookup() local
720 err = vfat_find(dir, &dentry->d_name, &sinfo); in vfat_lookup()
729 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup()
730 brelse(sinfo.bh); in vfat_lookup()
774 struct fat_slot_info sinfo; in vfat_create() local
781 err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo); in vfat_create()
786 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_create()
787 brelse(sinfo.bh); in vfat_create()
806 struct fat_slot_info sinfo; in vfat_rmdir() local
814 err = vfat_find(dir, &dentry->d_name, &sinfo); in vfat_rmdir()
818 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ in vfat_rmdir()
837 struct fat_slot_info sinfo; in vfat_unlink() local
842 err = vfat_find(dir, &dentry->d_name, &sinfo); in vfat_unlink()
846 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ in vfat_unlink()
863 struct fat_slot_info sinfo; in vfat_mkdir() local
875 err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo); in vfat_mkdir()
881 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_mkdir()
882 brelse(sinfo.bh); in vfat_mkdir()
911 struct fat_slot_info old_sinfo, sinfo; in vfat_rename() local
917 old_sinfo.bh = sinfo.bh = dotdot_bh = NULL; in vfat_rename()
945 &ts, &sinfo); in vfat_rename()
948 new_i_pos = sinfo.i_pos; in vfat_rename()
992 brelse(sinfo.bh); in vfat_rename()
1020 int err2 = fat_remove_entries(new_dir, &sinfo); in vfat_rename()
1023 sinfo.bh = NULL; in vfat_rename()
1028 __func__, sinfo.i_pos); in vfat_rename()