Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 11 of 11) sorted by relevance

/kernel/
Dmemremap.c180 struct percpu_ref *ref; member
187 percpu_ref_get(page->pgmap->ref); in get_zone_device_page()
244 if (percpu_ref_tryget_live(pgmap->ref)) { in devm_memremap_pages_release()
246 percpu_ref_put(pgmap->ref); in devm_memremap_pages_release()
293 struct percpu_ref *ref, struct vmem_altmap *altmap) in devm_memremap_pages() argument
317 if (!ref) in devm_memremap_pages()
333 pgmap->ref = ref; in devm_memremap_pages()
Dcgroup.c248 static void css_release(struct percpu_ref *ref);
5088 static void css_release(struct percpu_ref *ref) in css_release() argument
5091 container_of(ref, struct cgroup_subsys_state, refcnt); in css_release()
5392 static void css_killed_ref_fn(struct percpu_ref *ref) in css_killed_ref_fn() argument
5395 container_of(ref, struct cgroup_subsys_state, refcnt); in css_killed_ref_fn()
/kernel/trace/
Dtrace.c286 tr->ref++; in trace_array_get()
298 WARN_ON(!this_tr->ref); in __trace_array_put()
299 this_tr->ref--; in __trace_array_put()
4914 if (tr->current_trace->ref) { in tracing_set_tracer()
5132 tr->current_trace->ref++; in tracing_open_pipe()
5152 tr->current_trace->ref--; in tracing_release_pipe()
6096 tr->current_trace->ref++; in tracing_buffers_open()
6190 iter->tr->current_trace->ref--; in tracing_buffers_release()
6206 int ref; member
6212 struct buffer_ref *ref = (struct buffer_ref *)buf->private; in buffer_pipe_buf_release() local
[all …]
Dtrace_events_hist.c1236 if (!data->ref && hist_data->attrs->name) in event_hist_trigger_init()
1239 data->ref++; in event_hist_trigger_init()
1249 if (WARN_ON_ONCE(data->ref <= 0)) in event_hist_trigger_free()
1252 data->ref--; in event_hist_trigger_free()
1253 if (!data->ref) { in event_hist_trigger_free()
1271 data->ref++; in event_hist_trigger_named_init()
1283 if (WARN_ON_ONCE(data->ref <= 0)) in event_hist_trigger_named_free()
1288 data->ref--; in event_hist_trigger_named_free()
1289 if (!data->ref) { in event_hist_trigger_named_free()
Dtrace_events_trigger.c419 data->ref++; in event_trigger_init()
437 if (WARN_ON_ONCE(data->ref <= 0)) in event_trigger_free()
440 data->ref--; in event_trigger_free()
441 if (!data->ref) in event_trigger_free()
1269 if (WARN_ON_ONCE(data->ref <= 0)) in event_enable_trigger_free()
1272 data->ref--; in event_enable_trigger_free()
1273 if (!data->ref) { in event_enable_trigger_free()
Dtrace.h259 int ref; member
431 int ref; member
1351 int ref; member
Dtrace_events.c2504 int ref; member
2573 data->ref++; in event_enable_init()
2584 if (WARN_ON_ONCE(data->ref <= 0)) in event_enable_free()
2587 data->ref--; in event_enable_free()
2588 if (!data->ref) { in event_enable_free()
/kernel/events/
Duprobes.c67 atomic_t ref; member
366 atomic_inc(&uprobe->ref); in get_uprobe()
372 if (atomic_dec_and_test(&uprobe->ref)) in put_uprobe()
454 atomic_set(&uprobe->ref, 2); in __insert_uprobe()
/kernel/sched/
Dcore.c6076 if (free_sgc && atomic_dec_and_test(&sg->sgc->ref)) in free_sched_groups()
6092 } else if (atomic_dec_and_test(&sd->groups->ref)) { in destroy_sched_domain()
6096 if (sd->shared && atomic_dec_and_test(&sd->shared->ref)) in destroy_sched_domain()
6344 if (atomic_inc_return(&sg->sgc->ref) == 1) in build_overlap_sched_groups()
6393 atomic_set(&(*sg)->sgc->ref, 1); /* for claim_allocations */ in get_group()
6416 atomic_inc(&sd->groups->ref); in build_sched_groups()
6627 if (atomic_read(&(*per_cpu_ptr(sdd->sds, cpu))->ref)) in claim_allocations()
6630 if (atomic_read(&(*per_cpu_ptr(sdd->sg, cpu))->ref)) in claim_allocations()
6633 if (atomic_read(&(*per_cpu_ptr(sdd->sgc, cpu))->ref)) in claim_allocations()
6787 atomic_inc(&sd->shared->ref); in sd_init()
Dsched.h942 atomic_t ref; member
958 atomic_t ref; member
Dfair.c8614 group_smaller_cpu_capacity(struct sched_group *sg, struct sched_group *ref) in group_smaller_cpu_capacity() argument
8617 ref->sgc->max_capacity; in group_smaller_cpu_capacity()