Home
last modified time | relevance | path

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

12

/linux/drivers/tee/
H A Dtee_shm.c21 struct tee_shm shm; member
42 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
54 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release()
96 struct tee_shm *shm; in shm_alloc_helper() local
158 struct tee_shm *shm; in tee_shm_alloc_user_buf() local
352 int tee_dyn_shm_alloc_helper(struct tee_shm *shm, size_t size, size_t align, in tee_dyn_shm_alloc_helper()
405 void tee_dyn_shm_free_helper(struct tee_shm *shm, in tee_dyn_shm_free_helper()
423 struct tee_shm *shm; in register_shm_helper() local
528 struct tee_shm *shm; in tee_shm_register_user_buf() local
595 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local
[all …]
H A 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()
H A Dtee_private.h18 struct tee_shm shm; member
H A Dtee_core.c260 struct tee_shm *shm; in tee_ioctl_shm_alloc() local
296 struct tee_shm *shm; in tee_ioctl_shm_register() local
330 struct tee_shm *shm; in tee_ioctl_shm_register_fd() local
366 struct tee_shm *shm; in param_from_user_memref() local
H A Dtee_heap.c342 struct tee_shm *shm, in tee_heap_update_from_dma_buf()
435 struct tee_shm *shm, in protmem_pool_op_static_update_shm()
/linux/drivers/tee/qcomtee/
H A Dshm.c44 struct tee_shm *shm; in qcomtee_msg_buffers_alloc() local
102 static int qcomtee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in qcomtee_shm_register()
110 static int qcomtee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in qcomtee_shm_unregister()
117 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
123 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
H A Dmem_obj.c37 struct tee_shm *shm; member
92 struct tee_shm *shm; in qcomtee_memobj_param_to_object() local
/linux/drivers/tee/optee/
H A Dffa_abi.c42 struct tee_shm *shm; member
62 struct tee_shm *shm = NULL; in optee_shm_from_ffa_handle() local
75 static int optee_shm_add_ffa_handle(struct optee *optee, struct tee_shm *shm, in optee_shm_add_ffa_handle()
127 struct tee_shm *shm = NULL; in from_msg_param_ffa_mem() local
193 struct tee_shm *shm = p->u.memref.shm; in to_msg_param_ffa_mem() local
270 static int optee_ffa_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_ffa_shm_register()
315 struct tee_shm *shm) in optee_ffa_shm_unregister()
344 struct tee_shm *shm) in optee_ffa_shm_unregister_supp()
376 struct tee_shm *shm, size_t size, size_t align) in pool_ffa_op_alloc()
383 struct tee_shm *shm) in pool_ffa_op_free()
[all …]
H A Dsmc_abi.c86 struct tee_shm *shm; in from_msg_param_tmp_mem() local
113 struct tee_shm *shm; in from_msg_param_reg_mem() local
324 struct tee_shm *shm; in __optee_disable_shm_cache() local
453 static int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register()
521 static int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister()
562 static int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp()
574 struct tee_shm *shm) in optee_shm_unregister_supp()
589 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 …]
H A Dcall.c38 struct tee_shm *shm; member
369 struct tee_shm *shm; in optee_open_session() local
473 struct tee_shm *shm; in optee_close_session_helper() local
520 struct tee_shm *shm; in optee_invoke_func() local
574 struct tee_shm *shm; in optee_cancel_req() local
649 struct tee_shm *shm; in simple_call_with_arg() local
H A Drpc.c222 struct tee_shm *shm; in optee_rpc_cmd_alloc_suppl() local
240 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl()
H A Dprotmem.c182 struct tee_shm *shm, in protmem_pool_op_dyn_update_shm()
223 struct tee_shm *shm; in get_protmem_config() local
/linux/drivers/tee/tstee/
H A Dcore.c167 struct tee_shm *shm = NULL; in tstee_invoke_func() local
242 static int tstee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in tstee_shm_register()
307 static int tstee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in tstee_shm_unregister()
355 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
361 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
/linux/include/linux/
H A Dtee_drv.h82 struct tee_shm *shm; member
171 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size()
182 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages()
194 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset()
H A Dtee_core.h350 static inline bool tee_shm_is_dynamic(struct tee_shm *shm) in tee_shm_is_dynamic()
366 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
/linux/drivers/tee/amdtee/
H A 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()
H A Dcore.c155 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id()
343 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
385 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
/linux/drivers/nvmem/
H A 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
/linux/drivers/char/tpm/
H A Dtpm_ftpm_tee.h32 struct tee_shm *shm; member
H A Dtpm_ftpm_tee.c55 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() local
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c681 unsigned int shm; in s5p_mfc_set_enc_params() local
765 unsigned int shm; in s5p_mfc_set_enc_params_h264() local
922 unsigned int shm; in s5p_mfc_set_enc_params_mpeg4() local
1001 unsigned int shm; in s5p_mfc_set_enc_params_h263() local
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c106 void *shm; in TEST() local
/linux/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c107 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; in usx2y_usbpcm_urb_capt_iso_advance() local
H A DusX2Yhwdep.c67 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local
/linux/drivers/rtc/
H A Drtc-optee.c146 struct tee_shm *shm; member
557 struct tee_shm *shm; in optee_rtc_probe() local

12