Lines Matching refs:buf
144 static int teec_shm_register(int fd, void *buf, size_t size, int *id) in teec_shm_register() argument
151 data.addr = (uintptr_t)buf; in teec_shm_register()
610 } buf; in TEEC_OpenSession() local
614 memset(&buf, 0, sizeof(buf)); in TEEC_OpenSession()
624 buf_data.buf_ptr = (uintptr_t)&buf; in TEEC_OpenSession()
625 buf_data.buf_len = sizeof(buf); in TEEC_OpenSession()
627 arg = &buf.arg; in TEEC_OpenSession()
692 } buf; in TEEC_InvokeCommand() local
696 memset(&buf, 0, sizeof(buf)); in TEEC_InvokeCommand()
708 buf_data.buf_ptr = (uintptr_t)&buf; in TEEC_InvokeCommand()
709 buf_data.buf_len = sizeof(buf); in TEEC_InvokeCommand()
711 arg = &buf.arg; in TEEC_InvokeCommand()