Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 267) sorted by relevance

1234567891011

/dflybsd-src/sys/dev/drm/i915/
H A Di915_gem_request.h395 init_request_active(struct i915_gem_active *active, in init_request_active() argument
398 INIT_LIST_HEAD(&active->link); in init_request_active()
399 active->retire = retire ?: i915_gem_retire_noop; in init_request_active()
412 i915_gem_active_set(struct i915_gem_active *active, in i915_gem_active_set() argument
415 list_move(&active->link, &request->active_list); in i915_gem_active_set()
416 rcu_assign_pointer(active->request, request); in i915_gem_active_set()
430 i915_gem_active_set_retire_fn(struct i915_gem_active *active, in i915_gem_active_set_retire_fn() argument
435 active->retire = fn ?: i915_gem_retire_noop; in i915_gem_active_set_retire_fn()
439 __i915_gem_active_peek(const struct i915_gem_active *active) in __i915_gem_active_peek() argument
447 return rcu_dereference_protected(active->request, 1); in __i915_gem_active_peek()
[all …]
/dflybsd-src/stand/boot/common/
H A Dconsole.c51 int active; in cons_probe() local
67 active = -1; in cons_probe()
72 active = cons; in cons_probe()
76 if (active >= 0) { in cons_probe()
77 env_setenv("console", EV_VOLATILE, consoles[active]->c_name, in cons_probe()
86 if ((active == -1 || cons == active) && in cons_probe()
203 int cons, active; in cons_set() local
205 if ((value == NULL) || ((active = cons_find(value)) == -1)) { in cons_set()
219 consoles[active]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT; in cons_set()
220 consoles[active]->c_init(0); in cons_set()
/dflybsd-src/sys/dev/video/vga/
H A Dvga_switcheroo.c134 bool active; member
165 bool active; member
199 return !vgasr_priv->active && in vga_switcheroo_ready()
224 vgasr_priv->active = true; in vga_switcheroo_enable()
270 if (vgasr_priv->active) { in vga_switcheroo_unregister_handler()
274 vgasr_priv->active = false; in vga_switcheroo_unregister_handler()
302 enum vga_switcheroo_client_id id, bool active, in register_client() argument
315 client->active = active; in register_client()
422 if (client->active) in find_active_client()
501 if (vgasr_priv->active && vgasr_priv->registered_clients < 2) { in vga_switcheroo_unregister_client()
[all …]
/dflybsd-src/sys/dev/raid/vinum/
H A Dvinuminterrupt.c87 drive->active--; /* one less outstanding I/O on this drive */ in complete_rqe()
88 vinum_conf.active--; /* one less outstanding I/O globally */ in complete_rqe()
89 if ((drive->active == (DRIVE_MAXACTIVE - 1)) /* we were at the drive limit */ in complete_rqe()
90 ||(vinum_conf.active == VINUM_MAXACTIVE)) /* or the global limit */ in complete_rqe()
195 &&(rqg->active == 1)) /* and this is the last active request */ in complete_rqe()
203 rqg->active--; /* this request now finished */ in complete_rqe()
204 if (rqg->active == 0) { /* request group finished, */ in complete_rqe()
205 rq->active--; /* one less */ in complete_rqe()
211 if (rq->active == 0) { /* request finished, */ in complete_rqe()
230 VOL[rq->volplex.volno].active--; /* another request finished */ in complete_rqe()
[all …]
/dflybsd-src/contrib/gdb-7/libiberty/
H A Dsplay-tree.c56 splay_tree_node active = 0; in splay_tree_delete_helper() local
77 active = pending; in splay_tree_delete_helper()
79 while (active) in splay_tree_delete_helper()
86 if (active->left) in splay_tree_delete_helper()
88 KDEL (active->left->key); in splay_tree_delete_helper()
89 VDEL (active->left->value); in splay_tree_delete_helper()
90 active->left->key = (splay_tree_key)pending; in splay_tree_delete_helper()
91 pending = (splay_tree_node)(active->left); in splay_tree_delete_helper()
93 if (active->right) in splay_tree_delete_helper()
95 KDEL (active->right->key); in splay_tree_delete_helper()
[all …]
/dflybsd-src/contrib/gcc-8.0/libiberty/
H A Dsplay-tree.c55 splay_tree_node active = 0; in splay_tree_delete_helper() local
76 active = pending; in splay_tree_delete_helper()
78 while (active) in splay_tree_delete_helper()
85 if (active->left) in splay_tree_delete_helper()
87 KDEL (active->left->key); in splay_tree_delete_helper()
88 VDEL (active->left->value); in splay_tree_delete_helper()
89 active->left->key = (splay_tree_key)pending; in splay_tree_delete_helper()
90 pending = (splay_tree_node)(active->left); in splay_tree_delete_helper()
92 if (active->right) in splay_tree_delete_helper()
94 KDEL (active->right->key); in splay_tree_delete_helper()
[all …]
/dflybsd-src/contrib/binutils-2.27/libiberty/
H A Dsplay-tree.c56 splay_tree_node active = 0; in splay_tree_delete_helper() local
77 active = pending; in splay_tree_delete_helper()
79 while (active) in splay_tree_delete_helper()
86 if (active->left) in splay_tree_delete_helper()
88 KDEL (active->left->key); in splay_tree_delete_helper()
89 VDEL (active->left->value); in splay_tree_delete_helper()
90 active->left->key = (splay_tree_key)pending; in splay_tree_delete_helper()
91 pending = (splay_tree_node)(active->left); in splay_tree_delete_helper()
93 if (active->right) in splay_tree_delete_helper()
95 KDEL (active->right->key); in splay_tree_delete_helper()
[all …]
/dflybsd-src/contrib/gcc-4.7/libiberty/
H A Dsplay-tree.c56 splay_tree_node active = 0; in splay_tree_delete_helper() local
77 active = pending; in splay_tree_delete_helper()
79 while (active) in splay_tree_delete_helper()
86 if (active->left) in splay_tree_delete_helper()
88 KDEL (active->left->key); in splay_tree_delete_helper()
89 VDEL (active->left->value); in splay_tree_delete_helper()
90 active->left->key = (splay_tree_key)pending; in splay_tree_delete_helper()
91 pending = (splay_tree_node)(active->left); in splay_tree_delete_helper()
93 if (active->right) in splay_tree_delete_helper()
95 KDEL (active->right->key); in splay_tree_delete_helper()
[all …]
/dflybsd-src/contrib/binutils-2.34/libiberty/
H A Dsplay-tree.c58 splay_tree_node active = 0; in splay_tree_delete_helper() local
79 active = pending; in splay_tree_delete_helper()
81 while (active) in splay_tree_delete_helper()
88 if (active->left) in splay_tree_delete_helper()
90 KDEL (active->left->key); in splay_tree_delete_helper()
91 VDEL (active->left->value); in splay_tree_delete_helper()
92 active->left->key = (splay_tree_key)pending; in splay_tree_delete_helper()
93 pending = (splay_tree_node)(active->left); in splay_tree_delete_helper()
95 if (active->right) in splay_tree_delete_helper()
97 KDEL (active->right->key); in splay_tree_delete_helper()
[all …]
/dflybsd-src/contrib/dhcpcd/src/
H A Dif.c414 if_check_arphrd(struct interface *ifp, unsigned int active, bool if_noconf) in if_check_arphrd() argument
425 if (if_noconf && active) { in if_check_arphrd()
429 active = IF_INACTIVE; in if_check_arphrd()
433 if (active) { in if_check_arphrd()
437 active = IF_INACTIVE; in if_check_arphrd()
438 i = active ? LOG_WARNING : LOG_DEBUG; in if_check_arphrd()
446 return active; in if_check_arphrd()
456 unsigned int active; in if_discover() local
521 active = (i == argc) ? IF_INACTIVE : IF_ACTIVE_USER; in if_discover()
528 active = ctx->options & DHCPCD_INACTIVE ? in if_discover()
[all …]
H A Ddhcpcd.c206 if (ifp->active == IF_ACTIVE_USER) in handle_exit_timeout()
238 if (ifp->active != IF_ACTIVE_USER) in dhcpcd_ifafwaiting()
457 ifp->active = IF_INACTIVE; in stop_interface()
490 if (ifp->active == IF_ACTIVE_USER && in configure_interface1()
657 ifp->active = IF_INACTIVE; in configure_interface()
679 if (!ifp->active) in dhcpcd_initstate1()
745 if (!ifp->active || (!was_link_up && !was_roaming)) in dhcpcd_handlecarrier()
787 if (ifp->active) { in dhcpcd_handlecarrier()
811 memcmp(ifp->ssid, ossid, ifp->ssid_len)) && ifp->active) in dhcpcd_handlecarrier()
821 if (!ifp->active) in dhcpcd_handlecarrier()
[all …]
/dflybsd-src/stand/boot/pc32/libi386/
H A Dbootinfo.c43 int active; in bi_getboothowto() local
50 active = 0; in bi_getboothowto()
52 if (!active && (*cp == '-')) { in bi_getboothowto()
53 active = 1; in bi_getboothowto()
54 } else if (active) in bi_getboothowto()
94 active = 0; in bi_getboothowto()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dhsa-regalloc.c364 expire_old_intervals (hsa_op_reg *reg, vec<hsa_op_reg*> *active, in expire_old_intervals() argument
368 while (!active[i].is_empty ()) in expire_old_intervals()
370 hsa_op_reg *a = active[i].pop (); in expire_old_intervals()
373 active[i].quick_push (a); in expire_old_intervals()
385 spill_at_interval (hsa_op_reg *reg, vec<hsa_op_reg*> *active) in spill_at_interval() argument
388 gcc_assert (!active[cl].is_empty ()); in spill_at_interval()
389 hsa_op_reg *cand = active[cl][0]; in spill_at_interval()
394 active[cl].ordered_remove (0); in spill_at_interval()
395 unsigned place = active[cl].lower_bound (reg, cmp_end); in spill_at_interval()
396 active[cl].quick_insert (place, reg); in spill_at_interval()
[all …]
/dflybsd-src/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c110 int active = _nc_unicode_locale(); in _nc_init_wacs() local
120 active ? "" : " not")); in _nc_init_wacs()
128 int wide = wcwidth((wchar_t) table[n].value[active]); in _nc_init_wacs()
134 if (active && (wide == 1)) { in _nc_init_wacs()
144 _tracechar(table[n].value[active]), in _nc_init_wacs()
/dflybsd-src/usr.bin/dsynth/
H A Dbulk.c42 bulk_t *active; member
129 if (JobsAry[i].active) { in donebulk()
130 freebulk(JobsAry[i].active); in donebulk()
131 JobsAry[i].active = NULL; in donebulk()
199 if (JobsAry[i].active == NULL) in bulkstart()
209 JobsAry[i].active = bulk; in bulkstart()
345 if (job->active == NULL) in bulkthread()
347 bulk = job->active; in bulkthread()
371 job->active = bulk; in bulkthread()
374 job->active = NULL; in bulkthread()
/dflybsd-src/lib/libc/stdlib/
H A Dgetenv.c79 bool active; member
171 } else if ((!onlyActive || envVars[ndx].active) && in __findenv()
236 envVars[envNdx].active = false; in __clean_env()
284 if (envVars[envNdx].active) in __rebuild_environ()
381 envVars[activeNdx].active = true; in __build_env()
472 if (envVars[envNdx].active) { in __setenv()
475 envVars[envNdx].active = false; in __setenv()
515 envVars[envNdx].active = true; in __setenv()
631 envVars[envNdx].active = false; in putenv()
646 envVars[envNdx].active = true; in putenv()
[all …]
H A Dnmalloc.c150 u_long active; /* bytes active */ member
676 if (big->active < big->bytes) { in handle_excess_big()
677 MASSERT_WTHUNLK((big->active & PAGE_MASK) == 0, in handle_excess_big()
681 munmap((char *)big->base + big->active, in handle_excess_big()
682 big->bytes - big->active); in handle_excess_big()
684 big->active - big->bytes); in handle_excess_big()
685 big->bytes = big->active; in handle_excess_big()
1016 big->active = size; in _slabmemalign()
1017 if (big->active < big->bytes) { in _slabmemalign()
1019 big->bytes - big->active); in _slabmemalign()
[all …]
/dflybsd-src/sbin/dhclient/
H A Ddhclient.c201 if (client->active && addr_eq(a, client->active->address)) in routehandler()
545 if (!client->active || client->active->is_bootp) { in state_reboot()
558 make_request(client->active); in state_reboot()
575 make_discover(client->active); in state_init()
738 if (client->active && client->state != S_REBOOTING) in bind_lease()
739 script_write_params("old_", client->active); in bind_lease()
744 if (client->active) in bind_lease()
745 free_client_lease(client->active); in bind_lease()
746 client->active = client->new; in bind_lease()
753 set_timeout(client->active->renewal, state_bound); in bind_lease()
[all …]
/dflybsd-src/sys/kern/
H A Dkern_kmalloc.c283 mgt->active = &kslab_dummy; in malloc_mgt_init()
340 if (mgt->active != &kslab_dummy) in malloc_mgt_uninit()
341 malloc_slab_destroy(type, &mgt->active); in malloc_mgt_uninit()
342 mgt->active = NULL; in malloc_mgt_uninit()
726 slab = mgt->active; /* Might be dummy */ in _kmalloc_obj_debug()
758 mgt->alternate = mgt->active; in _kmalloc_obj_debug()
759 mgt->active = slab; in _kmalloc_obj_debug()
786 mgt->alternate = mgt->active; /* Might be dummy */ in _kmalloc_obj_debug()
787 mgt->active = ggm->partial; in _kmalloc_obj_debug()
789 mgt->active->next = NULL; in _kmalloc_obj_debug()
[all …]
/dflybsd-src/contrib/mdocml/
H A Dtbl.c40 int active; in tbl_read() local
50 active = 1; in tbl_read()
54 active = 0; in tbl_read()
57 active = 1; in tbl_read()
60 if (active) in tbl_read()
/dflybsd-src/contrib/lvm2/dist/tools/
H A Dlvchange.c155 int active = 0; in lvchange_resync() local
196 active = 1; in lvchange_resync()
220 (active) ? "active " : "", in lvchange_resync()
232 if (active && !activate_lv(cmd, lv)) { in lvchange_resync()
250 if (active && !activate_lv(cmd, lv)) in lvchange_resync()
259 if (active && !activate_lv(cmd, lv)) in lvchange_resync()
298 if (active && !activate_lv(cmd, lv)) { in lvchange_resync()
410 int active = 0; in lvchange_persistent() local
433 active = 1; in lvchange_persistent()
434 if (active && !arg_count(cmd, force_ARG) && in lvchange_persistent()
[all …]
/dflybsd-src/sys/dev/sound/pci/
H A Dt4dwave.c74 u_int32_t active:1, was_active:1; member
83 u_int32_t active:1, was_active:1; member
575 ch->active = 1; in trpchan_trigger()
578 ch->active = 0; in trpchan_trigger()
695 ch->active = 1; in trrchan_trigger()
698 ch->active = 0; in trrchan_trigger()
741 u_int32_t active, mask, bufhalf, chnum, intsrc; in tr_intr() local
749 active = tr_rd(tr, (chnum < 32)? TR_REG_ADDRINTA : TR_REG_ADDRINTB, 4); in tr_intr()
751 if (active) { in tr_intr()
753 if (active & mask) { in tr_intr()
[all …]
/dflybsd-src/usr.bin/m4/
H A Dmain.c69 FILE *active; /* active output file pointer */ variable
228 active = stdout; /* default active output */ in main()
270 if (active != stdout) in main()
271 active = stdout; /* reset output just in case */ in main()
510 fputc(*s, active); in reallyoutputstr()
519 fputs(s, active); in reallyoutputstr()
525 putc(c, active); in reallyputchar()
/dflybsd-src/bin/sh/
H A Dhistedit.c194 static int active = 0; in histcmd() local
239 active = 0; in histcmd()
246 if (++active > MAXHISTLOOPS) { in histcmd()
247 active = 0; in histcmd()
385 if (lflg == 0 && active > 0) in histcmd()
386 --active; in histcmd()
/dflybsd-src/sbin/svc/
H A Dremote.c45 int active; member
77 conn->active = 1; in remote_execute()
139 conn->active = 0; in remote_connect_thread()
152 conn->active = 0; in remote_connect_thread()
177 assert(scan->active == 0); in remote_wait()
221 conn->active = 1; in remote_listener()

1234567891011