Home
last modified time | relevance | path

Searched refs:inftl (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
H A Dinftlcore.c22 #include <linux/mtd/inftl.h>
37 struct INFTLrecord *inftl; in inftl_add_mtd() local
55 inftl = kzalloc(sizeof(*inftl), GFP_KERNEL); in inftl_add_mtd()
57 if (!inftl) in inftl_add_mtd()
60 inftl->mbd.mtd = mtd; in inftl_add_mtd()
61 inftl->mbd.devnum = -1; in inftl_add_mtd()
63 inftl->mbd.tr = tr; in inftl_add_mtd()
65 if (INFTL_mount(inftl) < 0) { in inftl_add_mtd()
67 kfree(inftl); in inftl_add_mtd()
119 struct INFTLrecord *inftl = (void *)dev; inftl_remove_dev() local
198 INFTL_findfreeblock(struct INFTLrecord *inftl, int desperate) INFTL_findfreeblock() argument
236 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned pendingblock) INFTL_foldchain() argument
395 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock) INFTL_makefreeblock() argument
460 INFTL_findwriteunit(struct INFTLrecord *inftl, unsigned block) INFTL_findwriteunit() argument
625 INFTL_trydeletechain(struct INFTLrecord *inftl, unsigned thisVUC) INFTL_trydeletechain() argument
745 INFTL_deleteblock(struct INFTLrecord *inftl, unsigned block) INFTL_deleteblock() argument
807 struct INFTLrecord *inftl = (void *)mbd; inftl_writeblock() local
855 struct INFTLrecord *inftl = (void *)mbd; inftl_readblock() local
918 struct INFTLrecord *inftl = (void *)dev; inftl_getgeo() local
[all...]
H A Dinftlmount.c22 #include <linux/mtd/inftl.h>
31 static int find_boot_record(struct INFTLrecord *inftl) in find_boot_record() argument
37 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record()
38 struct mtd_info *mtd = inftl->mbd.mtd; in find_boot_record()
42 pr_debug("INFTL: find_boot_record(inftl=%p)\n", inftl); in find_boot_record()
49 inftl->EraseSize = inftl->mbd.mtd->erasesize; in find_boot_record()
50 inftl->nb_blocks = (u32)inftl in find_boot_record()
323 check_free_sectors(struct INFTLrecord *inftl, unsigned int address, int len, int check_oob) check_free_sectors() argument
368 INFTL_formatblock(struct INFTLrecord *inftl, int block) INFTL_formatblock() argument
434 format_chain(struct INFTLrecord *inftl, unsigned int first_block) format_chain() argument
[all...]
H A DMakefile18 obj-$(CONFIG_INFTL) += inftl.o
27 inftl-objs := inftlcore.o inftlmount.o
/kernel/linux/linux-6.6/drivers/mtd/
H A Dinftlcore.c22 #include <linux/mtd/inftl.h>
37 struct INFTLrecord *inftl; in inftl_add_mtd() local
55 inftl = kzalloc(sizeof(*inftl), GFP_KERNEL); in inftl_add_mtd()
57 if (!inftl) in inftl_add_mtd()
60 inftl->mbd.mtd = mtd; in inftl_add_mtd()
61 inftl->mbd.devnum = -1; in inftl_add_mtd()
63 inftl->mbd.tr = tr; in inftl_add_mtd()
65 if (INFTL_mount(inftl) < 0) { in inftl_add_mtd()
67 kfree(inftl); in inftl_add_mtd()
119 struct INFTLrecord *inftl = (void *)dev; inftl_remove_dev() local
198 INFTL_findfreeblock(struct INFTLrecord *inftl, int desperate) INFTL_findfreeblock() argument
236 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned pendingblock) INFTL_foldchain() argument
395 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock) INFTL_makefreeblock() argument
460 INFTL_findwriteunit(struct INFTLrecord *inftl, unsigned block) INFTL_findwriteunit() argument
625 INFTL_trydeletechain(struct INFTLrecord *inftl, unsigned thisVUC) INFTL_trydeletechain() argument
745 INFTL_deleteblock(struct INFTLrecord *inftl, unsigned block) INFTL_deleteblock() argument
807 struct INFTLrecord *inftl = (void *)mbd; inftl_writeblock() local
855 struct INFTLrecord *inftl = (void *)mbd; inftl_readblock() local
918 struct INFTLrecord *inftl = (void *)dev; inftl_getgeo() local
[all...]
H A Dinftlmount.c22 #include <linux/mtd/inftl.h>
31 static int find_boot_record(struct INFTLrecord *inftl) in find_boot_record() argument
37 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record()
38 struct mtd_info *mtd = inftl->mbd.mtd; in find_boot_record()
42 pr_debug("INFTL: find_boot_record(inftl=%p)\n", inftl); in find_boot_record()
49 inftl->EraseSize = inftl->mbd.mtd->erasesize; in find_boot_record()
50 inftl->nb_blocks = (u32)inftl in find_boot_record()
316 check_free_sectors(struct INFTLrecord *inftl, unsigned int address, int len, int check_oob) check_free_sectors() argument
361 INFTL_formatblock(struct INFTLrecord *inftl, int block) INFTL_formatblock() argument
427 format_chain(struct INFTLrecord *inftl, unsigned int first_block) format_chain() argument
[all...]
H A DMakefile18 obj-$(CONFIG_INFTL) += inftl.o
27 inftl-objs := inftlcore.o inftlmount.o
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dinftl.h3 * inftl.h -- defines to support the Inverse NAND Flash Translation Layer
19 #include <mtd/inftl-user.h>
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dinftl.h3 * inftl.h -- defines to support the Inverse NAND Flash Translation Layer
19 #include <mtd/inftl-user.h>
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Ddiskonchip.c32 #include <linux/mtd/inftl.h>
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Ddiskonchip.c32 #include <linux/mtd/inftl.h>

Completed in 8 milliseconds