Searched refs:keysize (Results 1 - 2 of 2) sorted by relevance

/net/core/
H A Dflow.c161 size_t keysize)
164 const u32 length = keysize * sizeof(flow_compare_t) / sizeof(u32);
174 size_t keysize)
179 k1_lim = k1 + keysize;
199 size_t keysize; local
208 keysize = flow_key_size(family);
209 if (!keysize)
220 hash = flow_hash_code(fc, fcp, key, keysize);
225 flow_key_compare(key, &tfle->key, keysize) == 0) {
240 memcpy(&fle->key, key, keysize * sizeo
158 flow_hash_code(struct flow_cache *fc, struct flow_cache_percpu *fcp, const struct flowi *key, size_t keysize) argument
173 flow_key_compare(const struct flowi *key1, const struct flowi *key2, size_t keysize) argument
[all...]
/net/key/
H A Daf_key.c1140 int keysize = 0; local
1147 keysize = (key->sadb_key_bits + 7) / 8;
1148 x->aalg = kmalloc(sizeof(*x->aalg) + keysize, GFP_KERNEL);
1155 memcpy(x->aalg->alg_key, key+1, keysize);
1174 int keysize = 0; local
1182 keysize = (key->sadb_key_bits + 7) / 8;
1183 x->ealg = kmalloc(sizeof(*x->ealg) + keysize, GFP_KERNEL);
1190 memcpy(x->ealg->alg_key, key+1, keysize);

Completed in 1078 milliseconds