Lines Matching refs:count
49 static inline void *fb_memclear_small(void *s, size_t count) in fb_memclear_small() argument
51 if (!count) in fb_memclear_small()
60 : "=a" (s), "=d" (count) in fb_memclear_small()
61 : "d" (0), "0" ((char *)s + count), "1" (count)); in fb_memclear_small()
69 : "=a" (s), "=d" (count) in fb_memclear_small()
70 : "d" (0), "0" (s), "1" (count) in fb_memclear_small()
78 static inline void *fb_memclear(void *s, size_t count) in fb_memclear() argument
80 if (!count) in fb_memclear()
83 if (count < 16) { in fb_memclear()
90 : "=a" (s), "=d" (count) in fb_memclear()
91 : "0" (s), "1" (count)); in fb_memclear()
110 : "=a" (s), "=d" (count), "=d" (tmp) in fb_memclear()
111 : "0" (s), "1" (count)); in fb_memclear()
118 static inline void *fb_memset255(void *s, size_t count) in fb_memset255() argument
120 if (!count) in fb_memset255()
129 : "=a" (s), "=d" (count) in fb_memset255()
130 : "d" (-1), "0" ((char *)s+count), "1" (count)); in fb_memset255()
137 : "=a" (s), "=d" (count) in fb_memset255()
138 : "d" (-1), "0" (s), "1" (count) in fb_memset255()
145 static inline void *fb_memmove(void *d, const void *s, size_t count) in fb_memmove() argument
148 if (count < 16) { in fb_memmove()
155 : "=a" (d), "=a" (s), "=d" (count) in fb_memmove()
156 : "0" (d), "1" (s), "2" (count)); in fb_memmove()
176 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove()
177 : "0" (d), "1" (s), "2" (count)); in fb_memmove()
180 if (count < 16) { in fb_memmove()
187 : "=a" (d), "=a" (s), "=d" (count) in fb_memmove()
188 : "0" ((char *) d + count), "1" ((char *) s + count), "2" (count)); in fb_memmove()
209 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove()
210 : "0" ((char *) d + count), "1" ((char *) s + count), "2" (count)); in fb_memmove()