Searched refs:nftl (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/mtd/
H A Dnftlcore.c25 #include <linux/mtd/nftl.h>
37 struct NFTLrecord *nftl; local
48 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);
50 if (!nftl)
53 nftl->mbd.mtd = mtd;
54 nftl->mbd.devnum = -1;
56 nftl->mbd.tr = tr;
58 if (NFTL_mount(nftl) < 0) {
60 kfree(nftl);
67 nftl
111 struct NFTLrecord *nftl = (void *)dev; local
190 NFTL_findfreeblock(struct NFTLrecord *nftl, int desperate ) argument
231 NFTL_foldchain(struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) argument
522 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) argument
676 struct NFTLrecord *nftl = (void *)mbd; local
703 struct NFTLrecord *nftl = (void *)mbd; local
768 struct NFTLrecord *nftl = (void *)dev; local
[all...]
H A Dnftlmount.c16 #include <linux/mtd/nftl.h>
23 * is used for management of Erase Unit in other routines in nftl.c and nftlmount.c
25 static int find_boot_record(struct NFTLrecord *nftl) argument
31 struct NFTLMediaHeader *mh = &nftl->MediaHdr;
32 struct mtd_info *mtd = nftl->mbd.mtd;
40 nftl->EraseSize if there were any point in doing so. */
41 nftl->EraseSize = nftl->mbd.mtd->erasesize;
42 nftl->nb_blocks = (u32)nftl
259 check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, int check_oob) argument
302 NFTL_formatblock(struct NFTLrecord *nftl, int block) argument
369 check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) argument
423 calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) argument
455 format_chain(struct NFTLrecord *nftl, unsigned int first_block) argument
488 check_and_mark_free_block(struct NFTLrecord *nftl, int block) argument
549 get_fold_mark(struct NFTLrecord *nftl, unsigned int block) argument
[all...]
H A DMakefile17 obj-$(CONFIG_NFTL) += nftl.o
26 nftl-objs := nftlcore.o nftlmount.o
H A Dinftlmount.c21 #include <linux/mtd/nftl.h>
H A Dinftlcore.c21 #include <linux/mtd/nftl.h>
/linux-master/include/linux/mtd/
H A Dinftl.h12 #error This is a kernel header. Perhaps include nftl-user.h instead?
17 #include <linux/mtd/nftl.h>
H A Dnftl.h12 #include <mtd/nftl-user.h>

Completed in 110 milliseconds