/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_ksyms_btf_write_check.c | 13 int *active; local 17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); 18 if (active) { 23 *(volatile int *)active = -1; 37 int *active; local 39 active = bpf_this_cpu_ptr(&bpf_prog_active); 40 write_active(active);
|
H A D | test_ksyms_btf_null_check.c | 15 int *active; local 20 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); 21 if (active) { 23 *(volatile int *)active;
|
H A D | test_d_path_check_rdonly_mem.c | 14 void *active; local 18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); 19 if (active) { 20 /* FAIL here! 'active' points to readonly memory. bpf helpers 23 bpf_d_path(path, active, sizeof(int));
|
H A D | test_d_path_check_types.c | 18 void *active; local 22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); 23 if (active) { 24 /* FAIL here! 'active' points to 'regular' memory. It 27 bpf_ringbuf_submit(active, 0);
|
H A D | test_ksyms_btf.c | 26 int *active; local 38 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); 39 if (active) 40 out__bpf_prog_active = *active; 49 active = (int *)bpf_this_cpu_ptr(&bpf_prog_active); 50 out__this_bpf_prog_active = *active;
|
H A D | kfunc_call_test_subprog.c | 12 int *active; local 21 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, 23 if (active) 24 active_res = *active;
|
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_active.h | 12 int (*active)(struct i915_active *ref), 16 (void) active; 20 #define i915_active_fini(active) do { } while (0)
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_active.c | 24 static void __live_get(struct live_active *active) argument 26 kref_get(&active->ref); 29 static void __live_free(struct live_active *active) argument 31 i915_active_fini(&active->base); 32 kfree(active); 37 struct live_active *active = container_of(ref, typeof(*active), ref); local 39 __live_free(active); 42 static void __live_put(struct live_active *active) argument 44 kref_put(&active 49 struct live_active *active = container_of(base, typeof(*active), base); local 57 struct live_active *active = container_of(base, typeof(*active), base); local 65 struct live_active *active; local 82 struct live_active *active; local 148 struct live_active *active; local 178 struct live_active *active; local 209 struct live_active *active; local 315 active_flush(struct i915_active *ref, struct i915_active_fence *active) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_stats.h | 21 if (stats->active) { 22 stats->active++; 31 stats->active++; 36 GEM_BUG_ON(!stats->active); 44 GEM_BUG_ON(!stats->active); 45 if (stats->active > 1) { 46 stats->active--; 53 stats->active--;
|
H A D | intel_gt_buffer_pool.h | 30 return i915_active_add_request(&node->active, rq); 36 i915_active_release(&node->active);
|
H A D | selftest_engine_heartbeat.c | 43 struct i915_active active; member in struct:pulse 47 static int pulse_active(struct i915_active *active) argument 49 kref_get(&container_of(active, struct pulse, active)->kref); 57 i915_active_fini(&p->active); 66 static void pulse_retire(struct i915_active *active) argument 68 pulse_put(container_of(active, struct pulse, active)); 80 i915_active_init(&p->active, pulse_active, pulse_retire, 0); 87 wait_var_event_timeout(&p->active, i915_active_is_idl [all...] |
H A D | intel_context.c | 94 __i915_active_acquire(&ce->active); 101 err = i915_active_acquire_preallocate_barrier(&ce->active, 104 i915_active_release(&ce->active); 112 i915_active_acquire_barrier(&ce->active); 113 i915_active_release(&ce->active); 125 err = i915_active_acquire(&vma->active); 146 i915_active_release(&vma->active); 159 err = i915_active_acquire(&ring->vma->active); 172 i915_active_release(&ring->vma->active); 181 CE_TRACE(ce, "active\ 348 __intel_context_retire(struct i915_active *active) argument 361 __intel_context_active(struct i915_active *active) argument 548 struct i915_request *rq, *active = NULL; local 597 u64 total, active; local [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | atari_joystick.h | 19 int active; member in struct:joystick_status
|
/linux-master/include/linux/sched/ |
H A D | loadavg.h | 29 calc_load(unsigned long load, unsigned long exp, unsigned long active) argument 33 newload = load * exp + active * (FIXED_1 - exp); 34 if (active >= load) 41 unsigned long active, unsigned int n);
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync_wait.c | 36 int valid, active, signaled, ret; local 53 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); 54 ASSERT(active == 3, "Fence signaled too early!\n"); 61 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); 63 ASSERT(active == 2 && signaled == 1, 67 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); 69 ASSERT(active == 1 && signaled == 2, 73 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); 75 ASSERT(active == 0 && signaled == 3,
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_active.h | 44 * can then perform any action, such as delayed freeing of an active 52 * @active: the active tracker 57 * i915_active_fence_init() prepares the embedded @active struct for use as 58 * an activity tracker, that is for tracking the last known active fence 63 __i915_active_fence_init(struct i915_active_fence *active, argument 67 RCU_INIT_POINTER(active->fence, fence); 68 active->cb.func = fn ?: i915_active_noop; 75 __i915_active_fence_set(struct i915_active_fence *active, 80 * @active 101 i915_active_fence_get(struct i915_active_fence *active) argument 121 i915_active_fence_isset(const struct i915_active_fence *active) argument 220 __i915_request_await_exclusive(struct i915_request *rq, struct i915_active *active) argument [all...] |
/linux-master/kernel/sched/ |
H A D | loadavg.c | 157 unsigned long active, unsigned int n) 159 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); 300 * Once we've updated the global active value, we need to apply the exponential 306 long delta, active, n; local 316 active = atomic_long_read(&calc_load_tasks); 317 active = active > 0 ? active * FIXED_1 : 0; 319 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); 320 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, 156 calc_load_n(unsigned long load, unsigned long exp, unsigned long active, unsigned int n) argument 352 long active, delta; local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_modeset_verify.c | 44 I915_STATE_WARN(i915, !crtc_state->hw.active, 45 "connector is active, but attached crtc isn't\n"); 57 I915_STATE_WARN(i915, crtc_state && crtc_state->hw.active, 58 "attached crtc is active, but connector isn't\n"); 150 bool active; local 152 active = encoder->get_hw_state(encoder, &pipe); 153 I915_STATE_WARN(i915, active, 184 if (IS_I830(i915) && hw_crtc_state->hw.active) 185 hw_crtc_state->hw.active = sw_crtc_state->hw.active; 200 bool active; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | ibuf_ctrl_rmgr.h | 27 bool active; member in struct:ibuf_handle_s
|
H A D | ibuf_ctrl_rmgr.c | 67 if (!handle->active) { 69 handle->active = true; 87 handle->active = true; 116 if (handle->active && handle->start_addr == *start_addr) { 117 handle->active = false;
|
/linux-master/drivers/accessibility/speakup/ |
H A D | thread.c | 18 our_sound.active = 0; 29 spk_unprocessed_sound.active = 0; 33 our_sound.active || 48 if (our_sound.active)
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | mn88473_priv.h | 25 bool active; member in struct:mn88473_dev
|
H A D | mn88472_priv.h | 25 unsigned int active:1; member in struct:mn88472_dev
|
/linux-master/include/sound/ |
H A D | mixer_oss.h | 27 int *active); 30 int active);
|
/linux-master/include/video/ |
H A D | pxa168fb.h | 74 unsigned active:1; member in struct:pxa168fb_info 116 unsigned active:1; member in struct:pxa168fb_mach_info
|