Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/
H A 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/drivers/char/xillybus/
H A 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/drivers/net/wireless/ath/ath11k/
H A Dtestmode.c400 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/fs/nfs/
H A Dnfs42xdr.c1023 unsigned int bufpos; in process_read_plus_segment()
1038 bufpos = xdr->buf->head[0].iov_len + (offset - args->offset); in process_read_plus_segment()
1040 return xdr_stream_zero(xdr, bufpos, length); in process_read_plus_segment()
1042 return xdr_stream_move_subsegment(xdr, seg->data.from, bufpos, length);
1021 unsigned int bufpos; process_read_plus_segment() local