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

1234567891011>>

/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_array.h45 struct _ck_array *active; member in struct:ck_array
69 struct _ck_array *a = ck_pr_load_ptr(&array->active);
78 struct _ck_array *a = ck_pr_load_ptr(&array->active);
89 return ck_pr_load_ptr(&array->active) != NULL;
93 (i)->snapshot = ck_pr_load_ptr(&(a)->active); \
96 _ck_i < (a)->active->n_committed && \
97 ((*b) = (a)->active->values[_ck_i], 1); \
H A Dck_epoch.h67 * forward progress guarantees with-in prolonged active sections.
90 unsigned int active; member in struct:ck_epoch_record
134 if (record->active == 0) {
139 * is committed into the caller's epoch and active fields.
143 ck_pr_fas_uint(&record->active, 1);
146 ck_pr_store_uint(&record->active, 1);
152 * active flag due to monotonic nature of the global epoch.
160 ck_pr_store_uint(&record->active, record->active + 1);
178 ck_pr_store_uint(&record->active, recor
[all...]
/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_array.c37 struct _ck_array *active; local
39 active = allocator->malloc(sizeof(struct _ck_array) + sizeof(void *) * length);
40 if (active == NULL)
43 active->n_committed = 0;
44 active->length = length;
46 return active;
52 struct _ck_array *active; local
62 active = ck_array_create(allocator, length);
63 if (active == NULL)
68 array->active
[all...]
H A Dck_epoch.c44 * acquired some snapshot (e) of the global epoch value (e_g) and set an active
46 * For example, assume an initial e_g value of 1, e value of 0 and active value
51 * active = 1
54 * Any serialized reads may observe e = 0 or e = 1 with active = 0, or e = 0 or
55 * e = 1 with active = 1. The e_g value can only go from 1 to 2 if every thread
58 * critical sections (referred to as "active" threads from here on) would have
86 * still be accessed at e_g as threads are "active" at the same time
93 * e_g-1 were still active, then we would never increment to e_g+1 (active != 0
97 * (since it is valid for active thread
337 unsigned int state, active; local
430 bool active; local
568 bool active; local
[all...]
/freebsd-11-stable/stand/common/
H A Dconsole.c46 * specified, mark them as active. Else, mark the first probed console
47 * as active. Also create the console variable.
53 int active; local
65 active = -1;
66 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) {
70 active = cons;
73 if (active == -1)
74 active = 0;
84 consoles[active]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT;
85 consoles[active]
227 int cons, active; local
[all...]
/freebsd-11-stable/tools/tools/nanobsd/Files/root/
H A Dupdatep154 gpart set -a active -i 1 ${NANO_DRIVE}
H A Dupdatep261 gpart set -a active -i 2 ${NANO_DRIVE}
/freebsd-11-stable/tools/tools/nanobsd/gateworks/Files/root/
H A Dupdatep154 gpart set -a active -i 1 ${NANO_DRIVE}
H A Dupdatep262 gpart set -a active -i 2 ${NANO_DRIVE}
/freebsd-11-stable/tools/tools/nanobsd/pcengines/Files/root/
H A Dupdatep154 gpart set -a active -i 1 ${NANO_DRIVE}
H A Dupdatep261 gpart set -a active -i 2 ${NANO_DRIVE}
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c110 int active = _nc_unicode_locale(); local
119 T(("initializing WIDE-ACS map (Unicode is%s active)",
120 active ? "" : " not"));
125 int wide = wcwidth((wchar_t) table[n].value[active]);
128 if (active && (wide == 1)) {
138 table[n].value[active],
/freebsd-11-stable/contrib/apr-util/buckets/
H A Dapr_buckets_alloc.c160 apr_memnode_t *active = list->blocks; local
170 endp = active->first_avail + SMALL_NODE_SIZE;
171 if (endp >= active->endp) {
174 list->blocks = active;
177 list->blocks->next = active;
178 active = list->blocks;
179 endp = active->first_avail + SMALL_NODE_SIZE;
181 node = (node_header_t *)active->first_avail;
183 node->memnode = active;
185 active
[all...]
/freebsd-11-stable/contrib/serf/buckets/
H A Dallocator.c194 apr_memnode_t *active = allocator->blocks; local
196 if (active == NULL
197 || active->first_avail + STANDARD_NODE_SIZE >= active->endp) {
201 active = apr_allocator_alloc(allocator->allocator, ALLOC_AMT);
204 if (active == NULL)
208 allocator->blocks = active;
209 active->next = head;
212 node = (node_header_t *)active->first_avail;
214 active
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Drwlock.c55 "rwlock %p thread %lu %s(%s): %s, %u active, "
68 rwl->active, rwl->granted, rwl->readers_waiting,
103 rwl->active = 0;
161 REQUIRE(rwl->active == 0 &&
253 /* there is a waiting or active writer */
331 /* Another active reader or writer is working. */
447 /* Become an active reader. */
556 ((rwl->active == 0 ||
562 rwl->active++;
579 if (!skip && rwl->active
[all...]
/freebsd-11-stable/sys/dev/nand/
H A Dnand_bbt.c55 enum bbt_place active; member in struct:nand_bbt
88 bbt->active = BBT_NONE;
112 if (bbt->active == BBT_NONE) {
113 bbt->active = BBT_PRIMARY;
152 if (bbt->active == BBT_PRIMARY) {
174 bbt->active = next;
204 bbt->active = BBT_PRIMARY;
213 bbt->active = BBT_SECONDARY;
218 if (bbt->active != BBT_NONE)
/freebsd-11-stable/sys/i386/include/
H A Dpcaudioio.h54 unsigned char active; /* !=0 if sound hardware is active */ member in struct:audio_prinfo
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dsplay-tree.c55 splay_tree_node active = 0; local
76 active = pending;
78 while (active)
82 /* active points to a node which has its key and value
85 if (active->left)
87 KDEL (active->left->key);
88 VDEL (active->left->value);
89 active->left->key = (splay_tree_key)pending;
90 pending = (splay_tree_node)(active->left);
92 if (active
[all...]
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dsplay-tree.c55 splay_tree_node active = 0; local
76 active = pending;
78 while (active)
82 /* active points to a node which has its key and value
85 if (active->left)
87 KDEL (active->left->key);
88 VDEL (active->left->value);
89 active->left->key = (splay_tree_key)pending;
90 pending = (splay_tree_node)(active->left);
92 if (active
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Drwlock.h86 unsigned int active; member in struct:isc_rwlock
106 unsigned int active; member in struct:isc_rwlock
H A Dbuffer.h47 * The 'active region' is an (optional) subregion of the remaining region.
49 * that is selected with isc_buffer_setactive(). Initially, the active region
51 * active region will also be empty.
63 * c == active pointer. Meaningful between b and d.
71 * b-c == optional active region.
85 * 0 <= active <= used
86 * (although active < current implies empty active region)
145 ((void *)((unsigned char *)(b)->base + (b)->active)) /*c*/
158 #define isc_buffer_activelength(b) ((b)->active
176 unsigned int active; member in struct:isc_buffer
[all...]
/freebsd-11-stable/sys/dev/syscons/apm/
H A Dapm_saver.c61 if (!apm_softc.initialized || !apm_softc.active)
77 if (!apm_softc.initialized || !apm_softc.active)
/freebsd-11-stable/contrib/mdocml/
H A Dtbl.c38 int active; local
48 active = 1;
52 active = 0;
55 active = 1;
58 if (active)
/freebsd-11-stable/contrib/apr/memory/unix/
H A Dapr_pools.c591 apr_memnode_t *active; member in struct:apr_pool_t
821 apr_memnode_t *active, *node; local
838 active = pool->active;
840 /* If the active node has enough bytes left, use it. */
841 if (size <= node_free_space(active)) {
842 mem = active->first_avail;
843 active->first_avail += size;
847 node = active->next;
866 list_insert(node, active);
931 apr_memnode_t *active; local
983 apr_memnode_t *active; local
1256 apr_memnode_t *node, *active; local
1362 apr_memnode_t *active, *node; local
[all...]
/freebsd-11-stable/tools/tools/locale/tools/
H A Dutf8-rollup.pl242 my $active = 0;
306 if ($active) {
328 $active = 1;
346 $active = 0;

Completed in 214 milliseconds

1234567891011>>