Home
last modified time | relevance | path

Searched refs:nftl (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
Dnftlcore.c37 struct NFTLrecord *nftl; in nftl_add_mtd() local
48 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL); in nftl_add_mtd()
50 if (!nftl) in nftl_add_mtd()
53 nftl->mbd.mtd = mtd; in nftl_add_mtd()
54 nftl->mbd.devnum = -1; in nftl_add_mtd()
56 nftl->mbd.tr = tr; in nftl_add_mtd()
58 if (NFTL_mount(nftl) < 0) { in nftl_add_mtd()
60 kfree(nftl); in nftl_add_mtd()
67 nftl->cylinders = 1024; in nftl_add_mtd()
68 nftl->heads = 16; in nftl_add_mtd()
[all …]
Dnftlmount.c25 static int find_boot_record(struct NFTLrecord *nftl) in find_boot_record() argument
31 struct NFTLMediaHeader *mh = &nftl->MediaHdr; in find_boot_record()
32 struct mtd_info *mtd = nftl->mbd.mtd; in find_boot_record()
41 nftl->EraseSize = nftl->mbd.mtd->erasesize; in find_boot_record()
42 nftl->nb_blocks = (u32)nftl->mbd.mtd->size / nftl->EraseSize; in find_boot_record()
44 nftl->MediaUnit = BLOCK_NIL; in find_boot_record()
45 nftl->SpareMediaUnit = BLOCK_NIL; in find_boot_record()
48 for (block = 0; block < nftl->nb_blocks; block++) { in find_boot_record()
53 ret = mtd_read(mtd, block * nftl->EraseSize, SECTORSIZE, in find_boot_record()
62 block * nftl->EraseSize, nftl->mbd.mtd->index, ret); in find_boot_record()
[all …]
DMakefile17 obj-$(CONFIG_NFTL) += nftl.o
26 nftl-objs := nftlcore.o nftlmount.o
/kernel/linux/linux-5.10/include/linux/mtd/
Dinftl.h12 #error This is a kernel header. Perhaps include nftl-user.h instead?
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch31153 nftl-objs := nftlcore.o nftlmount.o
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch322104 nftl-objs := nftlcore.o nftlmount.o