Searched refs:tpg (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10/gpt-12/
H A Drecover.c57 map_t *gpt, *tpg; local
67 tpg = map_find(MAP_TYPE_SEC_GPT_HDR);
71 if (gpt == NULL && tpg == NULL) {
108 if (gpt != NULL && tpg == NULL) {
109 tpg = map_add(last, 1LL, MAP_TYPE_SEC_GPT_HDR,
111 if (tpg == NULL) {
116 memcpy(tpg->map_data, gpt->map_data, secsz);
117 hdr = tpg->map_data;
118 hdr->hdr_lba_self = htole64(tpg->map_start);
123 gpt_write(fd, tpg);
[all...]
H A Dremove.c62 map_t *gpt, *tpg; local
76 tpg = map_find(MAP_TYPE_SEC_GPT_HDR);
77 if (tpg == NULL) {
122 hdr = tpg->map_data;
135 gpt_write(fd, tpg);
H A Dcreate.c59 map_t *gpt, *tpg; local
195 tpg = map_add(last, 1LL, MAP_TYPE_SEC_GPT_HDR,
199 memcpy(tpg->map_data, gpt->map_data, secsz);
200 hdr = tpg->map_data;
201 hdr->hdr_lba_self = htole64(tpg->map_start);
207 gpt_write(fd, tpg);
H A Dmigrate.c151 map_t *gpt, *tpg; local
221 tpg = map_add(last, 1LL, MAP_TYPE_SEC_GPT_HDR, calloc(1, secsz));
232 hdr->hdr_lba_alt = htole64(tpg->map_start);
302 memcpy(tpg->map_data, gpt->map_data, secsz);
303 hdr = tpg->map_data;
304 hdr->hdr_lba_self = htole64(tpg->map_start);
311 gpt_write(fd, tpg);
H A Dadd.c60 map_t *gpt, *tpg; local
75 tpg = map_find(MAP_TYPE_SEC_GPT_HDR);
76 if (tpg == NULL) {
144 hdr = tpg->map_data;
158 gpt_write(fd, tpg);
H A Dlabel.c64 map_t *gpt, *tpg; local
78 tpg = map_find(MAP_TYPE_SEC_GPT_HDR);
79 if (tpg == NULL) {
124 hdr = tpg->map_data;
137 gpt_write(fd, tpg);
/macosx-10.10/gssd-64/
H A Dgssd_util.c478 pid_t tpg; local
486 tpg = tcgetpgrp(ttyfd);
491 if (tpg == -1)
494 return (tpg == getpgid(getpid()));

Completed in 118 milliseconds