Searched refs:NFTLrecord (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/include/linux/mtd/ |
D | nftl.h | 34 struct NFTLrecord { struct 56 int NFTL_mount(struct NFTLrecord *s); argument 57 int NFTL_formatblock(struct NFTLrecord *s, int block);
|
/linux-3.4.99/drivers/mtd/ |
D | nftlcore.c | 50 struct NFTLrecord *nftl; in nftl_add_mtd() 61 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL); in nftl_add_mtd() 124 struct NFTLrecord *nftl = (void *)dev; in nftl_remove_dev() 203 static u16 NFTL_findfreeblock(struct NFTLrecord *nftl, int desperate ) in NFTL_findfreeblock() 244 static u16 NFTL_foldchain (struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) in NFTL_foldchain() 483 static u16 NFTL_makefreeblock( struct NFTLrecord *nftl , unsigned pendingblock) in NFTL_makefreeblock() 535 static inline u16 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) in NFTL_findwriteunit() 690 struct NFTLrecord *nftl = (void *)mbd; in nftl_writeblock() 717 struct NFTLrecord *nftl = (void *)mbd; in nftl_readblock() 782 struct NFTLrecord *nftl = (void *)dev; in nftl_getgeo()
|
D | nftlmount.c | 38 static int find_boot_record(struct NFTLrecord *nftl) in find_boot_record() 269 static int check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, in check_free_sectors() 303 int NFTL_formatblock(struct NFTLrecord *nftl, int block) in NFTL_formatblock() 372 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() 426 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() 458 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() 491 static int check_and_mark_free_block(struct NFTLrecord *nftl, int block) in check_and_mark_free_block() 552 static int get_fold_mark(struct NFTLrecord *nftl, unsigned int block) in get_fold_mark() 565 int NFTL_mount(struct NFTLrecord *s) in NFTL_mount()
|