Lines Matching refs:sadp
262 struct saddev *sadp;
265 sadp = (struct saddev *)qp->q_ptr;
266 sadp->sa_qp = NULL;
267 sadp->sa_addr = NULL;
268 netstack_rele(sadp->sa_ss->ss_netstack);
269 sadp->sa_ss = NULL;
352 struct saddev *sadp;
365 sadp = (struct saddev *)qp->q_ptr;
368 if (!(sadp->sa_flags & SADPRIV)) {
375 sadp->sa_addr = (caddr_t)*(uintptr_t *)mp->b_cont->b_rptr;
405 struct saddev *sadp;
410 sadp = (struct saddev *)qp->q_ptr;
411 ss = sadp->sa_ss;
591 mcopyout(mp, (void *)GETRESULT, size, sadp->sa_addr,
652 struct saddev *sadp;
661 sadp = (struct saddev *)qp->q_ptr;
671 sadp->sa_addr = (caddr_t)(uintptr_t)nmods;
680 for (i = 0; i < (long)sadp->sa_addr; i++, lp++) {