Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/dflybsd-src/sys/vm/
H A Dvm_object.c99 static void vm_object_page_collect_flush(vm_object_t object, vm_page_t p,
389 _vm_object_allocate(objtype_t type, vm_pindex_t size, vm_object_t object, in _vm_object_allocate() argument
394 RB_INIT(&object->rb_memq); in _vm_object_allocate()
395 lwkt_token_init(&object->token, ident); in _vm_object_allocate()
397 TAILQ_INIT(&object->backing_list); in _vm_object_allocate()
398 lockinit(&object->backing_lk, "baclk", 0, 0); in _vm_object_allocate()
400 object->type = type; in _vm_object_allocate()
401 object->size = size; in _vm_object_allocate()
402 object->ref_count = 1; in _vm_object_allocate()
403 object->memattr = VM_MEMATTR_DEFAULT; in _vm_object_allocate()
[all …]
H A Dswap_pager.c138 vm_object_t object; member
145 vm_object_t object; member
263 static void swap_pager_dealloc (vm_object_t object);
292 static __inline void swp_pager_freeswapspace(vm_object_t object,
294 static __inline swblk_t swp_pager_getswapspace(vm_object_t object, int npages);
476 vm_object_t object; in swap_pager_alloc() local
479 object = vm_object_allocate_hold(OBJT_DEFAULT, in swap_pager_alloc()
481 swp_pager_meta_convert(object); in swap_pager_alloc()
482 vm_object_drop(object); in swap_pager_alloc()
484 return (object); in swap_pager_alloc()
[all …]
H A Ddevice_pager.c87 static int old_dev_pager_fault(vm_object_t object, vm_ooffset_t offset,
99 vm_object_t object; in cdev_pager_lookup() local
102 object = vm_pager_object_lookup(&dev_pager_object_list, handle); in cdev_pager_lookup()
105 return (object); in cdev_pager_lookup()
113 vm_object_t object; in cdev_pager_allocate() local
131 object = vm_pager_object_lookup(&dev_pager_object_list, handle); in cdev_pager_allocate()
132 if (object == NULL) { in cdev_pager_allocate()
136 object = vm_object_allocate_hold(tp, in cdev_pager_allocate()
138 object->handle = handle; in cdev_pager_allocate()
139 object->un_pager.devp.ops = ops; in cdev_pager_allocate()
[all …]
H A Dvm_swapcache.c96 struct vm_object_hash *swindex, vm_object_t object);
386 vm_object_t object; in vm_swapcache_writing() local
429 if ((object = m->object) == NULL) { in vm_swapcache_writing()
434 vm_object_hold(object); in vm_swapcache_writing()
435 if (m->object != object) { in vm_swapcache_writing()
436 vm_object_drop(object); in vm_swapcache_writing()
442 vm_object_drop(object); in vm_swapcache_writing()
448 vp = object->handle; in vm_swapcache_writing()
450 vm_object_drop(object); in vm_swapcache_writing()
465 vm_object_drop(object); in vm_swapcache_writing()
[all …]
H A Dvnode_pager.c105 vm_object_t object; in vnode_pager_alloc() local
133 object = vp->v_object; in vnode_pager_alloc()
134 if (object) { in vnode_pager_alloc()
135 vm_object_hold(object); in vnode_pager_alloc()
136 KKASSERT((object->flags & OBJ_DEAD) == 0); in vnode_pager_alloc()
157 if (object == NULL) { in vnode_pager_alloc()
161 object = vm_object_allocate_hold(OBJT_VNODE, lsize); in vnode_pager_alloc()
162 object->handle = handle; in vnode_pager_alloc()
163 vp->v_object = object; in vnode_pager_alloc()
166 vm_object_set_flag(object, OBJ_NOMSYNC); in vnode_pager_alloc()
[all …]
H A Dvm_object.h245 vm_object_t object;
267 #define VM_OBJECT_LOCK(object) vm_object_hold(object) argument
268 #define VM_OBJECT_UNLOCK(object) vm_object_drop(object) argument
271 vm_object_set_flag(vm_object_t object, u_int bits) in vm_object_set_flag() argument
273 atomic_set_short(&object->flags, bits); in vm_object_set_flag()
277 vm_object_clear_flag(vm_object_t object, u_int bits) in vm_object_clear_flag() argument
279 atomic_clear_short(&object->flags, bits); in vm_object_clear_flag()
283 vm_object_pip_add(vm_object_t object, u_int i) in vm_object_pip_add() argument
285 refcount_acquire_n(&object->paging_in_progress, i); in vm_object_pip_add()
289 vm_object_pip_wakeup_n(vm_object_t object, u_int i) in vm_object_pip_wakeup_n() argument
[all …]
H A Dvm_fault.c219 vm_object_drop(fs->ba->object); in unlock_map()
221 vm_object_drop(fs->first_ba->object); in unlock_map()
262 vm_object_pip_wakeup(fs->ba->object); in cleanup_fault()
269 vm_object_drop(fs->ba->object); in cleanup_fault()
309 if (fs->ba->object->ref_count != 1)
315 if (fs->ba->object->handle != NULL)
321 if (fs->ba->object->type != OBJT_DEFAULT &&
322 fs->ba->object->type != OBJT_SWAP)
367 (fs->ba->object->type != OBJT_DEFAULT && \
587 fs.first_ba->object->type == OBJT_VNODE || in vm_fault()
[all …]
H A Dvm_map.c551 vm_object_t object; in vmspace_swap_count() local
560 if ((object = cur->ba.object) == NULL) in vmspace_swap_count()
562 if (object->swblock_count) { in vmspace_swap_count()
564 count += object->swblock_count * in vmspace_swap_count()
565 SWAP_META_PAGES * n / object->size + 1; in vmspace_swap_count()
589 vm_object_t object; in vmspace_anonymous_count() local
596 if ((object = cur->ba.object) == NULL) in vmspace_anonymous_count()
598 if (object->type != OBJT_DEFAULT && in vmspace_anonymous_count()
599 object->type != OBJT_SWAP) { in vmspace_anonymous_count()
602 count += object->resident_page_count; in vmspace_anonymous_count()
[all …]
/dflybsd-src/games/rogue/
H A Drogue.h252 typedef struct obj object; typedef
265 object *armor;
266 object *weapon;
267 object *left_ring, *right_ring;
272 object pack;
351 extern object level_objects;
360 extern object level_monsters;
449 void mon_hit(object *);
450 void rogue_hit(object *, boolean);
451 void rogue_damage(short, object *, short);
[all …]
H A Dobject.c50 object level_objects;
55 static object *free_list = NULL;
152 static void gr_armor(object *);
153 static void gr_potion(object *);
154 static void gr_scroll(object *);
155 static void gr_wand(object *);
156 static void gr_weapon(object *, int);
161 static void rand_place(object *);
167 object *obj; in put_objects()
219 object *obj; in plant_gold()
[all …]
H A Dpack.c53 static object *check_duplicate(object *, object *);
55 static boolean mask_pack(const object *, unsigned short);
58 object *
59 add_to_pack(object *obj, object *pack, int condense) in add_to_pack()
61 object *op; in add_to_pack()
86 take_from_pack(object *obj, object *pack) in take_from_pack()
98 object *
101 object *obj; in pick_up()
147 object *obj, *new; in drop()
207 static object *
[all …]
/dflybsd-src/lib/libvgl/
H A Dsimple.c45 VGLSetXY(VGLBitmap *object, int x, int y, byte color) in VGLSetXY() argument
50 if (x>=0 && x<object->VXsize && y>=0 && y<object->VYsize) { in VGLSetXY()
52 switch (object->Type) { in VGLSetXY()
55 object->Bitmap[y*object->VXsize+x]=(color); in VGLSetXY()
58 object->Bitmap[VGLSetSegment(y*object->VXsize+x)]=(color); in VGLSetXY()
63 object->Bitmap[(unsigned)(VGLAdpInfo.va_line_width*y)+(x/4)] = (color); in VGLSetXY()
75 object->Bitmap[offset] |= color; in VGLSetXY()
83 VGLGetXY(VGLBitmap *object, int x, int y) in VGLGetXY() argument
93 if (x<0 || x>=object->VXsize || y<0 || y>=object->VYsize) in VGLGetXY()
95 switch (object->Type) { in VGLGetXY()
[all …]
/dflybsd-src/games/adventure/
H A Dvocab.c47 destroy(int object) in destroy() argument
49 move(object, 0); in destroy()
53 juggle(int object) in juggle() argument
57 i = place[object]; in juggle()
58 j = fixed[object]; in juggle()
59 move(object, i); in juggle()
60 move(object + 100, j); in juggle()
64 move(int object, int where) in move() argument
68 if (object <= 100) in move()
69 from = place[object]; in move()
[all …]
/dflybsd-src/contrib/gcc-4.7/libobjc/
H A Dobjects.c70 object_copy (id object, size_t extraBytes) in object_copy() argument
72 if ((object != nil) && CLS_ISCLASS (object->class_pointer)) in object_copy()
75 id copy = class_createInstance (object->class_pointer, extraBytes); in object_copy()
76 memcpy (copy, object, object->class_pointer->instance_size + extraBytes); in object_copy()
84 object_dispose (id object) in object_dispose() argument
86 if ((object != nil) && CLS_ISCLASS (object->class_pointer)) in object_dispose()
92 objc_free (object); in object_dispose()
98 object_getClassName (id object) in object_getClassName() argument
100 if (object != nil) in object_getClassName()
101 return object->class_pointer->name; in object_getClassName()
[all …]
H A Dobjc-sync.c124 id object; member
189 new_node->object = nil; in __objc_sync_init()
199 objc_sync_enter (id object) in objc_sync_enter() argument
208 if (object == nil) in objc_sync_enter()
237 else if (locked_node->object == object) in objc_sync_enter()
260 hash = SYNC_OBJECT_HASH(object); in objc_sync_enter()
272 if (node->object == object) in objc_sync_enter()
303 unused_node->object = object; in objc_sync_enter()
325 new_node->object = object; in objc_sync_enter()
346 objc_sync_exit (id object) in objc_sync_exit() argument
[all …]
/dflybsd-src/contrib/binutils-2.27/gold/
H A Dreloc.h68 Read_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Read_relocs() argument
70 : symtab_(symtab), layout_(layout), object_(object), in Read_relocs()
105 Gc_process_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Gc_process_relocs() argument
108 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Gc_process_relocs()
146 Scan_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Scan_relocs() argument
149 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Scan_relocs()
184 Relobj* object, Output_file* of, in Relocate_task() argument
187 : symtab_(symtab), layout_(layout), object_(object), of_(of), in Relocate_task()
432 const Sized_relobj_file<size, big_endian>* object, in rel() argument
439 Address value = psymval->value(object, addend); in rel()
[all …]
H A Dsparc.cc78 Sized_relobj_file<size, big_endian>* object,
92 Sized_relobj_file<size, big_endian>* object,
127 Sized_relobj_file<size, big_endian>* object,
142 Sized_relobj_file<size, big_endian>* object,
249 Sized_relobj_file<size, big_endian>* object,
258 Sized_relobj_file<size, big_endian>* object,
382 Sized_relobj_file<size, big_endian>* object);
414 Sized_relobj_file<size, big_endian>* object, in copy_reloc() argument
421 object, shndx, output_section, in copy_reloc()
565 const Sized_relobj_file<size, big_endian>* object, in rela() argument
[all …]
H A Dresolve.cc92 Object* object, const char* version) in override_base() argument
95 this->u_.from_object.object = object; in override_base()
100 if (object->pluginobj() == NULL) in override_base()
105 if (object->is_dynamic()) in override_base()
118 Object* object, const char* version) in override() argument
120 this->override_base(sym, st_shndx, is_ordinary, object, version); in override()
133 Object* object, const char* version) in override() argument
135 tosym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
143 ssym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
246 Object* object, const char* version, in resolve() argument
[all …]
H A Dtarget-reloc.h49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument
68 && !output_section->is_input_address_mapped(object, data_shndx, in scan_relocs()
82 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocs()
98 && !object->is_section_included(shndx) in scan_relocs()
99 && !symtab->is_section_folded(object, shndx)); in scan_relocs()
100 scan.local(symtab, layout, target, object, data_shndx, in scan_relocs()
105 Symbol* gsym = object->global_symbol(r_sym); in scan_relocs()
110 scan.global(symtab, layout, target, object, data_shndx, in scan_relocs()
279 Sized_relobj_file<size, big_endian>* object = relinfo->object; in relocate_section() local
280 unsigned int local_count = object->local_symbol_count(); in relocate_section()
[all …]
/dflybsd-src/contrib/binutils-2.34/gold/
H A Dreloc.h68 Read_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Read_relocs() argument
70 : symtab_(symtab), layout_(layout), object_(object), in Read_relocs()
105 Gc_process_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Gc_process_relocs() argument
108 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Gc_process_relocs()
146 Scan_relocs(Symbol_table* symtab, Layout* layout, Relobj* object, in Scan_relocs() argument
149 : symtab_(symtab), layout_(layout), object_(object), rd_(rd), in Scan_relocs()
184 Relobj* object, Output_file* of, in Relocate_task() argument
187 : symtab_(symtab), layout_(layout), object_(object), of_(of), in Relocate_task()
432 const Sized_relobj_file<size, big_endian>* object, in rel() argument
439 Address value = psymval->value(object, addend); in rel()
[all …]
H A Dresolve.cc92 Object* object, const char* version) in override_base() argument
95 this->u1_.object = object; in override_base()
100 if (object->pluginobj() == NULL) in override_base()
105 if (object->is_dynamic()) in override_base()
118 Object* object, const char* version) in override() argument
120 this->override_base(sym, st_shndx, is_ordinary, object, version); in override()
133 Object* object, const char* version) in override() argument
135 tosym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
143 ssym->override(fromsym, st_shndx, is_ordinary, object, version); in override()
247 Object* object, const char* version, in resolve() argument
[all …]
H A Dtarget-reloc.h49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument
68 && !output_section->is_input_address_mapped(object, data_shndx, in scan_relocs()
82 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocs()
98 && !object->is_section_included(shndx) in scan_relocs()
99 && !symtab->is_section_folded(object, shndx)); in scan_relocs()
100 scan.local(symtab, layout, target, object, data_shndx, in scan_relocs()
105 Symbol* gsym = object->global_symbol(r_sym); in scan_relocs()
110 scan.global(symtab, layout, target, object, data_shndx, in scan_relocs()
236 Sized_relobj_file<size, big_endian>* object = relinfo->object; in issue_discarded_error() local
244 object->get_symbol_name(r_sym), r_sym); in issue_discarded_error()
[all …]
/dflybsd-src/sys/dev/drm/
H A Ddrm_global.c39 void *object; member
52 item->object = NULL; in drm_global_init()
62 BUG_ON(item->object != NULL); in drm_global_release()
86 ref->object = kzalloc(ref->size, GFP_KERNEL); in drm_global_item_ref()
87 if (unlikely(ref->object == NULL)) { in drm_global_item_ref()
95 item->object = ref->object; in drm_global_item_ref()
97 ref->object = item->object; in drm_global_item_ref()
105 kfree(ref->object); in drm_global_item_ref()
106 ref->object = NULL; in drm_global_item_ref()
130 BUG_ON(ref->object != item->object); in drm_global_item_unref()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/python/
H A Dpy-progspace.c190 pspace_object *object = datum; in py_free_pspace() local
194 object->pspace = NULL; in py_free_pspace()
195 Py_DECREF ((PyObject *) object); in py_free_pspace()
207 pspace_object *object; in pspace_to_pspace_object() local
209 object = program_space_data (pspace, pspy_pspace_data_key); in pspace_to_pspace_object()
210 if (!object) in pspace_to_pspace_object()
212 object = PyObject_New (pspace_object, &pspace_object_type); in pspace_to_pspace_object()
213 if (object) in pspace_to_pspace_object()
215 object->pspace = pspace; in pspace_to_pspace_object()
217 object->printers = PyList_New (0); in pspace_to_pspace_object()
[all …]
H A Dpy-objfile.c196 objfile_object *object = datum; in py_free_objfile() local
199 object->objfile = NULL; in py_free_objfile()
200 Py_DECREF ((PyObject *) object); in py_free_objfile()
211 objfile_object *object; in objfile_to_objfile_object() local
213 object = objfile_data (objfile, objfpy_objfile_data_key); in objfile_to_objfile_object()
214 if (!object) in objfile_to_objfile_object()
216 object = PyObject_New (objfile_object, &objfile_object_type); in objfile_to_objfile_object()
217 if (object) in objfile_to_objfile_object()
219 object->objfile = objfile; in objfile_to_objfile_object()
221 object->printers = PyList_New (0); in objfile_to_objfile_object()
[all …]

12345678910>>...26