Lines Matching refs:rem_len
393 int rem_len; in head_onwire_len() local
400 rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in head_onwire_len()
401 head_len += padded_len(rem_len) + CEPH_GCM_TAG_LEN; in head_onwire_len()
1071 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in decrypt_control_remainder() local
1072 int pt_len = padding_len(rem_len) + CEPH_GCM_TAG_LEN; in decrypt_control_remainder()
1075 WARN_ON(con->v2.in_kvecs[0].iov_len != rem_len); in decrypt_control_remainder()
1079 sg_set_buf(&sgs[0], con->v2.in_kvecs[0].iov_base, rem_len); in decrypt_control_remainder()
1083 padded_len(rem_len) + CEPH_GCM_TAG_LEN); in decrypt_control_remainder()
1291 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in prepare_head_secure_big() local
1293 void *rem_tag = rem + padded_len(rem_len); in prepare_head_secure_big()
1306 if (need_padding(rem_len)) in prepare_head_secure_big()
1307 memset(rem + rem_len, 0, padding_len(rem_len)); in prepare_head_secure_big()
1843 int rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in prepare_read_control_remainder() local
1853 add_in_kvec(con, buf + CEPH_PREAMBLE_INLINE_LEN, rem_len); in prepare_read_control_remainder()
1855 padding_len(rem_len) + CEPH_GCM_TAG_LEN); in prepare_read_control_remainder()