Searched refs:shm_size (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/tee/optee/ |
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() 51 *shm_size = param[0].u.memref.size; in get_devices() 98 u32 shm_size = 0, idx, num_devices = 0; in __optee_enumerate_devices() local 120 rc = get_devices(ctx, sess_arg.session, NULL, &shm_size, func); in __optee_enumerate_devices() 121 if (rc < 0 || !shm_size) in __optee_enumerate_devices() 124 device_shm = tee_shm_alloc_kernel_buf(ctx, shm_size); in __optee_enumerate_devices() 131 rc = get_devices(ctx, sess_arg.session, device_shm, &shm_size, func); in __optee_enumerate_devices() 142 num_devices = shm_size / sizeof(uuid_t); in __optee_enumerate_devices()
|