Searched refs:NFTLrecord (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/include/linux/mtd/ |
D | nftl.h | 20 struct NFTLrecord { struct 41 int NFTL_mount(struct NFTLrecord *s); argument 42 int NFTL_formatblock(struct NFTLrecord *s, int block);
|
/linux-6.12.1/drivers/mtd/ |
D | nftlcore.c | 37 struct NFTLrecord *nftl; in nftl_add_mtd() 48 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL); in nftl_add_mtd() 111 struct NFTLrecord *nftl = (void *)dev; in nftl_remove_dev() 190 static u16 NFTL_findfreeblock(struct NFTLrecord *nftl, int desperate ) in NFTL_findfreeblock() 231 static u16 NFTL_foldchain (struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) in NFTL_foldchain() 470 static u16 NFTL_makefreeblock( struct NFTLrecord *nftl , unsigned pendingblock) in NFTL_makefreeblock() 522 static inline u16 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) in NFTL_findwriteunit() 676 struct NFTLrecord *nftl = (void *)mbd; in nftl_writeblock() 703 struct NFTLrecord *nftl = (void *)mbd; in nftl_readblock() 768 struct NFTLrecord *nftl = (void *)dev; in nftl_getgeo()
|
D | nftlmount.c | 25 static int find_boot_record(struct NFTLrecord *nftl) in find_boot_record() 259 static int check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, in check_free_sectors() 302 int NFTL_formatblock(struct NFTLrecord *nftl, int block) in NFTL_formatblock() 369 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() 423 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() 455 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() 488 static int check_and_mark_free_block(struct NFTLrecord *nftl, int block) in check_and_mark_free_block() 549 static int get_fold_mark(struct NFTLrecord *nftl, unsigned int block) in get_fold_mark() 562 int NFTL_mount(struct NFTLrecord *s) in NFTL_mount()
|