Lines Matching refs:offset
78 v[def->offset] = dp->value;
83 if ((!dp || !dp->name) && !v[def->offset])
84 v[def->offset] = def->value;
158 * size_t size, ulong_t offset)
171 int nslot, size_t size, ulong_t offset)
187 if (!map->offset)
188 map->offset = offset;
200 (uint32_t)size != map->size || (int32_t)offset != map->offset) {
230 ulong_t offset;
252 return (map[i].offset);
259 offset = map[0].offset;
261 while ((int32_t)offset < (map[0].offset + map[0].size)) {
262 if (_nsc_rmmap_inuse(map, &offset, &want))
266 offset += want;
282 map[i].offset = offset;
290 (*alloc)(offset, size);
293 return (offset);
393 ulong_t offset;
398 offset = map[0].offset;
400 while ((int32_t)offset < (map[0].offset + map[0].size))
401 if (!_nsc_rmmap_inuse(map, &offset, &size)) {
404 offset += size;
422 * updates offset to point just past the section that was found
426 * amount of free space at the specified offset.
436 ulong_t offset = (*offsetp);
440 avail = map[0].offset + map[0].size - offset;
445 if ((int32_t)(offset + size) > map[i].offset &&
446 (int32_t)offset < (map[i].offset + map[i].size)) {
447 (*offsetp) = map[i].offset + map[i].size;
451 if (map[i].offset >= (int32_t)offset)
452 if (avail > map[i].offset - offset)
453 avail = map[i].offset - offset;
879 ulong_t offset = 0UL;
882 caller_sym = kobj_getsymname((uintptr_t)caller, &offset);
886 caller, caller_sym ? caller_sym : "?", offset);