Searched refs:keysize (Results 1 – 2 of 2) sorted by relevance
/net/core/ |
D | flow.c | 177 size_t keysize) in flow_hash_code() argument 180 const u32 length = keysize * sizeof(flow_compare_t) / sizeof(u32); in flow_hash_code() 190 size_t keysize) in flow_key_compare() argument 195 k1_lim = k1 + keysize; in flow_key_compare() 215 size_t keysize; in flow_cache_lookup() local 224 keysize = flow_key_size(family); in flow_cache_lookup() 225 if (!keysize) in flow_cache_lookup() 236 hash = flow_hash_code(fc, fcp, key, keysize); in flow_cache_lookup() 241 flow_key_compare(key, &tfle->key, keysize) == 0) { in flow_cache_lookup() 256 memcpy(&fle->key, key, keysize * sizeof(flow_compare_t)); in flow_cache_lookup()
|
/net/key/ |
D | af_key.c | 1144 int keysize = 0; in pfkey_msg2xfrm_state() local 1151 keysize = (key->sadb_key_bits + 7) / 8; in pfkey_msg2xfrm_state() 1152 x->aalg = kmalloc(sizeof(*x->aalg) + keysize, GFP_KERNEL); in pfkey_msg2xfrm_state() 1159 memcpy(x->aalg->alg_key, key+1, keysize); in pfkey_msg2xfrm_state() 1178 int keysize = 0; in pfkey_msg2xfrm_state() local 1186 keysize = (key->sadb_key_bits + 7) / 8; in pfkey_msg2xfrm_state() 1187 x->ealg = kmalloc(sizeof(*x->ealg) + keysize, GFP_KERNEL); in pfkey_msg2xfrm_state() 1194 memcpy(x->ealg->alg_key, key+1, keysize); in pfkey_msg2xfrm_state()
|