Searched refs:ksize (Results 1 – 4 of 4) sorted by relevance
/net/sched/ |
D | act_pedit.c | 150 int ksize; in tcf_pedit_init() local 169 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init() 170 if (nla_len(pattr) < sizeof(*parm) + ksize) in tcf_pedit_init() 183 keys = kmalloc(ksize, GFP_KERNEL); in tcf_pedit_init() 198 keys = kmalloc(ksize, GFP_KERNEL); in tcf_pedit_init() 214 memcpy(p->tcfp_keys, parm->keys, ksize); in tcf_pedit_init()
|
/net/bluetooth/ |
D | amp.c | 135 static int hmac_sha256(u8 *key, u8 ksize, char *plaintext, u8 psize, u8 *output) in hmac_sha256() argument 141 if (!ksize) in hmac_sha256() 150 ret = crypto_shash_setkey(tfm, key, ksize); in hmac_sha256()
|
/net/core/ |
D | skbuff.c | 212 size = SKB_WITH_OVERHEAD(ksize(data)); in __alloc_skb() 279 unsigned int size = frag_size ? : ksize(data); in __build_skb() 1466 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_expand_head() 5289 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_header() 5413 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_nonlinear()
|
/net/openvswitch/ |
D | flow_netlink.c | 1974 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 1977 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size()
|