Home
last modified time | relevance | path

Searched refs:hash_table_size (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/fs/orangefs/
H A Dorangefs-mod.c28 int hash_table_size = 509; variable
44 MODULE_PARM_DESC(hash_table_size,
54 module_param(hash_table_size, int, 0);
101 kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); in orangefs_init()
108 for (i = 0; i < hash_table_size; i++) in orangefs_init()
190 for (i = 0; i < hash_table_size; i++) in orangefs_exit()
209 for (i = 0; i < hash_table_size; i++) { in purge_inprogress_ops()
H A Ddevorangefs-req.c50 int index = hash_func(op->tag, hash_table_size); in orangefs_devreq_add_op()
64 index = hash_func(tag, hash_table_size); in orangefs_devreq_remove_op()
H A Dorangefs-kernel.h448 extern int hash_table_size;
/openbmc/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c447 hw_feat->hash_table_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
475 switch (hw_feat->hash_table_size) { in xlgmac_get_all_hw_features()
479 hw_feat->hash_table_size = 64; in xlgmac_get_all_hw_features()
482 hw_feat->hash_table_size = 128; in xlgmac_get_all_hw_features()
485 hw_feat->hash_table_size = 256; in xlgmac_get_all_hw_features()
668 pdata->hw_feat.hash_table_size); in xlgmac_print_all_hw_features()
H A Ddwc-xlgmac.h526 unsigned int hash_table_size; /* Hash Table Size */ member
H A Ddwc-xlgmac-hw.c338 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xlgmac_set_mac_hash_table()
339 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xlgmac_set_mac_hash_table()
365 if (pdata->hw_feat.hash_table_size) in xlgmac_add_mac_addresses()
380 if (pdata->hw_feat.hash_table_size) { in xlgmac_config_mac_address()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c788 hw_feat->hash_table_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
802 switch (hw_feat->hash_table_size) { in xgbe_get_all_hw_features()
806 hw_feat->hash_table_size = 64; in xgbe_get_all_hw_features()
809 hw_feat->hash_table_size = 128; in xgbe_get_all_hw_features()
812 hw_feat->hash_table_size = 256; in xgbe_get_all_hw_features()
903 hw_feat->hash_table_size); in xgbe_get_all_hw_features()
H A Dxgbe.h1023 unsigned int hash_table_size; /* Hash Table Size */ member
H A Dxgbe-dev.c1058 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
1059 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
1085 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2860 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c2023 int hash_table_size; in bnx2fc_allocate_hash_table() local
2030 hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL * in bnx2fc_allocate_hash_table()
2033 segment_count = hash_table_size + BNX2FC_HASH_TBL_CHUNK_SIZE - 1; in bnx2fc_allocate_hash_table()