Lines Matching refs:partition_t
110 typedef struct partition_t { struct
131 } partition_t; argument
151 static int scan_header(partition_t *part) in scan_header()
192 static int build_maps(partition_t *part) in build_maps()
328 static int erase_xfer(partition_t *part, in erase_xfer()
370 static int prepare_xfer(partition_t *part, int i) in prepare_xfer()
428 static int copy_erase_unit(partition_t *part, uint16_t srcunit, in copy_erase_unit()
568 static int reclaim_block(partition_t *part) in reclaim_block()
675 static void dump_lists(partition_t *part) in dump_lists()
687 static uint32_t find_free(partition_t *part) in find_free()
748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read()
794 static int set_bam_entry(partition_t *part, uint32_t log_addr, in set_bam_entry()
862 static int ftl_write(partition_t *part, caddr_t buffer, in ftl_write()
944 partition_t *part = container_of(dev, struct partition_t, mbd); in ftl_getgeo()
972 partition_t *part = container_of(dev, struct partition_t, mbd); in ftl_discardsect()
994 static void ftl_freepart(partition_t *part) in ftl_freepart()
1008 partition_t *partition; in ftl_add_mtd()
1010 partition = kzalloc(sizeof(partition_t), GFP_KERNEL); in ftl_add_mtd()
1042 ftl_freepart((partition_t *)dev); in ftl_remove_dev()