Home
last modified time | relevance | path

Searched refs:bufpos (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_perf.c33 int buftot, bufpos; member
114 perf->bufpos = 0; in refill_buf()
128 if (perf->bufpos >= perf->buftot) { in perf_read()
134 n = min((int)sz, perf->buftot - perf->bufpos); in perf_read()
135 if (copy_to_user(buf, &perf->buf[perf->bufpos], n)) { in perf_read()
140 perf->bufpos += n; in perf_read()
172 perf->bufpos = 0; in perf_open()
/linux-6.1.9/drivers/char/xillybus/
Dxillybus_core.c703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
725 bufpos = channel->wr_host_buf_pos; in xillybus_read()
728 - bufpos; in xillybus_read()
772 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read()
781 + bufpos, howmany)) in xillybus_read()
1213 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1232 bufpos = channel->rd_host_buf_pos; in xillybus_write()
1233 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1243 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write()
1262 end_offset_plus1 = bufpos >> in xillybus_write()
[all …]
/linux-6.1.9/drivers/s390/crypto/
Dvfio_ap_ops.c1391 char *bufpos = buf; in control_domains_show() local
1397 n = sprintf(bufpos, "%04lx\n", id); in control_domains_show()
1398 bufpos += n; in control_domains_show()
1409 char *bufpos = buf; in vfio_ap_mdev_matrix_show() local
1426 n = sprintf(bufpos, "%02lx.%04lx\n", apid, in vfio_ap_mdev_matrix_show()
1428 bufpos += n; in vfio_ap_mdev_matrix_show()
1434 n = sprintf(bufpos, "%02lx.\n", apid); in vfio_ap_mdev_matrix_show()
1435 bufpos += n; in vfio_ap_mdev_matrix_show()
1440 n = sprintf(bufpos, ".%04lx\n", apqi); in vfio_ap_mdev_matrix_show()
1441 bufpos += n; in vfio_ap_mdev_matrix_show()
/linux-6.1.9/fs/nfs/
Dnfs42xdr.c1094 unsigned int bufpos; in process_read_plus_segment() local
1109 bufpos = xdr->buf->head[0].iov_len + (offset - args->offset); in process_read_plus_segment()
1111 return xdr_stream_zero(xdr, bufpos, length); in process_read_plus_segment()
1113 return xdr_stream_move_subsegment(xdr, seg->data.from, bufpos, length); in process_read_plus_segment()