Lines Matching refs:size
24 * Maximum buffer size of short name.
30 * Maximum buffer size of unicode chars from slots.
31 * [(max longname slots * 13 (size in a slot) + nul) * sizeof(wchar_t)]
182 unsigned char *buf, int size)
187 UTF16_HOST_ENDIAN, buf, size);
189 return uni16_to_x8(sb, buf, uni, size, sbi->nls_io);
517 int size = PATH_MAX - FAT_MAX_UNI_SIZE;
520 len = fat_uni_to_x8(sb, unicode, longname, size);
626 int size = PATH_MAX - FAT_MAX_UNI_SIZE;
627 int len = fat_uni_to_x8(sb, unicode, longname, size);
1179 de[0].size = de[1].size = 0;
1206 unsigned long size, copy;
1210 * The minimum cluster size is 512bytes, and maximum entry
1211 * size is 32*slots (672bytes). So, iff the cluster size is
1214 size = nr_slots * sizeof(struct msdos_dir_entry);
1215 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits;
1239 copy = min(size, sb->s_blocksize);
1247 size -= copy;
1248 if (!size)
1299 /* check the maximum size of directory */
1339 int size = free_slots * sizeof(*de);
1345 int copy = min_t(int, sb->s_blocksize - offset, size);
1350 size -= copy;
1356 int copy = min_t(int, sb->s_blocksize - offset, size);
1388 fat_fs_error(sb, "Odd directory size");