Searched refs:chain_len (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/security/selinux/ss/ |
D | hashtab.c | 149 u32 i, chain_len, slots_used, max_chain_len; in hashtab_stat() local 158 chain_len = 0; in hashtab_stat() 160 chain_len++; in hashtab_stat() 164 if (chain_len > max_chain_len) in hashtab_stat() 165 max_chain_len = chain_len; in hashtab_stat()
|
D | avtab.c | 346 int i, chain_len, slots_used, max_chain_len; in avtab_hash_eval() local 357 chain_len = 0; in avtab_hash_eval() 359 chain_len++; in avtab_hash_eval() 363 if (chain_len > max_chain_len) in avtab_hash_eval() 364 max_chain_len = chain_len; in avtab_hash_eval() 365 chain2_len_sum += chain_len * chain_len; in avtab_hash_eval()
|
/Linux-v5.4/security/selinux/ |
D | avc.c | 152 int i, chain_len, max_chain_len, slots_used; in avc_get_hash_stats() local 164 chain_len = 0; in avc_get_hash_stats() 166 chain_len++; in avc_get_hash_stats() 167 if (chain_len > max_chain_len) in avc_get_hash_stats() 168 max_chain_len = chain_len; in avc_get_hash_stats()
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | pch_udc.c | 403 unsigned chain_len; member 1512 unsigned i = req->chain_len; in pch_udc_free_dma_chain() 1525 req->chain_len = 1; in pch_udc_free_dma_chain() 1550 if (req->chain_len > 1) in pch_udc_create_dma_chain() 1576 req->chain_len = len; in pch_udc_create_dma_chain() 1581 req->chain_len = len; in pch_udc_create_dma_chain() 1584 req->chain_len = 1; in pch_udc_create_dma_chain() 1780 req->chain_len = 1; in pch_udc_alloc_request() 1806 if (req->chain_len > 1) in pch_udc_free_request()
|
D | amd5536udc.h | 492 unsigned chain_len; member
|
D | snps_udc_core.c | 559 req->chain_len = 1; in udc_alloc_request() 577 for (i = 1; i < req->chain_len; i++) { in udc_free_dma_chain() 603 if (req->chain_len > 1) in udc_free_request() 788 if (len > req->chain_len) { in udc_create_dma_chain() 790 if (req->chain_len > 1) in udc_create_dma_chain() 792 req->chain_len = len; in udc_create_dma_chain()
|
/Linux-v5.4/lib/ |
D | test_rhashtable.c | 177 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-v5.4/drivers/net/ethernet/aurora/ |
D | nb8800.h | 233 unsigned int chain_len; member
|
D | nb8800.c | 366 priv->tx_queue = (priv->tx_queue + txb->chain_len) % TX_DESC_COUNT; in __nb8800_tx_dma_start() 453 txb->chain_len = 1; in nb8800_xmit() 456 priv->tx_chain->chain_len++; in nb8800_xmit()
|
/Linux-v5.4/drivers/scsi/ |
D | hpsa.c | 2285 u32 chain_len; in hpsa_map_sg_chain_block() local 2290 chain_len = sizeof(*chain_sg) * in hpsa_map_sg_chain_block() 2292 chain_sg->Len = cpu_to_le32(chain_len); in hpsa_map_sg_chain_block() 2293 temp64 = dma_map_single(&h->pdev->dev, chain_block, chain_len, in hpsa_map_sg_chain_block()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 3247 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring() local 3271 chain_len = 1; in i40e_configure_rx_ring() 3307 rx_ctx.rxmax = min_t(u16, vsi->max_frame, chain_len * ring->rx_buf_len); in i40e_configure_rx_ring()
|