Searched refs:shm_size (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/tee/optee/ |
H A D | device.c | 23 struct tee_shm *device_shm, u32 *shm_size, in get_devices() argument 40 param[0].u.memref.size = *shm_size; in get_devices() 58 *shm_size = param[0].u.memref.size; in get_devices() 119 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 141 rc = get_devices(ctx, sess_arg.session, NULL, &shm_size, func); in __optee_enumerate_devices() 142 if (rc < 0 || !shm_size) in __optee_enumerate_devices() 145 device_shm = tee_shm_alloc_kernel_buf(ctx, shm_size); in __optee_enumerate_devices() 152 rc = get_devices(ctx, sess_arg.session, device_shm, &shm_size, func); in __optee_enumerate_devices() 163 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices()
|