Symbol: tee_shm
drivers/char/hw_random/optee-rng.c
146
struct tee_shm *entropy_shm_pool = NULL;
drivers/char/hw_random/optee-rng.c
66
struct tee_shm *entropy_shm_pool;
drivers/char/tpm/tpm_ftpm_tee.c
55
struct tee_shm *shm = pvt_data->shm;
drivers/char/tpm/tpm_ftpm_tee.h
32
struct tee_shm *shm;
drivers/firmware/arm_scmi/transports/optee.c
131
struct tee_shm *tee_shm;
drivers/firmware/arm_scmi/transports/optee.c
231
if (channel->tee_shm)
drivers/firmware/arm_scmi/transports/optee.c
295
param[1].u.memref.shm = channel->tee_shm;
drivers/firmware/arm_scmi/transports/optee.c
299
param[2].u.memref.shm = channel->tee_shm;
drivers/firmware/arm_scmi/transports/optee.c
327
if (!channel->tee_shm)
drivers/firmware/arm_scmi/transports/optee.c
336
channel->tee_shm = tee_shm_alloc_kernel_buf(scmi_optee_private->tee_ctx, msg_size);
drivers/firmware/arm_scmi/transports/optee.c
337
if (IS_ERR(channel->tee_shm)) {
drivers/firmware/arm_scmi/transports/optee.c
342
shbuf = tee_shm_get_va(channel->tee_shm, 0);
drivers/firmware/arm_scmi/transports/optee.c
421
if (channel->tee_shm)
drivers/firmware/arm_scmi/transports/optee.c
422
tee_shm_free(channel->tee_shm);
drivers/firmware/arm_scmi/transports/optee.c
445
if (channel->tee_shm) {
drivers/firmware/arm_scmi/transports/optee.c
446
tee_shm_free(channel->tee_shm);
drivers/firmware/arm_scmi/transports/optee.c
447
channel->tee_shm = NULL;
drivers/firmware/arm_scmi/transports/optee.c
464
if (channel->tee_shm) {
drivers/firmware/arm_scmi/transports/optee.c
485
if (channel->tee_shm)
drivers/firmware/broadcom/tee_bnxt_fw.c
189
struct tee_shm *fw_shm_pool;
drivers/firmware/broadcom/tee_bnxt_fw.c
61
struct tee_shm *fw_shm_pool;
drivers/firmware/efi/stmm/tee_stmm_efi.c
57
struct tee_shm *shm = NULL;
drivers/nvmem/stm32-bsec-optee-ta.c
142
struct tee_shm *shm;
drivers/nvmem/stm32-bsec-optee-ta.c
207
{ struct tee_shm *shm;
drivers/platform/x86/amd/pmf/pmf.h
424
struct tee_shm *fw_shm_pool;
drivers/rtc/rtc-optee.c
146
struct tee_shm *shm;
drivers/rtc/rtc-optee.c
554
struct tee_shm *shm;
drivers/tee/amdtee/amdtee_private.h
148
int amdtee_map_shmem(struct tee_shm *shm);
drivers/tee/amdtee/amdtee_private.h
150
void amdtee_unmap_shmem(struct tee_shm *shm);
drivers/tee/amdtee/amdtee_private.h
171
u32 get_buffer_id(struct tee_shm *shm);
drivers/tee/amdtee/core.c
155
u32 get_buffer_id(struct tee_shm *shm)
drivers/tee/amdtee/core.c
343
int amdtee_map_shmem(struct tee_shm *shm)
drivers/tee/amdtee/core.c
385
void amdtee_unmap_shmem(struct tee_shm *shm)
drivers/tee/amdtee/shm_pool.c
11
static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm,
drivers/tee/amdtee/shm_pool.c
41
static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm)
drivers/tee/optee/call.c
266
struct tee_shm **shm_ret,
drivers/tee/optee/call.c
369
struct tee_shm *shm;
drivers/tee/optee/call.c
38
struct tee_shm *shm;
drivers/tee/optee/call.c
473
struct tee_shm *shm;
drivers/tee/optee/call.c
520
struct tee_shm *shm;
drivers/tee/optee/call.c
574
struct tee_shm *shm;
drivers/tee/optee/call.c
649
struct tee_shm *shm;
drivers/tee/optee/device.c
116
struct tee_shm *device_shm = NULL;
drivers/tee/optee/device.c
23
struct tee_shm *device_shm, u32 *shm_size,
drivers/tee/optee/ffa_abi.c
127
struct tee_shm *shm = NULL;
drivers/tee/optee/ffa_abi.c
193
struct tee_shm *shm = p->u.memref.shm;
drivers/tee/optee/ffa_abi.c
270
static int optee_ffa_shm_register(struct tee_context *ctx, struct tee_shm *shm,
drivers/tee/optee/ffa_abi.c
315
struct tee_shm *shm)
drivers/tee/optee/ffa_abi.c
344
struct tee_shm *shm)
drivers/tee/optee/ffa_abi.c
376
struct tee_shm *shm, size_t size, size_t align)
drivers/tee/optee/ffa_abi.c
383
struct tee_shm *shm)
drivers/tee/optee/ffa_abi.c
42
struct tee_shm *shm;
drivers/tee/optee/ffa_abi.c
431
struct tee_shm *shm;
drivers/tee/optee/ffa_abi.c
471
struct tee_shm *shm;
drivers/tee/optee/ffa_abi.c
59
static struct tee_shm *optee_shm_from_ffa_handle(struct optee *optee,
drivers/tee/optee/ffa_abi.c
618
struct tee_shm *shm, u_int offs,
drivers/tee/optee/ffa_abi.c
62
struct tee_shm *shm = NULL;
drivers/tee/optee/ffa_abi.c
656
struct tee_shm *shm;
drivers/tee/optee/ffa_abi.c
682
static int optee_ffa_lend_protmem(struct optee *optee, struct tee_shm *protmem,
drivers/tee/optee/ffa_abi.c
743
struct tee_shm *protmem)
drivers/tee/optee/ffa_abi.c
75
static int optee_shm_add_ffa_handle(struct optee *optee, struct tee_shm *shm,
drivers/tee/optee/optee_private.h
209
struct tee_shm *shm_arg, u_int offs,
drivers/tee/optee/optee_private.h
217
int (*lend_protmem)(struct optee *optee, struct tee_shm *protmem,
drivers/tee/optee/optee_private.h
220
int (*reclaim_protmem)(struct optee *optee, struct tee_shm *protmem);
drivers/tee/optee/optee_private.h
386
struct tee_shm **shm_ret,
drivers/tee/optee/optee_private.h
393
struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz);
drivers/tee/optee/optee_private.h
394
void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm);
drivers/tee/optee/protmem.c
182
struct tee_shm *shm,
drivers/tee/optee/protmem.c
183
struct tee_shm **parent_shm)
drivers/tee/optee/protmem.c
221
struct tee_shm *shm_param = NULL;
drivers/tee/optee/protmem.c
223
struct tee_shm *shm;
drivers/tee/optee/protmem.c
24
struct tee_shm *protmem;
drivers/tee/optee/rpc.c
215
struct tee_shm *optee_rpc_cmd_alloc_suppl(struct tee_context *ctx, size_t sz)
drivers/tee/optee/rpc.c
220
struct tee_shm *shm;
drivers/tee/optee/rpc.c
238
void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm)
drivers/tee/optee/smc_abi.c
1005
struct tee_shm *protmem)
drivers/tee/optee/smc_abi.c
1009
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
113
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
118
shm = (struct tee_shm *)(unsigned long)mp->u.rmem.shm_ref;
drivers/tee/optee/smc_abi.c
324
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
453
static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
drivers/tee/optee/smc_abi.c
459
struct tee_shm *shm_arg;
drivers/tee/optee/smc_abi.c
521
static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm)
drivers/tee/optee/smc_abi.c
525
struct tee_shm *shm_arg;
drivers/tee/optee/smc_abi.c
562
static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm,
drivers/tee/optee/smc_abi.c
574
struct tee_shm *shm)
drivers/tee/optee/smc_abi.c
589
struct tee_shm *shm, size_t size, size_t align)
drivers/tee/optee/smc_abi.c
602
struct tee_shm *shm)
drivers/tee/optee/smc_abi.c
652
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
662
shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b;
drivers/tee/optee/smc_abi.c
681
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
820
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
86
struct tee_shm *shm;
drivers/tee/optee/smc_abi.c
887
struct tee_shm *shm, u_int offs,
drivers/tee/optee/smc_abi.c
93
shm = (struct tee_shm *)(unsigned long)mp->u.tmem.shm_ref;
drivers/tee/optee/smc_abi.c
968
static int optee_smc_lend_protmem(struct optee *optee, struct tee_shm *protmem,
drivers/tee/optee/smc_abi.c
974
struct tee_shm *shm;
drivers/tee/qcomtee/mem_obj.c
37
struct tee_shm *shm;
drivers/tee/qcomtee/mem_obj.c
91
struct tee_shm *shm;
drivers/tee/qcomtee/qcomtee_object.h
168
struct tee_shm *in_shm;
drivers/tee/qcomtee/qcomtee_object.h
169
struct tee_shm *out_shm;
drivers/tee/qcomtee/shm.c
102
static int qcomtee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
drivers/tee/qcomtee/shm.c
110
static int qcomtee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm)
drivers/tee/qcomtee/shm.c
117
static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm,
drivers/tee/qcomtee/shm.c
123
static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm)
drivers/tee/qcomtee/shm.c
44
struct tee_shm *shm;
drivers/tee/tee_core.c
260
struct tee_shm *shm;
drivers/tee/tee_core.c
296
struct tee_shm *shm;
drivers/tee/tee_core.c
330
struct tee_shm *shm;
drivers/tee/tee_core.c
366
struct tee_shm *shm;
drivers/tee/tee_heap.c
342
struct tee_shm *shm,
drivers/tee/tee_heap.c
343
struct tee_shm **parent_shm)
drivers/tee/tee_heap.c
384
struct tee_shm *shm __always_unused,
drivers/tee/tee_heap.c
385
struct tee_shm **parent_shm __always_unused)
drivers/tee/tee_heap.c
435
struct tee_shm *shm,
drivers/tee/tee_heap.c
436
struct tee_shm **parent_shm)
drivers/tee/tee_private.h
18
struct tee_shm shm;
drivers/tee/tee_private.h
21
struct tee_shm *parent_shm;
drivers/tee/tee_private.h
24
int tee_shm_get_fd(struct tee_shm *shm);
drivers/tee/tee_private.h
26
struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size);
drivers/tee/tee_private.h
27
struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx,
drivers/tee/tee_private.h
32
struct tee_shm *shm,
drivers/tee/tee_private.h
33
struct tee_shm **parent_shm);
drivers/tee/tee_shm.c
136
struct tee_shm *tee_shm_alloc_user_buf(struct tee_context *ctx, size_t size)
drivers/tee/tee_shm.c
140
struct tee_shm *shm;
drivers/tee/tee_shm.c
181
struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size)
drivers/tee/tee_shm.c
189
struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd)
drivers/tee/tee_shm.c
21
struct tee_shm shm;
drivers/tee/tee_shm.c
26
static void release_registered_pages(struct tee_shm *shm)
drivers/tee/tee_shm.c
261
struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size)
drivers/tee/tee_shm.c
284
struct tee_shm *tee_shm_alloc_dma_mem(struct tee_context *ctx,
drivers/tee/tee_shm.c
326
struct tee_shm *tee_shm_alloc_dma_mem(struct tee_context *ctx,
drivers/tee/tee_shm.c
334
int tee_dyn_shm_alloc_helper(struct tee_shm *shm, size_t size, size_t align,
drivers/tee/tee_shm.c
336
struct tee_shm *shm,
drivers/tee/tee_shm.c
36
static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm)
drivers/tee/tee_shm.c
387
void tee_dyn_shm_free_helper(struct tee_shm *shm,
drivers/tee/tee_shm.c
389
struct tee_shm *shm))
drivers/tee/tee_shm.c
400
static struct tee_shm *
drivers/tee/tee_shm.c
405
struct tee_shm *shm;
drivers/tee/tee_shm.c
496
struct tee_shm *tee_shm_register_user_buf(struct tee_context *ctx,
drivers/tee/tee_shm.c
501
struct tee_shm *shm;
drivers/tee/tee_shm.c
545
struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx,
drivers/tee/tee_shm.c
568
struct tee_shm *shm = filp->private_data;
drivers/tee/tee_shm.c
597
int tee_shm_get_fd(struct tee_shm *shm)
drivers/tee/tee_shm.c
616
void tee_shm_free(struct tee_shm *shm)
drivers/tee/tee_shm.c
629
void *tee_shm_get_va(struct tee_shm *shm, size_t offs)
drivers/tee/tee_shm.c
647
int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa)
drivers/tee/tee_shm.c
664
struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id)
drivers/tee/tee_shm.c
667
struct tee_shm *shm;
drivers/tee/tee_shm.c
693
void tee_shm_put(struct tee_shm *shm)
drivers/tee/tee_shm.c
74
static struct tee_shm *shm_alloc_helper(struct tee_context *ctx, size_t size,
drivers/tee/tee_shm.c
78
struct tee_shm *shm;
drivers/tee/tee_shm_pool.c
12
static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm,
drivers/tee/tee_shm_pool.c
37
static void pool_op_gen_free(struct tee_shm_pool *pool, struct tee_shm *shm)
drivers/tee/tstee/core.c
167
struct tee_shm *shm = NULL;
drivers/tee/tstee/core.c
242
static int tstee_shm_register(struct tee_context *ctx, struct tee_shm *shm,
drivers/tee/tstee/core.c
307
static int tstee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm)
drivers/tee/tstee/core.c
355
static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm,
drivers/tee/tstee/core.c
361
static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm)
include/linux/tee_core.h
126
int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
include/linux/tee_core.h
129
int (*shm_unregister)(struct tee_context *ctx, struct tee_shm *shm);
include/linux/tee_core.h
175
size_t offs, struct tee_shm *shm,
include/linux/tee_core.h
176
struct tee_shm **parent_shm);
include/linux/tee_core.h
286
int (*alloc)(struct tee_shm_pool *pool, struct tee_shm *shm,
include/linux/tee_core.h
288
void (*free)(struct tee_shm_pool *pool, struct tee_shm *shm);
include/linux/tee_core.h
339
struct tee_shm *tee_shm_alloc_priv_buf(struct tee_context *ctx, size_t size);
include/linux/tee_core.h
341
struct tee_shm *tee_shm_alloc_dma_mem(struct tee_context *ctx,
include/linux/tee_core.h
344
int tee_dyn_shm_alloc_helper(struct tee_shm *shm, size_t size, size_t align,
include/linux/tee_core.h
346
struct tee_shm *shm,
include/linux/tee_core.h
350
void tee_dyn_shm_free_helper(struct tee_shm *shm,
include/linux/tee_core.h
352
struct tee_shm *shm));
include/linux/tee_core.h
359
static inline bool tee_shm_is_dynamic(struct tee_shm *shm)
include/linux/tee_core.h
368
void tee_shm_put(struct tee_shm *shm);
include/linux/tee_core.h
375
static inline int tee_shm_get_id(struct tee_shm *shm)
include/linux/tee_core.h
387
struct tee_shm *tee_shm_get_from_id(struct tee_context *ctx, int id);
include/linux/tee_drv.h
118
struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size);
include/linux/tee_drv.h
128
struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx,
include/linux/tee_drv.h
139
struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd);
include/linux/tee_drv.h
145
void tee_shm_free(struct tee_shm *shm);
include/linux/tee_drv.h
154
void *tee_shm_get_va(struct tee_shm *shm, size_t offs);
include/linux/tee_drv.h
164
int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
include/linux/tee_drv.h
171
static inline size_t tee_shm_get_size(struct tee_shm *shm)
include/linux/tee_drv.h
182
static inline struct page **tee_shm_get_pages(struct tee_shm *shm,
include/linux/tee_drv.h
194
static inline size_t tee_shm_get_page_offset(struct tee_shm *shm)
include/linux/tee_drv.h
82
struct tee_shm *shm;
security/keys/trusted-keys/trusted_tee.c
115
struct tee_shm *reg_shm = NULL;
security/keys/trusted-keys/trusted_tee.c
162
struct tee_shm *reg_shm = NULL;
security/keys/trusted-keys/trusted_tee.c
55
struct tee_shm *shm_pool;
security/keys/trusted-keys/trusted_tee.c
68
struct tee_shm *reg_shm = NULL;