Searched refs:FF_MAX_SS (Results 1 – 6 of 6) sorted by relevance
19 #if FF_MAX_SS == FF_MIN_SS in test_contiguous_file()20 clsz = (DWORD)fp->obj.fs->csize * FF_MAX_SS; /* Cluster size */ in test_contiguous_file()
86 #if FF_MAX_SS != FF_MIN_SS in test_diskio()99 sz_sect = FF_MAX_SS; in test_diskio()298 DWORD buff[FF_MAX_SS]; /* Working buffer (4 sector in size) */ in main()
257 #define FF_MAX_SS 4096 macro259 #define FF_MAX_SS FS_MAX_SS macro
17 #define FF_MEMBOX_ALLOC_SIZE (FF_MAX_SS * FF_MEM_BLOCK_NUM + FF_MEMBOX_HEAD_SIZE)63 (VOID)LOS_MemboxInit(g_ffMemBoxArray, FF_MEMBOX_ALLOC_SIZE, FF_MAX_SS); in ff_memalloc()
166 #if (FF_MAX_SS == FF_MIN_SS)167 #define SS(fs) ((UINT)FF_MAX_SS) /* Fixed sector size */225 #if FF_MAX_SS != FF_MIN_SS
184 #if (FF_MAX_SS < FF_MIN_SS) || (FF_MAX_SS != 512 && FF_MAX_SS != 1024 && FF_MAX_SS != 2048 && FF_MA…2693 if ((w & (w - 1)) == 0 && w >= FF_MIN_SS && w <= FF_MAX_SS) { /* Properness of sector size */ in check_fs()2828 #if FF_MAX_SS != FF_MIN_SS /* Get sector size (multiple sector size cfg only) */ in mount_volume()2830 if (SS(fs) > FF_MAX_SS || SS(fs) < FF_MIN_SS || (SS(fs) & (SS(fs) - 1))) return FR_DISK_ERR; in mount_volume()5545 mem_set(buf, 0, FF_MAX_SS); /* Clear MBR */5629 #if FF_MAX_SS != FF_MIN_SS5631 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;5633 ss = FF_MAX_SS;6005 #if FF_MAX_SS != FF_MIN_SS6007 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;[all …]