Searched refs:active (Results 1 - 25 of 569) sorted by relevance

1234567891011>>

/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Di915_active.c28 static void __live_get(struct live_active *active) argument
30 kref_get(&active->ref);
33 static void __live_free(struct live_active *active) argument
35 i915_active_fini(&active->base);
36 kfree(active);
41 struct live_active *active = container_of(ref, typeof(*active), ref); local
43 __live_free(active);
46 static void __live_put(struct live_active *active) argument
48 kref_put(&active
53 struct live_active *active = container_of(base, typeof(*active), base); local
61 struct live_active *active = container_of(base, typeof(*active), base); local
69 struct live_active *active; local
86 struct live_active *active; local
152 struct live_active *active; local
182 struct live_active *active; local
[all...]
/netbsd-current/external/bsd/jemalloc/dist/test/unit/
H A Dprof_idump.c18 bool active; local
23 active = true;
24 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
25 sizeof(active)), 0,
H A Dprof_accum.c53 bool active; local
60 active = true;
61 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
62 sizeof(active)), 0,
H A Dprof_gdump.c18 bool active, gdump, gdump_old; local
24 active = true;
25 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
26 sizeof(active)), 0,
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_engine_pool.h23 return i915_active_add_request(&node->active, rq);
29 i915_active_release(&node->active);
H A Dintel_context.c77 __i915_active_acquire(&ce->active);
83 err = i915_active_acquire_preallocate_barrier(&ce->active,
86 i915_active_release(&ce->active);
94 i915_active_acquire_barrier(&ce->active);
95 i915_active_release(&ce->active);
108 err = i915_active_acquire(&ce->active);
134 GEM_BUG_ON(i915_active_is_idle(&ce->active));
142 i915_active_release(&ce->active);
155 * Once released, we may asynchronously drop the active reference.
174 err = i915_active_acquire(&vma->active);
225 __intel_context_retire(struct i915_active *active) argument
241 __intel_context_active(struct i915_active *active) argument
[all...]
H A Dintel_engine_pool_types.h25 struct i915_active active; member in struct:intel_engine_pool_node
H A Dselftest_engine_heartbeat.c42 struct i915_active active; member in struct:pulse
46 static int pulse_active(struct i915_active *active) argument
48 kref_get(&container_of(active, struct pulse, active)->kref);
62 static void pulse_retire(struct i915_active *active) argument
64 pulse_put(container_of(active, struct pulse, active));
76 i915_active_init(&p->active, pulse_active, pulse_retire);
83 i915_active_unlock_wait(&p->active);
98 err = i915_active_acquire(&p->active);
[all...]
H A Dintel_engine_pool.c43 i915_active_fini(&node->active);
50 container_of(ref, typeof(*node), active);
73 container_of(ref, typeof(*node), active);
103 i915_active_init(&node->active, pool_active, pool_retire);
107 i915_active_fini(&node->active);
156 ret = i915_active_acquire(&node->active);
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_active.h46 * can then perform any action, such as delayed freeing of an active
54 * @active - the active tracker
59 * i915_active_fence_init() prepares the embedded @active struct for use as
60 * an activity tracker, that is for tracking the last known active fence
65 __i915_active_fence_init(struct i915_active_fence *active, argument
69 RCU_INIT_POINTER(active->fence, fence);
70 active->cb.func = fn ?: i915_active_noop;
77 __i915_active_fence_set(struct i915_active_fence *active,
82 * @active
103 i915_active_fence_get(struct i915_active_fence *active) argument
123 i915_active_fence_isset(const struct i915_active_fence *active) argument
[all...]
H A Di915_globals.c27 static atomic_t active; variable
59 if (!atomic_read(&active)) {
135 if (!atomic_dec_and_test(&active))
146 atomic_inc(&active);
151 atomic_inc(&active); /* skip shrinking */
156 atomic_dec(&active);
161 GEM_BUG_ON(atomic_read(&active));
H A Di915_active.c28 * they idle (when we know the active requests are inactive) and allocate the
45 node_from_active(struct i915_active_fence *active) argument
47 return container_of(active, struct active_node, base);
52 static inline bool is_barrier(const struct i915_active_fence *active) argument
54 return IS_ERR(rcu_access_pointer(active->fence));
87 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref;
243 __active_fence_slot(struct i915_active_fence *active) argument
245 return (struct dma_fence ** __force)&active->fence;
251 struct i915_active_fence *active = local
252 container_of(cb, typeof(*active), c
440 struct i915_active_fence *active; local
522 enable_signaling(struct i915_active_fence *active) argument
869 struct i915_active_fence *active = local
902 __i915_active_fence_set(struct i915_active_fence *active, struct dma_fence *fence) argument
967 i915_active_fence_set(struct i915_active_fence *active, struct i915_request *rq) argument
[all...]
/netbsd-current/sys/arch/ia64/stand/common/
H A Dconsole.c46 * is marked active. Also create the console variable.
54 int active; local
63 active = -1;
64 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) {
68 active = cons;
81 active = cons;
84 if (active == -1)
85 active = 0;
86 consoles[active]->c_flags |= (C_ACTIVEIN | C_ACTIVEOUT);
87 consoles[active]
155 int cons, active; local
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dportlist.c50 unsigned int active; member in struct:dns_portlist
82 portlist->active = 0;
137 if (portlist->active != 0) {
138 el = find_port(portlist->list, portlist->active, port);
150 if (portlist->allocated <= portlist->active) {
163 portlist->list[portlist->active].port = port;
165 portlist->list[portlist->active].flags = DNS_PL_INET;
167 portlist->list[portlist->active].flags = DNS_PL_INET6;
169 portlist->active++;
170 qsort(portlist->list, portlist->active, sizeo
[all...]
/netbsd-current/external/mpl/dhcp/dist/tests/failover/
H A Dnew-failover9 binding state active;
20 binding state active;
/netbsd-current/sbin/gpt/
H A Dcreate.c72 create(gpt_t gpt, u_int parts, int force, int primary_only, int active) argument
103 gpt_create_pmbr_part(mbr->mbr_part, last, active);
128 int active = 0; local
136 active = 1;
158 return create(gpt, parts, force, primary_only, active);
/netbsd-current/external/bsd/tmux/dist/
H A Dnames.c60 if (w->active == NULL)
66 if (~w->active->flags & PANE_CHANGED) {
67 log_debug("@%u active pane not changed", w->id);
70 log_debug("@%u active pane changed", w->id);
93 w->active->flags &= ~PANE_CHANGED;
112 if (w->active == NULL)
114 cmd = cmd_stringify_argv(w->active->argc, w->active->argv);
118 s = parse_window_name(w->active->shell);
132 format_defaults_pane(ft, w->active);
[all...]
/netbsd-current/sys/arch/ews4800mips/stand/common/
H A Dlocal.h52 bool active; member in struct:device_capability
H A Dcons_fb.c71 fb.active = true;
79 if (fb.active && !on)
82 fb.active = on;
84 if (fb.active && on)
92 if (!fb.active)
115 if (!fb.active)
137 if (!fb.active)
163 if (!fb.active)
182 if (!fb.active)
201 if (!fb.active)
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_ldu.c49 struct list_head active; member in struct:vmw_legacy_display
63 struct list_head active; member in struct:vmw_legacy_display_unit
68 list_del_init(&ldu->active);
96 list_for_each_entry(entry, &lds->active, active) {
112 if (!list_empty(&lds->active)) {
113 entry = list_entry(lds->active.next, typeof(*entry), active);
125 list_for_each_entry(entry, &lds->active, active) {
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Dpk_disklabel.c220 While we're at it have a look around for active partitions etc.
223 Return 1..4: valid, value returned is the first active partition
224 Return -1: no active partition */
232 int active = -1; local
238 for (partition = 1; partition <= 4 && active != 0; partition++) {
255 active = 0;
268 active = 0;
275 is_active && active != 0 ? " (active)" : ""));
276 if (partition_type != 0 && is_active && active <
340 int active = block0_is_fdisk(boot_block); local
342 active); local
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/
H A Dpk_disklabel.c216 While we're at it have a look around for active partitions etc.
219 Return 1..4: valid, value returned is the first active partition
220 Return -1: no active partition */
228 int active = -1; local
234 for (partition = 1; partition <= 4 && active != 0; partition++) {
251 active = 0;
264 active = 0;
271 is_active && active != 0 ? " (active)" : ""));
272 if (partition_type != 0 && is_active && active <
336 int active = block0_is_fdisk(boot_block); local
338 active); local
[all...]
/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Drwlock.c57 "rwlock %p thread %lu %s(%s): %s, %u active, "
70 rwl->active, rwl->granted, rwl->readers_waiting,
105 rwl->active = 0;
163 REQUIRE(rwl->active == 0 &&
255 /* there is a waiting or active writer */
333 /* Another active reader or writer is working. */
449 /* Become an active reader. */
558 ((rwl->active == 0 ||
564 rwl->active++;
581 if (!skip && rwl->active
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dgf100.h26 int active; member in struct:gf100_fifo::__anon1107
/netbsd-current/sys/external/bsd/drm2/linux/
H A Dlinux_hrtimer.c120 bool active; local
124 * active when we invoked hrtimer_cancel.
127 /* Callout expired, meaning it was active. */
128 active = true;
133 * corresponds with whether the hrtimer was active or
136 active = callout_pending(&hrt->hrt_ch);
138 return active;

Completed in 531 milliseconds

1234567891011>>