Lines Matching refs:part

25 				struct k_mem_partition *part)  in check_add_partition()  argument
31 if (part == NULL) { in check_add_partition()
40 if (K_MEM_PARTITION_IS_EXECUTABLE(part->attr) && in check_add_partition()
41 K_MEM_PARTITION_IS_WRITABLE(part->attr)) { in check_add_partition()
43 part->start); in check_add_partition()
48 if (part->size == 0U) { in check_add_partition()
50 part, part->start); in check_add_partition()
54 pstart = part->start; in check_add_partition()
55 pend = part->start + part->size; in check_add_partition()
59 part, part->start, part->size); in check_add_partition()
79 part, part->start, part->size, in check_add_partition()
160 struct k_mem_partition *part) in k_mem_domain_add_partition() argument
171 CHECKIF(!check_add_partition(domain, part)) { in k_mem_domain_add_partition()
172 LOG_ERR("invalid partition %p", part); in k_mem_domain_add_partition()
193 part->start, part->size, domain); in k_mem_domain_add_partition()
195 domain->partitions[p_idx].start = part->start; in k_mem_domain_add_partition()
196 domain->partitions[p_idx].size = part->size; in k_mem_domain_add_partition()
197 domain->partitions[p_idx].attr = part->attr; in k_mem_domain_add_partition()
213 struct k_mem_partition *part) in k_mem_domain_remove_partition() argument
219 CHECKIF((domain == NULL) || (part == NULL)) { in k_mem_domain_remove_partition()
228 if ((domain->partitions[p_idx].start == part->start) && in k_mem_domain_remove_partition()
229 (domain->partitions[p_idx].size == part->size)) { in k_mem_domain_remove_partition()
241 part->start, part->size, domain); in k_mem_domain_remove_partition()