Searched refs:fd (Results 1 – 10 of 10) sorted by relevance
/optee_client/tee-supplicant/src/ |
A D | tee_socket.c | 145 int fd = -1; in sock_handle_to_fd() local 153 return fd; in sock_handle_to_fd() 191 int fd = -1; in sock_connect() local 240 fd = -1; in sock_connect() 246 fd = -1; in sock_connect() 265 int fd = 0; in tee_socket_open() local 294 close(fd); in tee_socket_open() 307 int fd = 0; in tee_socket_close() local 316 if (fd < 0) in tee_socket_close() 449 struct pollfd pfd = { .fd = fd, .events = POLLOUT }; in write_with_timeout() [all …]
|
A D | tee_supp_fs.c | 136 int fd = 0; in open_wrapper() local 141 return fd; in open_wrapper() 150 int fd = 0; in ree_fs_new_open() local 170 if (fd < 0) { in ree_fs_new_open() 176 if (fd < 0) in ree_fs_new_open() 191 int fd = 0; in ree_fs_new_create() local 212 if (fd >= 0) in ree_fs_new_create() 266 int fd = 0; in ree_fs_new_close() local 287 int fd = 0; in ree_fs_new_read() local 332 int fd = 0; in ree_fs_new_write() local [all …]
|
A D | rpmb.c | 160 if (fd < 0) { in mmc_rpmb_fd() 177 return fd; in mmc_rpmb_fd() 183 int fd = 0; in mmc_fd() local 193 if (fd < 0) in mmc_fd() 196 return fd; in mmc_fd() 201 close(fd); in close_mmc_fd() 211 int fd = 0; in read_cid() local 233 close(fd); in read_cid() 271 sfd = fd; in mem_for_fd() 622 (void)fd; in close_mmc_fd() [all …]
|
A D | tee_supplicant.c | 80 int fd; member 85 int fd; member 323 shm->fd = ioctl(fd, TEE_IOC_SHM_ALLOC, &data); in alloc_shm() 363 shm->fd = ioctl(fd, TEE_IOC_SHM_REGISTER, &data); in register_local_shm() 440 int fd = 0; in open_dev() local 446 if (fd < 0) in open_dev() 461 return fd; in open_dev() 463 close(fd); in open_dev() 469 int fd = 0; in get_dev_fd() local 476 if (fd >= 0) in get_dev_fd() [all …]
|
A D | prof.c | 51 int fd = -1; in prof_process() local 115 fd = open(path, flags, 0644); in prof_process() 116 if (fd >= 0) { in prof_process() 118 st = write(fd, buf, bufsize); in prof_process() 120 close(fd); in prof_process()
|
A D | teec_ta_load.c | 63 int fd; member
|
/optee_client/libteec/src/ |
A D | tee_client_api.c | 92 int fd = 0; in teec_open_dev() local 98 if (fd < 0) in teec_open_dev() 123 return fd; in teec_open_dev() 125 close(fd); in teec_open_dev() 163 int fd = 0; in TEEC_InitializeContext() local 175 ctx->fd = fd; in TEEC_InitializeContext() 779 int fd = 0; in TEEC_RegisterSharedMemory() local 831 fd = teec_shm_alloc(ctx->fd, s, &shm->id); in TEEC_RegisterSharedMemory() 837 close(fd); in TEEC_RegisterSharedMemory() 866 data.fd = fd; in TEEC_RegisterSharedMemoryFileDescriptor() [all …]
|
/optee_client/public/ |
A D | tee_client_api_extensions.h | 51 int fd);
|
A D | tee_client_api.h | 257 int fd; member
|
/optee_client/libteec/include/linux/ |
A D | tee.h | 136 __s64 fd; member
|
Completed in 19 milliseconds