Lines Matching refs:sinfo
119 struct fat_slot_info *sinfo) in msdos_find() argument
129 err = fat_scan(dir, msdos_name, sinfo); in msdos_find()
132 if (!(sinfo->de->attr & ATTR_HIDDEN)) in msdos_find()
135 if (sinfo->de->attr & ATTR_HIDDEN) in msdos_find()
139 brelse(sinfo->bh); in msdos_find()
204 struct fat_slot_info sinfo; in msdos_lookup() local
209 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup()
215 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_lookup()
216 brelse(sinfo.bh); in msdos_lookup()
228 struct timespec64 *ts, struct fat_slot_info *sinfo) in msdos_add_entry() argument
249 err = fat_add_entries(dir, &de, 1, sinfo); in msdos_add_entry()
268 struct fat_slot_info sinfo; in msdos_create() local
281 if (!fat_scan(dir, msdos_name, &sinfo)) { in msdos_create()
282 brelse(sinfo.bh); in msdos_create()
288 err = msdos_add_entry(dir, msdos_name, 0, is_hid, 0, &ts, &sinfo); in msdos_create()
291 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_create()
292 brelse(sinfo.bh); in msdos_create()
313 struct fat_slot_info sinfo; in msdos_rmdir() local
320 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_rmdir()
324 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ in msdos_rmdir()
344 struct fat_slot_info sinfo; in msdos_mkdir() local
358 if (!fat_scan(dir, msdos_name, &sinfo)) { in msdos_mkdir()
359 brelse(sinfo.bh); in msdos_mkdir()
370 err = msdos_add_entry(dir, msdos_name, 1, is_hid, cluster, &ts, &sinfo); in msdos_mkdir()
375 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_mkdir()
376 brelse(sinfo.bh); in msdos_mkdir()
404 struct fat_slot_info sinfo; in msdos_unlink() local
408 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_unlink()
412 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ in msdos_unlink()
434 struct fat_slot_info old_sinfo, sinfo; in do_msdos_rename() local
439 old_sinfo.bh = sinfo.bh = dotdot_bh = NULL; in do_msdos_rename()
459 err = fat_scan(new_dir, new_name, &sinfo); in do_msdos_rename()
463 if (sinfo.de != old_sinfo.de) { in do_msdos_rename()
503 &ts, &sinfo); in do_msdos_rename()
506 new_i_pos = sinfo.i_pos; in do_msdos_rename()
554 brelse(sinfo.bh); in do_msdos_rename()
581 int err2 = fat_remove_entries(new_dir, &sinfo); in do_msdos_rename()
584 sinfo.bh = NULL; in do_msdos_rename()
589 __func__, sinfo.i_pos); in do_msdos_rename()