Home
last modified time | relevance | path

Searched refs:bufidx (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/char/xillybus/
Dxillybus_core.c682 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
703 bufidx = channel->wr_host_buf_idx; in xillybus_read()
705 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
720 if (bufidx == channel->wr_fpga_buf_idx) { in xillybus_read()
726 if (bufidx >= (channel->num_wr_buffers - 1)) in xillybus_read()
754 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
760 channel->wr_buffers[bufidx]->addr in xillybus_read()
770 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
783 (bufidx << 12), in xillybus_read()
1001 int bufidx, bufidx_minus1; in xillybus_myflush() local
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_itable.c553 int bufidx = 0; in xfs_inumbers() local
589 buffer[bufidx].xi_startino = in xfs_inumbers()
591 buffer[bufidx].xi_alloccount = r.ir_count - r.ir_freecount; in xfs_inumbers()
592 buffer[bufidx].xi_allocmask = ~r.ir_free; in xfs_inumbers()
593 if (++bufidx == bcount) { in xfs_inumbers()
596 error = formatter(ubuffer, buffer, bufidx, &written); in xfs_inumbers()
600 *count += bufidx; in xfs_inumbers()
601 bufidx = 0; in xfs_inumbers()
622 if (bufidx) { in xfs_inumbers()
625 error = formatter(ubuffer, buffer, bufidx, &written); in xfs_inumbers()
[all …]