Lines Matching refs:sinfo
464 int name_len, struct fat_slot_info *sinfo) in fat_search_long() argument
528 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long()
529 sinfo->nr_slots = nr_slots; in fat_search_long()
530 sinfo->de = de; in fat_search_long()
531 sinfo->bh = bh; in fat_search_long()
532 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long()
952 struct fat_slot_info *sinfo) in fat_scan() argument
956 sinfo->slot_off = 0; in fat_scan()
957 sinfo->bh = NULL; in fat_scan()
958 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, in fat_scan()
959 &sinfo->de) >= 0) { in fat_scan()
960 if (!strncmp(sinfo->de->name, name, MSDOS_NAME)) { in fat_scan()
961 sinfo->slot_off -= sizeof(*sinfo->de); in fat_scan()
962 sinfo->nr_slots = 1; in fat_scan()
963 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan()
976 struct fat_slot_info *sinfo) in fat_scan_logstart() argument
980 sinfo->slot_off = 0; in fat_scan_logstart()
981 sinfo->bh = NULL; in fat_scan_logstart()
982 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, in fat_scan_logstart()
983 &sinfo->de) >= 0) { in fat_scan_logstart()
984 if (fat_get_start(MSDOS_SB(sb), sinfo->de) == i_logstart) { in fat_scan_logstart()
985 sinfo->slot_off -= sizeof(*sinfo->de); in fat_scan_logstart()
986 sinfo->nr_slots = 1; in fat_scan_logstart()
987 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_scan_logstart()
1029 int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo) in fat_remove_entries() argument
1040 nr_slots = sinfo->nr_slots; in fat_remove_entries()
1041 de = sinfo->de; in fat_remove_entries()
1042 sinfo->de = NULL; in fat_remove_entries()
1043 bh = sinfo->bh; in fat_remove_entries()
1044 sinfo->bh = NULL; in fat_remove_entries()
1064 err = __fat_remove_entries(dir, sinfo->slot_off, nr_slots); in fat_remove_entries()
1282 struct fat_slot_info *sinfo) in fat_add_entries() argument
1291 sinfo->nr_slots = nr_slots; in fat_add_entries()
1395 sinfo->slot_off = pos; in fat_add_entries()
1396 sinfo->de = de; in fat_add_entries()
1397 sinfo->bh = bh; in fat_add_entries()
1398 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_add_entries()