Home
last modified time | relevance | path

Searched refs:body_size (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/net/sunrpc/auth_gss/
Dgss_generic_token.c147 g_token_size(struct xdr_netobj *mech, unsigned int body_size) in g_token_size() argument
150 body_size += 2 + (int) mech->len; /* NEED overflow check */ in g_token_size()
151 return 1 + der_length_size(body_size) + body_size; in g_token_size()
160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) in g_make_token_header() argument
163 der_write_length(buf, 2 + mech->len + body_size); in g_make_token_header()
180 g_verify_token_header(struct xdr_netobj *mech, int *body_size, in g_verify_token_header() argument
226 *body_size = toksize; in g_verify_token_header()
Dgss_krb5_seal.c77 int body_size = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token() local
79 token->len = g_token_size(&ctx->mech_used, body_size); in setup_token()
82 g_make_token_header(&ctx->mech_used, body_size, (unsigned char **)&ptr); in setup_token()
/linux-6.1.9/include/linux/sunrpc/
Dgss_asn1.h70 int *body_size,
76 unsigned int body_size);
80 int body_size,
/linux-6.1.9/drivers/char/tpm/
Dtpm2-space.c76 unsigned int body_size; in tpm2_load_context() local
84 body_size = sizeof(*ctx) + be16_to_cpu(ctx->blob_size); in tpm2_load_context()
85 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()
116 *offset += body_size; in tpm2_load_context()
126 unsigned int body_size; in tpm2_save_context() local
151 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()
152 if ((*offset + body_size) > buf_size) { in tpm2_save_context()
158 memcpy(&buf[*offset], &tbuf.data[TPM_HEADER_SIZE], body_size); in tpm2_save_context()
159 *offset += body_size; in tpm2_save_context()
/linux-6.1.9/arch/powerpc/include/asm/
Dfeature-fixups.h41 #define CHECK_ALT_SIZE(else_size, body_size) \ argument
42 .ifgt (else_size) - (body_size); \
53 #define CHECK_ALT_SIZE(else_size, body_size) \ argument
54 .org . + ((else_size) > (body_size));
/linux-6.1.9/tools/testing/selftests/powerpc/primitives/asm/
Dfeature-fixups.h41 #define CHECK_ALT_SIZE(else_size, body_size) \ argument
42 .ifgt (else_size) - (body_size); \
53 #define CHECK_ALT_SIZE(else_size, body_size) \ argument
54 .org . + ((else_size) > (body_size));
/linux-6.1.9/fs/ecryptfs/
Dkeystore.c1229 size_t body_size; in parse_tag_1_packet() local
1271 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_1_packet()
1278 if (unlikely(body_size < (ECRYPTFS_SIG_SIZE + 2))) { in parse_tag_1_packet()
1279 printk(KERN_WARNING "Invalid body size ([%td])\n", body_size); in parse_tag_1_packet()
1284 if (unlikely((*packet_size) + body_size > max_packet_size)) { in parse_tag_1_packet()
1302 body_size - (ECRYPTFS_SIG_SIZE + 2); in parse_tag_1_packet()
1311 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); in parse_tag_1_packet()
1361 size_t body_size; in parse_tag_3_packet() local
1405 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, in parse_tag_3_packet()
1412 if (unlikely(body_size < (ECRYPTFS_SALT_SIZE + 5))) { in parse_tag_3_packet()
[all …]
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dcodec_hevc_common.c33 u32 body_size = amvdec_am21c_body_size(sess->width, sess->height); in codec_hevc_setup_decode_head() local
49 amvdec_write_dos(core, HEVCD_MPP_DECOMP_CTL2, body_size / 32); in codec_hevc_setup_decode_head()
50 amvdec_write_dos(core, HEVC_CM_BODY_LENGTH, body_size); in codec_hevc_setup_decode_head()
51 amvdec_write_dos(core, HEVC_CM_HEADER_OFFSET, body_size); in codec_hevc_setup_decode_head()
/linux-6.1.9/drivers/gpu/drm/meson/
Dmeson_overlay.c701 unsigned long body_size; in meson_overlay_atomic_update() local
707 body_size = (ALIGN(priv->viu.vd1_stride0, 64) / 64) * in meson_overlay_atomic_update()
714 body_size) >> 4; in meson_overlay_atomic_update()
/linux-6.1.9/Documentation/filesystems/
Domfs.rst60 __be16 h_crc; /* crc-ccitt of body_size bytes */
/linux-6.1.9/drivers/media/platform/renesas/vsp1/
Dvsp1_dl.c402 size_t body_size; member
446 vsp1_extended_commands[type].body_size; in vsp1_dl_cmd_pool_create()
/linux-6.1.9/drivers/staging/ks7010/
Dks_hostif.h312 __le16 body_size; /* +16 */ member
Dks_hostif.c270 bsize = le16_to_cpu(ap_info->body_size); in get_ap_information()