Home
last modified time | relevance | path

Searched refs:ksize (Results 1 – 3 of 3) sorted by relevance

/net/sched/
Dact_pedit.c51 int ksize; in tcf_pedit_init() local
63 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init()
64 if (nla_len(tb[TCA_PEDIT_PARMS]) < sizeof(*parm) + ksize) in tcf_pedit_init()
76 keys = kmalloc(ksize, GFP_KERNEL); in tcf_pedit_init()
92 keys = kmalloc(ksize, GFP_KERNEL); in tcf_pedit_init()
106 memcpy(p->tcfp_keys, parm->keys, ksize); in tcf_pedit_init()
/net/bluetooth/
Damp.c133 static int hmac_sha256(u8 *key, u8 ksize, char *plaintext, u8 psize, u8 *output) in hmac_sha256() argument
138 if (!ksize) in hmac_sha256()
147 ret = crypto_shash_setkey(tfm, key, ksize); in hmac_sha256()
/net/core/
Dskbuff.c261 size = SKB_WITH_OVERHEAD(ksize(data)); in __alloc_skb()
331 unsigned int size = frag_size ? : ksize(data); in build_skb()
1079 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_expand_head()