Searched refs:msgmap (Results 1 – 4 of 4) sorted by relevance
49 static char *msgmap = MAP_FAILED;98 if (msgmap != MAP_FAILED)99 munmap(msgmap, msgmapsz);100 msgmap = MAP_FAILED;107 msgmap = mmap(0, msgmapsz, PROT_READ, MAP_SHARED, fd, 0);109 if (msgmap == MAP_FAILED)112 if (strcmp(msgmap, "MSGTXTS") != 0) {116 msgmapcount = atoi(msgmap + 8);129 if (msgmap != MAP_FAILED && m != 0 && m <= msgmapcount) {130 unsigned int offset = atoi(msgmap + 8 + 8 * m);[all …]
80 static struct msgmap *msgmaps; /* MSGSEG msgmap structures */124 ALIGN(msginfo.msgseg * sizeof(struct msgmap)) + in msginit()136 ALIGN(msginfo.msgseg * sizeof(struct msgmap))); in msginit()193 ALIGN(msginfo.msgseg * sizeof(struct msgmap)) + in msgfini()211 struct msgmap *new_msgmaps; in msgrealloc()225 ALIGN(newmsgseg * sizeof(struct msgmap)) + in msgrealloc()272 ALIGN(newmsgseg * sizeof(struct msgmap))); in msgrealloc()388 ALIGN(msginfo.msgseg * sizeof(struct msgmap)) + in msgrealloc()
167 struct msgmap { struct
46 int msgmap; in version() member