Lines Matching refs:toksize
1050 u32 cnlen, toksize, ntoks, tok, zero; in rxrpc_read() local
1071 toksize = 4; /* sec index */ in rxrpc_read()
1075 toksize += 8 * 4; /* viceid, kvno, key*2, begin, in rxrpc_read()
1077 toksize += RND(token->kad->ticket_len); in rxrpc_read()
1082 toksize += 4 + princ->n_name_parts * 4; in rxrpc_read()
1084 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1085 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
1088 toksize += 4 + princ->n_name_parts * 4; in rxrpc_read()
1090 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1091 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
1093 toksize += 8 + RND(token->k5->session.data_len); in rxrpc_read()
1095 toksize += 4 * 8 + 2 * 4; in rxrpc_read()
1097 toksize += 4 + token->k5->n_addresses * 8; in rxrpc_read()
1099 toksize += RND(token->k5->addresses[loop].data_len); in rxrpc_read()
1101 toksize += 4 + RND(token->k5->ticket_len); in rxrpc_read()
1102 toksize += 4 + RND(token->k5->ticket2_len); in rxrpc_read()
1104 toksize += 4 + token->k5->n_authdata * 8; in rxrpc_read()
1106 toksize += RND(token->k5->authdata[loop].data_len); in rxrpc_read()
1115 _debug("token[%u]: toksize=%u", ntoks, toksize); in rxrpc_read()
1116 ASSERTCMP(toksize, <=, AFSTOKEN_LENGTH_MAX); in rxrpc_read()
1118 toksizes[ntoks++] = toksize; in rxrpc_read()
1119 size += toksize + 4; /* each token has a length word */ in rxrpc_read()
1168 toksize = toksizes[tok++]; in rxrpc_read()
1169 ENCODE(toksize); in rxrpc_read()
1233 toksize); in rxrpc_read()