Lines Matching refs:pos
46 * @pos: offset into the regset data to access, in bytes
52 * are usual failure returns. The @pos and @count values are in
60 unsigned int pos, unsigned int count,
67 * @pos: offset into the regset data to access, in bytes
73 * are usual failure returns. The @pos and @count values are in
81 unsigned int pos, unsigned int count,
134 * The @pos argument must be aligned according to @align; the @count
220 static inline int user_regset_copyout(unsigned int *pos, unsigned int *count,
227 BUG_ON(*pos < start_pos);
228 if (end_pos < 0 || *pos < end_pos) {
230 : min(*count, end_pos - *pos));
231 data += *pos - start_pos;
239 *pos += copy;
245 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count,
252 BUG_ON(*pos < start_pos);
253 if (end_pos < 0 || *pos < end_pos) {
255 : min(*count, end_pos - *pos));
256 data += *pos - start_pos;
264 *pos += copy;
274 static inline int user_regset_copyout_zero(unsigned int *pos,
282 BUG_ON(*pos < start_pos);
283 if (end_pos < 0 || *pos < end_pos) {
285 : min(*count, end_pos - *pos));
293 *pos += copy;
299 static inline int user_regset_copyin_ignore(unsigned int *pos,
308 BUG_ON(*pos < start_pos);
309 if (end_pos < 0 || *pos < end_pos) {
311 : min(*count, end_pos - *pos));
316 *pos += copy;