Searched refs:tp_ref (Results 1 - 7 of 7) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/netiso/
H A Dtp_timer.c82 struct tp_ref *tp_ref; variable in typeref:struct:tp_ref
104 s = sizeof(*tp_ref) * tp_refinfo.tpr_size;
105 if ((tp_ref = (struct tp_ref *) malloc(s, M_PCB, M_NOWAIT|M_ZERO)) == 0)
107 tp_refinfo.tpr_base = tp_ref;
171 * in the tp_ref structure. they are the kind that
188 struct tp_ref *rp;
197 /* tp_ref[0] is never used */
198 for (rp = tp_ref
[all...]
H A Dtp_pcb.h79 * Possible improvement: think about merging the tp_ref w/ the tpcb and doing a
107 struct tp_ref { struct
113 struct tp_ref *tpr_base;
363 extern struct tp_ref *tp_ref;
371 #define sototpref(so) ((sototpcb(so)->tp_ref))
373 #define tpcbtoref(tp) ((struct tp_ref *)((tp)->tp_ref))
H A Dtp_pcb.c459 struct tp_ref *r = tp_ref + n;
485 for (r = tp_ref + tp_refinfo.tpr_maxopen; r > tp_ref; r--)
488 tp_refinfo.tpr_maxopen = r - tp_ref;
519 struct tp_ref *r, *rlim;
526 ++r < rlim;) /* tp_ref[0] is never used */
532 size = tp_refinfo.tpr_size * sizeof(struct tp_ref);
533 r = (struct tp_ref *) malloc(size + size, M_PCB, M_NOWAIT);
536 tp_refinfo.tpr_base = tp_ref
[all...]
H A Dtp_trace.c153 memcpy((void *) & tp->tpt_ref, (void *) src, sizeof(struct tp_ref));
H A Dtp_trace.h111 struct tp_ref tpt_Ref; /* ref part of pcb */
H A Dtp_input.c983 (tpcb = tp_ref[dref].tpr_pcb) == (struct tp_pcb *) 0 ||
1000 CHECK(((tpcb = tp_ref[dref].tpr_pcb) == (struct tp_pcb *) 0),
/netbsd-6-1-5-RELEASE/usr.bin/netstat/
H A Diso.c327 struct tp_ref *tpr, *tpr_base;
333 tpr_base = (struct tp_ref *)malloc(size);

Completed in 63 milliseconds