Searched refs:d_bufsize (Results 1 – 2 of 2) sorted by relevance
147 dev->d_bufsize = bufsize; in pipecommon_allocdev()199 dev->d_buffer = (uint8_t *)malloc(dev->d_bufsize); in pipecommon_open()453 if (++dev->d_rdndx >= dev->d_bufsize) in pipecommon_read()605 if (nxtwrndx >= dev->d_bufsize) in pipecommon_write()725 nbytes = dev->d_bufsize + dev->d_wrndx - dev->d_rdndx; in pipecommon_poll()733 if (((filep->f_oflags & O_WRONLY) != 0) && (nbytes < (dev->d_bufsize - 1))) in pipecommon_poll()
117 pipe_ndx_t d_bufsize; /* allocated size of d_buffer in bytes */ member