Home
last modified time | relevance | path

Searched refs:msgmap (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/usr.bin/msgc/
H A Dmsg_sys.def49 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 …]
/netbsd-src/sys/kern/
H A Dsysv_msg.c80 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()
/netbsd-src/sys/sys/
H A Dmsg.h167 struct msgmap { struct
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dmsg.d46 int msgmap; in version() member