Home
last modified time | relevance | path

Searched refs:part_cur (Results 1 – 1 of 1) sorted by relevance

/drivers/mtd/maps/
Dvmu-flash.c508 struct vmupart *part_cur; in vmu_queryblocks() local
521 part_cur = &card->parts[card->partition]; in vmu_queryblocks()
522 part_cur->user_blocks = card->tempA; in vmu_queryblocks()
523 part_cur->root_block = card->tempB; in vmu_queryblocks()
524 part_cur->numblocks = card->tempB + 1; in vmu_queryblocks()
525 part_cur->name = kmalloc(12, GFP_KERNEL); in vmu_queryblocks()
526 if (!part_cur->name) in vmu_queryblocks()
529 sprintf(part_cur->name, "vmu%d.%d.%d", in vmu_queryblocks()
532 mtd_cur->name = part_cur->name; in vmu_queryblocks()
535 mtd_cur->size = part_cur->numblocks * card->blocklen; in vmu_queryblocks()
[all …]