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

123

/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_kdi.c174 kobj_kdi_mod_haschanged(struct modctl *mc1, struct module *mp1, argument
184 return (bcmp(&mp1->hdr, &mp2->hdr, sizeof (mp1->hdr)) != 0 ||
185 mp1->symhdr != mp2->symhdr || mp1->strhdr != mp2->strhdr ||
186 mp1->text != mp2->text || mp1->bss != mp2->bss ||
187 mp1->ctfdata != mp2->ctfdata || mp1->ctfsize != mp2->ctfsize);
/illumos-gate/usr/src/uts/common/inet/
H A Dnd.c57 MBLKP mp1; local
67 if (iocp->ioc_count == 0 || !(mp1 = mp->b_cont)) {
78 if (mp1->b_cont) {
79 freemsg(mp1->b_cont);
80 mp1->b_cont = NULL;
83 mp1->b_datap->db_lim[-1] = '\0'; /* Force null termination */
84 valp = (char *)mp1->b_rptr;
94 if (!*valp || valp >= (char *)mp1->b_wptr)
99 mp1->b_wptr = mp1
[all...]
H A Dip_impl.h89 #define IP_ADJCKSUM_PARTIAL(cksum_start, mp, mp1, len, adj) { \
101 if ((mp1) == NULL) \
102 (mp1) = (mp); \
104 (len) += MBLKL(mp1); \
111 _pad = IP_BCSUM_PARTIAL((mp1)->b_wptr, len, 0); \
116 if ((uintptr_t)(mp1)->b_wptr & 1) \
H A Dmi.c209 MBLKP mp1; local
240 mp1 = allocb(0, BPRI_MED);
241 if (mp1 == NULL) {
247 * Temporarily insert mp1 between the M_IOCTL and M_DATA blocks so
250 mp1->b_cont = mp->b_cont;
251 mp->b_cont = mp1;
254 mp->b_cont = mp1->b_cont;
255 mp1->b_cont = NULL;
262 cp->cp_private = mp1;
318 MBLKP mp1; local
376 MBLKP mp1; local
416 MBLKP mp1; local
445 MBLKP mp1; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c283 mblk_t *mp = input->cd_mp, *mp1, *mp2; local
287 mp1 = advance_position(mp, input->cd_offset, &start);
289 if (mp1 == NULL)
299 while (mp1 != NULL) {
300 if (_PTRDIFF(mp1->b_wptr, start) > left) {
303 mp1 = NULL;
305 len = _PTRDIFF(mp1->b_wptr, start);
307 mp1 = mp1->b_cont;
308 start = mp1
393 mblk_t *mp = input->cd_mp, *mp1, *mp2; local
557 mblk_t *mp = out->cd_mp, *mp1, *mp2; local
644 mblk_t *mp1 = mp; local
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c185 mblk_t *mp1; local
200 mp1 = allocb(avail, BPRI_HI); /* the returned buffer */
201 if (mp1 == NULL)
208 size_out = mac_ndd_get_names(mip, mp1);
224 (void) adjmsg(mp1, -(excess + 1));
225 cp = (char *)mp1->b_wptr;
234 valp = (char *)mp1->b_rptr;
235 mp1->b_wptr = mp1->b_rptr;
303 MAC_PROP_PRIVATE, avail - 2, mp1
329 mblk_t *mp1; local
[all...]
H A Dmac_util.c57 mblk_t *mp1; local
60 mp1 = copymsg(mp);
61 if (mp1 == NULL)
65 (void) hcksum_assoc(mp1, NULL, NULL, start, stuff, end, value,
68 return (mp1);
102 mblk_t *mp, *prev = NULL, *new_chain = mp_chain, *mp1; local
122 mp1 = copymsg(mp);
123 if (mp1 == NULL)
125 mp1->b_next = mp->b_next;
129 prev->b_next = mp1;
271 mblk_t *mp1; local
462 mblk_t *mp1 = mp; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c151 mblk_t *mp1; local
155 if (!(mp1 = mp->b_cont) || !(mp1 = mp1->b_cont)) {
160 addr = mp1->b_rptr;
202 mp1 = mi_copyout_alloc(q, mp, ubuf_addr, ubuf_size, B_FALSE);
203 if (mp1 == NULL) {
209 ifrp = (void *)mp1->b_rptr;
212 MBLKTAIL(mp1) >= sizeof (struct ifreq); i++, lifrp++) {
227 mp1
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c563 mblk_t *mp1; local
584 mp1 = tcp->tcp_reass_tail;
585 if (!mp1) {
594 if (SEQ_GEQ(start, TCP_REASS_END(mp1))) {
596 mp1->b_cont = mp;
603 mp1 = tcp->tcp_reass_head;
604 u1 = TCP_REASS_SEQ(mp1);
608 mp->b_cont = mp1;
615 * We find our slot, where mp1 precedes us and mp2 trails.
617 for (; (mp2 = mp1
663 mblk_t *mp1; local
1270 mblk_t *mp1; local
2073 mblk_t *mp1; local
2311 mblk_t *mp1; local
4987 mblk_t *mp1; local
[all...]
H A Dtcp_fusion.c349 mblk_t *mp1; local
412 mp1 = head;
414 ASSERT(DB_TYPE(mp1->b_cont) == M_DATA);
415 head = mp1->b_cont;
416 mp1->b_cont = NULL;
417 head->b_next = mp1->b_next;
418 mp1->b_next = NULL;
421 if (peer_tcp->tcp_rcv_list == mp1)
423 if (peer_tcp->tcp_rcv_last_head == mp1)
425 freeb(mp1);
446 mblk_t *mp1 = mp; local
[all...]
H A Dtcp_output.c209 mblk_t *mp1; local
279 mp1 = mp;
281 freeb(mp1);
296 mp1 = tcp->tcp_xmit_last;
298 (dp = mp1->b_datap)->db_ref == 1 &&
299 dp->db_lim - mp1->b_wptr >= len) {
301 ASSERT(!mp1->b_cont);
303 *mp1->b_wptr++ = *mp->b_rptr;
305 bcopy(mp->b_rptr, mp1->b_wptr, len);
306 mp1
674 mblk_t *mp1 = *excess; local
716 mblk_t *mp1; local
1084 mblk_t *mp1; local
1415 mblk_t *mp1 = mp; local
1793 mblk_t *mp, *mp1; local
2506 mblk_t *mp1 = copyb(mp); local
3025 mblk_t *mp1; local
[all...]
H A Dtcp_timers.c350 mblk_t *mp1 = tcp->tcp_timercache; local
361 } else if (mp1 == NULL || mp1->b_next == NULL) {
364 mp->b_next = mp1;
467 mblk_t *mp1 = allocb(1, BPRI_LO); local
469 if (mp1 != NULL) {
470 *mp1->b_wptr++ = '\0';
471 mp = tcp_xmit_mp(tcp, mp1, 1, NULL, NULL,
473 freeb(mp1);
508 /* firetime can be negative if (mp1
[all...]
H A Dtcp_misc.c426 MBLKP mp1; local
437 if ((mp1 = mp->b_cont) == NULL ||
449 if (mp1->b_cont != NULL) {
450 freemsg(mp1->b_cont);
451 mp1->b_cont = NULL;
454 acp = (tcp_ioc_abort_conn_t *)mp1->b_rptr;
487 if (mp1 != NULL) {
488 freemsg(mp1);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsodirect.c154 mblk_t *mp1 = mp; local
175 uint32_t len = MBLKL(mp1);
177 if (!uioamove(mp1->b_rptr, len, UIO_READ, uioap)) {
179 DB_FLAGS(mp1) |= DBLK_UIOA;
186 lmp = mp1;
187 } while ((mp1 = mp1->b_cont) != NULL);
189 if (mp1 != NULL || uioap->uio_resid == 0) {
191 if (mp1 != NULL && lmp != NULL) {
192 mp->b_next = mp1;
[all...]
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c2622 mblk_t *mp1; local
2924 mp1 = tcp_xmit_mp(tcp, tcp->tcp_xmit_head, tcp->tcp_mss,
2926 if (mp1 != NULL) {
2927 TCP_DUMP_PACKET("tcp_rput_data replying SYN", mp1);
2928 (void) ipv4_tcp_output(sock_id, mp1);
2930 freeb(mp1);
3139 if ((mp1 = mp2->b_cont) != NULL) {
3141 freemsg(mp1);
3465 mp1 = tcp->tcp_xmit_head;
3479 if (mp1 !
4613 mblk_t *mp1; local
5621 mblk_t *mp1; local
5733 mblk_t *mp1; local
6499 mblk_t *mp1; local
6595 mblk_t *mp1; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_diag.c300 MATCHMAP *mp1 = NULL; local
330 ((mp1 = (MATCHMAP *) emlxs_mem_get(hba, MEM_BUF)) == 0)) {
353 bzero(mp1->virt, MEM_ELSBUF_SIZE);
354 EMLXS_MPDATA_SYNC(mp1->dma_handle, 0, MEM_ELSBUF_SIZE,
358 (void) emlxs_mb_run_biu_diag(hba, mbq, mp->phys, mp1->phys);
370 EMLXS_MPDATA_SYNC(mp1->dma_handle, 0, MEM_ELSBUF_SIZE,
374 inptr = mp1->virt;
408 if (mp1) {
410 if (emlxs_fm_check_dma_handle(hba, mp1->dma_handle)
415 mp1
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts.c165 mblk_t *mp1 = NULL; local
172 mp1 = allocb_tmpl(sizeof (struct iocblk), data);
173 if (mp1 == NULL) {
185 ioc = (struct iocblk *)mp1->b_rptr;
190 mp1->b_wptr += sizeof (struct iocblk);
191 mp1->b_datap->db_type = M_IOCTL;
192 mp1->b_cont = mp;
194 return (mp1);
838 mblk_t *mp1; local
872 if ((mp1
924 mblk_t *mp1; local
1082 mblk_t *mp1; local
1146 mblk_t *mp1; local
[all...]
H A Dkeysock.c1284 mblk_t *mp1 = NULL; local
1342 mp1 = copymsg(mp);
1343 if (mp1 == NULL) {
1370 keysock_passdown(ks, mp1, i, extv, B_TRUE);
1575 mblk_t *mp1 = NULL; local
1583 mp1 = copymsg(mp);
1584 if (mp1 == NULL) {
1589 keysock_passdown(ks, mp1, i, extv, B_FALSE);
1846 mblk_t *mp1; local
1882 if ((mp1
2017 mblk_t *mp1; local
2282 mblk_t *mp1; local
[all...]
H A Dip_arp.c459 mblk_t *mp1; local
473 if ((mp1 = mp->b_cont) == 0)
476 err = ip_sioctl_slifname_arp(q, mp1->b_rptr);
478 err = ip_sioctl_ifunitsel_arp(q, (int *)mp1->b_rptr);
814 mblk_t *mp1; local
862 mp1 = mp->b_cont;
863 if (mp1 == NULL) {
867 if (mp1->b_cont != NULL) {
869 if (!pullupmsg(mp1, -1)) {
875 arh = (arh_t *)mp1
1970 mblk_t *mp1; local
2400 mblk_t *mp1, *mp2; local
[all...]
H A Dip6_output.c1148 mblk_t *mp1; local
1163 mblk_t *mp1; local
1165 mp1 = copymsg(mp);
1166 if (mp1 == NULL) {
1172 ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
1278 mp1 = copymsg(mp);
1279 if (mp1 == NULL) {
1288 DB_CKSUMSTART(mp1) = DB_CKSUMSTART(mp);
1289 DB_CKSUMSTUFF(mp1) = DB_CKSUMSTUFF(mp);
1290 DB_CKSUMEND(mp1)
[all...]
H A Dicmp.c318 mblk_t *mp1; local
355 mp1 = reallocb(mp, sizeof (struct T_bind_ack) + sizeof (sin6_t), 1);
356 if (mp1 == NULL) {
360 mp = mp1;
682 mblk_t *mp1; local
689 mp1 = mi_tpi_conn_con(NULL, (char *)sa,
693 mp1 = mi_tpi_conn_con(NULL, (char *)sa,
696 if (mp1 == NULL) {
707 icmp_err_ack_prim(q, mp1, T_CONN_REQ, TSYSERR, ENOMEM);
711 putnext(connp->conn_rq, mp1);
1149 mblk_t *mp1; local
1278 mblk_t *mp1; local
2436 mblk_t *mp1; local
2568 mblk_t *mp1; local
2623 mblk_t *mp1; local
2900 mblk_t *mp1; local
4007 mblk_t *mp1; local
4093 mblk_t *mp1; local
4869 mblk_t *mp1; local
[all...]
H A Dip.c1421 mblk_t *mp1; local
1423 mp1 = copymsg(mp);
1425 if (!mp1) {
1429 mp = mp1;
1483 mblk_t *mp1; local
1485 mp1 = copymsg(mp);
1487 if (!mp1) {
1491 mp = mp1;
1544 mblk_t *mp1; local
1546 mp1
1624 mblk_t *mp1; local
2783 mblk_t *mp1; local
3062 mblk_t *mp1; local
3897 mblk_t *mp1; local
5015 mblk_t *mp1; local
5315 mblk_t *mp1; local
5429 mblk_t *mp1; local
6677 mblk_t *mp1; local
7030 mblk_t *mp1; local
7064 mblk_t *mp1 = mp->b_cont; local
7545 mblk_t *mp1 = mp->b_cont; local
8040 mblk_t *mp1; local
8200 mblk_t *mp1 = NULL; local
12075 mblk_t *mp1; local
12497 mblk_t *mp1; local
12767 mblk_t *mp1; local
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c818 mblk_t *mp1; local
832 mp1 = meta->b_cont;
836 while (mp1 != NULL) {
837 if (SCTP_CHUNK_CANSEND(mp1)) {
838 *mp = mp1;
845 mp1 = mp1->b_next;
860 if (SCTP_CHUNK_ISSENT(mp1)) {
936 mp1 = sctp->sctp_xmit_tail->b_cont;
937 while (mp1 !
1460 mblk_t *mp1 = mp; local
[all...]
H A Dsctp_shutdown.c235 mblk_t *mp1; local
254 mp1 = allocb(MBLKL(mp) + sctps->sctps_wroff_xtra, BPRI_MED);
255 if (mp1 == NULL) {
259 mp1->b_rptr += sctps->sctps_wroff_xtra;
260 bcopy(mp->b_rptr, mp1->b_rptr, MBLKL(mp));
262 mp = mp1;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kdi.c130 kmdb_kdi_mod_haschanged(struct modctl *mc1, struct module *mp1, argument
133 return (mdb.m_kdi->kdi_mod_haschanged(mc1, mp1, mc2, mp2));

Completed in 175 milliseconds

123