Lines Matching refs:sw_count
317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw()
341 int sw_count, idx; in vcap_find_keystream_keysets() local
343 sw_count = vcap_find_keystream_typegroup_sw(vctrl, vt, keystream, mask, in vcap_find_keystream_keysets()
345 if (sw_count < 0) in vcap_find_keystream_keysets()
346 return sw_count; in vcap_find_keystream_keysets()
350 if (keyfield_set[idx].sw_per_item != sw_count) in vcap_find_keystream_keysets()
417 if (kset->sw_per_item == 0 || kset->sw_per_item > vctrl->vcaps[vt].sw_count) in vcap_keyfieldset()
710 if (aset->sw_per_item == 0 || aset->sw_per_item > vctrl->vcaps[vt].sw_count) in vcap_actionfieldset()
1371 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_actionstream_typegroup_sw()
1392 int sw_count, idx; in vcap_find_actionstream_actionset() local
1395 sw_count = vcap_find_actionstream_typegroup_sw(vctrl, vt, stream, in vcap_find_actionstream_actionset()
1397 if (sw_count < 0) in vcap_find_actionstream_actionset()
1398 return sw_count; in vcap_find_actionstream_actionset()
1402 if (actionfield_set[idx].sw_per_item != sw_count) in vcap_find_actionstream_actionset()
2102 int sw_count = ri->vctrl->vcaps[ri->admin->vtype].sw_count; in vcap_insert_rule() local
2107 ri->sort_key = vcap_sort_key(sw_count, ri->size, ri->data.user, in vcap_insert_rule()
2341 maxsize = vctrl->vcaps[admin->vtype].sw_count; /* worst case rule size */ in vcap_alloc_rule()