Home
last modified time | relevance | path

Searched refs:b_buf (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/netgraph/atm/
H A Dngatmbase.c105 free(m->b_buf, M_UNIMSG); in uni_msg_extend()
107 m->b_buf = b; in uni_msg_extend()
108 m->b_rptr = m->b_buf + lead; in uni_msg_extend()
110 m->b_lim = m->b_buf + s; in uni_msg_extend()
262 m->msg.b_rptr = m->msg.b_wptr = m->msg.b_buf; in _uni_msg_alloc()
263 m->msg.b_lim = m->msg.b_buf + s; in _uni_msg_alloc()
305 free(m->b_buf, M_UNIMSG); in _uni_msg_destroy()
370 if((m->b_buf = malloc(s, M_UNIMSG, M_NOWAIT | M_ZERO)) == NULL) { in uni_msg_alloc()
376 m->b_rptr = m->b_wptr = m->b_buf; in uni_msg_alloc()
377 m->b_lim = m->b_buf + s; in uni_msg_alloc()
[all …]
/f-stack/freebsd/contrib/ngatm/netnatm/
H A Dunimsg.h50 u_char *b_buf; /* data buffer */ member
61 #define uni_msg_leading(M) ((size_t)((M)->b_rptr - (M)->b_buf))
64 #define uni_msg_size(M) ((size_t)((M)->b_lim - (M)->b_buf));
/f-stack/freebsd/contrib/ngatm/netnatm/msg/
H A Duni_msg.c102 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_alerting()
103 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_alerting()
248 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_call_proc()
249 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_call_proc()
464 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_connect()
465 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_connect()
687 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_connect_ack()
688 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_connect_ack()
817 msg->b_buf[mlen+0] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 8; in encode_release()
818 msg->b_buf[mlen+1] = ((msg->b_wptr-msg->b_rptr)-mlen-2) >> 0; in encode_release()
[all …]
H A Duni_ie.c153 (M)->b_buf[ielen + 0] = \
155 (M)->b_buf[ielen + 1] = \
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Darc.c2806 buf->b_next = hdr->b_l1hdr.b_buf; in arc_buf_alloc_impl()
2873 hdr->b_l1hdr.b_buf = buf; in arc_buf_alloc_impl()
3093 arc_buf_t **bufp = &hdr->b_l1hdr.b_buf; in arc_buf_remove()
3335 hdr->b_l1hdr.b_buf = NULL; in arc_hdr_alloc()
3532 nhdr->b_l1hdr.b_buf = hdr->b_l1hdr.b_buf; in arc_hdr_realloc_crypt()
3558 hdr->b_l1hdr.b_buf = NULL; in arc_hdr_realloc_crypt()
3813 ASSERT(hdr->b_l1hdr.b_buf == NULL || in arc_hdr_destroy()
3856 while (hdr->b_l1hdr.b_buf != NULL) in arc_hdr_destroy()
3987 while (hdr->b_l1hdr.b_buf) { in arc_evict_hdr()
3988 arc_buf_t *buf = hdr->b_l1hdr.b_buf; in arc_evict_hdr()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Darc_impl.h155 arc_buf_t *b_buf; member