Home
last modified time | relevance | path

Searched refs:physical (Results 1 – 25 of 221) sorted by relevance

123456789

/freebsd-12-stable/usr.sbin/ppp/
Dphysical.h26 struct physical;
63 int (*awaitcarrier)(struct physical *);
64 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
65 int (*raw)(struct physical *);
66 void (*offline)(struct physical *);
67 void (*cooked)(struct physical *);
68 void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t);
69 void (*stoptimer)(struct physical *);
70 void (*destroy)(struct physical *);
71 ssize_t (*read)(struct physical *, void *, size_t);
[all …]
Ddatalink.c119 if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp && in datalink_HangupDone()
120 dl->physical->fd != -1) { in datalink_HangupDone()
127 physical_Close(dl->physical); in datalink_HangupDone()
142 if (!physical_SetMode(dl->physical, PHYS_BACKGROUND)) in datalink_HangupDone()
155 (dl->physical->type == PHYS_DIRECT) || in datalink_HangupDone()
157 !(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) { in datalink_HangupDone()
164 !(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND))) in datalink_HangupDone()
221 } else if (!physical_Raw(dl->physical)) { in datalink_LoginDone()
229 physical_StopDeviceTimer(dl->physical); in datalink_LoginDone()
230 if (dl->physical->type == PHYS_DEDICATED) in datalink_LoginDone()
[all …]
Dlqr.c168 struct physical *p = link2physical(lcp->fsm.link); in SendLqrReport()
206 struct physical *p = link2physical(l); in lqr_Input()
272 struct physical *physical = link2physical(lcp->fsm.link); in lqr_Setup() local
275 physical->hdlc.lqm.lqr.resent = 0; in lqr_Setup()
276 physical->hdlc.lqm.echo.seq_sent = 0; in lqr_Setup()
277 physical->hdlc.lqm.echo.seq_recv = 0; in lqr_Setup()
278 memset(&physical->hdlc.lqm.lqr.peer, '\0', in lqr_Setup()
279 sizeof physical->hdlc.lqm.lqr.peer); in lqr_Setup()
281 physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0; in lqr_Setup()
283 physical->hdlc.lqm.method |= LQM_LQR; in lqr_Setup()
[all …]
Dpap.c87 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req()
111 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req()
112 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req()
140 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
141 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode()
147 struct bundle *bundle = authp->physical->dl->bundle; in pap_Success()
149 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success()
156 authp->physical->link.lcp.auth_ineed = 0; in pap_Success()
158 physical_Login(authp->physical, authp->in.name); in pap_Success()
160 if (authp->physical->link.lcp.auth_iwait == 0) in pap_Success()
[all …]
Dphysical.c117 struct device *(*create)(struct physical *);
118 struct device *(*iov2device)(int, struct physical *, struct iovec *,
148 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor()
157 struct physical *
160 struct physical *p; in physical_Create()
162 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create()
239 physical_SetParity(struct physical *p, const char *str) in physical_SetParity()
260 physical_GetSpeed(struct physical *p) in physical_GetSpeed()
269 physical_SetSpeed(struct physical *p, unsigned speed) in physical_SetSpeed()
280 physical_Raw(struct physical *p) in physical_Raw()
[all …]
Dchap.c102 ChapOutput(struct physical *physical, u_int code, u_int id, in ChapOutput() argument
122 link_PushPacket(&physical->link, bp, physical->dl->bundle, in ChapOutput()
123 LINK_QUEUES(&physical->link) - 1, PROTO_CHAP); in ChapOutput()
322 chap->auth.physical->dl->bundle, 0, pid); in chap_StartChild()
385 ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id, in chap_Respond()
393 ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id, in chap_Respond()
456 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 && in chap_Read()
458 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || in chap_Read()
459 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); in chap_Read()
471 , chap->auth.physical->link.lcp.his_authtype, lanman in chap_Read()
[all …]
Dcbcp.h32 struct physical;
50 struct physical *p; /* On this physical link */
63 extern void cbcp_Init(struct cbcp *, struct physical *);
67 extern void cbcp_ReceiveTerminateReq(struct physical *);
Dchat.h38 struct physical;
42 struct physical *physical; member
81 extern void chat_Init(struct chat *, struct physical *);
Dauth.h33 struct physical;
51 struct physical *physical; member
61 extern void auth_Init(struct authinfo *, struct physical *,
Dchat.c85 static void ExecStr(struct physical *, char *, char *, int);
271 ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3); in chat_UpdateSet()
326 return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1); in chat_UpdateSet()
328 return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1); in chat_UpdateSet()
335 return c->argptr && physical_IsSet(&c->physical->desc, fdset); in chat_IsSet()
399 in = physical_Read(c->physical, c->bufend, in); in chat_Read()
516 if (physical_IsSync(c->physical)) { in chat_Write()
527 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write()
534 if (physical_IsSync(c->physical)) { in chat_Write()
538 } else if (wrote < 2 && physical_IsSync(c->physical)) { in chat_Write()
[all …]
Dtty.c121 struct physical *p = data; in tty_Timeout()
183 tty_StartTimer(struct physical *p) in tty_StartTimer()
198 tty_AwaitCarrier(struct physical *p) in tty_AwaitCarrier()
229 tty_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap) in tty_SetAsyncParams()
255 LoadLineDiscipline(struct physical *p) in LoadLineDiscipline()
384 UnloadLineDiscipline(struct physical *p) in UnloadLineDiscipline()
409 tty_Write(struct physical *p, const void *v, size_t n) in tty_Write()
420 tty_Read(struct physical *p, void *v, size_t n) in tty_Read()
434 tty_Raw(struct physical *p) in tty_Raw()
476 tty_Offline(struct physical *p) in tty_Offline()
[all …]
Dcommand.c268 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
269 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
281 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification()
400 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand()
919 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape()
924 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
926 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
946 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped()
950 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
953 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
[all …]
Dtcp.h31 struct physical;
33 extern struct device *tcp_Create(struct physical *);
34 extern struct device *tcp_iov2device(int, struct physical *,
Dexec.h31 struct physical;
34 extern struct device *exec_Create(struct physical *);
35 extern struct device *exec_iov2device(int, struct physical *,
Dudp.h31 struct physical;
34 extern struct device *udp_Create(struct physical *);
35 extern struct device *udp_iov2device(int, struct physical *,
Dtty.h31 struct physical;
36 extern struct device *tty_Create(struct physical *);
37 extern struct device *tty_iov2device(int, struct physical *,
Dether.h31 struct physical;
36 extern struct device *ether_Create(struct physical *);
37 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
Di4b.h31 struct physical;
36 extern struct device *i4b_Create(struct physical *);
37 extern struct device *i4b_iov2device(int, struct physical *,
Dnetgraph.h31 struct physical;
36 extern struct device *ng_Create(struct physical *);
37 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
Dether.c122 ether_Write(struct physical *p, const void *v, size_t n) in ether_Write()
130 ether_Read(struct physical *p, void *v, size_t n) in ether_Read()
138 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet()
160 ether_Free(struct physical *p) in ether_Free()
171 ether_OpenInfo(struct physical *p) in ether_OpenInfo()
186 ether_Slot(struct physical *p) in ether_Slot()
314 ether_AwaitCarrier(struct physical *p) in ether_AwaitCarrier()
348 ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in ether_iov2device()
380 struct physical *p = descriptor2physical(d); in ether_UpdateSet()
399 struct physical *p = descriptor2physical(d); in ether_IsSet()
[all …]
Dlqr.h66 struct physical;
79 extern void lqr_Stop(struct physical *, int);
80 extern void lqr_StopTimer(struct physical *);
Dexec.c88 exec_Free(struct physical *p) in exec_Free()
120 exec_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in exec_RemoveFromSet()
146 exec_Write(struct physical *p, const void *v, size_t n) in exec_Write()
176 exec_iov2device(int type, struct physical *p, struct iovec *iov, in exec_iov2device()
208 struct physical *p = descriptor2physical(d); in exec_UpdateSet()
234 struct physical *p = descriptor2physical(d); in exec_IsSet()
243 exec_Create(struct physical *p) in exec_Create()
/freebsd-12-stable/sys/arm/arm/
Dgeneric_timer.c97 bool physical; member
145 get_cntxct_a64_unstable(bool physical) in get_cntxct_a64_unstable() argument
150 if (physical) { in get_cntxct_a64_unstable()
167 get_cntxct(bool physical) in get_cntxct() argument
172 if (physical) in get_cntxct()
181 set_ctrl(uint32_t val, bool physical) in set_ctrl() argument
184 if (physical) in set_ctrl()
194 set_tval(uint32_t val, bool physical) in set_tval() argument
197 if (physical) in set_tval()
207 get_ctrl(bool physical) in get_ctrl() argument
[all …]
/freebsd-12-stable/sys/powerpc/powerpc/
Dmmu_if.m141 * @param _pmap physical map
156 * @brief Clear the 'modified' bit on the given physical page
158 * @param _pg physical page
168 * physical page's mappings
170 * @param _pg physical page
179 * @brief Copy the address range given by the source physical map, virtual
180 * address and length to the destination physical map and virtual address.
183 * @param _dst_pmap destination physical map
184 * @param _src_pmap source physical map
200 * @brief Copy the source physical page to the destination physical page
[all …]
/freebsd-12-stable/bin/pwd/
Dpwd.c62 int physical; in main() local
66 physical = 1; in main()
70 physical = 0; in main()
73 physical = 1; in main()
89 if ((!physical && (p = getcwd_logical()) != NULL) || in main()

123456789