Lines Matching refs:rem_len
392 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()
1193 if (need_padding(rem_len)) in prepare_head_secure_big()
1194 memset(rem + rem_len, 0, padding_len(rem_len)); in prepare_head_secure_big()
1730 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in prepare_read_control_remainder() local
1740 add_in_kvec(con, buf + CEPH_PREAMBLE_INLINE_LEN, rem_len); in prepare_read_control_remainder()
1742 padding_len(rem_len) + CEPH_GCM_TAG_LEN); in prepare_read_control_remainder()