Lines Matching refs:count
104 size_t count, loff_t *ppos)
107 return simple_read_from_buffer(buf, count, ppos, &qib_stats,
132 size_t count, loff_t *ppos)
134 return simple_read_from_buffer(buf, count, ppos, qib_statnames,
145 size_t count, loff_t *ppos)
152 return simple_read_from_buffer(buf, count, ppos, counters, avail);
157 size_t count, loff_t *ppos)
164 return simple_read_from_buffer(buf, count, ppos, names, avail);
179 size_t count, loff_t *ppos)
186 return simple_read_from_buffer(buf, count, ppos, names, avail);
191 size_t count, loff_t *ppos)
198 return simple_read_from_buffer(buf, count, ppos, counters, avail);
203 size_t count, loff_t *ppos)
210 return simple_read_from_buffer(buf, count, ppos, counters, avail);
223 size_t count, loff_t *ppos)
235 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
244 size_t count, loff_t *ppos)
259 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
270 size_t count, loff_t *ppos)
289 if (count > sizeof(struct qib_flash) - pos)
290 count = sizeof(struct qib_flash) - pos;
292 tmp = kmalloc(count, GFP_KERNEL);
299 if (qib_eeprom_read(dd, pos, tmp, count)) {
305 if (copy_to_user(buf, tmp, count)) {
310 *ppos = pos + count;
311 ret = count;
321 size_t count, loff_t *ppos)
330 if (pos != 0 || count != sizeof(struct qib_flash))
333 tmp = memdup_user(buf, count);
338 if (qib_eeprom_write(dd, pos, tmp, count)) {
344 *ppos = pos + count;
345 ret = count;