Searched refs:hdrbuf (Results 1 – 3 of 3) sorted by relevance
/freebsd/tests/sys/audit/ |
H A D | network.c | 74 init_msghdr(struct msghdr *hdrbuf, struct iovec *io, struct sockaddr_un *addr) in init_msghdr() argument 78 bzero(hdrbuf, sizeof(*hdrbuf)); in init_msghdr() 80 hdrbuf->msg_name = addr; in init_msghdr() 81 hdrbuf->msg_namelen = length; in init_msghdr() 82 hdrbuf->msg_iov = io; in init_msghdr() 83 hdrbuf->msg_iovlen = 1; in init_msghdr()
|
/freebsd/sys/netgraph/ |
H A D | ng_cisco.c | 440 struct cisco_header hdrbuf; in cisco_input() local 458 m_copydata(m, 0, sizeof(*h), (caddr_t)&hdrbuf); in cisco_input() 459 h = &hdrbuf; in cisco_input()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_fp.c | 176 struct bnxt_qplib_hdrbuf *hdrbuf; in bnxt_qplib_get_hdr_buf() local 179 hdrbuf = kmalloc(sizeof(*hdrbuf), GFP_KERNEL); in bnxt_qplib_get_hdr_buf() 180 if (!hdrbuf) in bnxt_qplib_get_hdr_buf() 184 hdrbuf->va = dma_alloc_coherent(&pdev->dev, len, in bnxt_qplib_get_hdr_buf() 185 &hdrbuf->dma_map, GFP_KERNEL); in bnxt_qplib_get_hdr_buf() 186 if (!hdrbuf->va) in bnxt_qplib_get_hdr_buf() 189 hdrbuf->len = len; in bnxt_qplib_get_hdr_buf() 190 hdrbuf->step = step; in bnxt_qplib_get_hdr_buf() 191 return hdrbuf; in bnxt_qplib_get_hdr_buf() 193 kfree(hdrbuf); in bnxt_qplib_get_hdr_buf()
|