Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/orangefs/
H A Dorangefs-mod.c28 int hash_table_size = 509; variable
45 MODULE_PARM_DESC(hash_table_size,
55 module_param(hash_table_size, int, 0);
102 kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); in orangefs_init()
109 for (i = 0; i < hash_table_size; i++) in orangefs_init()
191 for (i = 0; i < hash_table_size; i++) in orangefs_exit()
210 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.h444 extern int hash_table_size;
/OK3568_Linux_fs/kernel/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.h525 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()
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dx-hash.h53 X_EXTERN unsigned int X_PFX(hash_table_size) (x_hash_table * h);
H A Dx-hash.c195 X_PFX(hash_table_size) (x_hash_table * h) { in X_PFX() argument
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c774 hw_feat->hash_table_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
788 switch (hw_feat->hash_table_size) { in xgbe_get_all_hw_features()
792 hw_feat->hash_table_size = 64; in xgbe_get_all_hw_features()
795 hw_feat->hash_table_size = 128; in xgbe_get_all_hw_features()
798 hw_feat->hash_table_size = 256; in xgbe_get_all_hw_features()
889 hw_feat->hash_table_size); in xgbe_get_all_hw_features()
H A Dxgbe-dev.c1048 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
1049 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
1075 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2803 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
H A Dxgbe.h990 unsigned int hash_table_size; /* Hash Table Size */ member
/OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c2024 int hash_table_size; in bnx2fc_allocate_hash_table() local
2031 hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL * in bnx2fc_allocate_hash_table()
2034 segment_count = hash_table_size + BNX2FC_HASH_TBL_CHUNK_SIZE - 1; in bnx2fc_allocate_hash_table()