/dragonfly/sys/dev/drm/ |
H A D | linux_reservation.c | 91 fobj = krealloc(obj->staged, offsetof(typeof(*fobj), shared[max]), in reservation_object_reserve_shared() 93 if (!fobj) in reservation_object_reserve_shared() 96 obj->staged = fobj; in reservation_object_reserve_shared() 135 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace() 136 fobj->shared_count++; in reservation_object_add_shared_inplace() 180 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace() 181 fobj->shared_count++; in reservation_object_add_shared_replace() 217 if (!fobj) { in reservation_object_add_shared_fence() 361 if (fobj) { in reservation_object_get_fences_rcu() 460 if (fobj) in reservation_object_wait_timeout_rcu() [all …]
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | reservation.h | 109 struct reservation_object_list *fobj; in reservation_object_fini() local 120 fobj = rcu_dereference_protected(obj->fence, 1); in reservation_object_fini() 121 if (fobj) { in reservation_object_fini() 122 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini() 123 dma_fence_put(rcu_dereference_protected(fobj->shared[i], 1)); in reservation_object_fini() 125 kfree(fobj); in reservation_object_fini()
|
/dragonfly/games/hack/ |
H A D | hack.trap.c | 141 fobj->quan = 1; in dotrap() 151 fobj->quan = 1; in dotrap() 152 stackobj(fobj); in dotrap() 174 fobj->quan = 1; in dotrap() 451 uchain->nobj = fobj; in placebc() 452 fobj = uchain; in placebc() 454 uball->nobj = fobj; in placebc() 455 fobj = uball; in placebc()
|
H A D | hack.mkobj.c | 75 otmp->nobj = fobj; in mkobj_at() 76 fobj = otmp; in mkobj_at() 86 otmp->nobj = fobj; in mksobj_at() 87 fobj = otmp; in mksobj_at()
|
H A D | hack.bones.c | 100 otmp->nobj = fobj; in savebones() 101 fobj = invent; in savebones() 126 for (otmp = fobj; otmp; otmp = otmp->nobj) { in savebones()
|
H A D | hack.do.c | 133 obj->nobj = fobj; in dropy() 134 fobj = obj; in dropy() 486 obj->nobj = fobj; in dothrow() 487 fobj = obj; in dothrow() 510 uchain->nobj = fobj; in dothrow() 511 fobj = uchain; in dothrow()
|
H A D | hack.invent.c | 205 if (obj == fobj) in freeobj() 206 fobj = fobj->nobj; in freeobj() 208 otmp = fobj; in freeobj() 284 for (otmp = fobj; otmp; otmp = otmp->nobj) in o_at() 295 for (otmp = fobj; otmp; otmp = otmp->nobj) in sobj_at() 893 struct obj *otmp = fobj; in stackobj() 894 for (otmp = fobj; otmp; otmp = otmp->nobj) in stackobj()
|
H A D | hack.steal.c | 261 otmp->nobj = fobj; in relobj() 262 fobj = otmp; in relobj() 263 stackobj(fobj); in relobj()
|
H A D | hack.lev.c | 103 saveobjchn(fd, fobj); in savelev() 114 fobj = 0; in savelev() 281 fobj = restobjchn(fd); in getlev()
|
H A D | hack.potion.c | 155 if (!fobj) { in dodrink() 159 for (objs = fobj; objs; objs = objs->nobj) in dodrink() 166 for (objs = fobj; objs; objs = objs->nobj) in dodrink()
|
H A D | hack.fight.c | 150 atl(mdef->mx, mdef->my, fobj->olet); in mondied() 152 stackobj(fobj); in mondied() 167 atl(mdef->mx, mdef->my, fobj->olet); in monstone()
|
H A D | hack.save.c | 204 for (otmp = fobj; otmp; otmp = otmp->nobj) in dorecover() 211 for (otmp = fobj; otmp; otmp = otmp->nobj) in dorecover()
|
H A D | hack.Decl.c | 81 struct obj *fobj = 0, *fcobj = 0, *invent = 0, *uwep = 0, *uarm = 0, *uarm2 = 0, variable
|
H A D | def.obj.h | 106 extern struct obj *fobj;
|
H A D | hack.c | 388 obj->nobj = fobj; in movobj() 389 fobj = obj; in movobj() 433 for (obj = fobj; obj; obj = obj->nobj) in pickup() 442 for (obj = fobj; obj; obj = obj2) { in pickup()
|
H A D | hack.mon.c | 438 for (otmp = fobj; otmp; otmp = otmp->nobj) in m_move() 557 for (otmp = fobj; otmp; otmp = otmp->nobj) in mpickgems() 887 stackobj(fobj); in killed() 892 stackobj(fobj); in killed()
|
H A D | hack.dog.c | 272 for (obj = fobj; obj; obj = obj->nobj) { in dog_move() 387 obj = fobj; in dog_move()
|
H A D | hack.read.c | 368 for (obj = fobj; obj; obj = obj->nobj) in doread() 386 for (obj = fobj; obj; obj = obj->nobj) in doread()
|
H A D | hack.wizard.c | 117 for (otmp = fobj; otmp; otmp = otmp->nobj) in wiz_hit()
|
H A D | hack.zap.c | 286 fobj->quan = 1; in dozap() 287 stackobj(fobj); in dozap()
|
H A D | hack.main.c | 319 fobj = fcobj = invent = 0; in main()
|
H A D | hack.eat.c | 171 for (otmp = fobj; otmp; otmp = otmp->nobj) { in doeat()
|
H A D | hack.shk.c | 223 for (obj = fobj; obj; obj = obj->nobj) in setpaid() 638 !(obj = o_on(id, fobj)) && in bp_to_obj()
|
/dragonfly/lib/libc/db/mpool/ |
H A D | mpool.libtp | 248 OBJ_T fobj; 266 fobj.file_id = fid; 267 fobj.obj_id = *new_pageno; 268 bhp = bf_assign_buf ( ndx, &fobj, BF_PIN|BF_DIRTY|BF_EMPTY, &len ); 307 OBJ_T fobj; 310 fobj.file_id = (long) file_id; 311 fobj.obj_id = (long) page_id; 323 !OBJ_EQ (bhp->id, fobj) || !(bhp->flags & BUF_VALID); 358 (!OBJ_EQ (bhp->id, fobj) || !(bhp->flags & BUF_VALID))) { 369 bhp = bf_assign_buf ( ndx, &fobj, flags, len );
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_bo.c | 370 struct reservation_object_list *fobj; in ttm_bo_flush_all_fences() local 374 fobj = reservation_object_get_list(&bo->ttm_resv); in ttm_bo_flush_all_fences() 379 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences() 380 fence = rcu_dereference_protected(fobj->shared[i], in ttm_bo_flush_all_fences()
|