Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c43 #define bufpos(p) ((p) - (uint8_t *)extbuf)
51 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument
53 if (extbuf && ((extlen < 0) || (extlen % 8))) { in inet6_opt_init()
57 if (extbuf) { in inet6_opt_init()
58 *(uint8_t *)extbuf = 0; in inet6_opt_init()
59 *((uint8_t *)extbuf + 1) = extlen/8 - 1; in inet6_opt_init()
71 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, in inet6_opt_append() argument
84 if (extbuf) { in inet6_opt_append()
91 extlen = MIN(extlen, (*((uint8_t *)extbuf + 1) + 1) * 8); in inet6_opt_append()
102 if ((endlen > extlen) || !extbuf) { in inet6_opt_append()
[all …]
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c80 static uint8_t *extbuf; variable
201 if (extbuf) { in opndir()
202 free(extbuf); in opndir()
203 extbuf = NULL; in opndir()
249 if (extbuf) in getallocext()
250 free(extbuf); in getallocext()
251 extbuf = (uint8_t *)malloc(nb); in getallocext()
252 if (extbuf == NULL) in getallocext()
254 if (bread(fsreadfd, (char *)extbuf, in getallocext()
261 aep = (struct alloc_ext_desc *)extbuf; in getallocext()
[all …]
/titanic_50/usr/src/uts/common/netinet/
H A Din.h1152 extern int inet6_opt_init(void *extbuf, socklen_t extlen);
1153 extern int inet6_opt_append(void *extbuf, socklen_t extlen, int offset,
1155 extern int inet6_opt_finish(void *extbuf, socklen_t extlen, int offset);
1158 extern int inet6_opt_next(void *extbuf, socklen_t extlen, int offset,
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c3331 if (mbq->extbuf) { in emlxs_sli3_issue_mbox_cmd()
3337 BE_SWAP32_BCOPY((uint8_t *)mbq->extbuf, in emlxs_sli3_issue_mbox_cmd()
3356 if (mbq->extbuf) { in emlxs_sli3_issue_mbox_cmd()
3360 WRITE_SLIM_COPY(hba, (uint32_t *)mbq->extbuf, in emlxs_sli3_issue_mbox_cmd()
3512 if (mbq->extbuf) { in emlxs_sli3_issue_mbox_cmd()
3524 (uint8_t *)mbq->extbuf, mbq->extsize); in emlxs_sli3_issue_mbox_cmd()
3527 (uint32_t *)mbq->extbuf, mbox_ext, in emlxs_sli3_issue_mbox_cmd()
5901 if (mbq->extbuf) { in emlxs_handle_mb_event()
5911 (uint8_t *)mbq->extbuf, mbq->extsize); in emlxs_handle_mb_event()
5913 READ_SLIM_COPY(hba, (uint32_t *)mbq->extbuf, in emlxs_handle_mb_event()
H A Demlxs_dfc.c4616 uint8_t *extbuf = NULL; in emlxs_dfc_send_mbox() local
4683 extbuf = (uint8_t *)kmem_zalloc(extsize, KM_SLEEP); in emlxs_dfc_send_mbox()
4686 bcopy((void *)dfc->buf3, (void *)extbuf, in emlxs_dfc_send_mbox()
5132 if (extbuf) { in emlxs_dfc_send_mbox()
5133 mbq->extbuf = extbuf; in emlxs_dfc_send_mbox()
5173 bcopy((void *)extbuf, (void *)dfc->buf4, dfc->buf4_size); in emlxs_dfc_send_mbox()
5182 if (extbuf) { in emlxs_dfc_send_mbox()
5183 kmem_free(extbuf, extsize); in emlxs_dfc_send_mbox()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_mbox.h4676 uint8_t *extbuf; /* ptr to mailbox ext buffer */ member