Lines Matching refs:partition_t
156 typedef struct partition_t { struct
183 } partition_t; typedef
185 partition_t *myparts[MAX_MTD_DEVICES];
190 void ftl_freepart(partition_t *part);
261 static int scan_header(partition_t *part) in scan_header()
301 static int build_maps(partition_t *part) in build_maps()
436 static int erase_xfer(partition_t *part, in erase_xfer()
478 partition_t *part; in ftl_erase_callback()
483 part = (partition_t *)(erase->priv); in ftl_erase_callback()
507 static int prepare_xfer(partition_t *part, int i) in prepare_xfer()
565 static int copy_erase_unit(partition_t *part, u_int16_t srcunit, in copy_erase_unit()
707 static int reclaim_block(partition_t *part) in reclaim_block()
815 static void dump_lists(partition_t *part) in dump_lists()
827 static u_int32_t find_free(partition_t *part) in find_free()
890 partition_t *partition; in ftl_open()
931 partition_t *part = myparts[minor >> 4]; in ftl_close()
959 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read()
1005 static int set_bam_entry(partition_t *part, u_int32_t log_addr, in set_bam_entry()
1073 static int ftl_write(partition_t *part, caddr_t buffer, in ftl_write()
1165 partition_t *part= myparts[minor >> 4]; in ftl_ioctl()
1224 partition_t *part = myparts[minor >> 4]; in ftl_reread_partitions()
1269 partition_t *part; in do_ftl_request()
1315 void ftl_freepart(partition_t *part) in ftl_freepart()
1342 partition_t *partition; in ftl_notify_add()
1354 partition = kmalloc(sizeof(partition_t), GFP_KERNEL); in ftl_notify_add()
1362 memset(partition, 0, sizeof(partition_t)); in ftl_notify_add()