Lines Matching defs:offset
111 int visorchannel_read(struct visorchannel *channel, ulong offset, void *dest,
114 if (offset + nbytes > channel->nbytes)
117 memcpy(dest, channel->mapped + offset, nbytes);
121 int visorchannel_write(struct visorchannel *channel, ulong offset, void *dest,
127 if (offset + nbytes > channel->nbytes)
130 if (offset < chdr_size) {
131 copy_size = min(chdr_size - offset, nbytes);
132 memcpy(((char *)(&channel->chan_hdr)) + offset,
135 memcpy(channel->mapped + offset, dest, nbytes);
145 * Return offset of a specific SIGNAL_QUEUE_HEADER from the beginning of a
155 * Return offset of a specific queue entry (data) from the beginning of a