Home
last modified time | relevance | path

Searched refs:FF_MAX_SS (Results 1 – 7 of 7) sorted by relevance

/third_party/FatFs/documents/res/
Dapp5.c19 #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()
Dapp4.c53 if (sz_buff < FF_MAX_SS + 8) { in test_diskio()
86 #if FF_MAX_SS != FF_MIN_SS in test_diskio()
99 sz_sect = FF_MAX_SS; in test_diskio()
302 DWORD buff[FF_MAX_SS]; /* Working buffer (4 sector in size) */ in main()
Dapp6.c23 #if FF_MIN_SS != FF_MAX_SS in test_raw_speed()
29 ss = FF_MAX_SS; in test_raw_speed()
/third_party/FatFs/source/
Dffconf.h249 #define FF_MAX_SS 4096 macro
251 #define FF_MAX_SS FS_MAX_SS macro
Dffsystem.c17 #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()
Dff.h165 #if (FF_MAX_SS == FF_MIN_SS)
166 #define SS(fs) ((UINT)FF_MAX_SS) /* Fixed sector size */
224 #if FF_MAX_SS != FF_MIN_SS
Dff.c186 #if (FF_MAX_SS < FF_MIN_SS) || (FF_MAX_SS != 512 && FF_MAX_SS != 1024 && FF_MAX_SS != 2048 && FF_MA…
2718 if ((w & (w - 1)) == 0 && w >= FF_MIN_SS && w <= FF_MAX_SS) { /* Properness of sector size */ in check_fs()
2854 #if FF_MAX_SS != FF_MIN_SS /* Get sector size (multiple sector size cfg only) */ in mount_volume()
2856 if (SS(fs) > FF_MAX_SS || SS(fs) < FF_MIN_SS || (SS(fs) & (SS(fs) - 1))) return FR_DISK_ERR; in mount_volume()
5574 mem_set(buf, 0, FF_MAX_SS); /* Clear MBR */
5662 #if FF_MAX_SS != FF_MIN_SS
5664 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
5666 ss = FF_MAX_SS;
6039 #if FF_MAX_SS != FF_MIN_SS
6041 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
[all …]