Lines Matching refs:n

47 static inline void copy_pc_to_user(void *to, const void *from, size_t n)  in copy_pc_to_user()  argument
49 size_t odd = (n & 3); in copy_pc_to_user()
50 n -= odd; in copy_pc_to_user()
51 while (n) { in copy_pc_to_user()
53 (char *)from += 4; (char *)to += 4; n -= 4; in copy_pc_to_user()
59 static inline void copy_user_to_pc(void *to, const void *from, size_t n) in copy_user_to_pc() argument
63 size_t odd = (n & 3); in copy_user_to_pc()
64 n -= odd; in copy_user_to_pc()
65 while (n) { in copy_user_to_pc()
68 (char *)to += 4; (char *)from += 4; n -= 4; in copy_user_to_pc()
78 static inline void copy_from_pc(void *to, const void *from, size_t n) in copy_from_pc() argument
80 size_t odd = (n & 1); in copy_from_pc()
81 n -= odd; in copy_from_pc()
82 while (n) { in copy_from_pc()
84 (char *)to += 2; (char *)from += 2; n -= 2; in copy_from_pc()
90 static inline void copy_to_pc(void *to, const void *from, size_t n) in copy_to_pc() argument
92 size_t odd = (n & 1); in copy_to_pc()
93 n -= odd; in copy_to_pc()
94 while (n) { in copy_to_pc()
96 (char *)to += 2; (char *)from += 2; n -= 2; in copy_to_pc()
102 static inline void copy_pc_to_user(void *to, const void *from, size_t n) in copy_pc_to_user() argument
104 size_t odd = (n & 1); in copy_pc_to_user()
105 n -= odd; in copy_pc_to_user()
106 while (n) { in copy_pc_to_user()
108 (char *)to += 2; (char *)from += 2; n -= 2; in copy_pc_to_user()
114 static inline void copy_user_to_pc(void *to, const void *from, size_t n) in copy_user_to_pc() argument
118 size_t odd = (n & 1); in copy_user_to_pc()
119 n -= odd; in copy_user_to_pc()
120 while (n) { in copy_user_to_pc()
123 (char *)to += 2; (char *)from += 2; n -= 2; in copy_user_to_pc()