Lines Matching defs:pos
63 loff_t pos = *offset;
69 len = KVM_STATS_NAME_SIZE + size_header + size_desc + size_stats - pos;
78 * The pos is 0 and the copylen and remain would be the size of header.
83 copylen = size_header - pos;
86 src = (void *)header + pos;
90 pos += copylen;
103 copylen = header->id_offset + KVM_STATS_NAME_SIZE - pos;
106 src = id + pos - header->id_offset;
110 pos += copylen;
117 * userspace periodically read stats data, since the pos would be
121 copylen = header->desc_offset + size_desc - pos;
124 src = (void *)desc + pos - header->desc_offset;
128 pos += copylen;
133 copylen = header->data_offset + size_stats - pos;
136 src = stats + pos - header->data_offset;
139 pos += copylen;
142 *offset = pos;