Lines Matching defs:block
12 This driver implements a disk-like block device driver with an
13 apparent block size of 512 bytes for flash memory cards.
418 Copy_erase_unit() takes a full erase block and a transfer unit,
419 copies everything to the transfer unit, then swaps the block
423 target unit, so the virtual block map does not need to be
443 pr_debug("ftl_cs: copying block 0x%x to 0x%x\n",
546 /* Now, the cache should be valid for the new block */
556 schedules an erase on the expired block.
630 pr_debug("ftl_cs: recycling freshest block...\n");
666 Find_free() searches for a free block. If necessary, it updates
667 the BAM cache for the erase unit containing the free block. It
668 returns the block index -- the erase unit is just the currently
670 is never a valid data block because it contains the header.
724 /* Find a free block */
736 pr_debug("ftl_cs: found free block at %d in %d\n", blk, eun);
892 /* Grab a free block */
902 /* Tag the BAM entry, and write the new block */
914 printk(KERN_NOTICE "ftl_cs: block write failed!\n");
958 unsigned long block, char *buf)
960 return ftl_read((void *)dev, buf, block, 1);
964 unsigned long block, char *buf)
966 return ftl_write((void *)dev, buf, block, 1);