Home
last modified time | relevance | path

Searched refs:FF_MAX_SS (Results 1 – 6 of 6) 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.c86 #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()
/third_party/FatFs/source/
Dffconf.h257 #define FF_MAX_SS 4096 macro
259 #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.h166 #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
Dff.c184 #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_SS
5631 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_SS
6007 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
[all …]