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

12

/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dprof_idump.c33 bool active; local
38 active = true;
39 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
40 sizeof(active)), 0,
H A Dprof_accum.c62 bool active; local
69 active = true;
70 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
71 sizeof(active)), 0,
H A Dprof_gdump.c24 bool active, gdump, gdump_old; local
30 active = true;
31 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
32 sizeof(active)), 0,
H A Dstats.c5 size_t sz, allocated, active, resident, mapped; local
11 assert_d_eq(mallctl("stats.active", (void *)&active, &sz, NULL, 0),
19 assert_zu_le(allocated, active,
20 "allocated should be no larger than active");
21 assert_zu_lt(active, resident,
22 "active should be less than resident");
23 assert_zu_lt(active, mapped,
24 "active should be less than mapped");
H A Dprof_reset.c20 set_prof_active(bool active) argument
22 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
23 sizeof(active)), 0, "Unexpected mallctl failure");
/fuchsia/zircon/system/ulib/fbl/include/fbl/
H A Dauto_call.h64 bool active = active_; local
66 if (active)
/fuchsia/zircon/system/dev/misc/pty/
H A Dpty-core.c102 xprintf("pty cli %p (id=%u) becomes active\n", pc, pc->id);
103 if (ps->active != pc) {
104 if (ps->active) {
105 ps->active->flags &= (~PTY_CLI_ACTIVE);
106 device_state_clr(ps->active->zxdev, DEV_STATE_WRITABLE);
108 ps->active = pc;
197 if (ps->active == NULL) {
229 if (ps->active == pc) {
234 ps->active = NULL;
327 if (ps->active
[all...]
H A Dpty-core.h35 // active client receives inbound data
36 pty_client_t* active; member in struct:pty_server
41 // called when data is written by active client
64 // write data through to active client
/fuchsia/zircon/kernel/arch/x86/
H A Dproc_trace.cpp105 static bool active TA_GUARDED(ipt_lock) = false;
148 DEBUG_ASSERT(!active);
177 if (active)
219 if (active)
230 DEBUG_ASSERT(active && raw_context);
260 if (active)
279 active = true;
327 // This can be called while not active, so the caller doesn't have to care
344 active = false;
367 if (active)
[all...]
/fuchsia/zircon/system/core/netsvc/
H A Dnetboot.c48 // Pointer to the currently active transfer.
49 static nbfile* active; variable
128 // Don't advertise if a transfer is active.
299 active = netboot_get_buffer((const char*)msg->data, msg->arg);
300 if (active) {
301 active->offset = 0;
320 if (active == 0) {
324 if (msg->arg != active->offset) {
325 // printf("netboot: < received chunk at offset %d but current offset is %zu\n", msg->arg, active->offset);
326 ack.arg = active
[all...]
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dprof_externs.h68 bool prof_active_set(tsdn_t *tsdn, bool active);
72 bool prof_thread_active_set(tsd_t *tsd, bool active);
76 bool prof_gdump_set(tsdn_t *tsdn, bool active);
H A Dextent_inlines.h29 void extent_active_set(extent_t *extent, bool active);
35 size_t size, size_t usize, size_t sn, bool active, bool zeroed,
218 extent_active_set(extent_t *extent, bool active) argument
220 extent->e_active = active;
249 size_t usize, size_t sn, bool active, bool zeroed, bool committed,
259 extent_active_set(extent, active);
248 extent_init(extent_t *extent, arena_t *arena, void *addr, size_t size, size_t usize, size_t sn, bool active, bool zeroed, bool committed, bool slab) argument
H A Dctl_structs.h39 size_t active; member in struct:ctl_stats_s
H A Dprof_structs.h174 * True if profiling is active for this tdata's thread
175 * (thread.prof.active mallctl).
177 bool active; member in struct:prof_tdata_s
/fuchsia/zircon/kernel/lib/gfxconsole/
H A Dgfxconsole.cpp154 // Only re-blit the active console line.
262 static bool active = false; local
266 if (active) {
268 active = false;
285 active = true;
329 active = true;
/fuchsia/zircon/system/core/virtcon/
H A Dvc-input.cpp136 g_active_vc->active = false;
139 vc->active = true;
187 if (vc->active) {
240 if (!(vc->flags & VC_FLAG_HASOUTPUT) && !vc->active) {
259 // make this the active vc if it's the first one
274 if (vc->active) {
H A Dvc-device.cpp96 if (!g_vc_owns_display || !vc->active || !vc_gfx) {
165 if (g_vc_owns_display && vc->active && !vc->hide_cursor) {
230 if (g_vc_owns_display && vc->active) {
255 if (g_vc_owns_display && vc->active) {
262 if (g_vc_owns_display && vc->active && vc_gfx) {
299 if (g_vc_owns_display && vc->active && vc_gfx) {
363 if (g_vc_owns_display && vc->active && vc_gfx) {
399 if (!g_vc_owns_display || !vc->active || !vc_gfx) {
H A Dvc.h46 bool active; member in struct:vc
173 void set_log_listener_active(bool active);
H A Dvc-gfx.cpp201 if (g_vc_owns_display || vc->active) {
212 if (!g_vc_owns_display || !vc->active) {
/fuchsia/zircon/system/uapp/display-test/
H A Dvirtual-layer.h24 bool active; member in struct:layer
58 if (displays_[i]->id() == display_id && layers_[i].active) {
79 done &= !layers_[i].active || layers_[i].done;
146 if (displays_[i]->id() == display_id && layers_[i].active) {
191 if (displays_[i]->id() == display_id && layers_[i].active) {
H A Dvirtual-layer.cpp69 layers_[layers_.size() - 1].active = false;
239 layers_[i].active = true;
241 layers_[i].active = false;
249 layer.active = !(frame_num % 2);
321 if (!layer.active) {
357 layer->active = true;
418 layer->active = true;
/fuchsia/zircon/kernel/include/kernel/
H A Dmp.h157 // tracks if a cpu is active and schedulable
158 static inline void mp_set_curr_cpu_active(bool active) { argument
159 if (active) {
/fuchsia/zircon/system/dev/misc/tpm/
H A Dtpm-proto.cpp104 // We're already the active locality
126 // We're not the active locality
252 bool* active) {
258 *active = !!(val & TPM_ACCESS_ACTIVE_LOCALITY);
277 bool active = false; local
278 zx_status_t status = GetActiveLocality(iface_.get(), loc, &active);
279 status = CheckExpectedState(status, active, true);
358 bool active = false; local
359 zx_status_t status = GetActiveLocality(iface_.get(), loc, &active);
360 status = CheckExpectedState(status, active, tru
251 GetActiveLocality(HardwareInterface* iface, Locality loc, bool* active) argument
[all...]
/fuchsia/zircon/system/dev/nand/aml-rawnand/
H A Daml-rawnand.h126 unsigned active : 1; member in struct:nand_setup::__anon440::__anon441
/fuchsia/zircon/system/dev/misc/cpu-trace/
H A Dintel-pt.c84 bool active; member in struct:insntrace_device
553 if (ipt_dev->active)
631 if (ipt_dev->active)
760 if (ipt_dev->active)
819 if (ipt_dev->active)
861 ipt_dev->active = true;
867 if (!ipt_dev->active)
878 ipt_dev->active = false;

Completed in 96 milliseconds

12