Lines Matching full:j
133 unsigned int i, j; in udp_tunnel_nic_is_empty() local
136 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_is_empty()
137 if (!udp_tunnel_nic_entry_is_free(&utn->entries[i][j])) in udp_tunnel_nic_is_empty()
146 unsigned int i, j; in udp_tunnel_nic_should_replay() local
156 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_should_replay()
157 if (udp_tunnel_nic_entry_is_free(&utn->entries[i][j])) in udp_tunnel_nic_should_replay()
242 unsigned int i, j; in udp_tunnel_nic_device_sync_by_port() local
245 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_port()
246 udp_tunnel_nic_device_sync_one(dev, utn, i, j); in udp_tunnel_nic_device_sync_by_port()
254 unsigned int i, j; in udp_tunnel_nic_device_sync_by_table() local
259 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_table()
260 if (udp_tunnel_nic_entry_is_queued(&utn->entries[i][j])) in udp_tunnel_nic_device_sync_by_table()
262 if (j == info->tables[i].n_entries) in udp_tunnel_nic_device_sync_by_table()
270 for (j = 0; j < info->tables[i].n_entries; j++) { in udp_tunnel_nic_device_sync_by_table()
273 entry = &utn->entries[i][j]; in udp_tunnel_nic_device_sync_by_table()
350 unsigned int i, j; in udp_tunnel_nic_has_collision() local
353 for (j = 0; j < info->tables[i].n_entries; j++) { in udp_tunnel_nic_has_collision()
354 entry = &utn->entries[i][j]; in udp_tunnel_nic_has_collision()
433 unsigned int i, j; in udp_tunnel_nic_try_existing() local
440 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_try_existing()
441 if (udp_tunnel_nic_entry_try_adj(utn, i, j, ti, in udp_tunnel_nic_try_existing()
468 unsigned int i, j; in udp_tunnel_nic_add_new() local
475 for (j = 0; j < table->n_entries; j++) { in udp_tunnel_nic_add_new()
478 entry = &utn->entries[i][j]; in udp_tunnel_nic_add_new()
555 unsigned int i, j; in __udp_tunnel_nic_reset_ntf() local
565 for (j = 0; j < info->tables[i].n_entries; j++) { in __udp_tunnel_nic_reset_ntf()
568 entry = &utn->entries[i][j]; in __udp_tunnel_nic_reset_ntf()
589 unsigned int j; in __udp_tunnel_nic_dump_size() local
597 for (j = 0; j < info->tables[table].n_entries; j++) { in __udp_tunnel_nic_dump_size()
598 if (!udp_tunnel_nic_entry_is_present(&utn->entries[table][j])) in __udp_tunnel_nic_dump_size()
616 unsigned int j; in __udp_tunnel_nic_dump_write() local
622 for (j = 0; j < info->tables[table].n_entries; j++) { in __udp_tunnel_nic_dump_write()
623 if (!udp_tunnel_nic_entry_is_present(&utn->entries[table][j])) in __udp_tunnel_nic_dump_write()
631 utn->entries[table][j].port) || in __udp_tunnel_nic_dump_write()
633 ilog2(utn->entries[table][j].type))) in __udp_tunnel_nic_dump_write()
660 unsigned int i, j; in udp_tunnel_nic_flush() local
663 for (j = 0; j < info->tables[i].n_entries; j++) { in udp_tunnel_nic_flush()
664 int adj_cnt = -utn->entries[i][j].use_cnt; in udp_tunnel_nic_flush()
667 udp_tunnel_nic_entry_adj(utn, i, j, adj_cnt); in udp_tunnel_nic_flush()
684 unsigned int i, j; in udp_tunnel_nic_replay() local
690 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_replay()
691 udp_tunnel_nic_entry_freeze_used(&utn->entries[i][j]); in udp_tunnel_nic_replay()
703 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_replay()
704 udp_tunnel_nic_entry_unfreeze(&utn->entries[i][j]); in udp_tunnel_nic_replay()