Home
last modified time | relevance | path

Searched refs:chain_len (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/security/selinux/ss/
Dhashtab.c109 u32 i, chain_len, slots_used, max_chain_len; in hashtab_stat() local
118 chain_len = 0; in hashtab_stat()
120 chain_len++; in hashtab_stat()
124 if (chain_len > max_chain_len) in hashtab_stat()
125 max_chain_len = chain_len; in hashtab_stat()
Dsidtab.c117 int chain_len = 0; in sidtab_hash_stats() local
128 chain_len++; in sidtab_hash_stats()
129 if (chain_len == 1) in sidtab_hash_stats()
133 if (chain_len > max_chain_len) in sidtab_hash_stats()
134 max_chain_len = chain_len; in sidtab_hash_stats()
135 chain_len = 0; in sidtab_hash_stats()
140 if (chain_len > max_chain_len) in sidtab_hash_stats()
141 max_chain_len = chain_len; in sidtab_hash_stats()
Davtab.c328 u32 i, chain_len, slots_used, max_chain_len; in avtab_hash_eval() local
339 chain_len = 0; in avtab_hash_eval()
341 chain_len++; in avtab_hash_eval()
345 if (chain_len > max_chain_len) in avtab_hash_eval()
346 max_chain_len = chain_len; in avtab_hash_eval()
347 chain2_len_sum += (unsigned long long)chain_len * chain_len; in avtab_hash_eval()
/linux-6.6.21/net/mptcp/
Dtoken.c40 int chain_len; member
81 return !token || t->chain_len >= TOKEN_MAX_CHAIN_LEN || in __token_bucket_busy()
130 bucket->chain_len++; in mptcp_token_new_request()
177 bucket->chain_len++; in mptcp_token_new_connect()
364 bucket->chain_len--; in mptcp_token_destroy_request()
390 bucket->chain_len--; in mptcp_token_destroy()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_est.c457 if (!td->chain_len[cid]) in ip_vs_enqueue_estimator()
459 td->chain_len[cid]++; in ip_vs_enqueue_estimator()
465 if (td->chain_len[cid] >= kd->chain_max) { in ip_vs_enqueue_estimator()
545 td->chain_len[cid]--; in ip_vs_stop_estimator()
546 if (!td->chain_len[cid]) in ip_vs_stop_estimator()
/linux-6.6.21/security/selinux/
Davc.c153 int i, chain_len, max_chain_len, slots_used; in avc_get_hash_stats() local
165 chain_len = 0; in avc_get_hash_stats()
167 chain_len++; in avc_get_hash_stats()
168 if (chain_len > max_chain_len) in avc_get_hash_stats()
169 max_chain_len = chain_len; in avc_get_hash_stats()
/linux-6.6.21/drivers/usb/gadget/udc/
Dpch_udc.c398 unsigned chain_len; member
1477 unsigned i = req->chain_len; in pch_udc_free_dma_chain()
1489 req->chain_len = 1; in pch_udc_free_dma_chain()
1514 if (req->chain_len > 1) in pch_udc_create_dma_chain()
1537 req->chain_len = len; in pch_udc_create_dma_chain()
1542 req->chain_len = len; in pch_udc_create_dma_chain()
1545 req->chain_len = 1; in pch_udc_create_dma_chain()
1740 req->chain_len = 1; in pch_udc_alloc_request()
1766 if (req->chain_len > 1) in pch_udc_free_request()
Damd5536udc.h492 unsigned chain_len; member
Dsnps_udc_core.c553 req->chain_len = 1; in udc_alloc_request()
571 for (i = 1; i < req->chain_len; i++) { in udc_free_dma_chain()
597 if (req->chain_len > 1) in udc_free_request()
782 if (len > req->chain_len) { in udc_create_dma_chain()
784 if (req->chain_len > 1) in udc_create_dma_chain()
786 req->chain_len = len; in udc_create_dma_chain()
/linux-6.6.21/lib/
Dtest_rhashtable.c177 unsigned int total = 0, chain_len = 0; in test_bucket_stats() local
187 chain_len++; in test_bucket_stats()
202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
/linux-6.6.21/fs/xfs/
Dxfs_log_cil.c910 uint32_t chain_len) in xlog_cil_write_chain() argument
918 return xlog_write(log, ctx, &ctx->lv_chain, ctx->ticket, chain_len); in xlog_cil_write_chain()
/linux-6.6.21/include/net/
Dip_vs.h448 int chain_len[IPVS_EST_TICK_CHAINS]; member
/linux-6.6.21/drivers/scsi/
Dhpsa.c2306 u32 chain_len; in hpsa_map_sg_chain_block() local
2311 chain_len = sizeof(*chain_sg) * in hpsa_map_sg_chain_block()
2313 chain_sg->Len = cpu_to_le32(chain_len); in hpsa_map_sg_chain_block()
2314 temp64 = dma_map_single(&h->pdev->dev, chain_block, chain_len, in hpsa_map_sg_chain_block()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_main.c2921 u16 chain_len; in i40e_max_vsi_frame_size() local
2924 chain_len = 1; in i40e_max_vsi_frame_size()
2926 chain_len = I40E_MAX_CHAINED_RX_BUFFERS; in i40e_max_vsi_frame_size()
2928 return min_t(u16, rx_buf_len * chain_len, I40E_MAX_RXBUFFER); in i40e_max_vsi_frame_size()
3575 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring() local
3646 rx_ctx.rxmax = min_t(u16, vsi->max_frame, chain_len * ring->rx_buf_len); in i40e_configure_rx_ring()