/dragonfly/sys/dev/virtual/nvmm/ |
H A D | nvmm.c | 109 if (__predict_false(mach->owner != owner && in nvmm_machine_get() 110 owner != &nvmm_root_owner)) { in nvmm_machine_get() 208 if (!mach->present || mach->owner != owner) { in nvmm_kill_machines() 268 mach->owner = owner; in nvmm_machine_create() 931 ctl.pid = mach->owner->pid; in nvmm_ctl_mach_info() 1036 return nvmm_vcpu_run(owner, data); in nvmm_ioctl() 1038 return nvmm_gpa_map(owner, data); in nvmm_ioctl() 1040 return nvmm_gpa_unmap(owner, data); in nvmm_ioctl() 1042 return nvmm_hva_map(owner, data); in nvmm_ioctl() 1044 return nvmm_hva_unmap(owner, data); in nvmm_ioctl() [all …]
|
H A D | nvmm_dragonfly.c | 294 struct nvmm_owner *owner; in dfbsd_nvmm_open() local 304 owner = &nvmm_root_owner; in dfbsd_nvmm_open() 306 owner = os_mem_alloc(sizeof(*owner)); in dfbsd_nvmm_open() 313 dfbsd_nvmm_dtor(owner); in dfbsd_nvmm_open() 323 struct nvmm_owner *owner = arg; in dfbsd_nvmm_dtor() local 325 OS_ASSERT(owner != NULL); in dfbsd_nvmm_dtor() 326 nvmm_kill_machines(owner); in dfbsd_nvmm_dtor() 327 if (owner != &nvmm_root_owner) { in dfbsd_nvmm_dtor() 328 os_mem_free(owner, sizeof(*owner)); in dfbsd_nvmm_dtor() 338 struct nvmm_owner *owner = NULL; in dfbsd_nvmm_ioctl() local [all …]
|
H A D | nvmm_netbsd.c | 278 struct nvmm_owner *owner; in nbsd_nvmm_open() local 293 owner = &nvmm_root_owner; in nbsd_nvmm_open() 295 owner = os_mem_alloc(sizeof(*owner)); in nbsd_nvmm_open() 296 owner->pid = l->l_proc->p_pid; in nbsd_nvmm_open() 305 struct nvmm_owner *owner = fp->f_data; in nbsd_nvmm_ioctl() local 307 OS_ASSERT(owner != NULL); in nbsd_nvmm_ioctl() 309 return nvmm_ioctl(owner, cmd, data); in nbsd_nvmm_ioctl() 317 OS_ASSERT(owner != NULL); in nbsd_nvmm_close() 318 nvmm_kill_machines(owner); in nbsd_nvmm_close() 319 if (owner != &nvmm_root_owner) { in nbsd_nvmm_close() [all …]
|
/dragonfly/contrib/gcc-8.0/libgomp/config/posix/ |
H A D | lock.c | 76 lock->owner = NULL; in gomp_init_nest_lock_30() 90 if (lock->owner != me) in gomp_set_nest_lock_30() 93 lock->owner = me; in gomp_set_nest_lock_30() 103 lock->owner = NULL; in gomp_unset_nest_lock_30() 113 if (lock->owner != me) in gomp_test_nest_lock_30() 117 lock->owner = me; in gomp_test_nest_lock_30() 161 lock->owner = NULL; in gomp_init_nest_lock_30() 175 if (lock->owner != me) in gomp_set_nest_lock_30() 179 lock->owner = me; in gomp_set_nest_lock_30() 199 if (lock->owner != me) in gomp_test_nest_lock_30() [all …]
|
/dragonfly/contrib/gcc-4.7/libgomp/config/posix/ |
H A D | lock.c | 78 lock->owner = NULL; in gomp_init_nest_lock_30() 92 if (lock->owner != me) in gomp_set_nest_lock_30() 95 lock->owner = me; in gomp_set_nest_lock_30() 105 lock->owner = NULL; in gomp_unset_nest_lock_30() 115 if (lock->owner != me) in gomp_test_nest_lock_30() 119 lock->owner = me; in gomp_test_nest_lock_30() 163 lock->owner = NULL; in gomp_init_nest_lock_30() 177 if (lock->owner != me) in gomp_set_nest_lock_30() 181 lock->owner = me; in gomp_set_nest_lock_30() 201 if (lock->owner != me) in gomp_test_nest_lock_30() [all …]
|
/dragonfly/games/monop/ |
H A D | print.c | 99 if (sqp->owner < 0) { in printsq() 105 printf(" %d %-8.8s %3d", sqp->owner+1, pp->mon_desc->name, in printsq() 121 if (sqp->owner < 0) { in printsq() 127 printf(" %d 150", sqp->owner+1); in printsq() 129 printf("%d", play[sqp->owner].num_util); in printsq() 134 if (sqp->owner < 0) { in printsq() 140 printf(" %d Railroad 200", sqp->owner+1); in printsq() 143 rnt <<= play[sqp->owner].num_rr - 1; in printsq() 144 printf("%d %4d", play[sqp->owner].num_rr, in printsq() 145 25 << (play[sqp->owner].num_rr - 1)); in printsq()
|
H A D | trade.c | 223 op->sqr->owner = to->trader; in move_em() 244 new_own = board[cur_p->loc].owner; in resign() 293 sqp->owner = -1; in resign() 311 if (board[i].owner > player) in resign() 312 --board[i].owner; in resign()
|
/dragonfly/sys/kern/ |
H A D | kern_lockf.c | 163 if (owner == NULL) in lf_count_change() 166 uip = owner->p_ucred->cr_uidinfo; in lf_count_change() 198 struct proc *owner; in lf_advlock() local 243 owner = (struct proc *)ap->a_id; in lf_advlock() 363 if (range->lf_owner == owner) { in lf_setlock() 460 if (lf_count_change(owner, 1)) { in lf_setlock() 704 range->lf_owner == owner && in lf_setlock() 721 range->lf_owner == owner && in lf_setlock() 751 lf_count_change(owner, count); in lf_setlock() 776 if (range->lf_owner != owner && in lf_getlock() [all …]
|
/dragonfly/usr.sbin/memcontrol/ |
H A D | memcontrol.c | 157 char *owner; in listfunc() local 159 owner = NULL; in listfunc() 166 owner = strdup(optarg); in listfunc() 178 if (owner && strcmp(mrd[i].mr_owner, owner)) in listfunc() 189 if (owner) in listfunc() 190 free(owner); in listfunc() 262 char *ep, *owner; in clearfunc() local 266 owner = NULL; in clearfunc() 282 owner = strdup(optarg); in clearfunc() 290 if (owner != NULL) { in clearfunc() [all …]
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_guc_ct.c | 34 ct->host_channel.owner = CTB_OWNER_HOST; in intel_guc_ct_init_early() 50 u32 cmds_addr, u32 size, u32 owner) in guc_ct_buffer_desc_init() argument 53 desc, cmds_addr, size, owner); in guc_ct_buffer_desc_init() 57 desc->owner = owner; in guc_ct_buffer_desc_init() 90 u32 owner, in guc_action_deregister_ct_buffer() argument 95 owner, in guc_action_deregister_ct_buffer() 174 ctch->owner, err); in ctch_init() 214 ctch->owner); in ctch_open() 236 ctch->owner, in ctch_open() 251 ctch->owner, in ctch_close() [all …]
|
/dragonfly/contrib/gcc-4.7/libobjc/ |
H A D | thr.c | 275 mutex->owner = NULL; in objc_mutex_allocate() 324 if (mutex->owner == thread_id) in objc_mutex_lock() 335 mutex->owner = thread_id; in objc_mutex_lock() 354 if (mutex->owner == thread_id) in objc_mutex_trylock() 365 mutex->owner = thread_id; in objc_mutex_trylock() 386 if (mutex->owner != thread_id) in objc_mutex_unlock() 395 mutex->owner = NULL; in objc_mutex_unlock() 473 if (mutex->owner != thread_id) in objc_condition_wait() 482 mutex->owner = (objc_thread_t)NULL; in objc_condition_wait() 488 mutex->owner = thread_id; in objc_condition_wait()
|
/dragonfly/sys/bus/smbus/ |
H A D | smbconf.c | 49 if (sc->owner) in smbus_intr() 50 SMBUS_INTR(sc->owner, devaddr, low, high, error); in smbus_intr() 128 if (sc->owner && sc->owner != dev) { in smbus_request_bus() 134 sc->owner = dev; in smbus_request_bus() 166 if (sc->owner == dev) { in smbus_release_bus() 167 sc->owner = NULL; in smbus_release_bus()
|
/dragonfly/contrib/binutils-2.34/ld/ |
H A D | ldctor.c | 97 && section->owner != NULL in ldctor_add_set_entry() 98 && p->elements->section->owner != NULL in ldctor_add_set_entry() 99 && strcmp (bfd_get_target (section->owner), in ldctor_add_set_entry() 100 bfd_get_target (p->elements->section->owner)) != 0) in ldctor_add_set_entry() 287 if (p->elements->section->owner != NULL) in ldctor_build_sets() 288 howto = bfd_reloc_type_lookup (p->elements->section->owner, in ldctor_build_sets() 293 if (p->elements->section->owner == NULL) in ldctor_build_sets() 300 bfd_get_target (p->elements->section->owner), in ldctor_build_sets() 364 minfo ("%G\n", e->section->owner, e->section, e->value); in ldctor_build_sets()
|
/dragonfly/contrib/binutils-2.27/ld/ |
H A D | ldctor.c | 96 && section->owner != NULL in ldctor_add_set_entry() 97 && p->elements->section->owner != NULL in ldctor_add_set_entry() 98 && strcmp (bfd_get_target (section->owner), in ldctor_add_set_entry() 99 bfd_get_target (p->elements->section->owner)) != 0) in ldctor_add_set_entry() 288 if (p->elements->section->owner != NULL) in ldctor_build_sets() 289 howto = bfd_reloc_type_lookup (p->elements->section->owner, in ldctor_build_sets() 294 bfd_get_target (p->elements->section->owner), in ldctor_build_sets() 358 minfo ("%G\n", e->section->owner, e->section, e->value); in ldctor_build_sets()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_sync.c | 97 return s_fence->owner; in amdgpu_sync_get_owner() 195 void *owner, bool explicit_sync) in amdgpu_sync_resv() argument 222 owner != AMDGPU_FENCE_OWNER_UNDEFINED) in amdgpu_sync_resv() 229 if ((owner != AMDGPU_FENCE_OWNER_UNDEFINED) && in amdgpu_sync_resv() 231 ((owner == AMDGPU_FENCE_OWNER_VM) != in amdgpu_sync_resv() 238 if (owner != AMDGPU_FENCE_OWNER_UNDEFINED && in amdgpu_sync_resv() 239 (fence_owner == owner || explicit_sync)) in amdgpu_sync_resv()
|
/dragonfly/sys/bus/iicbus/ |
H A D | iiconf.c | 50 if (sc->owner) in iicbus_intr() 51 IICBUS_INTR(sc->owner, event, buf); in iicbus_intr() 101 if (sc->owner && sc->owner != dev) { in iicbus_request_bus() 105 sc->owner = dev; in iicbus_request_bus() 137 if (sc->owner != dev) { in iicbus_release_bus() 141 sc->owner = NULL; in iicbus_release_bus()
|
/dragonfly/contrib/grep/lib/ |
H A D | openat.h | 62 chownat (int fd, char const *file, uid_t owner, gid_t group) in chownat() argument 64 return fchownat (fd, file, owner, group, 0); in chownat() 68 lchownat (int fd, char const *file, uid_t owner, gid_t group) in lchownat() argument 70 return fchownat (fd, file, owner, group, AT_SYMLINK_NOFOLLOW); in lchownat()
|
/dragonfly/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 332 thread_t owner; member 349 spin->owner = NULL; in AcpiOsCreateLock() 391 if (Spin->owner) { in _AcpiOsAcquireLock() 393 curthread, func, line, Spin, Spin->owner, Spin->func, in _AcpiOsAcquireLock() 397 Spin->owner = curthread; in _AcpiOsAcquireLock() 410 if (Spin->owner != NULL) { in AcpiOsReleaseLock() 412 curthread, Spin, Spin->owner, Spin->func, Spin->line); in AcpiOsReleaseLock() 417 Spin->owner = NULL; in AcpiOsReleaseLock()
|
/dragonfly/contrib/bmake/ |
H A D | install-sh | 6 # install [-CNcs] [-f flags] [-i errs] [-o owner] [-g group] [-m mode] file1 file2 ... 7 # install -d [-i errs] [-o owner] [-g group] [-m mode] directory ... 31 # -o "owner" 32 # make target owned by "owner" 48 # insists on haveing a '-o' "owner" option which is doomed to 76 owner=: 99 -o) owner="${CHOWN:-chown} $2 "; shift;; 133 $owner $1 || Err o
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | minidebug.c | 94 || bfd_seek (section->owner, offset, SEEK_SET) != 0 in lzma_open() 95 || bfd_bread (footer, LZMA_STREAM_HEADER_SIZE, section->owner) in lzma_open() 108 if (bfd_seek (section->owner, offset, SEEK_SET) != 0 in lzma_open() 109 || bfd_bread (indexdata, options.backward_size, section->owner) in lzma_open() 161 if (bfd_seek (section->owner, block_offset, SEEK_SET) != 0 in lzma_pread() 162 || bfd_bread (compressed, iter.block.total_size, section->owner) in lzma_pread()
|
H A D | breakpoint.c | 2001 if (bl->owner == NULL || !breakpoint_enabled (bl->owner)) in should_be_inserted() 3657 bl->owner->number); in remove_breakpoint_1() 6672 return (loc1->owner->type == loc2->owner->type in watchpoint_locations_match() 6733 if (is_tracepoint (loc1->owner) && is_tracepoint (loc2->owner)) in tracepoint_locations_match() 6737 return (loc1->address == loc2->address && loc1->owner == loc2->owner); in tracepoint_locations_match() 6763 else if (is_tracepoint (loc1->owner) || is_tracepoint (loc2->owner)) in breakpoint_locations_match() 6841 loc->owner = owner; in init_bp_location() 12144 if (a->owner->number != b->owner->number) in bp_location_compare() 12145 return ((a->owner->number > b->owner->number) in bp_location_compare() 12146 - (a->owner->number < b->owner->number)); in bp_location_compare() [all …]
|
/dragonfly/games/hunt/huntd/ |
H A D | execute.c | 447 add_shot(int type, int y, int x, char wface, int charge, PLAYER *owner, in add_shot() argument 478 bp = create_shot(type, y, x, wface, charge, size, owner, in add_shot() 479 (owner == NULL) ? NULL : owner->p_ident, expl, over); in add_shot() 493 PLAYER *owner, IDENT *score, int expl, char over) in create_shot() argument 500 if (owner != NULL) in create_shot() 501 message(owner, "Out of memory"); in create_shot() 509 bp->b_owner = owner; in create_shot()
|
/dragonfly/libexec/rtld-elf/ |
H A D | rtld_lock.c | 69 void *owner; /* owner (exclusive) - tls_get_tcb() */ member 120 if (lock->owner == tid) { in rlock_acquire() 140 if (lock->owner == tid) { in wlock_acquire() 159 lock->owner = tid; in wlock_acquire() 181 lock->owner = NULL; in lock_release()
|
/dragonfly/usr.sbin/rpcbind/ |
H A D | rpcb_svc_com.c | 131 char owner[64]; in rpcbproc_set_com() local 139 ans = map_set(regp, getowner(transp, owner, sizeof owner)); in rpcbproc_set_com() 150 map_set(RPCB *regp, char *owner) in map_set() argument 183 a->r_owner = strdup(owner); in map_set() 219 char owner[64]; in rpcbproc_unset_com() local 227 ans = map_unset(regp, getowner(transp, owner, sizeof owner)); in rpcbproc_unset_com() 238 map_unset(RPCB *regp, char *owner) in map_unset() argument 243 if (owner == NULL) in map_unset() 260 if (strcmp(owner, "superuser") && in map_unset() 261 strcmp(rbl->rpcb_map.r_owner, owner)) in map_unset() [all …]
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_spinlock.c | 47 spinlock_t *owner; member 121 extra[spinlock_count].owner = lck; in init_spinlock() 146 &extra[i].owner->access_lock); in _thr_spinlock_init()
|