Home
last modified time | relevance | path

Searched refs:emp (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c472 mblk_t *emp; in sctp_make_err() local
483 emp = allocb(elen + pad, BPRI_MED); in sctp_make_err()
484 if (emp == NULL) { in sctp_make_err()
488 emp->b_wptr = emp->b_rptr + elen + pad; in sctp_make_err()
491 ecp = (sctp_chunk_hdr_t *)emp->b_rptr; in sctp_make_err()
508 return (emp); in sctp_make_err()
521 mblk_t *emp; in sctp_add_err() local
527 emp = sctp_make_err(sctp, serror, details, len); in sctp_add_err()
528 if (emp == NULL) in sctp_add_err()
530 emp_len = MBLKL(emp); in sctp_add_err()
[all …]
H A Dsctp_notify.c46 sctp_notify(sctp_t *sctp, mblk_t *emp, size_t len) in sctp_notify() argument
58 freemsg(emp); in sctp_notify()
61 dprint(3, ("sctp_notify: event %d\n", (*(uint16_t *)emp->b_rptr))); in sctp_notify()
99 mp->b_cont = emp; in sctp_notify()
107 for (emp = mp->b_cont; emp; emp = emp->b_cont) { in sctp_notify()
108 rwnd += emp->b_wptr - emp->b_rptr; in sctp_notify()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetmntent.c223 getmntent_common(FILE *fp, struct extmnttab *emp, int command) in getmntent_common() argument
229 embuf.mbuf_emp = emp; in getmntent_common()
254 (emp->mnt_time + strlen(emp->mnt_time) + 1 - in getmntent_common()
255 emp->mnt_special > MNT_LINE_MAX)) in getmntent_common()
265 return (getmntent_compat(fp, (struct mnttab *)emp)); in getmntent_common()
279 getextmntent(FILE *fp, struct extmnttab *emp, size_t len) in getextmntent() argument
281 return (getmntent_common(fp, emp, MNTIOC_GETEXTMNTENT)); in getextmntent()
/titanic_44/usr/src/uts/common/io/
H A Dtirdwr.c422 mblk_t *emp; in strip_strhead() local
444 emp = mp->b_next; in strip_strhead()
448 (void) insq(q, emp, tmp); in strip_strhead()
449 mp = emp; in strip_strhead()
H A Dstream.c2984 insq(queue_t *q, mblk_t *emp, mblk_t *mp) in insq() argument
3005 if (emp && emp->b_prev && in insq()
3006 (emp->b_prev->b_datap->db_type < QPCTL)) in insq()
3009 if (emp) { in insq()
3010 if (((mcls == QNORM) && (mp->b_band < emp->b_band)) || in insq()
3011 (emp->b_prev && (emp->b_prev->b_datap->db_type < QPCTL) && in insq()
3012 (emp->b_prev->b_band < mp->b_band))) { in insq()
3054 if ((mp->b_next = emp) != NULL) { in insq()
3055 if ((mp->b_prev = emp->b_prev) != NULL) in insq()
3056 emp->b_prev->b_next = mp; in insq()
[all …]
/titanic_44/usr/src/lib/libumem/common/
H A Dumem.c2023 umem_magazine_t *emp; in _umem_cache_free() local
2061 emp = umem_depot_alloc(cp, &cp->cache_empty); in _umem_cache_free()
2062 if (emp != NULL) { in _umem_cache_free()
2066 umem_cpu_reload(ccp, emp, 0); in _umem_cache_free()
2078 emp = _umem_cache_alloc(mtp->mt_cache, UMEM_DEFAULT); in _umem_cache_free()
2081 if (emp != NULL) { in _umem_cache_free()
2090 _umem_cache_free(mtp->mt_cache, emp); in _umem_cache_free()
2099 umem_depot_free(cp, &cp->cache_empty, emp); in _umem_cache_free()
/titanic_44/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c2073 mblk_t *emp; /* error (M_BREAK) mblk */ in usbser_rx_cb() local
2135 emp = mp; in usbser_rx_cb()
2137 emp->b_cont = NULL; in usbser_rx_cb()
2140 if ((DB_TYPE(emp) != M_BREAK) || (MBLKL(emp) != 2)) { in usbser_rx_cb()
2141 freemsg(emp); in usbser_rx_cb()
2161 usbser_rx_massage_mbreak(pp, emp); in usbser_rx_cb()
2163 usbser_rx_cb_put(pp, rq, wq, emp); in usbser_rx_cb()
/titanic_44/usr/src/uts/common/os/
H A Dkmem.c2611 kmem_magazine_t *emp; in kmem_cpucache_magazine_alloc() local
2620 emp = kmem_depot_alloc(cp, &cp->cache_empty); in kmem_cpucache_magazine_alloc()
2621 if (emp != NULL) { in kmem_cpucache_magazine_alloc()
2625 kmem_cpu_reload(ccp, emp, 0); in kmem_cpucache_magazine_alloc()
2636 emp = kmem_cache_alloc(mtp->mt_cache, KM_NOSLEEP); in kmem_cpucache_magazine_alloc()
2639 if (emp != NULL) { in kmem_cpucache_magazine_alloc()
2648 kmem_cache_free(mtp->mt_cache, emp); in kmem_cpucache_magazine_alloc()
2657 kmem_depot_free(cp, &cp->cache_empty, emp); in kmem_cpucache_magazine_alloc()