Lines Matching defs:offset
72 unsigned int *offset, u32 *handle)
83 ctx = (struct tpm2_context *)&buf[*offset];
85 tpm_buf_append(&tbuf, &buf[*offset], body_size);
116 *offset += body_size;
123 unsigned int buf_size, unsigned int *offset)
152 if ((*offset + body_size) > buf_size) {
158 memcpy(&buf[*offset], &tbuf.data[TPM_HEADER_SIZE], body_size);
159 *offset += body_size;
179 unsigned int offset;
183 for (i = 0, offset = 0; i < ARRAY_SIZE(space->context_tbl); i++) {
193 rc = tpm2_load_context(chip, space->context_buf, &offset,
199 for (i = 0, offset = 0; i < ARRAY_SIZE(space->session_tbl); i++) {
206 &offset, &handle);
494 unsigned int offset;
498 for (i = 0, offset = 0; i < ARRAY_SIZE(space->context_tbl); i++) {
504 &offset);
515 for (i = 0, offset = 0; i < ARRAY_SIZE(space->session_tbl); i++) {
521 &offset);