Lines Matching refs:idx

41 	int idx;
46 for (idx = 0; idx < kslist->cnt; idx++) {
47 if (kslist->keysets[idx] == VCAP_KFS_ETAG)
48 return kslist->keysets[idx];
49 if (kslist->keysets[idx] ==
51 return kslist->keysets[idx];
52 if (kslist->keysets[idx] ==
54 return kslist->keysets[idx];
55 if (kslist->keysets[idx] ==
57 return kslist->keysets[idx];
61 for (idx = 0; idx < kslist->cnt; idx++) {
62 if (kslist->keysets[idx] == VCAP_KFS_MAC_ETYPE)
63 return kslist->keysets[idx];
64 if (kslist->keysets[idx] == VCAP_KFS_ARP)
65 return kslist->keysets[idx];
66 if (kslist->keysets[idx] == VCAP_KFS_IP_7TUPLE)
67 return kslist->keysets[idx];
116 int idx;
123 for (idx = 0; idx < count; ++idx) {
125 __LINE__, start + idx, keystr[idx]);
127 for (idx = 0; idx < count; ++idx) {
129 mskstr[idx] = ~mskstr[idx];
131 __LINE__, start + idx, mskstr[idx]);
136 for (idx = 0; idx < count; ++idx) {
138 __LINE__, start + idx, actstr[idx]);
158 int idx;
164 for (idx = 0; idx < count; ++idx) {
166 __LINE__, start + idx, keystr[idx]);
168 for (idx = 0; idx < count; ++idx) {
170 mskstr[idx] = ~mskstr[idx];
172 __LINE__, start + idx, mskstr[idx]);
177 for (idx = 0; idx < count; ++idx) {
179 __LINE__, start + idx, actstr[idx]);
263 int idx, cnt;
275 for (idx = 0; idx < cnt; ++idx) {
277 test_buffer[idx];
278 if (test_buffer[idx] == '\n') {
315 int ret, idx, addr;
323 for (idx = ARRAY_SIZE(keydata) - 1, addr = 799; idx > 0;
324 --idx, --addr) {
325 admin.cache.keystream = &keydata[idx];
326 admin.cache.maskstream = &mskdata[idx];
333 admin.cache.keystream = &keydata[idx];
334 admin.cache.maskstream = &mskdata[idx];
416 int idx;
421 for (idx = 0; idx < test_pr_bufferidx; ++idx) {
422 /* pr_info("log[%02d]: %s", idx, test_pr_buffer[idx]); */
423 KUNIT_EXPECT_STREQ(test, test_admin_info_expect[idx],
424 test_pr_buffer[idx]);
527 int ret, idx;
534 for (idx = 0; idx < test_pr_bufferidx; ++idx) {
535 /* pr_info("log[%02d]: %s", idx, test_pr_buffer[idx]); */
536 KUNIT_EXPECT_STREQ(test, test_admin_expect[idx],
537 test_pr_buffer[idx]);