Searched refs:gbuf_cont (Results 1 - 25 of 25) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_attention.c109 nmp = gbuf_cont(mp);
118 gbuf_cont(nmp) = gbuf_cont(mp);
119 gbuf_cont(mp) = nmp;
H A Dddp_proto.c113 if (gbuf_cont(mp))
114 gbuf_freem(gbuf_cont(mp));
115 if ((gbuf_cont(mp) =
124 (ddp_addr_t *)gbuf_rptr(gbuf_cont(mp));
134 gbuf_wset(gbuf_cont(mp), sizeof(ddp_addr_t));
165 mp = gbuf_cont(mp);
H A Dddp_lap.c218 if (gbuf_cont(m) != NULL)
219 i = gbuf_len(gbuf_cont(m));
220 if (iocbp->ioc_count < size || (gbuf_cont(m) == NULL) || i < size) {
224 gbuf_cont(m)? 'Y' : 'N', i));
341 cfgp = (at_if_cfg_t*) gbuf_rptr(gbuf_cont(m));
351 if ( (gbuf_cont(m) == NULL)
352 || (elapp = find_ifID(gbuf_rptr(gbuf_cont(m)))) == NULL) {
356 gbuf_freem(gbuf_cont(m));
357 if ((gbuf_cont(m) =gbuf_alloc(sizeof(at_elap_stats_t),
362 statsp = ((at_elap_stats_t *)gbuf_rptr(gbuf_cont(
[all...]
H A Datp_misc.c87 if ((m = gbuf_cont(trp->tr_xmt)) == NULL)
123 trp->tr_xmt = gbuf_cont(m);
124 gbuf_cont(m) = NULL;
207 if ((m = gbuf_cont(trp->tr_xmt)) == NULL)
287 if (gbuf_cont(m))
288 ((ioc_t *)gbuf_rptr(m))->ioc_count = gbuf_msgsize(gbuf_cont(m));
308 if (gbuf_cont(m)) {
309 gbuf_freem(gbuf_cont(m));
310 gbuf_cont(m) = NULL;
H A Dsys_glue.c135 gbuf_freem(gbuf_cont(m));
136 gbuf_cont(m) = 0;
353 len, gbuf_cont(m));
362 m = gbuf_cont(m);
367 gbuf_cont(mprev) = 0;
502 if ((gbuf_cont(m) = gbuf_alloc(user_ioccmd.ic_len, PRI_HI)) == 0) {
509 gbuf_wset(gbuf_cont(m), user_ioccmd.ic_len); /* mbuf->m_len */
511 bcopy (CAST_DOWN(caddr_t, user_ioccmd.ic_dp), gbuf_rptr(gbuf_cont(m)), user_ioccmd.ic_len);
513 if ((err = copyin(user_ioccmd.ic_dp, (caddr_t)gbuf_rptr(gbuf_cont(m)), user_ioccmd.ic_len)) != 0) {
561 mdata = gbuf_cont(
[all...]
H A Dadsp_stream.c342 if (gbuf_cont(mp) == NULL) {
346 v = *(unsigned char *)gbuf_rptr(gbuf_cont(mp));
366 *(unsigned char *)gbuf_rptr(gbuf_cont(mp)) = v;
379 if (((xm = gbuf_cont(mp)) == NULL)
385 gbuf_cont(mp) = xm;
408 if (((xm = gbuf_cont(mp)) == NULL) &&
414 gbuf_cont(mp) = xm;
420 (ddp_addr_t *)gbuf_rptr(gbuf_cont(mp));
469 iocbp->ioc_count = gbuf_msgsize(gbuf_cont(m));
484 if (gbuf_cont(
[all...]
H A Dasp_proto.c345 mdata = gbuf_cont(mdata);
479 if (gbuf_cont(mioc))
480 *(at_inet_t *)gbuf_rptr(gbuf_cont(mioc)) = scb->loc_addr;
484 if ((gbuf_cont(mioc) == 0) || (scb->atp_state == 0)) {
488 *(at_inet_t *)gbuf_rptr(gbuf_cont(mioc)) = scb->loc_addr;
492 if ((gbuf_cont(mioc) == 0) || (scb->atp_state == 0)) {
496 *(at_inet_t *)gbuf_rptr(gbuf_cont(mioc)) = scb->rem_addr;
500 if ((mdata = gbuf_cont(mioc)) == 0) {
551 gbuf_cont(mioc) = 0;
556 if ((mdata = gbuf_cont(mio
[all...]
H A Dadsp_Control.c269 if (gbuf_cont(sp->sapb->mp)) {
270 gbuf_cont(mp) = gbuf_dupm(gbuf_cont(sp->sapb->mp));
474 smp = gbuf_cont(smp);
476 if((gbuf_cont(mp) = gbuf_dupm(smp)) == 0) /* copy the data */
478 smp = gbuf_cont(mp); /* use the new message blocks */
506 smp = gbuf_cont(smp);
509 gbuf_cont(psmp) = 0;
513 gbuf_freem(gbuf_cont(smp));
514 gbuf_cont(sm
[all...]
H A Datp_write.c168 if (gbuf_cont(m) == NULL) {
173 skt = *(at_socket *)gbuf_rptr(gbuf_cont(m));
177 *(at_socket *)gbuf_rptr(gbuf_cont(m)) = skt;
185 if (gbuf_cont(m) == NULL) {
190 *(gref_t **)gbuf_rptr(gbuf_cont(m)) = gref;
201 if ((tmp = gbuf_cont(m)) != 0) {
209 gbuf_cont(tmp) = bds;
224 m2 = gbuf_cont(m);
225 gbuf_cont(m) = NULL;
230 gbuf_cont(m
[all...]
H A Dadsp_Write.c87 nmb = gbuf_cont(mb);
96 gbuf_cont(nmb) = gbuf_cont(mb);
103 gbuf_cont(mb) = 0;
H A Daurp_rx.c80 mdata = gbuf_cont(m);
104 mdata = gbuf_cont(m);
117 mdata = gbuf_cont(m);
122 mdata = gbuf_cont(m);
H A Dadsp_RxAttn.c201 if (gbuf_cont(pb->mp)) {
202 gbuf_freem(gbuf_cont(pb->mp)); /* free the data */
203 gbuf_cont(pb->mp) = 0;
H A Daurp_misc.c80 if (gbuf_cont(m)) {
81 gbuf_freem(gbuf_cont(m));
82 gbuf_cont(m) = 0;
H A Dadsp_Read.c156 mp = gbuf_cont(pb->mp); /* ioctl call */
157 gbuf_cont(pb->mp) = 0;
162 gbuf_next(mp), gbuf_cont(mp));
201 tmp = gbuf_cont(pb->mp); /* detatch perhaps delayed data */
202 gbuf_cont(pb->mp) = 0;
209 gbuf_cont(pb->mp) = tmp; /* reattach data */
H A Dadsp.c162 if (gbuf_cont(mp) == 0) {
166 ap = (struct adspcmd *) gbuf_rptr(gbuf_cont(mp));
169 ap->mp = gbuf_cont(mp); /* request head */
H A Daurp_tx.c83 gbuf_cont(m) = mdata;
H A Datp_read.c514 if (gbuf_cont(m) == NULL) /* issued via the new interface */
521 gbuf_freem(gbuf_cont(m));
522 gbuf_cont(m) = NULL;
H A Datp_alloc.c79 gbuf_cont(m) = atp_resource_m;
H A Ddebug.h155 for (_tmp=start, _i=0; _tmp && _i < 10; _tmp = gbuf_cont(_tmp), _i++) {\
H A Dsysglue.h182 #define gbuf_cont(m) m->m_next macro
H A Dddp_nbp.c1106 if (gbuf_cont(m)) {
1107 m = gbuf_cont(m);
1126 if(!(gbuf_cont(m) = gbuf_alloc(ZONE_BLK_SIZE, PRI_MED)))
1128 gbuf_wset(gbuf_cont(m),0);
1129 pnve = (at_nvestr_t*)gbuf_rptr(gbuf_cont(m));
1216 if (gbuf_cont(m)) {
1217 m = gbuf_cont(m);
H A Dadsp_RxData.c85 mp = gbuf_cont(mp);
H A Dddp_r_zip.c771 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1173 zip=(at_zip_t *)(gbuf_rptr(gbuf_cont(m)));
1179 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1245 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1604 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1688 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1822 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
H A Dddp_aarp.c442 ddp_hdrp = (at_ddp_t *)gbuf_rptr(gbuf_cont(m));
H A Dddp.c286 } while ( (mp = gbuf_cont(mp)) );

Completed in 71 milliseconds