Lines Matching refs:ppos

105 				 size_t count, loff_t *ppos)  in driver_stats_read()  argument
107 return simple_read_from_buffer(buf, count, ppos, &qib_stats, in driver_stats_read()
132 size_t count, loff_t *ppos) in driver_names_read() argument
134 return simple_read_from_buffer(buf, count, ppos, qib_statnames, in driver_names_read()
145 size_t count, loff_t *ppos) in dev_counters_read() argument
151 avail = dd->f_read_cntrs(dd, *ppos, NULL, &counters); in dev_counters_read()
152 return simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read()
157 size_t count, loff_t *ppos) in dev_names_read() argument
163 avail = dd->f_read_cntrs(dd, *ppos, &names, NULL); in dev_names_read()
164 return simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read()
179 size_t count, loff_t *ppos) in portnames_read() argument
185 avail = dd->f_read_portcntrs(dd, *ppos, 0, &names, NULL); in portnames_read()
186 return simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read()
191 size_t count, loff_t *ppos) in portcntrs_1_read() argument
197 avail = dd->f_read_portcntrs(dd, *ppos, 0, NULL, &counters); in portcntrs_1_read()
198 return simple_read_from_buffer(buf, count, ppos, counters, avail); in portcntrs_1_read()
203 size_t count, loff_t *ppos) in portcntrs_2_read() argument
209 avail = dd->f_read_portcntrs(dd, *ppos, 1, NULL, &counters); in portcntrs_2_read()
210 return simple_read_from_buffer(buf, count, ppos, counters, avail); in portcntrs_2_read()
223 size_t count, loff_t *ppos) in qsfp_1_read() argument
235 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); in qsfp_1_read()
244 size_t count, loff_t *ppos) in qsfp_2_read() argument
259 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); in qsfp_2_read()
270 size_t count, loff_t *ppos) in flash_read() argument
277 pos = *ppos; in flash_read()
310 *ppos = pos + count; in flash_read()
321 size_t count, loff_t *ppos) in flash_write() argument
328 pos = *ppos; in flash_write()
358 *ppos = pos + count; in flash_write()