Lines Matching refs:slots
243 unsigned char id, slot, slots, alias_checksum;
253 slots = 0;
258 slots = id & ~0x40;
259 if (slots > 20 || !slots) /* ceil(256 * 2 / 26) */
261 *nr_slots = slots;
264 slot = slots;
302 * value is the total amount of slots, including the shortname entry.
603 * of unicode buffer. (13 * slots + nul) */
976 * Second stage: remove the remaining longname slots.
983 "FAT: Couldn't remove the long name slots\n");
1071 /* filling the new directory slots ("." and ".." entries) */
1110 static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots,
1123 * size is 32*slots (672bytes). So, iff the cluster size is
1152 memcpy(bhs[n]->b_data, slots, copy);
1153 slots += copy;
1190 int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
1195 struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */
1245 * NOTE: If this slots has shortname, first, we write
1246 * the long name slots, then write the short name.
1252 /* Fill the long name slots. */
1255 memcpy(bhs[i]->b_data + offset, slots, copy);
1258 slots += copy;
1266 memcpy(bhs[i]->b_data + offset, slots, copy);
1285 cluster = fat_add_new_entries(dir, slots, nr_slots, &nr_cluster,