Searched refs:SECTORSIZE (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ |
D | nftlmount.c | 18 #define SECTORSIZE 512 macro 30 u8 buf[SECTORSIZE]; in find_boot_record() 53 ret = mtd_read(mtd, block * nftl->EraseSize, SECTORSIZE, in find_boot_record() 57 if (retlen != SECTORSIZE) { in find_boot_record() 80 SECTORSIZE + 8, 8, &retlen, in find_boot_record() 100 ret = mtd->read(mtd, block * nftl->EraseSize, SECTORSIZE, in find_boot_record() 179 nftl->mbd.size = nftl->numvunits * (nftl->EraseSize / SECTORSIZE); in find_boot_record() 220 if ((i & (SECTORSIZE - 1)) == 0) { in find_boot_record() 224 SECTORSIZE, SECTORSIZE, in find_boot_record() 235 if (buf[i & (SECTORSIZE - 1)] != 0xff) in find_boot_record() [all …]
|
D | inftlcore.c | 267 for (block = 0; block < inftl->EraseSize/SECTORSIZE; block ++) { in INFTL_foldchain() 273 + (block * SECTORSIZE), 16, &retlen, in INFTL_foldchain() 313 for (block = 0; block < inftl->EraseSize/SECTORSIZE ; block++) { in INFTL_foldchain() 314 unsigned char movebuf[SECTORSIZE]; in INFTL_foldchain() 322 (thisVUC * (inftl->EraseSize / SECTORSIZE) + block))) { in INFTL_foldchain() 334 (inftl->EraseSize * BlockMap[block]) + (block * SECTORSIZE), in INFTL_foldchain() 335 SECTORSIZE, in INFTL_foldchain() 340 (inftl->EraseSize * BlockMap[block]) + (block * SECTORSIZE), in INFTL_foldchain() 341 SECTORSIZE, in INFTL_foldchain() 351 (block * SECTORSIZE), SECTORSIZE, &retlen, in INFTL_foldchain() [all …]
|
D | inftlmount.c | 36 u8 buf[SECTORSIZE]; in find_boot_record() 62 ret = mtd_read(mtd, block * inftl->EraseSize, SECTORSIZE, in find_boot_record() 66 if (retlen != SECTORSIZE) { in find_boot_record() 89 block * inftl->EraseSize + SECTORSIZE + 8, in find_boot_record() 107 mtd_read(mtd, block * inftl->EraseSize + 4096, SECTORSIZE, in find_boot_record() 109 if (retlen != SECTORSIZE) { in find_boot_record() 249 (inftl->EraseSize / SECTORSIZE); in find_boot_record() 331 buf = kmalloc(SECTORSIZE + mtd->oobsize, GFP_KERNEL); in check_free_sectors() 336 for (i = 0; i < len; i += SECTORSIZE) { in check_free_sectors() 337 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/mtd/ |
D | inftl-user.h | 24 #define SECTORSIZE 512 macro
|
/kernel/linux/linux-5.10/include/uapi/mtd/ |
D | inftl-user.h | 15 #define SECTORSIZE 512 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/mtd/ |
D | inftl-user.h | 11 #define SECTORSIZE 512 macro
|