• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/include/vm/

Lines Matching defs:source

8  * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
1212 * specified existing object range. The source
1216 * are returned in the source parameters.
1224 vm_object_t source;
1227 source = *object;
1232 if (source != NULL) {
1233 VM_OBJECT_WLOCK(source);
1234 if (source->ref_count == 1 &&
1235 source->handle == NULL &&
1236 (source->type == OBJT_DEFAULT ||
1237 source->type == OBJT_SWAP)) {
1238 VM_OBJECT_WUNLOCK(source);
1241 VM_OBJECT_WUNLOCK(source);
1250 * The new object shadows the source object, adding a reference to it.
1252 * removing a reference to the source object. Net result: no change
1259 result->backing_object = source;
1261 * Store the offset into the source object, and fix up the offset into
1265 if (source != NULL) {
1266 VM_OBJECT_WLOCK(source);
1267 LIST_INSERT_HEAD(&source->shadow_head, result, shadow_list);
1268 source->shadow_count++;
1270 result->flags |= source->flags & OBJ_COLORED;
1271 result->pg_color = (source->pg_color + OFF_TO_IDX(*offset)) &
1274 VM_OBJECT_WUNLOCK(source);
1296 vm_object_t orig_object, new_object, source;
1322 source = orig_object->backing_object;
1323 if (source != NULL) {
1324 VM_OBJECT_WLOCK(source);
1325 if ((source->flags & OBJ_DEAD) != 0) {
1326 VM_OBJECT_WUNLOCK(source);
1333 LIST_INSERT_HEAD(&source->shadow_head,
1335 source->shadow_count++;
1336 vm_object_reference_locked(source); /* for new_object */
1337 vm_object_clear_flag(source, OBJ_ONEMAPPING);
1338 VM_OBJECT_WUNLOCK(source);
1341 new_object->backing_object = source;
1750 * destroy the source, it will change the