Home
last modified time | relevance | path

Searched refs:hash_mask (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/drivers/md/persistent-data/
Ddm-persistent-data-internal.h12 static inline unsigned dm_hash_block(dm_block_t b, unsigned hash_mask) in dm_hash_block() argument
16 return (((unsigned) b) * BIG_PRIME) & hash_mask; in dm_hash_block()
/linux-3.4.99/drivers/net/ethernet/intel/igbvf/
Dvf.c191 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local
195 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr_vf()
201 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()
204 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()
/linux-3.4.99/net/mac80211/
Dmesh_pathtbl.c79 for (i = 0; i <= tbl->hash_mask; i++) \
109 newtbl->hash_mask = (1 << size_order) - 1; in mesh_table_alloc()
113 for (i = 0; i <= newtbl->hash_mask; i++) in mesh_table_alloc()
135 for (i = 0; i <= tbl->hash_mask; i++) { in mesh_table_free()
165 < oldtbl->mean_chain_len * (oldtbl->hash_mask + 1)) in mesh_table_grow()
175 for (i = 0; i <= oldtbl->hash_mask; i++) in mesh_table_grow()
183 for (i = 0; i <= newtbl->hash_mask; i++) { in mesh_table_grow()
195 & tbl->hash_mask; in mesh_table_hash()
568 tbl->mean_chain_len * (tbl->hash_mask + 1)) in mesh_path_add()
697 tbl->mean_chain_len * (tbl->hash_mask + 1)) in mpp_path_add()
Dmesh.h142 unsigned int hash_mask; /* (2^size_order) - 1 */ member
/linux-3.4.99/drivers/net/ethernet/intel/igb/
De1000_mac.c383 u32 hash_value, hash_mask; in igb_hash_mc_addr() local
387 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr()
393 while (hash_mask >> bit_shift != 0xFF) in igb_hash_mc_addr()
437 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dmac.c270 u32 hash_value, hash_mask; in e1000_hash_mc_addr() local
274 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr()
280 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr()
324 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr()
/linux-3.4.99/lib/zlib_deflate/
Ddefutil.h115 uInt hash_mask; /* hash_size-1 */ member
Ddeflate.c142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask)
229 s->hash_mask = s->hash_size - 1; in zlib_deflateInit2()
/linux-3.4.99/drivers/md/
Ddm-snap.c42 uint32_t hash_mask; member
551 et->hash_mask = size - 1; in dm_exception_table_init()
569 size = et->hash_mask + 1; in dm_exception_table_exit()
582 return (chunk >> et->hash_shift) & et->hash_mask; in exception_hash()
Ddm-thin.c127 unsigned hash_mask; member
168 prison->hash_mask = nr_buckets - 1; in prison_create()
187 return (uint32_t) (hash & prison->hash_mask); in hash_key()
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbna_types.h694 u8 hash_mask; member
Dbnad.c1870 rx_config->rss_config.hash_mask = in bnad_init_rx_config()
Dbna_tx_rx.c424 req->cfg.mask = rxf->rss_cfg.hash_mask; in bna_bfi_rss_cfg()