Lines Matching defs:count
33 int (*write)(struct b43legacy_wldev *dev, const char *buf, size_t count);
56 if (bufsize - count) \
57 count += scnprintf(buf + count, \
58 bufsize - count, \
68 ssize_t count = 0;
76 return count;
80 static int tsf_write_file(struct b43legacy_wldev *dev, const char *buf, size_t count)
94 ssize_t count = 0;
102 return count;
108 ssize_t count = 0;
118 count += sizeof(tmp);
122 return count;
128 ssize_t count = 0;
169 return count;
173 static int restart_write_file(struct b43legacy_wldev *dev, const char *buf, size_t count)
177 if (count > 0 && buf[0] == '1') {
188 size_t count, loff_t *ppos)
199 if (!count)
241 ret = simple_read_from_buffer(userbuf, count, ppos,
257 size_t count, loff_t *ppos)
264 if (!count)
266 if (count > PAGE_SIZE)
290 if (copy_from_user(buf, userbuf, count)) {
296 err = dfops->write(dev, buf, count);
299 err = dfops->write(dev, buf, count);
308 return err ? err : count;