Searched refs:bufpos (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | rmc_comm_dp.c | 803 pkt->bufpos = 2; in rmc_comm_dp_drecv() 815 pkt->buf[pkt->bufpos++] = *pkt->inbuf; in rmc_comm_dp_drecv() 818 if (pkt->bufpos >= sizeof (dp_header_t)) { in rmc_comm_dp_drecv() 822 } else if ((pkt->bufpos >= sizeof (bp_msg_t)) && in rmc_comm_dp_drecv() 839 "bufpos=%d\n", pkt->bufpos)); in rmc_comm_dp_drecv() 853 pkt->buf[pkt->bufpos++] = *pkt->inbuf; in rmc_comm_dp_drecv() 856 if (pkt->bufpos >= sizeof (dp_header_t)) { in rmc_comm_dp_drecv() 858 } else if ((pkt->bufpos >= sizeof (bp_msg_t)) && in rmc_comm_dp_drecv() 867 max = pkt->full_length - pkt->bufpos; in rmc_comm_dp_drecv() 877 bcopy(pkt->inbuf, pkt->buf + pkt->bufpos, in rmc_comm_dp_drecv() [all …]
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | getline.c | 853 static int gl_buffer_char(GetLine *gl, char c, int bufpos); 858 static int gl_buffer_string(GetLine *gl, const char *s, int n, int bufpos); 7491 int bufpos; /* The buffer index being checked. */ in gl_nth_word_end_forward() local 7498 bufpos = gl->buff_curpos + 1; in gl_nth_word_end_forward() 7504 if(bufpos >= gl->ntotal) in gl_nth_word_end_forward() 7509 for(i=0; i<n && bufpos<gl->ntotal; i++) { in gl_nth_word_end_forward() 7513 for( ; bufpos<gl->ntotal && !gl_is_word_char((int)gl->line[bufpos]); in gl_nth_word_end_forward() 7514 bufpos++) in gl_nth_word_end_forward() 7519 for( ; bufpos<gl->ntotal && gl_is_word_char((int)gl->line[bufpos]); in gl_nth_word_end_forward() 7520 bufpos++) in gl_nth_word_end_forward() [all …]
|
/titanic_44/usr/src/uts/sun4u/sys/ |
H A D | rmc_comm_dp.h | 92 int16_t bufpos; /* Position in buffer. */ member
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | ctf.c | 561 caddr_t bufpos; in write_buffer() local 566 bufpos = outbuf; in write_buffer() 567 (void) bcopy_data(h, sizeof (ctf_header_t), &bufpos); in write_buffer() 569 &bufpos); in write_buffer() 570 (void) strtab_write(&buf->ctb_strtab, bcopy_data, &bufpos); in write_buffer() 571 *resszp = bufpos - outbuf; in write_buffer()
|
/titanic_44/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 43 #define bufpos(p) ((p) - (uint8_t *)extbuf) macro
|
/titanic_44/usr/src/uts/common/sys/usb/clients/audio/usb_ac/ |
H A D | usb_ac.h | 152 caddr_t bufpos; /* buffer position */ member
|
/titanic_44/usr/src/uts/common/io/usb/clients/audio/usb_ac/ |
H A D | usb_ac.c | 4739 src = &engp->bufpos; in usb_eng_bufio() 4743 dst = &engp->bufpos; in usb_eng_bufio() 4752 if (engp->bufpos + sz >= engp->bufendp) { in usb_eng_bufio() 4753 cpsz = (size_t)engp->bufendp - (size_t)engp->bufpos; in usb_eng_bufio() 4758 engp->bufpos = engp->bufp; in usb_eng_bufio() 4766 engp->bufpos += cpsz; in usb_eng_bufio() 5485 engp->bufpos = engp->bufp; in usb_engine_open() 5545 engp->bufpos = NULL; in usb_engine_close()
|