/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | nftlcore.c | 25 #include <linux/mtd/nftl.h> 37 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 in nftl_add_mtd() 111 struct NFTLrecord *nftl = (void *)dev; nftl_remove_dev() local 190 NFTL_findfreeblock(struct NFTLrecord *nftl, int desperate ) NFTL_findfreeblock() argument 231 NFTL_foldchain(struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) NFTL_foldchain() argument 522 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) NFTL_findwriteunit() argument 677 struct NFTLrecord *nftl = (void *)mbd; nftl_writeblock() local 704 struct NFTLrecord *nftl = (void *)mbd; nftl_readblock() local 769 struct NFTLrecord *nftl = (void *)dev; nftl_getgeo() local [all...] |
H A D | nftlmount.c | 16 #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) 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() 40 nftl->EraseSize if there were any point in doing so. */ in find_boot_record() 41 nftl->EraseSize = nftl->mbd.mtd->erasesize; in find_boot_record() 42 nftl->nb_blocks = (u32)nftl in find_boot_record() 262 check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, int check_oob) check_free_sectors() argument 305 NFTL_formatblock(struct NFTLrecord *nftl, int block) NFTL_formatblock() argument 372 check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) check_sectors_in_chain() argument 426 calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) calc_chain_length() argument 458 format_chain(struct NFTLrecord *nftl, unsigned int first_block) format_chain() argument 491 check_and_mark_free_block(struct NFTLrecord *nftl, int block) check_and_mark_free_block() argument 552 get_fold_mark(struct NFTLrecord *nftl, unsigned int block) get_fold_mark() argument [all...] |
H A D | Makefile | 17 obj-$(CONFIG_NFTL) += nftl.o 26 nftl-objs := nftlcore.o nftlmount.o
|
H A D | inftlmount.c | 21 #include <linux/mtd/nftl.h>
|
H A D | inftlcore.c | 21 #include <linux/mtd/nftl.h>
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | nftlcore.c | 25 #include <linux/mtd/nftl.h> 37 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 in nftl_add_mtd() 111 struct NFTLrecord *nftl = (void *)dev; nftl_remove_dev() local 190 NFTL_findfreeblock(struct NFTLrecord *nftl, int desperate ) NFTL_findfreeblock() argument 231 NFTL_foldchain(struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) NFTL_foldchain() argument 522 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) NFTL_findwriteunit() argument 676 struct NFTLrecord *nftl = (void *)mbd; nftl_writeblock() local 703 struct NFTLrecord *nftl = (void *)mbd; nftl_readblock() local 768 struct NFTLrecord *nftl = (void *)dev; nftl_getgeo() local [all...] |
H A D | nftlmount.c | 16 #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) 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() 40 nftl->EraseSize if there were any point in doing so. */ in find_boot_record() 41 nftl->EraseSize = nftl->mbd.mtd->erasesize; in find_boot_record() 42 nftl->nb_blocks = (u32)nftl in find_boot_record() 259 check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, int check_oob) check_free_sectors() argument 302 NFTL_formatblock(struct NFTLrecord *nftl, int block) NFTL_formatblock() argument 369 check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) check_sectors_in_chain() argument 423 calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) calc_chain_length() argument 455 format_chain(struct NFTLrecord *nftl, unsigned int first_block) format_chain() argument 488 check_and_mark_free_block(struct NFTLrecord *nftl, int block) check_and_mark_free_block() argument 549 get_fold_mark(struct NFTLrecord *nftl, unsigned int block) get_fold_mark() argument [all...] |
H A D | Makefile | 17 obj-$(CONFIG_NFTL) += nftl.o 26 nftl-objs := nftlcore.o nftlmount.o
|
H A D | inftlmount.c | 21 #include <linux/mtd/nftl.h>
|
H A D | inftlcore.c | 21 #include <linux/mtd/nftl.h>
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | inftl.h | 12 #error This is a kernel header. Perhaps include nftl-user.h instead? 17 #include <linux/mtd/nftl.h>
|
H A D | nftl.h | 12 #include <mtd/nftl-user.h>
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | inftl.h | 12 #error This is a kernel header. Perhaps include nftl-user.h instead? 17 #include <linux/mtd/nftl.h>
|
H A D | nftl.h | 12 #include <mtd/nftl-user.h>
|