Searched refs:hash_mask (Results 1 – 13 of 13) sorted by relevance
12 static inline unsigned dm_hash_block(dm_block_t b, unsigned hash_mask) in dm_hash_block() argument16 return (((unsigned) b) * BIG_PRIME) & hash_mask; in dm_hash_block()
191 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local195 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()
79 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()
142 unsigned int hash_mask; /* (2^size_order) - 1 */ member
383 u32 hash_value, hash_mask; in igb_hash_mc_addr() local387 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()
270 u32 hash_value, hash_mask; in e1000_hash_mc_addr() local274 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()
115 uInt hash_mask; /* hash_size-1 */ member
142 #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()
42 uint32_t hash_mask; member551 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()
127 unsigned hash_mask; member168 prison->hash_mask = nr_buckets - 1; in prison_create()187 return (uint32_t) (hash & prison->hash_mask); in hash_key()
694 u8 hash_mask; member
1870 rx_config->rss_config.hash_mask = in bnad_init_rx_config()
424 req->cfg.mask = rxf->rss_cfg.hash_mask; in bna_bfi_rss_cfg()