Lines Matching defs:count
268 loff_t off, size_t count) {
275 if (off + count > sizeof(struct kone_settings))
276 count = sizeof(struct kone_settings) - off;
279 memcpy(buf, ((char const *)&kone->settings) + off, count);
282 return count;
292 loff_t off, size_t count) {
300 if (off != 0 || count != sizeof(struct kone_settings))
338 char *buf, loff_t off, size_t count) {
345 if (off + count > sizeof(struct kone_profile))
346 count = sizeof(struct kone_profile) - off;
349 memcpy(buf, ((char const *)&kone->profiles[*(uint *)(attr->private)]) + off, count);
352 return count;
358 char *buf, loff_t off, size_t count) {
366 if (off != 0 || count != sizeof(struct kone_profile))