Lines Matching refs:pentry
47 * @pentry: Flash partition entries belonging to this ptable
54 struct smem_flash_pentry pentry[SMEM_FLASH_PTABLE_MAX_PARTS_V4];
63 struct smem_flash_pentry *pentry;
121 pentry = &ptable->pentry[i];
122 if (pentry->name[0] != '\0')
131 pentry = &ptable->pentry[i];
132 if (pentry->name[0] == '\0')
135 name = kstrdup(pentry->name, GFP_KERNEL);
146 parts[j].offset = le32_to_cpu(pentry->offset) * mtd->erasesize;
147 parts[j].mask_flags = pentry->attr;
148 parts[j].size = le32_to_cpu(pentry->length) * mtd->erasesize;
150 i, pentry->name, le32_to_cpu(pentry->offset),
151 le32_to_cpu(pentry->length), pentry->attr);