Home
last modified time | relevance | path

Searched refs:tablesize (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dqcom-vadc-common.c347 u32 tablesize, s32 input, int *output) in qcom_vadc_map_voltage_temp() argument
354 while (i < tablesize && pts[i].x > input) in qcom_vadc_map_voltage_temp()
359 } else if (i == tablesize) { in qcom_vadc_map_voltage_temp()
360 *output = pts[tablesize - 1].y; in qcom_vadc_map_voltage_temp()
372 u32 tablesize, int input) in qcom_vadc_map_temp_voltage() argument
380 while (i < tablesize && pts[i].y < input) in qcom_vadc_map_temp_voltage()
385 if (i == tablesize) in qcom_vadc_map_temp_voltage()
386 return pts[tablesize - 1].x; in qcom_vadc_map_temp_voltage()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1412 int tablesize; in xfs_attr3_leaf_add() local
1429 tablesize = (ichdr.count + 1) * sizeof(xfs_attr_leaf_entry_t) in xfs_attr3_leaf_add()
1432 if (tablesize > ichdr.firstused) { in xfs_attr3_leaf_add()
2144 int tablesize; in xfs_attr3_leaf_remove() local
2169 tablesize = ichdr.count * sizeof(xfs_attr_leaf_entry_t) in xfs_attr3_leaf_remove()
2178 if (ichdr.freemap[i].base == tablesize) { in xfs_attr3_leaf_remove()
/openbmc/linux/drivers/scsi/
H A Dsg.c1860 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument
1862 int sg_bufflen = tablesize * sizeof(struct page *); in sg_build_sgat()
1869 return tablesize; /* number of scat_gath elements allocated */ in sg_build_sgat()