Home
last modified time | relevance | path

Searched defs:shm (Results 1 – 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/tee/
Dtee_shm.c16 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
32 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
64 struct tee_shm *shm; in tee_shm_alloc() local
155 struct tee_shm *shm; in tee_shm_register() local
267 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local
293 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
312 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
325 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa()
347 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va()
375 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
[all …]
Dtee_shm_pool.c13 struct tee_shm *shm, size_t size) in pool_op_gen_alloc()
31 struct tee_shm *shm) in pool_op_gen_free()
/kernel/linux/linux-6.6/drivers/tee/
Dtee_shm.c44 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
56 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
81 struct tee_shm *shm; in shm_alloc_helper() local
143 struct tee_shm *shm; in tee_shm_alloc_user_buf() local
221 struct tee_shm *shm; in register_shm_helper() local
309 struct tee_shm *shm; in tee_shm_register_user_buf() local
368 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local
394 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
413 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
426 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
[all …]
Dtee_shm_pool.c12 static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_gen_alloc()
37 static void pool_op_gen_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_gen_free()
/kernel/linux/linux-6.6/drivers/tee/optee/
Dffa_abi.c41 struct tee_shm *shm; member
61 struct tee_shm *shm = NULL; in optee_shm_from_ffa_handle() local
74 static int optee_shm_add_ffa_handle(struct optee *optee, struct tee_shm *shm, in optee_shm_add_ffa_handle()
126 struct tee_shm *shm = NULL; in from_msg_param_ffa_mem() local
192 struct tee_shm *shm = p->u.memref.shm; in to_msg_param_ffa_mem() local
269 static int optee_ffa_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_ffa_shm_register()
314 struct tee_shm *shm) in optee_ffa_shm_unregister()
343 struct tee_shm *shm) in optee_ffa_shm_unregister_supp()
375 struct tee_shm *shm, size_t size, size_t align) in pool_ffa_op_alloc()
382 struct tee_shm *shm) in pool_ffa_op_free()
[all …]
Dcore.c21 int optee_pool_op_alloc_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_alloc_helper()
72 void optee_pool_op_free_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_free_helper()
Dsmc_abi.c85 struct tee_shm *shm; in from_msg_param_tmp_mem() local
112 struct tee_shm *shm; in from_msg_param_reg_mem() local
323 struct tee_shm *shm; in __optee_disable_shm_cache() local
452 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
520 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
561 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp()
573 struct tee_shm *shm) in optee_shm_unregister_supp()
588 struct tee_shm *shm, size_t size, size_t align) in pool_op_alloc()
602 struct tee_shm *shm) in pool_op_free()
652 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() local
[all …]
Dcall.c38 struct tee_shm *shm; member
287 struct tee_shm *shm; in optee_open_session() local
368 struct tee_shm *shm; in optee_close_session_helper() local
410 struct tee_shm *shm; in optee_invoke_func() local
460 struct tee_shm *shm; in optee_cancel_req() local
Drpc.c215 struct tee_shm *shm; in optee_rpc_cmd_alloc_suppl() local
233 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl()
/kernel/linux/linux-5.10/drivers/tee/optee/
Dcall.c180 struct tee_shm *shm; in get_msg_arg() local
216 struct tee_shm *shm; in optee_open_session() local
291 struct tee_shm *shm; in optee_close_session() local
322 struct tee_shm *shm; in optee_invoke_func() local
367 struct tee_shm *shm; in optee_cancel_req() local
439 struct tee_shm *shm; in __optee_disable_shm_cache() local
611 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
663 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
686 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp()
697 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister_supp()
Drpc.c268 struct tee_shm *shm; in cmd_alloc_suppl() local
292 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() local
384 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl()
412 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() local
452 struct tee_shm *shm, in handle_rpc_func_cmd()
501 struct tee_shm *shm; in optee_handle_rpc() local
Dshm_pool.c16 struct tee_shm *shm, size_t size) in pool_op_alloc()
63 struct tee_shm *shm) in pool_op_free()
/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_ipc_container_004.cpp51 void *shm = shmat(shmid, 0, 0); in childFunc1() local
89 void *shm = shmat(shmid, 0, 0); in childFunc() local
154 void *shm = NULL; in ItIpcContainer004() local
DIt_ipc_container_005.cpp62 void *shm = shmat(shmid, 0, 0); in childFunc() local
110 void *shm = shmat(shmid, 0, 0); in testChild() local
DIt_ipc_container_006.cpp51 void *shm = shmat(shmid, 0, 0); in childFunc1() local
122 void *shm = shmat(shmid, 0, 0); in childFunc() local
/kernel/linux/linux-6.6/include/linux/
Dtee_drv.h63 struct tee_shm *shm; member
284 static inline bool tee_shm_is_dynamic(struct tee_shm *shm) in tee_shm_is_dynamic()
325 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size()
336 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages()
348 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset()
358 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
/kernel/linux/linux-6.6/drivers/tee/amdtee/
Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
41 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
Dcore.c153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id()
341 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
383 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
/kernel/linux/linux-5.10/include/linux/
Dtee_drv.h66 struct tee_shm *shm; member
355 static inline bool tee_shm_is_registered(struct tee_shm *shm) in tee_shm_is_registered()
414 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size()
425 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages()
437 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset()
447 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
/kernel/linux/linux-5.10/drivers/tee/amdtee/
Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm, in pool_op_alloc()
37 static void pool_op_free(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm) in pool_op_free()
Dcore.c153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id()
341 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
383 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_001.cpp44 void *shm = nullptr; in ShmReadFunc() local
84 void *shm = nullptr; in ShmWriteFunc() local
Dshm_test_004.cpp37 void *shm = NULL; in Testcase() local
Dshm_test_003.cpp37 void *shm = NULL; in Testcase() local
/kernel/linux/linux-6.6/drivers/nvmem/
Dstm32-bsec-optee-ta.c142 struct tee_shm *shm; in stm32_bsec_optee_ta_read() local
207 { struct tee_shm *shm; in stm32_bsec_optee_ta_write() local

12