Lines Matching defs:nbytes
18 * - The calculation of the highest address within the region (base + nbytes-1)
39 assert(tbl->nbytes > 0);
40 assert(!check_uptr_overflow(tbl->base, tbl->nbytes-1));
41 zero_normalmem((void *) (tbl->base), tbl->nbytes);
72 size = regions[i].nbytes;
104 * This function checks that a region (addr + nbytes-1) of memory is totally
107 * is the size of the array and the region described by addr and nbytes must
112 * 0 the region (addr + nbytes-1) is covered by one of the regions described
116 uintptr_t addr, size_t nbytes)
122 assert(nbytes != 0U);
123 assert(!check_uptr_overflow(addr, nbytes-1));
126 region_end = addr + (nbytes - 1U);
128 assert(tbl->nbytes > 0);
129 assert(!check_uptr_overflow(tbl->base, tbl->nbytes-1));
131 end = start + (tbl->nbytes - 1);