Lines Matching defs:pentry
58 #define UPDATE_SLOT(pentry, guid, slot_state) ({ \
59 memcpy(pentry, guid, TYPE_GUID_SIZE); \
61 *(pentry + AB_FLAG_OFFSET) = AB_SLOT_ACTIVE_VAL; \
63 *(pentry + AB_FLAG_OFFSET) = (*(pentry + AB_FLAG_OFFSET)& \
93 uint8_t *pentry = NULL;
107 pentry = gpt_disk_get_pentry(disk, partname, PRIMARY_GPT);
108 if (!pentry) {
109 ALOGE("%s: pentry does not exist in disk struct",
113 attr = pentry + AB_FLAG_OFFSET;
139 uint8_t *pentry = NULL;
204 pentry = gpt_disk_get_pentry(disk, partName, PRIMARY_GPT);
206 if (!pentry || !pentry_bak) {
207 ALOGE("%s: Failed to get pentry/pentry_bak for %s",
212 attr = pentry + AB_FLAG_OFFSET;