Searched refs:priv_len (Results 1 – 4 of 4) sorted by relevance
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 40 u16 priv_len, pub_len; in tpm2_key_encode() local 43 priv_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 46 src += priv_len; in tpm2_key_encode() 74 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode() 82 work = asn1_encode_octet_string(work, end_work, priv, priv_len); in tpm2_key_encode() 106 u32 priv_len; member 124 if (ctx.priv_len + ctx.pub_len > MAX_BLOB_SIZE) in tpm2_key_decode() 127 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode() 134 memcpy(blob, ctx.priv, ctx.priv_len); in tpm2_key_decode() 135 blob += ctx.priv_len; in tpm2_key_decode() [all …]
|
/linux/net/netfilter/ |
H A D | nft_payload.c | 279 u32 priv_len, u32 field_len) in nft_payload_offload_mask() argument 285 if (priv_len == field_len) { in nft_payload_offload_mask() 286 memset(®->mask, 0xff, priv_len); in nft_payload_offload_mask() 288 } else if (priv_len > field_len) { in nft_payload_offload_mask() 293 remainder = priv_len % sizeof(u32); in nft_payload_offload_mask() 295 k = priv_len / sizeof(u32); in nft_payload_offload_mask() 296 delta = field_len - priv_len; in nft_payload_offload_mask()
|
/linux/include/linux/ |
H A D | netdevice.h | 2222 u32 priv_len; member 2461 __counted_by(priv_len);
|
/linux/net/core/ |
H A D | dev.c | 11214 dev->priv_len = sizeof_priv; in alloc_netdev_mqs()
|