Lines Matching refs:cnt

128 	int err, cnt;  in dscpmk_create_action()  local
171 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
172 if ((tbl[cnt] != DSCPMK_UNCHANGED_DSCP) && (tbl[cnt] != in dscpmk_create_action()
173 dscpmk_data->dscp_map[cnt])) { in dscpmk_create_action()
174 dscpmk_data->dscp_map[cnt] = tbl[cnt]; in dscpmk_create_action()
201 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
202 dscpmk_data->dscp_stats[cnt].present = B_FALSE; in dscpmk_create_action()
203 dscpmk_data->dscp_stats[cnt].npackets = 0; in dscpmk_create_action()
214 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
215 int val = dscpmk_data->dscp_map[cnt]; in dscpmk_create_action()
241 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
242 if (dscpmk_data->dscp_stats[cnt].present) { in dscpmk_create_action()
244 dscpmk_data->dscp_stats[cnt].stats); in dscpmk_create_action()
260 int err = 0, cnt; in dscpmk_modify_action() local
323 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
324 if ((tbl[cnt] != DSCPMK_UNCHANGED_DSCP) && (tbl[cnt] != in dscpmk_modify_action()
325 dscpmk_data->dscp_map[cnt])) { in dscpmk_modify_action()
326 dscpmk_data->dscp_map[cnt] = tbl[cnt]; in dscpmk_modify_action()
358 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
359 if (dscpmk_data->dscp_stats[cnt].present) { in dscpmk_modify_action()
360 dscpmk_data->dscp_stats[cnt].present = in dscpmk_modify_action()
363 dscp_stats[cnt].stats); in dscpmk_modify_action()
372 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
373 int val = dscpmk_data->dscp_map[cnt]; in dscpmk_modify_action()
394 int err, cnt; in dscpmk_destroy_action() local
405 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_destroy_action()
406 if (dscpmk_data->dscp_stats[cnt].present) { in dscpmk_destroy_action()
407 ipp_stat_destroy(dscpmk_data->dscp_stats[cnt]. in dscpmk_destroy_action()
592 int err, cnt; in dscpmk_info() local
635 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_info()
636 dscp_map[cnt] = dscpmk_data->dscp_map[cnt]; in dscpmk_info()