Searched refs:shmnode (Results 1 – 1 of 1) sorted by relevance
343 struct amdtee_shm_data *shmnode; in amdtee_map_shmem() local351 shmnode = kmalloc(sizeof(*shmnode), GFP_KERNEL); in amdtee_map_shmem()352 if (!shmnode) in amdtee_map_shmem()366 kfree(shmnode); in amdtee_map_shmem()370 shmnode->kaddr = shm->kaddr; in amdtee_map_shmem()371 shmnode->buf_id = buf_id; in amdtee_map_shmem()374 list_add(&shmnode->shm_node, &ctxdata->shm_list); in amdtee_map_shmem()377 pr_debug("buf_id :[%x] kaddr[%p]\n", shmnode->buf_id, shmnode->kaddr); in amdtee_map_shmem()385 struct amdtee_shm_data *shmnode; in amdtee_unmap_shmem() local397 list_for_each_entry(shmnode, &ctxdata->shm_list, shm_node) in amdtee_unmap_shmem()[all …]