Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 2 of 2) sorted by relevance

/net/bluetooth/
Damp.c221 size_t rem_len, frag_len; in read_local_amp_assoc_complete() local
229 rem_len = __le16_to_cpu(rp->rem_len); in read_local_amp_assoc_complete()
231 if (rem_len > frag_len) { in read_local_amp_assoc_complete()
232 BT_DBG("frag_len %zu rem_len %zu", frag_len, rem_len); in read_local_amp_assoc_complete()
243 memcpy(assoc->data + assoc->offset, rp->frag, rem_len); in read_local_amp_assoc_complete()
244 assoc->len = assoc->offset + rem_len; in read_local_amp_assoc_complete()
368 cp->rem_len = cpu_to_le16(ctrl->assoc_rem_len); in amp_write_rem_assoc_frag()
/net/ceph/
Dmessenger_v2.c392 int rem_len; in head_onwire_len() local
399 rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in head_onwire_len()
400 head_len += padded_len(rem_len) + CEPH_GCM_TAG_LEN; in head_onwire_len()
1031 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in decrypt_control_remainder() local
1032 int pt_len = padding_len(rem_len) + CEPH_GCM_TAG_LEN; in decrypt_control_remainder()
1035 WARN_ON(con->v2.in_kvecs[0].iov_len != rem_len); in decrypt_control_remainder()
1039 sg_set_buf(&sgs[0], con->v2.in_kvecs[0].iov_base, rem_len); in decrypt_control_remainder()
1043 padded_len(rem_len) + CEPH_GCM_TAG_LEN); in decrypt_control_remainder()
1178 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in prepare_head_secure_big() local
1180 void *rem_tag = rem + padded_len(rem_len); in prepare_head_secure_big()
[all …]