Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 692) sorted by relevance

12345678910>>...28

/freebsd-13.1/contrib/ntp/ntpd/
H A Drefclock_ulink.c142 pp->io.fd = fd; in ulink_start()
145 pp->io.fd = -1; in ulink_start()
149 pp->unitptr = up; in ulink_start()
174 up = pp->unitptr; in ulink_shutdown()
292 char_quality, &pp->year, &pp->day, in ulink_receive()
293 &pp->hour, &syncchar, &pp->minute, &pp->second, in ulink_receive()
364 char_quality, &pp->year, &pp->day, in ulink_receive()
365 &pp->hour, &syncchar, &pp->minute, &pp->second, in ulink_receive()
425 &pp->hour, &pp->minute, &pp->second, in ulink_receive()
556 if (pp->coderecv == pp->codeproc) { in ulink_poll()
[all …]
H A Drefclock_fg.c121 pp->unitptr = up; in fg_start()
125 pp->io.fd = fd; in fg_start()
128 pp->io.fd = -1; in fg_start()
196 pp->polls++; in fg_poll()
301 if ((pp->hour == 10) && (pp->minute == 10)) { in fg_receive()
305 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in fg_receive()
306 "%d %d %d %d %d", pp->year, pp->day, pp->hour, in fg_receive()
307 pp->minute, pp->second); in fg_receive()
308 pp->lencode = strlen(pp->a_lastcode); in fg_receive()
314 pp->year, pp->day, pp->hour, pp->minute, pp->second); in fg_receive()
[all …]
H A Drefclock_hopfser.c262 (pp->minute < 0) || (pp->minute > 59) || (pp->second < 0) || in hopfserial_receive()
266 (pp->year < 0) || (pp->year > 99)) { in hopfserial_receive()
274 pp->day = ymd2yd(pp->year,month,day); in hopfserial_receive()
275 pp->leap=0; in hopfserial_receive()
286 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in hopfserial_receive()
292 pp->year, in hopfserial_receive()
293 pp->hour, in hopfserial_receive()
294 pp->minute, in hopfserial_receive()
297 pp->lencode = strlen(pp->a_lastcode); in hopfserial_receive()
331 pp->lastref = pp->lastrec; in hopfserial_receive()
[all …]
H A Drefclock_wwvb.c332 &syncchar, &pp->day, &pp->hour, &pp->minute, in wwvb_receive()
345 &syncchar, &qualchar, &pp->year, &pp->day, in wwvb_receive()
346 &pp->hour, &pp->minute, &pp->second, &pp->nsec, in wwvb_receive()
363 &syncchar, &pp->year, &month, &day, &pp->hour, in wwvb_receive()
366 pp->day = ymd2yd(pp->year, month, day); in wwvb_receive()
400 pp->lastref = pp->lastrec; in wwvb_receive()
441 if (!refclock_process_f(pp, pp->fudgetime2)) in wwvb_receive()
511 pp->polls++; in wwvb_poll()
517 if (pp->sloppyclockflag & CLK_FLAG4 && pp->hour < in wwvb_poll()
532 pp->coderecv = pp->codeproc; in wwvb_poll()
[all …]
H A Drefclock_arbiter.c178 pp->io.fd = fd; in arb_start()
345 strlcpy(pp->a_lastcode, tbuf, sizeof(pp->a_lastcode)); in arb_receive()
347 strlcat(pp->a_lastcode, up->status, sizeof(pp->a_lastcode)); in arb_receive()
348 pp->lencode = strlen(pp->a_lastcode); in arb_receive()
351 &syncchar, &pp->year, &pp->day, &pp->hour, in arb_receive()
352 &pp->minute, &pp->second) != 6) { in arb_receive()
366 pp->lastref = pp->lastrec; in arb_receive()
394 pp->disp = 1; in arb_receive()
455 pp->polls++; in arb_poll()
464 if (pp->coderecv == pp->codeproc) { in arb_poll()
[all …]
H A Drefclock_as2201.c181 pp->io.fd = fd; in as2201_start()
184 pp->io.fd = -1; in as2201_start()
188 pp->unitptr = up; in as2201_start()
215 up = pp->unitptr; in as2201_shutdown()
242 up = pp->unitptr; in as2201_receive()
247 up->linect, pp->lencode, pp->a_lastcode); in as2201_receive()
270 memcpy(up->lastptr, pp->a_lastcode, 1 + pp->lencode); in as2201_receive()
302 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->nsec) in as2201_receive()
333 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in as2201_receive()
375 pp->polls++; in as2201_poll()
[all …]
H A Drefclock_arc.c1166 || !get2(pp->a_lastcode + 1, &pp->hour) in arc_receive()
1167 || !get2(pp->a_lastcode + 3, &pp->minute) in arc_receive()
1168 || !get2(pp->a_lastcode + 5, &pp->second) in arc_receive()
1170 || !get2(pp->a_lastcode + 8, &pp->day) in arc_receive()
1192 if((pp->hour < 0) || (pp->hour > 23) || in arc_receive()
1193 (pp->minute < 0) || (pp->minute > 59) || in arc_receive()
1196 (pp->day < 1) || (pp->day > 31) || in arc_receive()
1198 (pp->year < 0) || (pp->year > 99)) { in arc_receive()
1235 pp->hour, pp->minute, pp->second, in arc_receive()
1374 pp->year,month,gmtp->tm_mday,pp->hour,pp->minute, in arc_receive()
[all …]
H A Drefclock_acts.c581 pp->lastref = pp->lastrec; in acts_timeout()
779 &mjd, &pp->year, &month, &day, &pp->hour, in acts_timecode()
785 pp->day = ymd2yd(pp->year, month, day); in acts_timecode()
803 &mjd, &pp->day, &pp->hour, &pp->minute, in acts_timecode()
825 &pp->second, &pp->year, &month, &day, &pp->hour, in acts_timecode()
838 pp->day = ymd2yd(pp->year, month, day); in acts_timecode()
849 &synchar, &pp->day, &pp->hour, &pp->minute, in acts_timecode()
866 &synchar, &qualchar, &pp->year, &pp->day, in acts_timecode()
867 &pp->hour, &pp->minute, &pp->second, &pp->nsec, in acts_timecode()
902 pp->lencode = strlen(pp->a_lastcode); in acts_timecode()
[all …]
H A Dntp_refclock.c89 if (pp->coderecv == pp->codeproc) in clk_add_sample()
91 pp->filter[pp->coderecv] = sv; in clk_add_sample()
98 if (pp->coderecv == pp->codeproc) in clk_pop_sample()
101 return pp->filter[pp->codeproc]; in clk_pop_sample()
122 if (pp->coderecv == pp->codeproc) in clk_add_sample()
124 pp->filter[pp->coderecv] = sv; in clk_add_sample()
134 return pp->filter[pp->codeproc]; in clk_pop_sample()
258 pp = emalloc_zero(sizeof(*pp)); in refclock_newpeer()
548 if (!clocktime(pp->day, pp->hour, pp->minute, pp->second, GMT, in refclock_process_f()
639 pp->jitter = max(pp->jitter, pp->fudgeminjitter); in refclock_sample()
[all …]
H A Drefclock_pst.c143 pp->io.fd = fd; in pst_start()
146 pp->io.fd = -1; in pst_start()
150 pp->unitptr = up; in pst_start()
175 up = pp->unitptr; in pst_shutdown()
206 up = pp->unitptr; in pst_receive()
219 pp->lencode = up->lastptr - pp->a_lastcode; in pst_receive()
239 &ampmchar, &pp->hour, &pp->minute, &pp->second, &pp->nsec, in pst_receive()
262 pp->lastref = pp->lastrec; in pst_receive()
297 up = pp->unitptr; in pst_poll()
302 if (pp->coderecv == pp->codeproc) { in pst_poll()
[all …]
H A Drefclock_zyfer.c156 pp->io.fd = fd; in zyfer_start()
159 pp->io.fd = -1; in zyfer_start()
163 pp->unitptr = up; in zyfer_start()
191 up = pp->unitptr; in zyfer_shutdown()
221 up = pp->unitptr; in zyfer_receive()
243 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, in zyfer_receive()
248 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length); in zyfer_receive()
250 pp->a_lastcode[pp->lencode] = '\0'; in zyfer_receive()
273 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second, in zyfer_receive()
306 refclock_process_offset(pp, tfrac, pp->lastrec, pp->fudgetime1); in zyfer_receive()
[all …]
H A Drefclock_hpgps.c185 pp->io.fd = fd; in hpgps_start()
188 pp->io.fd = -1; in hpgps_start()
278 pp->lencode, pp->a_lastcode); in hpgps_receive()
304 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in hpgps_receive()
416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, in hpgps_receive()
497 pp->hour--; in hpgps_receive()
501 pp->hour++; in hpgps_receive()
507 pp->year--; in hpgps_receive()
519 pp->year++; in hpgps_receive()
524 pp->day = day; in hpgps_receive()
[all …]
H A Drefclock_heath.c229 pp = peer->procptr; in heath_start()
233 pp->io.fd = fd; in heath_start()
236 pp->io.fd = -1; in heath_start()
287 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, in heath_receive()
304 &pp->minute, &pp->second, &dsec, a, &month, &day, in heath_receive()
316 if (sscanf(pp->a_lastcode, "%2d:%2d:%2d.%c", &pp->hour, in heath_receive()
317 &pp->minute, &pp->second, &dsec) != 4) { in heath_receive()
377 pp->day = day; in heath_receive()
433 if (pp->coderecv == pp->codeproc) { in heath_poll()
437 pp->lastref = pp->lastrec; in heath_poll()
[all …]
H A Drefclock_tpro.c95 pp->io.fd = fd; in tpro_start()
96 pp->unitptr = up; in tpro_start()
121 up = pp->unitptr; in tpro_shutdown()
154 pp->polls++; in tpro_poll()
169 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in tpro_poll()
175 pp->lencode = strlen(pp->a_lastcode); in tpro_poll()
179 ulfptoa(&pp->lastrec, 6), pp->lencode, in tpro_poll()
182 if (sscanf(pp->a_lastcode, "%3d %2d:%2d:%2d.%6ld", &pp->day, in tpro_poll()
183 &pp->hour, &pp->minute, &pp->second, &pp->nsec) in tpro_poll()
197 if (pp->coderecv == pp->codeproc) { in tpro_poll()
[all …]
H A Drefclock_true.c296 pp->io.fd = fd; in true_start()
388 strlcpy(pp->a_lastcode, rd_lastcode, sizeof(pp->a_lastcode)); in true_receive()
417 if ((pp->a_lastcode[5] == '+' || pp->a_lastcode[5] == '-') && in true_receive()
418 (pp->a_lastcode[9] == '+' || pp->a_lastcode[9] == '-') && in true_receive()
442 pp->fudgetime1 = pp->fudgetime2; in true_receive()
526 &pp->day, &pp->hour, &pp->minute, in true_receive()
551 if (!clocktime(pp->day, pp->hour, pp->minute, in true_receive()
552 pp->second, GMT, pp->lastrec.l_ui, in true_receive()
606 pp->lastref = pp->lastrec; in true_receive()
646 pp->polls++; in true_send()
[all …]
H A Drefclock_chronolog.c120 pp = peer->procptr; in chronolog_start()
121 pp->unitptr = up; in chronolog_start()
125 pp->io.fd = fd; in chronolog_start()
128 pp->io.fd = -1; in chronolog_start()
157 up = pp->unitptr; in chronolog_shutdown()
189 up = pp->unitptr; in chronolog_receive()
268 adjyear,adjmon,gmtp->tm_mday,pp->hour,pp->minute, in chronolog_receive()
269 pp->second); in chronolog_receive()
297 pp->lastref = pp->lastrec; in chronolog_receive()
327 up = pp->unitptr; in chronolog_poll()
[all …]
H A Drefclock_neoclock4x.c301 pp->io.fd = fd; in neoclock4x_start()
469 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec); in neoclock4x_receive()
577 if((pp->hour < 0) || (pp->hour > 23) || in neoclock4x_receive()
578 (pp->minute < 0) || (pp->minute > 59) || in neoclock4x_receive()
582 (pp->year < 0) || (pp->year > 99)) { in neoclock4x_receive()
604 calc_utc = neol_mktime(pp->year, month, day, pp->hour, pp->minute, pp->second); in neoclock4x_receive()
609 neol_localtime(calc_utc, &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second); in neoclock4x_receive()
614 pp->day = ymd2yd(pp->year, month, day); in neoclock4x_receive()
615 pp->leap = 0; in neoclock4x_receive()
622 pp->hour, pp->minute, pp->second, in neoclock4x_receive()
[all …]
H A Drefclock_hopfpci.c121 struct refclockproc *pp; in hopfpci_start() local
141 pp = peer->procptr; in hopfpci_start()
143 pp->io.srcclock = peer; in hopfpci_start()
144 pp->io.datalen = 0; in hopfpci_start()
146 pp->unitptr = up; in hopfpci_start()
194 pp = peer->procptr; in hopfpci_poll()
203 pp->polls++; in hopfpci_poll()
215 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in hopfpci_poll()
217 m_time.wStatus, pp->hour, pp->minute, pp->second, in hopfpci_poll()
220 pp->lencode = (u_short)strlen(pp->a_lastcode); in hopfpci_poll()
[all …]
/freebsd-13.1/contrib/tcsh/
H A Dsh.proc.c274 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) in pchild()
430 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) { in pnote()
490 pp = pp->p_friends; in pjwait()
627 for (pp = proclist.p_next; pp; pp = pp->p_next) in dowait()
655 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) in pflushall()
676 pp = pp->p_friends; in pflush()
801 pp->p_friends = pp; in palloc()
1328 for (pp = proclist.p_next; pp; pp = pp->p_next) in dojobs()
1662 for (pp = proclist.p_next; pp; pp = pp->p_next) in panystop()
1685 for (pp = proclist.p_next; pp; pp = pp->p_next) in pfind()
[all …]
/freebsd-13.1/sbin/iscontrol/
H A Dpdu.c61 pukeText("I-", pp); in xmitpdu()
90 if((pp->ahs_addr = malloc(pp->ahs_size)) == NULL) { in sendPDU()
94 pp->ds_size = 0; in sendPDU()
100 freePDU(pp); in sendPDU()
128 if((pp->ds_len + len) > pp->ds_size) { in addText()
131 np = realloc(pp->ds_addr, pp->ds_size + len + FUDGE); in addText()
137 pp->ds_addr = np; in addText()
140 memcpy(pp->ds_addr + pp->ds_len, str, len); in addText()
147 freePDU(pdu_t *pp) in freePDU() argument
151 if(pp->ds_size) in freePDU()
[all …]
/freebsd-13.1/sys/security/mac/
H A Dmac_pipe.c79 pp->pp_label = NULL; in mac_pipe_init()
94 if (pp->pp_label != NULL) { in mac_pipe_destroy()
96 pp->pp_label = NULL; in mac_pipe_destroy()
132 MAC_POLICY_PERFORM_NOSLEEP(pipe_create, cred, pp, pp->pp_label); in mac_pipe_create()
140 MAC_POLICY_PERFORM_NOSLEEP(pipe_relabel, cred, pp, pp->pp_label, in mac_pipe_relabel()
155 MAC_POLICY_CHECK_NOSLEEP(pipe_check_ioctl, cred, pp, pp->pp_label, in mac_pipe_check_ioctl()
172 MAC_POLICY_CHECK_NOSLEEP(pipe_check_poll, cred, pp, pp->pp_label); in mac_pipe_check_poll_impl()
188 MAC_POLICY_CHECK_NOSLEEP(pipe_check_read, cred, pp, pp->pp_label); in mac_pipe_check_read()
205 MAC_POLICY_CHECK_NOSLEEP(pipe_check_relabel, cred, pp, pp->pp_label, in mac_pipe_check_relabel()
222 MAC_POLICY_CHECK_NOSLEEP(pipe_check_stat, cred, pp, pp->pp_label); in mac_pipe_check_stat()
[all …]
/freebsd-13.1/usr.sbin/lpr/common_source/
H A Dprintcap.c150 init_printer(pp); in firstprinter()
172 free_printer(pp); in nextprinter()
326 *pp = zero; in init_printer()
338 cfree(pp->printer); in free_printer()
339 cfree(pp->acct_file); in free_printer()
342 cfree(pp->form_feed); in free_printer()
343 cfree(pp->log_file); in free_printer()
345 cfree(pp->lp); in free_printer()
353 cfree(pp->trailer); in free_printer()
354 cfree(pp->mode_set); in free_printer()
[all …]
/freebsd-13.1/usr.sbin/lpr/lpd/
H A Dprintjob.c308 pp->printer, pp->lock_file); in printjob()
330 pp->printer, pp->lock_file); in printjob()
360 if (!pp->no_formfeed && !pp->tof) in printjob()
513 if (!pp->no_header && !pp->header_last) in printit()
585 if (!pp->no_header && pp->header_last) in printit()
1163 pp->printer, pp->remote_host); in sendfile()
1457 if (!pp->no_formfeed && !pp->tof) in banner()
1649 pp->printer, pp->daemon_user); in dofork()
1682 pp->printer, pp->daemon_user); in dofork()
1933 pfd = getport(pp, pp->remote_host, 0); in openrem()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libuutil/
H A Duu_avl.c61 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument
110 return (pp); in uu_avl_pool_create()
123 (int)sizeof (pp->uap_name), pp->uap_name, in uu_avl_pool_destroy()
128 pp->uap_next->uap_prev = pp->uap_prev; in uu_avl_pool_destroy()
129 pp->uap_prev->uap_next = pp->uap_next; in uu_avl_pool_destroy()
147 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
153 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
171 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
176 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
557 pp = pp->uap_next) in uu_avl_lockup()
[all …]
/freebsd-13.1/sys/geom/
H A Dgeom_subr.c198 if (pp->acr || pp->acw || pp->ace) { in g_unload_class()
331 if (pp->acr || pp->acw || pp->ace) in g_retaste_event()
625 pp->name = (char *)(pp + 1); in g_new_providerf()
693 pp = hh->pp; in g_resize_provider_event()
757 hh->pp = pp; in g_resize_provider()
1015 pp->acr, pp->acw, pp->ace, in g_access()
1016 pp, pp->name); in g_access()
1065 else if (pp->acw != 0 && pp->acw == -dcw && pp->error == 0 && in g_access()
1076 if (pp->acr != 0 || pp->acw != 0 || pp->ace != 0) in g_access()
1217 pp->geom->class->name, pp->geom->name, pp->name); in g_spoil_event()
[all …]

12345678910>>...28