Lines Matching refs:avail
150 size_t avail; in dev_counters_read() local
153 avail = dd->f_read_cntrs(dd, *ppos, NULL, &counters); in dev_counters_read()
154 return simple_read_from_buffer(buf, count, ppos, counters, avail); in dev_counters_read()
162 size_t avail; in dev_names_read() local
165 avail = dd->f_read_cntrs(dd, *ppos, &names, NULL); in dev_names_read()
166 return simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read()
184 size_t avail; in portnames_read() local
187 avail = dd->f_read_portcntrs(dd, *ppos, 0, &names, NULL); in portnames_read()
188 return simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read()
196 size_t avail; in portcntrs_1_read() local
199 avail = dd->f_read_portcntrs(dd, *ppos, 0, NULL, &counters); in portcntrs_1_read()
200 return simple_read_from_buffer(buf, count, ppos, counters, avail); in portcntrs_1_read()
208 size_t avail; in portcntrs_2_read() local
211 avail = dd->f_read_portcntrs(dd, *ppos, 1, NULL, &counters); in portcntrs_2_read()
212 return simple_read_from_buffer(buf, count, ppos, counters, avail); in portcntrs_2_read()