Lines Matching refs:od
285 #define OD_AVG(od, fld, q2c) \ argument
286 (od. fld .n == 0) ? (double)0.0 : \
287 (100.0 * ((double)((od). fld . total) / q2c))
292 struct ohead_data od; in output_dip_prep_ohead() local
294 memset(&od, 0, sizeof(od)); in output_dip_prep_ohead()
295 od.ofp = ofp; in output_dip_prep_ohead()
300 dip_foreach_out(__output_dip_prep_ohead, &od); in output_dip_prep_ohead()
302 if (od.q2g.n == 0 && od.g2i.n == 0 && od.q2m.n == 0 && in output_dip_prep_ohead()
303 od.i2d.n == 0 && od.d2c.n == 0) in output_dip_prep_ohead()
306 q2c = od.q2c.total; in output_dip_prep_ohead()
309 OD_AVG(od, q2g, q2c), OD_AVG(od, g2i, q2c), in output_dip_prep_ohead()
310 OD_AVG(od, q2m, q2c), OD_AVG(od, i2d, q2c), in output_dip_prep_ohead()
311 OD_AVG(od, d2c, q2c)); in output_dip_prep_ohead()
845 struct __od od = { .ofp = ofp, .base = base }; in output_devs() local
848 dip_foreach_out(__output_dev, &od); in output_devs()
849 return od.base; in output_devs()