Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/util/
H A Dsht.c25 struct shmTime { struct
47 static struct shmTime * argument
53 int shmid=shmget (0x4e545030+unit, sizeof (struct shmTime), IPC_CREAT|0777); in getShmTime()
59 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
81 psec, sizeof (struct shmTime),buf); in getShmTime()
84 0, sizeof (struct shmTime),buf); in getShmTime()
97 struct shmTime *p=(struct shmTime *) MapViewOfFile (shmid, in getShmTime()
98 FILE_MAP_WRITE, 0, 0, sizeof (struct shmTime)); in getShmTime()
119 volatile struct shmTime *p; in main()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_shm.c87 struct shmTime { struct
111 struct shmTime *shm; /* pointer to shared memory segment */ argument
126 static struct shmTime*
132 struct shmTime *p = NULL; in getShmTime()
142 shmid=shmget(0x4e545030 + unit, sizeof (struct shmTime), in getShmTime()
148 p = (struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
149 if (p == (struct shmTime *)-1) { /* error */ in getShmTime()
186 0, sizeof (struct shmTime), buf); in getShmTime()
194 p = (struct shmTime *)MapViewOfFile(shmid, FILE_MAP_WRITE, 0, 0, in getShmTime()
195 sizeof (struct shmTime)); in getShmTime()
[all …]