Home
last modified time | relevance | path

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

12345678910>>...24

/openbsd-src/sys/dev/pci/drm/i915/selftests/
H A Di915_active.c24 static void __live_get(struct live_active *active) in __live_get() argument
26 kref_get(&active->ref); in __live_get()
29 static void __live_free(struct live_active *active) in __live_free() argument
31 i915_active_fini(&active->base); in __live_free()
32 kfree(active); in __live_free()
37 struct live_active *active = container_of(ref, typeof(*active), ref); in __live_release() local
39 __live_free(active); in __live_release()
42 static void __live_put(struct live_active *active) in __live_put() argument
44 kref_put(&active->ref, __live_release); in __live_put()
49 struct live_active *active = container_of(base, typeof(*active), base); in __live_active() local
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/Console/
H A DParallelSession.pm24 push @{ $context->{active} }, $self;
32 active => [],
96 for my $active ( @{ $context->{active} } ) {
97 my $parser = $active->parser;
132 my $active = $context->{active};
133 if ( @$active == 1 ) {
158 if ( @{ $context->{active} } == 1 ) {
179 my $active
[all...]
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_modeset_verify.c44 I915_STATE_WARN(i915, !crtc_state->hw.active, in intel_connector_verify_state()
57 I915_STATE_WARN(i915, crtc_state && crtc_state->hw.active, in intel_connector_verify_state()
148 bool active; in verify_encoder_state() local
150 active = encoder->get_hw_state(encoder, &pipe); in verify_encoder_state()
151 I915_STATE_WARN(dev_priv, active, in verify_encoder_state()
183 if (IS_I830(dev_priv) && pipe_config->hw.active) in verify_crtc_state()
184 pipe_config->hw.active = new_crtc_state->hw.active; in verify_crtc_state()
187 new_crtc_state->hw.active != pipe_config->hw.active, in verify_crtc_state()
189 new_crtc_state->hw.active, pipe_config->hw.active); in verify_crtc_state()
191 I915_STATE_WARN(dev_priv, crtc->active != new_crtc_state->hw.active, in verify_crtc_state()
[all …]
H A Di9xx_wm.c611 return crtc && crtc->active && crtc->base.primary->state->fb && in intel_crtc_active()
1203 const struct g4x_wm_state *active = &old_crtc_state->wm.g4x.optimal; in g4x_compute_intermediate_wm() local
1206 if (!new_crtc_state->hw.active || in g4x_compute_intermediate_wm()
1215 intermediate->cxsr = optimal->cxsr && active->cxsr && in g4x_compute_intermediate_wm()
1217 intermediate->hpll_en = optimal->hpll_en && active->hpll_en && in g4x_compute_intermediate_wm()
1219 intermediate->fbc_en = optimal->fbc_en && active->fbc_en; in g4x_compute_intermediate_wm()
1224 active->wm.plane[plane_id]); in g4x_compute_intermediate_wm()
1231 active->sr.plane); in g4x_compute_intermediate_wm()
1233 active->sr.cursor); in g4x_compute_intermediate_wm()
1235 active->sr.fbc); in g4x_compute_intermediate_wm()
[all …]
/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_active.h63 __i915_active_fence_init(struct i915_active_fence *active, in __i915_active_fence_init() argument
67 RCU_INIT_POINTER(active->fence, fence); in __i915_active_fence_init()
68 active->cb.func = fn ?: i915_active_noop; in __i915_active_fence_init()
75 __i915_active_fence_set(struct i915_active_fence *active,
88 i915_active_fence_set(struct i915_active_fence *active,
101 i915_active_fence_get(struct i915_active_fence *active) in i915_active_fence_get() argument
106 fence = dma_fence_get_rcu_safe(&active->fence); in i915_active_fence_get()
121 i915_active_fence_isset(const struct i915_active_fence *active) in i915_active_fence_isset() argument
123 return rcu_access_pointer(active->fence); in i915_active_fence_isset()
153 int (*active)(struct i915_active *ref),
[all …]
H A Di915_active.c21 * they idle (when we know the active requests are inactive) and allocate the
36 node_from_active(struct i915_active_fence *active) in node_from_active() argument
38 return container_of(active, struct active_node, base); in node_from_active()
43 static inline bool is_barrier(const struct i915_active_fence *active) in is_barrier() argument
45 return IS_ERR(rcu_access_pointer(active->fence)); in is_barrier()
79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint()
208 __active_fence_slot(struct i915_active_fence *active) in __active_fence_slot() argument
210 return (struct dma_fence ** __force)&active->fence; in __active_fence_slot()
216 struct i915_active_fence *active = in active_fence_cb() local
217 container_of(cb, typeof(*active), c in active_fence_cb()
426 replace_barrier(struct i915_active * ref,struct i915_active_fence * active) replace_barrier() argument
443 struct i915_active_fence *active; i915_active_add_request() local
477 __i915_active_set_fence(struct i915_active * ref,struct i915_active_fence * active,struct dma_fence * fence) __i915_active_set_fence() argument
544 struct i915_active_fence *active; i915_active_acquire_for_context() local
566 enable_signaling(struct i915_active_fence * active) enable_signaling() argument
639 __await_active(struct i915_active_fence * active,int (* fn)(void * arg,struct dma_fence * fence),void * arg) __await_active() argument
1052 __i915_active_fence_set(struct i915_active_fence * active,struct dma_fence * fence) __i915_active_fence_set() argument
1142 i915_active_fence_set(struct i915_active_fence * active,struct i915_request * rq) i915_active_fence_set() argument
[all...]
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dintel_context.c88 __i915_active_acquire(&ce->active); in intel_context_active_acquire()
95 err = i915_active_acquire_preallocate_barrier(&ce->active, in intel_context_active_acquire()
98 i915_active_release(&ce->active); in intel_context_active_acquire()
106 i915_active_acquire_barrier(&ce->active); in intel_context_active_release()
107 i915_active_release(&ce->active); in intel_context_active_release()
119 err = i915_active_acquire(&vma->active); in __context_pin_state()
140 i915_active_release(&vma->active); in __context_unpin_state()
153 err = i915_active_acquire(&ring->vma->active); in __ring_active()
166 i915_active_release(&ring->vma->active); in __ring_retire()
175 CE_TRACE(ce, "active\ in intel_context_pre_pin()
342 __intel_context_retire(struct i915_active * active) __intel_context_retire() argument
355 __intel_context_active(struct i915_active * active) __intel_context_active() argument
551 struct i915_request *rq, *active = NULL; intel_context_get_active_request() local
600 u64 total, active; intel_context_get_total_runtime_ns() local
[all...]
H A Dintel_engine_stats.h21 if (stats->active) { in intel_engine_context_in()
22 stats->active++; in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
36 GEM_BUG_ON(!stats->active); in intel_engine_context_in()
44 GEM_BUG_ON(!stats->active); in intel_engine_context_out()
45 if (stats->active > 1) { in intel_engine_context_out()
46 stats->active--; in intel_engine_context_out()
53 stats->active--; in intel_engine_context_out()
H A Dselftest_engine_heartbeat.c43 struct i915_active active; member
47 static int pulse_active(struct i915_active *active) in pulse_active() argument
49 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active()
57 i915_active_fini(&p->active); in pulse_free()
66 static void pulse_retire(struct i915_active *active) in pulse_retire() argument
68 pulse_put(container_of(active, struct pulse, active)); in pulse_retire()
80 i915_active_init(&p->active, pulse_active, pulse_retire, 0); in pulse_create()
87 i915_active_unlock_wait(&p->active); in pulse_unlock_wait()
102 err = i915_active_acquire(&p->active); in __live_idle_pulse()
106 err = i915_active_acquire_preallocate_barrier(&p->active, engine); in __live_idle_pulse()
[all …]
H A Dintel_timeline.c38 static void __timeline_retire(struct i915_active *active) in __timeline_retire() argument
41 container_of(active, typeof(*tl), active); in __timeline_retire()
47 static int __timeline_active(struct i915_active *active) in __timeline_active() argument
50 container_of(active, typeof(*tl), active); in __timeline_active()
109 i915_active_init(&timeline->active, __timeline_active, in intel_timeline_init()
132 i915_active_fini(&timeline->active); in intel_timeline_fini()
214 i915_active_acquire(&tl->active); in intel_timeline_pin()
216 i915_active_release(&tl->active); in intel_timeline_pin()
349 !i915_active_acquire_if_busy(&tl->active)) in intel_timeline_read_hwsp()
360 i915_active_release(&tl->active); in intel_timeline_read_hwsp()
[all …]
H A Dintel_gt_buffer_pool.c33 i915_active_fini(&node->active); in node_free()
40 bool active = false; in pool_free_older_than() local
76 active |= !list_empty(list); in pool_free_older_than()
84 return active; in pool_free_older_than()
101 container_of(ref, typeof(*node), active); in pool_retire()
154 i915_active_init(&node->active, NULL, pool_retire, 0); in node_create()
158 i915_active_fini(&node->active); in node_create()
211 ret = i915_active_acquire(&node->active); in intel_gt_get_buffer_pool()
/openbsd-src/usr.sbin/ospf6d/
H A Darea.c54 if (area->active == 0) in area_del()
93 int old = area->active; in area_track()
96 area->active = 0; in area_track()
100 area->active = 1; in area_track()
104 if (area->active != old) { in area_track()
106 &area->active, sizeof(area->active)); in area_track()
115 int active = 0; in area_border_router() local
118 if (area->active) in area_border_router()
119 active++; in area_border_router()
121 return (active > 1); in area_border_router()
/openbsd-src/usr.sbin/ospfd/
H A Darea.c55 if (area->active == 0) in area_del()
99 int old = area->active; in area_track()
102 area->active = 0; in area_track()
106 area->active = 1; in area_track()
110 if (area->active != old) { in area_track()
112 &area->active, sizeof(area->active)); in area_track()
121 int active = 0; in area_border_router() local
124 if (area->active) in area_border_router()
125 active++; in area_border_router()
127 return (active > 1); in area_border_router()
/openbsd-src/gnu/lib/libiberty/src/
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 …]
/openbsd-src/usr.bin/tmux/
H A Dnames.c60 if (w->active == NULL) in check_window_name()
66 if (~w->active->flags & PANE_CHANGED) { in check_window_name()
93 w->active->flags &= ~PANE_CHANGED; in check_window_name()
112 if (w->active == NULL) in default_window_name()
114 cmd = cmd_stringify_argv(w->active->argc, w->active->argv); in default_window_name()
118 s = parse_window_name(w->active->shell); in default_window_name()
132 format_defaults_pane(ft, w->active); in format_window_name()
/openbsd-src/usr.sbin/lpd/
H A Dlp_displayq.c39 int i, active, qstate; in lp_displayq() local
97 active = !strcmp(q.cfname[i], currjob); in lp_displayq()
99 dolong(ofd, lp, jf, i+1, q.cfname[i], active); in lp_displayq()
101 doshort(ofd, lp, jf, i+1, q.cfname[i], active); in lp_displayq()
134 rankstr(int rank, int active) in rankstr() argument
139 if (active) in rankstr()
162 const char *cfname, int active) in doshort() argument
188 dprintf(ofd, "%-7s%-11s%-4i ", rankstr(rank, active), in doshort()
224 const char *cfname, int active) in dolong() argument
251 rankstr(rank, active)); in dolong()
/openbsd-src/lib/libcurses/widechar/
H A Dlib_wacs.c112 int active = _nc_unicode_locale(); in _nc_init_wacs() local
122 active ? "" : " not")); in _nc_init_wacs()
130 int wide = wcwidth((wchar_t) table[n].value[active]); in _nc_init_wacs()
136 if (active && (wide == 1)) { in _nc_init_wacs()
146 _tracechar(table[n].value[active]), in _nc_init_wacs()
/openbsd-src/usr.bin/dig/lib/isc/include/isc/
H A Dbuffer.h128 ((void *)((unsigned char *)(b)->base + (b)->active)) /*c*/
141 #define isc_buffer_activelength(b) ((b)->active - (b)->current) /* c-b */
158 unsigned int active; member
574 (_b)->active = 0; \
584 (_b)->active = 0; \
609 if ((_b)->active > (_b)->used) \
610 (_b)->active = (_b)->used; \
617 (_b)->active = 0; \
628 if ((_b)->current < (_b)->active) { \
639 (_b)->active = (_b)->current + (_n); \
/openbsd-src/sys/dev/i2c/
H A Dfcu.c117 u_int8_t cmd, fail, fan[2], active; in fcu_refresh() local
128 sc->sc_addr, &cmd, sizeof cmd, &active, sizeof active, 0)) in fcu_refresh()
130 fail &= active; in fcu_refresh()
145 sc->sc_addr, &cmd, sizeof cmd, &active, sizeof active, 0)) in fcu_refresh()
147 fail &= active; in fcu_refresh()
/openbsd-src/sys/dev/ic/
H A Dpcdisplay_subr.c96 if (scr->active) in pcdisplay_cursor()
110 if (scr->active) { in pcdisplay_cursor()
131 if (scr->active) { in pcdisplay_cursor()
159 if (scr->active) in pcdisplay_putchar()
183 if (scr->active) in pcdisplay_getchar()
210 if (scr->active) in pcdisplay_copycols()
237 if (scr->active) in pcdisplay_erasecols()
262 if (scr->active) in pcdisplay_copyrows()
290 if (scr->active) in pcdisplay_eraserows()
/openbsd-src/sys/dev/ofw/
H A Dofw_gpio.c46 int len, config, active; in gpio_controller_register()
61 active = 0; in gpio_controller_register()
64 active = 0; in gpio_controller_register()
67 active = 1; in gpio_controller_register()
78 gc->gc_set_pin(gc->gc_cookie, gpio, active); in gpio_controller_register()
44 int len, config, active; gpio_controller_register() local
/openbsd-src/sys/dev/
H A Dhotplug.c235 int active;
238 active = knote_modify(kev, kn); in filt_hotplugmodify() local
241 return (active); in filt_hotplugmodify()
247 int active;
250 active = knote_process(kn, kev); in filt_hotplugprocess() local
253 return (active); in filt_hotplugprocess()
/openbsd-src/gnu/llvm/clang/docs/
H A DItaniumMangleAbiTags.rst30 All tags that are "active" on an <unqualified-name> are emitted after the
52 A namespace does not have any active tags. For types (class / struct / union /
53 enum), the explicit tags are the active tags.
55 For variables and functions, the active tags are the explicit tags plus any
61 active-tags := explicit-tags + derived-tags
99 For <local-name>s all active tags used in the local part (<function-
100 encoding>) are available, but not implicit tags which were not active.
106 std::__cxx11::basic_string<...>) will use 'cxx11' as an active tag, as it is
/openbsd-src/usr.bin/mandoc/
H A Dtbl.c38 int active; in tbl_read() local
48 active = 1; in tbl_read()
52 active = 0; in tbl_read()
55 active = 1; in tbl_read()
58 if (active) in tbl_read()
/openbsd-src/usr.sbin/smtpd/
H A Drunq.c38 static struct runq *active; variable
67 active = runq; in runq_timeout()
78 active = NULL; in runq_timeout()
130 if (runq != active && job == TAILQ_FIRST(&runq->jobs)) { in runq_schedule_at()
147 if (runq != active && job == first) { in runq_cancel()

12345678910>>...24