Lines Matching refs:mem_info
103 bool qti_mem_assign_validate_param(memprot_info_t *mem_info, in qti_mem_assign_validate_param() argument
112 if (!source_vm_list || !dest_vm_list || !mem_info in qti_mem_assign_validate_param()
119 source_vm_list, dest_vm_list, mem_info, in qti_mem_assign_validate_param()
126 if ((mem_info[i].mem_addr & (SIZE4K - 1)) in qti_mem_assign_validate_param()
127 || (mem_info[i].mem_size == 0) in qti_mem_assign_validate_param()
128 || (mem_info[i].mem_size & (SIZE4K - 1))) { in qti_mem_assign_validate_param()
130 (unsigned int)mem_info[i].mem_addr, in qti_mem_assign_validate_param()
131 (unsigned int)mem_info[i].mem_size); in qti_mem_assign_validate_param()
135 if ((mem_info[i].mem_addr + mem_info[i].mem_size) < in qti_mem_assign_validate_param()
136 mem_info[i].mem_addr) { in qti_mem_assign_validate_param()
138 (unsigned int)mem_info[i].mem_addr, in qti_mem_assign_validate_param()
139 (unsigned int)mem_info[i].mem_size); in qti_mem_assign_validate_param()
143 mem_info[i].mem_addr, in qti_mem_assign_validate_param()
144 mem_info[i].mem_size); in qti_mem_assign_validate_param()
147 (unsigned int)mem_info[i].mem_addr, in qti_mem_assign_validate_param()
148 (unsigned int)mem_info[i].mem_size); in qti_mem_assign_validate_param()
251 memprot_info_t mem_info[QTI_VM_MAX_LIST_SIZE]; in qti_sip_mem_assign() local
254 mem_info[i].mem_addr = mem_info_p[i].mem_addr; in qti_sip_mem_assign()
255 mem_info[i].mem_size = mem_info_p[i].mem_size; in qti_sip_mem_assign()
280 ret = qtiseclib_mem_assign(mem_info, u_num_mappings, in qti_sip_mem_assign()