Home
last modified time | relevance | path

Searched defs:shm (Results 1 – 25 of 26) 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()
Dtee_core.c291 struct tee_shm *shm; in tee_ioctl_shm_alloc() local
328 struct tee_shm *shm; in tee_ioctl_shm_register() local
369 struct tee_shm *shm; in params_from_user() local
/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()
Dcore.c43 struct tee_shm *shm; in optee_from_msg_param() local
272 struct tee_shm *shm; in optee_release() local
/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-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()
339 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
381 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_005.cpp37 void *shm = NULL; in Testcase() local
Dshm_test_003.cpp37 void *shm = NULL; in Testcase() local
Dshm_test_004.cpp37 void *shm = NULL; in Testcase() local
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ftpm_tee.h37 struct tee_shm *shm; member
Dtpm_ftpm_tee.c82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() local
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c679 unsigned int shm; in s5p_mfc_set_enc_params() local
763 unsigned int shm; in s5p_mfc_set_enc_params_h264() local
920 unsigned int shm; in s5p_mfc_set_enc_params_mpeg4() local
999 unsigned int shm; in s5p_mfc_set_enc_params_h263() local
/kernel/liteos_a/testsuites/unittest/container/
DIt_container_test.h133 explicit ShmFinalizer(void* shm, int shmid) in ShmFinalizer()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c103 struct snd_usx2y_hwdep_pcm_shm *shm = usx2y->hwdep_pcm_shm; in usx2y_hwdep_urb_play_prepare() local
144 struct snd_usx2y_hwdep_pcm_shm *shm = subs->usx2y->hwdep_pcm_shm; in usx2y_usbpcm_urb_capt_iso_advance() local
DusX2Yhwdep.c81 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_bufs.c91 unsigned long user_token, int hashed_handle, int shm) in drm_map_handle()
/kernel/linux/common_modules/tzdriver/core/
Dgp_ops.c994 struct tc_ns_shared_mem *shm = operation->sharemem[index]; in free_operation() local

12