Home
last modified time | relevance | path

Searched refs:qp (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/netinet/
H A Dip_dummynet.c273 static void cp_queue_to_64_user( struct dn_flow_queue *q, struct dn_flow_queue_64 *qp);
279 static void cp_queue_to_32_user( struct dn_flow_queue *q, struct dn_flow_queue_32 *qp);
482 cp_queue_to_32_user( struct dn_flow_queue *q, struct dn_flow_queue_32 *qp) in cp_queue_to_32_user() argument
484 qp->id = q->id; in cp_queue_to_32_user()
485 qp->len = q->len; in cp_queue_to_32_user()
486 qp->len_bytes = q->len_bytes; in cp_queue_to_32_user()
487 qp->numbytes = q->numbytes; in cp_queue_to_32_user()
488 qp->tot_pkts = q->tot_pkts; in cp_queue_to_32_user()
489 qp->tot_bytes = q->tot_bytes; in cp_queue_to_32_user()
490 qp->drops = q->drops; in cp_queue_to_32_user()
[all …]
/xnu-12377.61.12/bsd/kern/
H A Dtty.c2102 struct clist *qp; in ttread() local
2178 qp = ISSET(lflag, ICANON) ? &tp->t_canq : &tp->t_rawq; in ttread()
2181 if (qp->c_cc > 0) { in ttread()
2205 if (qp->c_cc < m) { in ttread()
2208 if (qp->c_cc > 0) { in ttread()
2219 if (qp->c_cc <= 0) { in ttread()
2222 if (qp->c_cc >= m) { in ttread()
2226 if (!has_etime || qp->c_cc > last_cc) { in ttread()
2244 last_cc = qp->c_cc; in ttread()
2246 if (qp->c_cc > 0) { in ttread()
[all …]