Searched refs:bufpos (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Dlseek.c71 off_t bufpos, filepos, target; local
109 bufpos = filepos - f->f_ralen;
115 target = bufpos + offset;
121 if (bufpos <= target && target < filepos) {
122 f->f_raoffset += target - bufpos;
123 f->f_ralen -= target - bufpos;
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmc_comm_dp.c803 pkt->bufpos = 2;
815 pkt->buf[pkt->bufpos++] = *pkt->inbuf;
818 if (pkt->bufpos >= sizeof (dp_header_t)) {
822 } else if ((pkt->bufpos >= sizeof (bp_msg_t)) &&
839 "bufpos=%d\n", pkt->bufpos));
853 pkt->buf[pkt->bufpos++] = *pkt->inbuf;
856 if (pkt->bufpos >= sizeof (dp_header_t)) {
858 } else if ((pkt->bufpos >= sizeof (bp_msg_t)) &&
867 max = pkt->full_length - pkt->bufpos;
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Drmc_comm_dp.h92 int16_t bufpos; /* Position in buffer. */ member in struct:dp_packet
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c43 #define bufpos(p) ((p) - (uint8_t *)extbuf) macro
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c853 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. */ local
7498 bufpos = gl->buff_curpos + 1;
7504 if(bufpos >= gl->ntotal)
7509 for(i=0; i<n && bufpos<gl->ntotal; i++) {
7513 for( ; bufpos<gl->ntotal && !gl_is_word_char((int)gl->line[bufpos]);
7514 bufpos++)
7519 for( ; bufpos<g
7542 int bufpos; /* The buffer index being checked. */ local
7581 int bufpos; /* The buffer index being checked. */ local
11977 gl_buffer_char(GetLine *gl, char c, int bufpos) argument
12015 gl_buffer_string(GetLine *gl, const char *s, int n, int bufpos) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctf.c561 caddr_t bufpos; local
566 bufpos = outbuf;
567 (void) bcopy_data(h, sizeof (ctf_header_t), &bufpos);
569 &bufpos);
570 (void) strtab_write(&buf->ctb_strtab, bcopy_data, &bufpos);
571 *resszp = bufpos - outbuf;
/illumos-gate/usr/src/uts/common/sys/usb/clients/audio/usb_ac/
H A Dusb_ac.h152 caddr_t bufpos; /* buffer position */ member in struct:usb_audio_eng
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c4739 src = &engp->bufpos;
4743 dst = &engp->bufpos;
4748 * (bufpos + sz == bufendp) then the second cpsz should be 0 and so
4749 * the second memcpy() should have no effect, with bufpos updated
4752 if (engp->bufpos + sz >= engp->bufendp) {
4753 cpsz = (size_t)engp->bufendp - (size_t)engp->bufpos;
4758 engp->bufpos = engp->bufp;
4766 engp->bufpos += cpsz;
5485 engp->bufpos = engp->bufp;
5545 engp->bufpos
[all...]

Completed in 85 milliseconds