/linux-2.6.39/security/selinux/ss/ |
D | hashtab.c | 11 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create() 24 p->hash_value = hash_value; in hashtab_create() 46 hvalue = h->hash_value(h, key); in hashtab_insert() 82 hvalue = h->hash_value(h, key); in hashtab_search()
|
D | hashtab.h | 25 u32 (*hash_value)(struct hashtab *h, const void *key); member 42 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
|
/linux-2.6.39/drivers/net/ixgb/ |
D | ixgb_hw.c | 44 static void ixgb_mta_set(struct ixgb_hw *hw, u32 hash_value); 437 u32 hash_value; in ixgb_mc_addr_list_update() local 473 hash_value = ixgb_hash_mc_addr(hw, mca); in ixgb_mc_addr_list_update() 475 pr_debug("Hash value = 0x%03X\n", hash_value); in ixgb_mc_addr_list_update() 477 ixgb_mta_set(hw, hash_value); in ixgb_mc_addr_list_update() 499 u32 hash_value = 0; in ixgb_hash_mc_addr() local 512 hash_value = in ixgb_hash_mc_addr() 516 hash_value = in ixgb_hash_mc_addr() 520 hash_value = in ixgb_hash_mc_addr() 524 hash_value = ((mc_addr[4]) | (((u16) mc_addr[5]) << 8)); in ixgb_hash_mc_addr() [all …]
|
/linux-2.6.39/drivers/net/igbvf/ |
D | vf.c | 191 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local 204 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf() 207 return hash_value; in e1000_hash_mc_addr_vf() 230 u32 hash_value; in e1000_update_mc_addr_list_vf() local 247 hash_value = e1000_hash_mc_addr_vf(hw, mc_addr_list); in e1000_update_mc_addr_list_vf() 248 hash_list[i] = hash_value & 0x0FFFF; in e1000_update_mc_addr_list_vf()
|
/linux-2.6.39/drivers/net/igb/ |
D | e1000_mac.c | 284 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set() argument 298 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 299 hash_bit = hash_value & 0x1F; in igb_mta_set() 320 u32 hash_value, hash_mask; in igb_hash_mc_addr() local 374 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr() 377 return hash_value; in igb_hash_mc_addr() 392 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local 400 hash_value = igb_hash_mc_addr(hw, mc_addr_list); in igb_update_mc_addr_list() 402 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list() 403 hash_bit = hash_value & 0x1F; in igb_update_mc_addr_list()
|
D | e1000_mac.h | 66 void igb_mta_set(struct e1000_hw *hw, u32 hash_value);
|
/linux-2.6.39/drivers/net/atlx/ |
D | atlx.c | 132 u32 hash_value; in atlx_set_multi() local 152 hash_value = atlx_hash_mc_addr(hw, ha->addr); in atlx_set_multi() 153 atlx_hash_set(hw, hash_value); in atlx_set_multi()
|
D | atl2.c | 141 u32 hash_value; in atl2_set_multi() local 162 hash_value = atl2_hash_mc_addr(hw, ha->addr); in atl2_set_multi() 163 atl2_hash_set(hw, hash_value); in atl2_set_multi() 2403 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value) argument 2416 hash_reg = (hash_value >> 31) & 0x1; 2417 hash_bit = (hash_value >> 26) & 0x1F;
|
D | atl2.h | 87 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value);
|
D | atl1.h | 60 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value);
|
D | atl1.c | 575 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value) in atl1_hash_set() argument 589 hash_reg = (hash_value >> 31) & 0x1; in atl1_hash_set() 590 hash_bit = (hash_value >> 26) & 0x1F; in atl1_hash_set()
|
/linux-2.6.39/drivers/net/ |
D | davinci_emac.c | 736 u32 hash_value = hash_get(mac_addr); in hash_add() local 738 if (hash_value >= EMAC_NUM_MULTICAST_BITS) { in hash_add() 742 hash_value, (EMAC_NUM_MULTICAST_BITS - 1)); in hash_add() 748 if (priv->multicast_hash_cnt[hash_value] == 0) { in hash_add() 750 if (hash_value < 32) { in hash_add() 751 hash_bit = BIT(hash_value); in hash_add() 754 hash_bit = BIT((hash_value - 32)); in hash_add() 760 ++priv->multicast_hash_cnt[hash_value]; in hash_add() 775 u32 hash_value; in hash_del() local 778 hash_value = hash_get(mac_addr); in hash_del() [all …]
|
/linux-2.6.39/drivers/net/atl1e/ |
D | atl1e_hw.c | 185 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value) in atl1e_hash_set() argument 199 hash_reg = (hash_value >> 31) & 0x1; in atl1e_hash_set() 200 hash_bit = (hash_value >> 26) & 0x1F; in atl1e_hash_set()
|
D | atl1e_hw.h | 39 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value);
|
D | atl1e_main.c | 289 u32 hash_value; in atl1e_set_multi() local 311 hash_value = atl1e_hash_mc_addr(hw, ha->addr); in atl1e_set_multi() 312 atl1e_hash_set(hw, hash_value); in atl1e_set_multi()
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_hw.c | 256 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set() argument 270 hash_reg = (hash_value >> 31) & 0x1; in atl1c_hash_set() 271 hash_bit = (hash_value >> 26) & 0x1F; in atl1c_hash_set()
|
D | atl1c_hw.h | 38 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
|
D | atl1c_main.c | 387 u32 hash_value; in atl1c_set_multi() local 409 hash_value = atl1c_hash_mc_addr(hw, ha->addr); in atl1c_set_multi() 410 atl1c_hash_set(hw, hash_value); in atl1c_set_multi()
|
/linux-2.6.39/drivers/net/e1000e/ |
D | lib.c | 288 u32 hash_value, hash_mask; in e1000_hash_mc_addr() local 342 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr() 345 return hash_value; in e1000_hash_mc_addr() 360 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local 368 hash_value = e1000_hash_mc_addr(hw, mc_addr_list); in e1000e_update_mc_addr_list_generic() 370 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic() 371 hash_bit = hash_value & 0x1F; in e1000e_update_mc_addr_list_generic()
|
/linux-2.6.39/drivers/net/e1000/ |
D | e1000_hw.c | 4353 u32 hash_value = 0; in e1000_hash_mc_addr() local 4365 hash_value = ((mc_addr[4] >> 4) | (((u16) mc_addr[5]) << 4)); in e1000_hash_mc_addr() 4369 hash_value = ((mc_addr[4] >> 3) | (((u16) mc_addr[5]) << 5)); in e1000_hash_mc_addr() 4373 hash_value = ((mc_addr[4] >> 2) | (((u16) mc_addr[5]) << 6)); in e1000_hash_mc_addr() 4377 hash_value = ((mc_addr[4]) | (((u16) mc_addr[5]) << 8)); in e1000_hash_mc_addr() 4381 hash_value &= 0xFFF; in e1000_hash_mc_addr() 4382 return hash_value; in e1000_hash_mc_addr()
|
D | e1000_main.c | 2191 u32 hash_value; in e1000_set_rx_mode() local 2251 hash_value = e1000_hash_mc_addr(hw, ha->addr); in e1000_set_rx_mode() 2252 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode() 2253 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
|
D | e1000_hw.h | 380 void e1000_mta_set(struct e1000_hw *hw, u32 hash_value);
|