Home
last modified time | relevance | path

Searched refs:up (Results 1 – 25 of 1650) sorted by relevance

12345678910>>...66

/freebsd/contrib/ntp/ntpd/
H A Drefclock_irig.c116 * x40 Codec error (overrun). The machine is not fast enough to keep up
130 * probably chew up too much CPU time anyway.
292 irig_start, /* start up driver */
312 struct irigunit *up; in irig_start() local
335 up = emalloc_zero(sizeof(*up)); in irig_start()
344 free(up); in irig_start()
347 pp->unitptr = up; in irig_start()
355 up->tc = MINTC; in irig_start()
356 up in irig_start()
388 struct irigunit *up; irig_shutdown() local
412 struct irigunit *up; irig_receive() local
512 struct irigunit *up; irig_rf() local
591 struct irigunit *up; irig_base() local
750 struct irigunit *up; irig_baud() local
839 struct irigunit *up; irig_decode() local
1018 struct irigunit *up; irig_gain() local
[all...]
H A Drefclock_chu.c467 struct chuunit *up; in chu_start() local
513 up = emalloc_zero(sizeof(*up)); in chu_start()
515 pp->unitptr = up; in chu_start()
523 free(up); in chu_start()
533 strlcpy(up->ident, "CHU", sizeof(up->ident)); in chu_start()
534 memcpy(&pp->refid, up->ident, 4); in chu_start()
535 DTOLFP(CHAR, &up->charstamp); in chu_start()
543 up->fd_audio = fd_audio; in chu_start()
544 up->gain = 127; in chu_start()
545 up->comp[0] = up->comp[OFFSET] = 0.; in chu_start()
[all …]
H A Drefclock_jjy.c88 /* Code clean up ( Remove unreachable codes ) in */
100 /* [Change] Split the start up routine into each JJY receivers. */
177 /* Set up by the function "jjy_start_xxxxxxxx" */
366 jjy_start, /* start up driver */
376 * Start up driver return code
441 #define DEBUG_PRINTF_JJY_RECEIVE(sFunc,iLen) { if ( debug ) { printf ( "refclock_jjy.c : %s : iProcessState=%d bLineError=%d iCommandSeq=%d iLineCount=%d iTimestampCount=%d iLen=%d\n", sFunc, up->iProcessState, up->bLineError, up->iCommandSeq, up->iLineCount, up
454 struct jjyunit *up ; jjy_start() local
577 struct jjyunit *up; jjy_shutdown() local
606 struct jjyunit *up ; jjy_receive() local
851 getRawDataBreakPosition(struct jjyunit * up,int iStart) getRawDataBreakPosition() argument
900 struct jjyunit *up; jjy_poll() local
985 struct jjyunit *up ; jjy_timer() local
1022 jjy_synctime(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) jjy_synctime() argument
1157 jjy_start_tristate_jjy01(int unit,struct peer * peer,struct jjyunit * up) jjy_start_tristate_jjy01() argument
1178 struct jjyunit *up ; jjy_receive_tristate_jjy01() local
1413 struct jjyunit *up ; jjy_poll_tristate_jjy01() local
1480 jjy_start_cdex_jst2000(int unit,struct peer * peer,struct jjyunit * up) jjy_start_cdex_jst2000() argument
1504 struct jjyunit *up ; jjy_receive_cdex_jst2000() local
1591 struct jjyunit *up ; jjy_poll_cdex_jst2000() local
1646 jjy_start_echokeisokuki_lt2000(int unit,struct peer * peer,struct jjyunit * up) jjy_start_echokeisokuki_lt2000() argument
1667 struct jjyunit *up ; jjy_receive_echokeisokuki_lt2000() local
1812 struct jjyunit *up ; jjy_poll_echokeisokuki_lt2000() local
1861 jjy_start_citizentic_jjy200(int unit,struct peer * peer,struct jjyunit * up) jjy_start_citizentic_jjy200() argument
1880 struct jjyunit *up ; jjy_receive_citizentic_jjy200() local
1974 struct jjyunit *up ; jjy_poll_citizentic_jjy200() local
2042 jjy_start_tristate_gpsclock01(int unit,struct peer * peer,struct jjyunit * up) jjy_start_tristate_gpsclock01() argument
2064 struct jjyunit *up ; jjy_receive_tristate_gpsclock01() local
2296 struct jjyunit *up ; jjy_poll_tristate_gpsclock01() local
2363 jjy_start_seiko_tsys_tdc_300(int unit,struct peer * peer,struct jjyunit * up) jjy_start_seiko_tsys_tdc_300() argument
2389 struct jjyunit *up ; jjy_receive_seiko_tsys_tdc_300() local
2554 struct jjyunit *up ; jjy_poll_seiko_tsys_tdc_300() local
2737 jjy_start_telephone(int unit,struct peer * peer,struct jjyunit * up) jjy_start_telephone() argument
2857 struct jjyunit *up ; jjy_receive_telephone() local
2921 struct jjyunit *up ; jjy_poll_telephone() local
2949 struct jjyunit *up ; jjy_timer_telephone() local
2997 teljjy_control(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_control() argument
3047 teljjy_setDelay(struct peer * peer,struct jjyunit * up) teljjy_setDelay() argument
3082 teljjy_getDelay(struct peer * peer,struct jjyunit * up) teljjy_getDelay() argument
3170 teljjy_idle_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_idle_ignore() argument
3181 teljjy_idle_dialout(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_idle_dialout() argument
3194 teljjy_dial_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_dial_ignore() argument
3205 teljjy_dial_login(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_dial_login() argument
3216 teljjy_dial_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_dial_disc() argument
3227 teljjy_login_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_ignore() argument
3238 teljjy_login_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_disc() argument
3249 teljjy_login_conn(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_conn() argument
3270 teljjy_login_login(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_login() argument
3295 teljjy_login_silent(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_silent() argument
3314 teljjy_login_error(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_login_error() argument
3325 teljjy_conn_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_ignore() argument
3336 teljjy_conn_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_disc() argument
3347 teljjy_conn_send(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_send() argument
3444 teljjy_conn_data(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_data() argument
3595 teljjy_conn_silent(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_silent() argument
3633 teljjy_conn_error(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_conn_error() argument
3644 teljjy_bye_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_bye_ignore() argument
3655 teljjy_bye_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_bye_disc() argument
3666 teljjy_bye_modem(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) teljjy_bye_modem() argument
3811 getModemState(struct jjyunit * up) getModemState() argument
3835 isModemStateTimerOn(struct jjyunit * up) isModemStateTimerOn() argument
3846 struct jjyunit *up; modem_connect() local
3865 struct jjyunit *up; modem_disconnect() local
3885 struct jjyunit *up; modem_receive() local
3942 struct jjyunit *up ; modem_timer() local
3970 modem_control(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_control() argument
4009 modem_disc_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_disc_ignore() argument
4020 modem_disc_init(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_disc_init() argument
4031 modem_init_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_init_ignore() argument
4042 modem_init_start(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_init_start() argument
4061 modem_init_resp00(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_init_resp00() argument
4169 modem_init_resp04(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_init_resp04() argument
4180 modem_init_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_init_disc() argument
4196 modem_dial_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_dial_ignore() argument
4207 modem_dial_dialout(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_dial_dialout() argument
4242 modem_dial_escape(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_dial_escape() argument
4258 modem_dial_connect(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_dial_connect() argument
4269 modem_dial_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_dial_disc() argument
4287 modem_conn_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_conn_ignore() argument
4298 modem_conn_escape(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_conn_escape() argument
4309 modem_esc_ignore(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_esc_ignore() argument
4320 modem_esc_escape(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_esc_escape() argument
4345 modem_esc_data(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_esc_data() argument
4358 modem_esc_silent(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_esc_silent() argument
4386 modem_esc_disc(struct peer * peer,struct refclockproc * pp,struct jjyunit * up) modem_esc_disc() argument
[all...]
H A Drefclock_gpsdjson.c372 static int syslogok(clockprocT * const pp, gpsd_unitT * const up);
418 gpsd_unitT * const up) in syslogok() argument
421 || (0 == up->logthrottle ) in syslogok()
422 || (LOGTHROTTLE == up->logthrottle ); in syslogok()
424 up->logthrottle = LOGTHROTTLE; in syslogok()
504 gpsd_unitT * up; in gpsd_start() local
516 while ((up = *uscan) != NULL && up->unit != (unit & 0x7F)) in gpsd_start()
517 uscan = &up->next_unit; in gpsd_start()
518 if (up == NULL) { in gpsd_start()
520 up = emalloc_zero(sizeof(*up)); in gpsd_start()
[all …]
H A Drefclock_wwv.c244 * offsets vary up to 0.3 ms due to ionosperhic layer height variations.
509 * WWV unit control structure (up)
616 wwv_start, /* start up driver */
636 struct wwvunit *up; in wwv_start() local
662 up = emalloc_zero(sizeof(*up)); in wwv_start()
670 free(up); in wwv_start()
673 pp->unitptr = up; in wwv_start()
685 up->comp[0] = up in wwv_start()
761 struct wwvunit *up; wwv_shutdown() local
792 struct wwvunit *up; wwv_receive() local
880 struct wwvunit *up; wwv_poll() local
928 struct wwvunit *up; wwv_rf() local
1302 struct wwvunit *up; wwv_qrz() local
1389 struct wwvunit *up; wwv_endpoc() local
1619 struct wwvunit *up; wwv_epoch() local
1755 struct wwvunit *up; wwv_rsec() local
2054 struct wwvunit *up; wwv_clock() local
2124 struct wwvunit *up; wwv_corr4() local
2220 struct wwvunit *up; wwv_tsec() local
2400 struct wwvunit *up; wwv_newchan() local
2493 struct wwvunit *up; wwv_newgame() local
2574 struct wwvunit *up; wwv_qsy() local
2617 timecode(struct wwvunit * up,char * tc,size_t tcsiz) timecode() argument
2681 struct wwvunit *up; wwv_gain() local
[all...]
H A Drefclock_jupiter.c160 jupiter_start, /* start up driver */
179 struct instance * up; in jupiter_start() local
195 up = emalloc_zero(sizeof(*up)); in jupiter_start()
196 up->peer = peer; in jupiter_start()
204 free(up); in jupiter_start()
207 pp->unitptr = up; in jupiter_start()
216 up->assert = 1; in jupiter_start()
217 up->hardpps = 0; in jupiter_start()
222 if (time_pps_create(fd, &up in jupiter_start()
250 struct instance * const up = pp->unitptr; jupiter_shutdown() local
269 jupiter_config(struct instance * const up) jupiter_config() argument
313 jupiter_checkpps(struct refclockproc * const pp,struct instance * const up) jupiter_checkpps() argument
348 struct instance * const up = pp->unitptr; jupiter_ticker() local
371 jupiter_ppsapi(struct instance * const up) jupiter_ppsapi() argument
429 jupiter_pps(struct instance * const up) jupiter_pps() argument
475 struct instance * const up = pp->unitptr; jupiter_poll() local
507 struct instance * const up = pp->unitptr; jupiter_control() local
534 struct instance * const up = pp->unitptr; jupiter_receive() local
658 jupiter_parse_t(struct instance * const up,u_short * sp,l_fp rcvtime) jupiter_parse_t() argument
725 jupiter_parse_gpos(struct instance * const up,u_short * sp) jupiter_parse_gpos() argument
796 jupiter_send(struct instance * const up,struct jheader * hp) jupiter_send() argument
840 jupiter_reqmsg(struct instance * const up,u_int id,u_int interval) jupiter_reqmsg() argument
867 jupiter_canmsg(struct instance * const up,u_int id) jupiter_canmsg() argument
889 jupiter_reqonemsg(struct instance * const up,u_int id) jupiter_reqonemsg() argument
915 jupiter_platform(struct instance * const up,u_int platform) jupiter_platform() argument
947 jupiter_recv(struct instance * const up) jupiter_recv() argument
[all...]
H A Drefclock_mx4200.c191 mx4200_start, /* start up driver */
211 register struct mx4200unit *up; in mx4200_start() local
227 up = emalloc_zero(sizeof(*up)); in mx4200_start()
236 free(up); in mx4200_start()
239 pp->unitptr = up; in mx4200_start()
262 register struct mx4200unit *up; in mx4200_shutdown() local
266 up = pp->unitptr; in mx4200_shutdown()
269 if (NULL != up) in mx4200_shutdown()
270 free(up); in mx4200_shutdown()
284 register struct mx4200unit *up; mx4200_config() local
482 register struct mx4200unit *up; mx4200_ref() local
603 register struct mx4200unit *up; mx4200_poll() local
664 register struct mx4200unit *up; mx4200_receive() local
952 struct mx4200unit *up; mx4200_parse_t() local
1234 struct mx4200unit *up; mx4200_parse_p() local
1455 struct mx4200unit *up; mx4200_parse_s() local
1499 struct mx4200unit *up; mx4200_pps() local
1563 struct mx4200unit *up; mx4200_debug() local
1597 struct mx4200unit *up; global() local
[all...]
H A Drefclock_palisade.c101 palisade_start, /* start up driver */
302 struct palisade_unit *up; in palisade_start() local
342 up = emalloc_zero(sizeof(*up)); in palisade_start()
344 up->type = CLK_TYPE(peer); in palisade_start()
345 switch (up->type) { in palisade_start()
391 free(up); in palisade_start()
406 free(up); in palisade_start()
413 pp->unitptr = up; in palisade_start()
422 up in palisade_start()
447 struct palisade_unit *up; palisade_shutdown() local
549 struct palisade_unit *up; TSIP_decode() local
1137 struct palisade_unit *up; palisade_receive() local
1205 struct palisade_unit *up; palisade_poll() local
1253 struct palisade_unit *up; praecis_parse() local
1309 struct palisade_unit *up; palisade_io() local
1416 struct palisade_unit *up; HW_poll() local
[all...]
H A Drefclock_as2201.c141 as2201_start, /* start up driver */
160 register struct as2201unit *up; in as2201_start() local
176 up = emalloc_zero(sizeof(*up)); in as2201_start()
185 free(up); in as2201_start()
188 pp->unitptr = up; in as2201_start()
196 up->lastptr = up->stats; in as2201_start()
197 up->index = 0; in as2201_start()
211 register struct as2201unit *up; in as2201_shutdown() local
231 register struct as2201unit *up; as2201_receive() local
[all...]
H A Drefclock_acts.c124 * call it up and retrieve the time in one of two formats. As this
168 * &D2 hang up and return to command mode on DTR transition
229 acts_start, /* start up driver */
247 struct actsunit *up; in acts_start() local
254 up = emalloc_zero(sizeof(struct actsunit)); in acts_start()
255 up->unit = unit; in acts_start()
257 pp->unitptr = up; in acts_start()
270 up->bufptr = up->buf; in acts_start()
290 struct actsunit *up; in acts_shutdown() local
311 struct actsunit *up; acts_receive() local
360 struct actsunit *up; acts_message() local
460 struct actsunit *up; acts_timeout() local
593 struct actsunit *up; acts_close() local
634 struct actsunit *up; acts_poll() local
688 struct actsunit *up; acts_timer() local
720 struct actsunit *up; acts_timecode() local
[all...]
H A Drefclock_true.c199 true_start, /* start up driver */
219 struct true_unit *up; in true_debug() local
223 up = pp->unitptr; in true_debug()
226 now_debugging = (up->debug != NULL); in true_debug()
234 "/tmp/true%d.debug", up->unit); in true_debug()
237 if (fd >= 0 && (up->debug = fdopen(fd, "w"))) { in true_debug()
241 setvbuf(up->debug, buf, _IOLBF, BUFSIZ); in true_debug()
243 setlinebuf(up->debug); in true_debug()
247 fclose(up->debug); in true_debug()
248 up in true_debug()
269 register struct true_unit *up; true_start() local
331 register struct true_unit *up; true_shutdown() local
351 register struct true_unit *up; true_receive() local
654 struct true_unit *up; true_doevent() local
927 struct true_unit *up; true_poll() local
[all...]
H A Drefclock_neoclock4x.c151 neoclock4x_start, /* start up driver */
164 struct neoclock4x_unit *up; in neoclock4x_start() local
286 up = (struct neoclock4x_unit *) emalloc(sizeof(struct neoclock4x_unit)); in neoclock4x_start()
287 if(!(up)) in neoclock4x_start()
294 memset((char *)up, 0, sizeof(struct neoclock4x_unit)); in neoclock4x_start()
297 pp->unitptr = up; in neoclock4x_start()
317 up->leap_status = 0; in neoclock4x_start()
318 up->unit = unit; in neoclock4x_start()
319 strlcpy(up->firmware, "?", sizeof(up in neoclock4x_start()
394 struct neoclock4x_unit *up; neoclock4x_shutdown() local
446 struct neoclock4x_unit *up; neoclock4x_receive() local
662 struct neoclock4x_unit *up; neoclock4x_poll() local
678 struct neoclock4x_unit *up; neoclock4x_control() local
[all...]
H A Drefclock_wwvb.c164 wwvb_start, /* start up driver */
183 register struct wwvbunit *up; in wwvb_start() local
199 up = emalloc_zero(sizeof(*up)); in wwvb_start()
208 free(up); in wwvb_start()
211 pp->unitptr = up; in wwvb_start()
233 struct wwvbunit * up; in wwvb_shutdown() local
236 up = pp->unitptr; in wwvb_shutdown()
239 if (NULL != up) in wwvb_shutdown()
240 free(up); in wwvb_shutdown()
252 struct wwvbunit *up; wwvb_receive() local
455 register struct wwvbunit *up; wwvb_timer() local
502 register struct wwvbunit *up; wwvb_poll() local
565 register struct wwvbunit *up; wwvb_control() local
[all...]
H A Drefclock_arbiter.c132 arb_start, /* start up driver */
151 register struct arbunit *up; in arb_start() local
167 up = emalloc_zero(sizeof(*up)); in arb_start()
176 free(up); in arb_start()
179 pp->unitptr = up; in arb_start()
191 free(up); in arb_start()
211 register struct arbunit *up; in arb_shutdown() local
215 up = pp->unitptr; in arb_shutdown()
218 if (NULL != up) in arb_shutdown()
231 register struct arbunit *up; arb_receive() local
440 register struct arbunit *up; arb_poll() local
[all...]
H A Drefclock_hpgps.c137 hpgps_start, /* start up driver */
156 register struct hpgpsunit *up; in hpgps_start() local
180 up = emalloc_zero(sizeof(*up)); in hpgps_start()
189 free(up); in hpgps_start()
192 pp->unitptr = up; in hpgps_start()
200 up->tzhour = 0; in hpgps_start()
201 up->tzminute = 0; in hpgps_start()
203 *up->statscrn = '\0'; in hpgps_start()
204 up in hpgps_start()
228 register struct hpgpsunit *up; hpgps_shutdown() local
248 register struct hpgpsunit *up; hpgps_receive() local
602 register struct hpgpsunit *up; hpgps_poll() local
[all...]
H A Drefclock_nmea.c333 nmea_start, /* start up driver */
348 * must be in a state that permits 'nmea_shutdown()' to clean up all
359 nmea_unit * const up = emalloc_zero(sizeof(*up)); in nmea_start() local
395 pp->unitptr = (caddr_t)up; in nmea_start()
401 memset(&up->last_reftime, 0xFF, sizeof(up->last_reftime)); in nmea_start()
402 memset(&up->last_gpsdate, 0x00, sizeof(up->last_gpsdate)); in nmea_start()
404 up in nmea_start()
448 nmea_unit * const up = (nmea_unit *)pp->unitptr; nmea_shutdown() local
481 nmea_unit * const up = (nmea_unit *)pp->unitptr; nmea_control() local
578 nmea_unit * const up = (nmea_unit *)pp->unitptr; nmea_timer() local
631 nmea_unit * const up = (nmea_unit*)pp->unitptr; nmea_procrec() local
1034 nmea_unit * const up = (nmea_unit*)pp->unitptr; nmea_receive() local
1093 nmea_unit * const up = (nmea_unit *)pp->unitptr; nmea_poll() local
[all...]
H A Drefclock_shm.c222 struct shmunit * const up = emalloc_zero(sizeof(*up)); in shm_start() local
229 up->forall = (unit >= 2) && !(peer->ttl & SHM_MODE_PRIVATE); in shm_start()
231 up->shm = getShmTime(unit, up->forall); in shm_start()
237 if (up->shm != 0) { in shm_start()
238 pp->unitptr = up; in shm_start()
239 up->shm->precision = PRECISION; in shm_start()
240 peer->precision = up->shm->precision; in shm_start()
241 up->shm->valid = 0; in shm_start()
242 up->shm->nsamples = NSAMPLES; in shm_start()
245 up->max_delay = 5; in shm_start()
[all …]
H A Drefclock_chronolog.c79 chronolog_start, /* start up driver */
98 register struct chronolog_unit *up; in chronolog_start() local
119 up = emalloc_zero(sizeof(*up)); in chronolog_start()
121 pp->unitptr = up; in chronolog_start()
129 free(up); in chronolog_start()
153 register struct chronolog_unit *up; in chronolog_shutdown() local
157 up = pp->unitptr; in chronolog_shutdown()
160 if (NULL != up) in chronolog_shutdown()
161 free(up); in chronolog_shutdown()
173 struct chronolog_unit *up; chronolog_receive() local
[all...]
H A Drefclock_arc.c217 discard up to half the results in the filter. It looks like maybe
230 MSF---thus we should never end up syncing to completely the wrong
266 * Add very slow auto-adjustment up to a value of +/- time2 to correct
553 arc_start, /* start up driver */
562 /* Queue us up for the next tick. */
563 #define ENQUEUE(up) \ argument
568 /* Placeholder event handler---does nothing safely---soaks up loose tick. */
596 register struct arcunit *up = pp->unitptr; in arc_event_handler() local
603 c = up->cmdqueue[0]; /* Next char to be sent. */ in arc_event_handler()
606 { up in arc_event_handler()
630 register struct arcunit *up; arc_start() local
780 register struct arcunit *up; arc_shutdown() local
798 space_left(register struct arcunit * up) space_left() argument
817 send_slow(register struct arcunit * up,int fd,const char * s) send_slow() argument
873 register struct arcunit *up; arc_receive() local
1465 register struct arcunit *up = pp->unitptr; request_time() local
1491 register struct arcunit *up; arc_poll() local
[all...]
H A Drefclock_dumbclock.c82 dumbclock_start, /* start up driver */
101 register struct dumbclock_unit *up; in dumbclock_start() local
124 up = emalloc_zero(sizeof(*up)); in dumbclock_start()
126 pp->unitptr = up; in dumbclock_start()
134 free(up); in dumbclock_start()
147 up->ymd = *tm_time_p; in dumbclock_start()
170 register struct dumbclock_unit *up; in dumbclock_shutdown() local
174 up = pp->unitptr; in dumbclock_shutdown()
177 if (NULL != up) in dumbclock_shutdown()
190 struct dumbclock_unit *up; dumbclock_receive() local
[all...]
/freebsd/sys/dev/usb/
H A Dusb_process.c90 struct usb_process *up = arg; in usb_process() local
100 sched_prio(td, up->up_prio); in usb_process()
103 USB_MTX_LOCK(up->up_mtx); in usb_process()
105 up->up_curtd = td; in usb_process()
108 if (up->up_gone) in usb_process()
154 pm = TAILQ_FIRST(&up->up_qhead); in usb_process()
162 if (pm == TAILQ_FIRST(&up->up_qhead)) { in usb_process()
164 TAILQ_REMOVE(&up->up_qhead, pm, pm_qentry); in usb_process()
172 if (up->up_dsleep) { in usb_process()
173 up->up_dsleep = 0; in usb_process()
[all …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_uar.c82 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local
84 list_del(&up->list); in up_rel_func()
85 iounmap(up->map); in up_rel_func()
86 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func()
87 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); in up_rel_func()
88 bitmap_free(up->reg_bitmap); in up_rel_func()
89 bitmap_free(up->fp_bitmap); in up_rel_func()
90 kfree(up); in up_rel_func()
96 struct mlx5_uars_page *up; in alloc_uars_page() local
103 up = kzalloc(sizeof(*up), GFP_KERNEL); in alloc_uars_page()
[all …]
/freebsd/sys/kern/
H A Dsubr_unit.c202 is_bitmap(struct unrhdr *uh, struct unr *up) in is_bitmap() argument
204 return (up->ptr != uh && up->ptr != NULL); in is_bitmap()
253 struct unr *up; in next_iter_unrl() local
263 up = TAILQ_FIRST(&uh->head); in next_iter_unrl()
264 if (up == NULL) { in next_iter_unrl()
268 iter->upos = up; in next_iter_unrl()
269 if (up->ptr == NULL) in next_iter_unrl()
278 up = iter->upos; in next_iter_unrl()
281 if (up == NULL) { in next_iter_unrl()
286 up = iter->upos = TAILQ_FIRST(&uh->head); in next_iter_unrl()
[all …]
/freebsd/contrib/sendmail/src/
H A Dudb.c136 register struct udbent *up; local
185 for (up = UdbEnts; !breakout; up++)
214 switch (up->udb_type)
224 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR);
229 (errno = (*up->udb_dbp->cursor)(up->udb_dbp,
232 (errno = (*up->udb_dbp->cursor)(up->udb_dbp,
308 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_NEXT);
366 i = (*up->udb_dbp->get)(up->udb_dbp, &key, &info, 0);
368 i = errno = (*up->udb_dbp->get)(up->udb_dbp, NULL,
516 i = strlen(up->udb_fwdhost) + strlen(a->q_user) + 1;
[all …]
/freebsd/tests/sys/mac/ipacl/
H A Dipacl_test.sh57 jexec A ifconfig ${epairA}b 192.0.2.2/24 up
59 jexec A ifconfig ${epairA}b 203.0.113.254/24 up
67 jexec A ifconfig ${epairA}b 192.0.2.2/24 up
69 jexec A ifconfig ${epairA}b 203.0.113.254/24 up
79 jexec A ifconfig ${epairA}b 192.0.2.42/24 up
81 jexec A ifconfig ${epairA}b 192.0.2.43/24 up
83 jexec B ifconfig ${epairB}b 198.51.100.12/24 up
85 jexec B ifconfig ${epairC}b 198.51.100.12/24 up
89 jexec B ifconfig ${epairB}b 203.0.113.19/24 up
91 jexec B ifconfig ${epairB}b 203.0.113.241/24 up
[all …]

12345678910>>...66