Searched refs:lastUnit (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/uapi/mtd/
H A Dinftl-user.h65 __u32 lastUnit; member in struct:INFTLPartition
/linux-4.1.27/drivers/mtd/
H A Dinftlmount.c193 ip->lastUnit = le32_to_cpu(ip->lastUnit); find_boot_record()
201 " lastUnit = %d\n" find_boot_record()
205 ip->lastUnit, ip->flags, find_boot_record()
224 if ((ip->lastUnit - ip->firstUnit + 1) < ip->virtualUnits) { find_boot_record()
227 " firstUnit %d : lastUnit %d > " find_boot_record()
228 "virtualUnits %d\n", i, ip->lastUnit, find_boot_record()
271 inftl->lastEUN = ip->lastUnit; find_boot_record()
272 inftl->nb_blocks = ip->lastUnit + 1; find_boot_record()
/linux-4.1.27/drivers/mtd/nand/
H A Ddiskonchip.c1221 le32_to_cpus(&ip->lastUnit); inftl_partscan()
1229 " lastUnit = %d\n" inftl_partscan()
1233 ip->lastUnit, ip->flags, inftl_partscan()
1249 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; inftl_partscan()
1251 if (ip->lastUnit > lastvunit) inftl_partscan()
1252 lastvunit = ip->lastUnit; inftl_partscan()

Completed in 75 milliseconds