Searched refs:shmTime (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/ntp/util/
H A Dsht.c25 struct shmTime { struct
47 static struct shmTime *
53 int shmid=shmget (0x4e545030+unit, sizeof (struct shmTime), IPC_CREAT|0777);
59 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0);
81 psec, sizeof (struct shmTime),buf);
84 0, sizeof (struct shmTime),buf);
97 struct shmTime *p=(struct shmTime *) MapViewOfFile (shmid,
98 FILE_MAP_WRITE, 0, 0, sizeof (struct shmTime));
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_shm.c4 * To add new modes: Extend or union the shmTime-struct. Do not
87 struct shmTime { struct
111 struct shmTime *shm; /* pointer to shared memory segment */
126 static struct shmTime*
132 struct shmTime *p = NULL;
142 shmid=shmget(0x4e545030 + unit, sizeof (struct shmTime),
148 p = (struct shmTime *)shmat (shmid, 0, 0);
149 if (p == (struct shmTime *)-1) { /* error */
186 0, sizeof (struct shmTime), buf);
194 p = (struct shmTime *)MapViewOfFil
[all...]

Completed in 164 milliseconds