| /net/ipv4/ |
| A D | udp_tunnel_nic.c | 139 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_is_empty() 159 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_should_replay() 248 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_port() 262 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_table() 273 for (j = 0; j < info->tables[i].n_entries; j++) { in udp_tunnel_nic_device_sync_by_table() 345 for (j = 0; j < info->tables[i].n_entries; j++) { in udp_tunnel_nic_has_collision() 432 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_try_existing() 467 for (j = 0; j < table->n_entries; j++) { in udp_tunnel_nic_add_new() 557 for (j = 0; j < info->tables[i].n_entries; j++) { in __udp_tunnel_nic_reset_ntf() 714 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_replay() [all …]
|
| A D | proc.c | 318 int j; in icmpmsg_put_line() local 322 for (j = 0; j < count; ++j) in icmpmsg_put_line() 324 type[j] & 0x100 ? "Out" : "In", in icmpmsg_put_line() 325 type[j] & 0xff); in icmpmsg_put_line() 327 for (j = 0; j < count; ++j) in icmpmsg_put_line() 328 seq_printf(seq, " %lu", vals[j]); in icmpmsg_put_line()
|
| /net/mac80211/ |
| A D | rc80211_minstrel_ht_debugfs.c | 69 for (j = 0; j < MCS_GROUP_RATES; j++) { in minstrel_ht_stats_dump() 71 int idx = MI_RATE(i, j); in minstrel_ht_stats_dump() 74 if (!(mi->supported[i] & BIT(j))) in minstrel_ht_stats_dump() 109 r = minstrel_ofdm_bitrates[j % 8]; in minstrel_ht_stats_dump() 111 r = minstrel_cck_bitrates[j % 4]; in minstrel_ht_stats_dump() 119 duration = mg->duration[j]; in minstrel_ht_stats_dump() 214 for (j = 0; j < MCS_GROUP_RATES; j++) { in minstrel_ht_stats_csv_dump() 216 int idx = MI_RATE(i, j); in minstrel_ht_stats_csv_dump() 219 if (!(mi->supported[i] & BIT(j))) in minstrel_ht_stats_csv_dump() 255 r = minstrel_cck_bitrates[j % 4]; in minstrel_ht_stats_csv_dump() [all …]
|
| A D | rate.c | 451 int j; in rate_idx_match_legacy_mask() local 454 for (j = *rate_idx; j >= 0; j--) { in rate_idx_match_legacy_mask() 457 *rate_idx = j; in rate_idx_match_legacy_mask() 463 for (j = *rate_idx + 1; j < n_bitrates; j++) { in rate_idx_match_legacy_mask() 466 *rate_idx = j; in rate_idx_match_legacy_mask() 475 int i, j; in rate_idx_match_mcs_mask() local 487 for (j = rbit; j >= 0; j--) in rate_idx_match_mcs_mask() 500 for (j = rbit; j < 8; j++) in rate_idx_match_mcs_mask() 512 int i, j; in rate_idx_match_vht_mcs_mask() local 523 for (j = rbit; j >= 0; j--) { in rate_idx_match_vht_mcs_mask() [all …]
|
| A D | rc80211_minstrel_ht.c | 559 j--; in minstrel_ht_sort_best_tp_rates() 563 memmove(&tp_list[j + 1], &tp_list[j], (sizeof(*tp_list) * in minstrel_ht_sort_best_tp_rates() 808 int i, j; in minstrel_ht_move_sample_rates() local 839 if (i == j) in minstrel_ht_move_sample_rates() 846 return j; in minstrel_ht_move_sample_rates() 1016 int i, j; in minstrel_ht_refill_sample_rates() local 1088 for (j = 0; j < ARRAY_SIZE(tmp_legacy_tp_rate); j++) in minstrel_ht_update_stats() 1102 for (j = 0; j < ARRAY_SIZE(tmp_mcs_tp_rate); j++) in minstrel_ht_update_stats() 1115 for(j = 0; j < MAX_THR_RATES; j++) in minstrel_ht_update_stats() 1878 int i, j; in minstrel_ht_fill_rate_array() local [all …]
|
| A D | key.c | 593 int i, j, err; in ieee80211_key_alloc() local 639 for (j = 0; j < IEEE80211_CCMP_PN_LEN; j++) in ieee80211_key_alloc() 640 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 659 for (j = 0; j < IEEE80211_CCMP_256_PN_LEN; j++) in ieee80211_key_alloc() 660 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 681 for (j = 0; j < IEEE80211_CMAC_PN_LEN; j++) in ieee80211_key_alloc() 682 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc() 701 for (j = 0; j < IEEE80211_GMAC_PN_LEN; j++) in ieee80211_key_alloc() 702 key->u.aes_gmac.rx_pn[j] = in ieee80211_key_alloc() 720 for (j = 0; j < IEEE80211_GCMP_PN_LEN; j++) in ieee80211_key_alloc() [all …]
|
| A D | tkip.c | 85 int i, j; in tkip_mixing_phase1() local 95 j = 2 * (i & 1); in tkip_mixing_phase1() 96 p1k[0] += tkipS(p1k[4] ^ get_unaligned_le16(tk + 0 + j)); in tkip_mixing_phase1() 97 p1k[1] += tkipS(p1k[0] ^ get_unaligned_le16(tk + 4 + j)); in tkip_mixing_phase1() 98 p1k[2] += tkipS(p1k[1] ^ get_unaligned_le16(tk + 8 + j)); in tkip_mixing_phase1() 99 p1k[3] += tkipS(p1k[2] ^ get_unaligned_le16(tk + 12 + j)); in tkip_mixing_phase1() 100 p1k[4] += tkipS(p1k[3] ^ get_unaligned_le16(tk + 0 + j)) + i; in tkip_mixing_phase1()
|
| /net/netfilter/ipset/ |
| A D | ip_set_hash_gen.h | 336 j = i; in mtype_add_cidr() 364 for (j = i; j < net_end && h->nets[j].cidr[n]; j++) in mtype_del_cidr() 365 h->nets[j].cidr[n] = h->nets[j + 1].cidr[n]; in mtype_del_cidr() 501 for (j = 0, d = 0; j < n->pos; j++) { in mtype_gc_do() 537 for (j = 0, d = 0; j < n->pos; j++) { in mtype_gc_do() 688 for (j = 0; j < n->pos; j++) { in mtype_resize() 823 for (j = 0; j < n->pos; j++) { in mtype_ext_size() 1079 for (j = 0; j < IPSET_NET_COUNT; j++) in mtype_del() 1081 NCIDR_PUT(DCIDR_GET(d->cidr, j)), j); in mtype_del() 1113 for (j = 0, k = 0; j < n->pos; j++) { in mtype_del() [all …]
|
| /net/sched/ |
| A D | sch_mqprio_lib.c | 24 int i, j; in mqprio_validate_queue_counts() local 51 for (j = i + 1; j < qopt->num_tc; j++) { in mqprio_validate_queue_counts() 53 qopt->offset[j], in mqprio_validate_queue_counts() 54 qopt->offset[j] + in mqprio_validate_queue_counts() 55 qopt->count[j])) { in mqprio_validate_queue_counts() 59 j, qopt->count[j], qopt->offset[j]); in mqprio_validate_queue_counts()
|
| /net/mptcp/ |
| A D | crypto_test.c | 39 int i, j; in mptcp_crypto_test_basic() local 52 for (j = 0; j < 32; ++j) in mptcp_crypto_test_basic() 53 sprintf(&hmac_hex[j << 1], "%02x", hmac[j] & 0xff); in mptcp_crypto_test_basic()
|
| /net/sunrpc/ |
| A D | stats.c | 40 unsigned int i, j; in rpc_proc_show() local 60 for (j = 0; j < vers->nrprocs; j++) in rpc_proc_show() 61 seq_printf(seq, " %u", vers->counts[j]); in rpc_proc_show() 86 unsigned int i, j, k; in svc_seq_show() local 108 for (j = 0; j < vers->vs_nproc; j++) { in svc_seq_show() 111 count += per_cpu(vers->vs_count[j], k); in svc_seq_show()
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_lblc.c | 261 int i, j; in ip_vs_lblc_full_check() local 263 for (i = 0, j = tbl->rover; i < IP_VS_LBLC_TAB_SIZE; i++) { in ip_vs_lblc_full_check() 264 j = (j + 1) & IP_VS_LBLC_TAB_MASK; in ip_vs_lblc_full_check() 267 hlist_for_each_entry_safe(en, next, &tbl->bucket[j], list) { in ip_vs_lblc_full_check() 278 tbl->rover = j; in ip_vs_lblc_full_check() 300 int i, j; in ip_vs_lblc_check_expire() local 320 for (i = 0, j = tbl->rover; i < IP_VS_LBLC_TAB_SIZE; i++) { in ip_vs_lblc_check_expire() 321 j = (j + 1) & IP_VS_LBLC_TAB_MASK; in ip_vs_lblc_check_expire() 324 hlist_for_each_entry_safe(en, next, &tbl->bucket[j], list) { in ip_vs_lblc_check_expire() 336 tbl->rover = j; in ip_vs_lblc_check_expire()
|
| A D | ip_vs_lblcr.c | 424 int i, j; in ip_vs_lblcr_full_check() local 428 for (i = 0, j = tbl->rover; i < IP_VS_LBLCR_TAB_SIZE; i++) { in ip_vs_lblcr_full_check() 429 j = (j + 1) & IP_VS_LBLCR_TAB_MASK; in ip_vs_lblcr_full_check() 432 hlist_for_each_entry_safe(en, next, &tbl->bucket[j], list) { in ip_vs_lblcr_full_check() 442 tbl->rover = j; in ip_vs_lblcr_full_check() 464 int i, j; in ip_vs_lblcr_check_expire() local 484 for (i = 0, j = tbl->rover; i < IP_VS_LBLCR_TAB_SIZE; i++) { in ip_vs_lblcr_check_expire() 485 j = (j + 1) & IP_VS_LBLCR_TAB_MASK; in ip_vs_lblcr_check_expire() 488 hlist_for_each_entry_safe(en, next, &tbl->bucket[j], list) { in ip_vs_lblcr_check_expire() 500 tbl->rover = j; in ip_vs_lblcr_check_expire()
|
| /net/netfilter/ |
| A D | xt_TCPOPTSTRIP.c | 35 unsigned int optl, i, j; in tcpoptstrip_mangle_packet() local 72 for (j = 0; j < optl; ++j) { in tcpoptstrip_mangle_packet() 73 o = opt[i+j]; in tcpoptstrip_mangle_packet() 75 if ((i + j) % 2 == 0) { in tcpoptstrip_mangle_packet()
|
| A D | nf_tables_core.c | 377 int err, i, j = 0; in nf_tables_core_module_init() local 387 for (j = 0; j < ARRAY_SIZE(nft_basic_types); j++) { in nf_tables_core_module_init() 388 err = nft_register_expr(nft_basic_types[j]); in nf_tables_core_module_init() 398 while (j-- > 0) in nf_tables_core_module_init() 399 nft_unregister_expr(nft_basic_types[j]); in nf_tables_core_module_init()
|
| /net/core/ |
| A D | net_test.c | 359 for (u32 j = 0; j < t->src_num; j++) in ip_tunnel_flags_test_run() local 360 __set_bit(t->src_bits[j], src); in ip_tunnel_flags_test_run() 361 for (u32 j = 0; j < t->exp_num; j++) in ip_tunnel_flags_test_run() local 362 __set_bit(t->exp_bits[j], exp); in ip_tunnel_flags_test_run()
|
| /net/ceph/ |
| A D | osdmap.c | 85 int j; in crush_decode_list_bucket() local 94 for (j = 0; j < b->h.size; j++) { in crush_decode_list_bucket() 106 int j; in crush_decode_tree_bucket() local 113 for (j = 0; j < b->num_nodes; j++) in crush_decode_tree_bucket() 132 for (j = 0; j < b->h.size; j++) { in crush_decode_straw_bucket() 150 for (j = 0; j < b->h.size; j++) in crush_decode_straw2_bucket() 252 for (j = 0; j < arg->weight_set_size; j++) in free_choose_arg_map() 528 for (j = 0; j < b->size; j++) in crush_decode() 597 for (j = 0; j < r->len; j++) { in crush_decode() 2631 for (j = 0; j < raw->size; j++) { in apply_upmap() [all …]
|
| /net/sunrpc/xprtrdma/ |
| A D | svc_rdma_pcl.c | 206 unsigned int i, j; in pcl_alloc_write() local 218 for (j = 0; j < segcount; j++) { in pcl_alloc_write() 219 segment = &chunk->ch_segments[j]; in pcl_alloc_write() 223 trace_svcrdma_decode_wseg(&rctxt->rc_cid, chunk, j); in pcl_alloc_write()
|
| /net/atm/ |
| A D | atm_sysfs.c | 142 int i, j, err; in atm_register_sysfs() local 162 for (j = 0; j < i; j++) in atm_register_sysfs() 163 device_remove_file(cdev, atm_attrs[j]); in atm_register_sysfs()
|
| /net/wireless/ |
| A D | core.c | 606 int i, j; in wiphy_verify_iface_combinations() local 637 for (j = 0; j < c->n_limits; j++) { in wiphy_verify_iface_combinations() 638 u16 types = c->limits[j].types; in wiphy_verify_iface_combinations() 645 if (WARN_ON(!c->limits[j].max)) in wiphy_verify_iface_combinations() 658 c->limits[j].max > 1)) in wiphy_verify_iface_combinations() 667 c->limits[j].max > 1)) in wiphy_verify_iface_combinations() 685 cnt += c->limits[j].max; in wiphy_verify_iface_combinations() 1061 u8 supported_on_all, j; in wiphy_register() local 1065 for (j = 0; j < wiphy->extended_capabilities_len; j++) { in wiphy_register() 1068 capab[0].extended_capabilities[j]; in wiphy_register() [all …]
|
| A D | util.c | 2433 int i, j, n, iftype; in cfg80211_iter_combinations() local 2496 for (j = 0; j < c->n_limits; j++) { in cfg80211_iter_combinations() 2497 all_iftypes |= limits[j].types; in cfg80211_iter_combinations() 2498 if (!(limits[j].types & BIT(iftype))) in cfg80211_iter_combinations() 2571 int i, j; in cfg80211_get_radio_idx_by_chan() local 2580 for (j = 0; j < radio->n_freq_range; j++) { in cfg80211_get_radio_idx_by_chan() 2582 freq < radio->freq_range[j].end_freq) in cfg80211_get_radio_idx_by_chan() 2595 int i, j; in ieee80211_get_ratemask() local 2609 for (j = 0; j < sband->n_bitrates; j++) { in ieee80211_get_ratemask() 2610 if (sband->bitrates[j].bitrate == rate) { in ieee80211_get_ratemask() [all …]
|
| A D | ibss.c | 112 int j; in __cfg80211_join_ibss() local 122 for (j = 0; j < sband->n_bitrates; j++) { in __cfg80211_join_ibss() 123 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss() 124 params->basic_rates |= BIT(j); in __cfg80211_join_ibss()
|
| /net/bluetooth/ |
| A D | hci_codec.c | 59 __u8 j; in hci_read_codec_capabilities() local 99 for (j = 0, len = 0; j < rp->num_caps; j++) { in hci_read_codec_capabilities()
|
| /net/bridge/netfilter/ |
| A D | ebtables.c | 688 unsigned int i, j, hook = 0, hookmask = 0; in ebt_check_entry() local 742 j = 0; in ebt_check_entry() 870 unsigned int i, j, k, udc_cnt; in translate_table() local 886 for (j = i + 1; j < NF_BR_NUMHOOKS; j++) { in translate_table() 887 if (!newinfo->hook_entry[j]) in translate_table() 892 i = j; in translate_table() 904 &i, &j, &k, &udc_cnt); in translate_table() 909 if (i != j) in translate_table() 2153 for (i = 0, j = 1 ; j < 4 ; j++, i++) { in size_entry_mwt() 2158 if (offsets[i] > offsets[j]) in size_entry_mwt() [all …]
|
| /net/rds/ |
| A D | ib_send.c | 866 u32 j; in rds_ib_xmit_rdma() local 942 for (j = 0; j < send->s_rdma_wr.wr.num_sge && in rds_ib_xmit_rdma() 943 scat != &op->op_sg[op->op_count]; j++) { in rds_ib_xmit_rdma() 946 send->s_sge[j].addr = sg_dma_address(scat); in rds_ib_xmit_rdma() 947 send->s_sge[j].lkey = ic->i_pd->local_dma_lkey; in rds_ib_xmit_rdma() 949 send->s_sge[j].addr = odp_addr; in rds_ib_xmit_rdma() 950 send->s_sge[j].lkey = odp_lkey; in rds_ib_xmit_rdma() 952 send->s_sge[j].length = len; in rds_ib_xmit_rdma()
|