Searched refs:bufpos (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/msm/ |
D | msm_perf.c | 33 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-v6.6/drivers/char/xillybus/ |
D | xillybus_core.c | 703 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-v6.6/drivers/net/wireless/ath/ath11k/ |
D | testmode.c | 400 u8 *bufpos; in ath11k_tm_cmd_wmi_ftm() local 426 bufpos = buf; in ath11k_tm_cmd_wmi_ftm() 455 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath11k_tm_cmd_wmi_ftm() 464 bufpos += chunk_len; in ath11k_tm_cmd_wmi_ftm()
|
/Linux-v6.6/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 1421 char *bufpos = buf; in control_domains_show() local 1427 n = sprintf(bufpos, "%04lx\n", id); in control_domains_show() 1428 bufpos += n; in control_domains_show() 1439 char *bufpos = buf; in vfio_ap_mdev_matrix_show() local 1456 n = sprintf(bufpos, "%02lx.%04lx\n", apid, in vfio_ap_mdev_matrix_show() 1458 bufpos += n; in vfio_ap_mdev_matrix_show() 1464 n = sprintf(bufpos, "%02lx.\n", apid); in vfio_ap_mdev_matrix_show() 1465 bufpos += n; in vfio_ap_mdev_matrix_show() 1470 n = sprintf(bufpos, ".%04lx\n", apqi); in vfio_ap_mdev_matrix_show() 1471 bufpos += n; in vfio_ap_mdev_matrix_show()
|
/Linux-v6.6/fs/nfs/ |
D | nfs42xdr.c | 1021 unsigned int bufpos; in process_read_plus_segment() local 1036 bufpos = xdr->buf->head[0].iov_len + (offset - args->offset); in process_read_plus_segment() 1038 return xdr_stream_zero(xdr, bufpos, length); in process_read_plus_segment() 1040 return xdr_stream_move_subsegment(xdr, seg->data.from, bufpos, length); in process_read_plus_segment()
|