Lines Matching defs:count
106 size_t count, loff_t *ppos)
109 return simple_read_from_buffer(buf, count, ppos, &qib_stats,
134 size_t count, loff_t *ppos)
136 return simple_read_from_buffer(buf, count, ppos, qib_statnames,
147 size_t count, loff_t *ppos)
154 return simple_read_from_buffer(buf, count, ppos, counters, avail);
159 size_t count, loff_t *ppos)
166 return simple_read_from_buffer(buf, count, ppos, names, avail);
181 size_t count, loff_t *ppos)
188 return simple_read_from_buffer(buf, count, ppos, names, avail);
193 size_t count, loff_t *ppos)
200 return simple_read_from_buffer(buf, count, ppos, counters, avail);
205 size_t count, loff_t *ppos)
212 return simple_read_from_buffer(buf, count, ppos, counters, avail);
225 size_t count, loff_t *ppos)
237 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
246 size_t count, loff_t *ppos)
261 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
272 size_t count, loff_t *ppos)
291 if (count > sizeof(struct qib_flash) - pos)
292 count = sizeof(struct qib_flash) - pos;
294 tmp = kmalloc(count, GFP_KERNEL);
301 if (qib_eeprom_read(dd, pos, tmp, count)) {
307 if (copy_to_user(buf, tmp, count)) {
312 *ppos = pos + count;
313 ret = count;
323 size_t count, loff_t *ppos)
332 if (pos != 0 || count != sizeof(struct qib_flash))
335 tmp = memdup_user(buf, count);
340 if (qib_eeprom_write(dd, pos, tmp, count)) {
346 *ppos = pos + count;
347 ret = count;