Home
last modified time | relevance | path

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

12

/include/linux/
Dpercpu-refcount.h109 int __must_check percpu_ref_init(struct percpu_ref *ref,
112 void percpu_ref_exit(struct percpu_ref *ref);
113 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
115 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
116 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
117 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
119 void percpu_ref_resurrect(struct percpu_ref *ref);
120 void percpu_ref_reinit(struct percpu_ref *ref);
134 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill() argument
136 percpu_ref_kill_and_confirm(ref, NULL); in percpu_ref_kill()
[all …]
Ddim.h19 #define IS_SIGNIFICANT_DIFF(val, ref) \ argument
20 ((ref) && (((100UL * abs((val) - (ref))) / (ref)) > 10))
Dmemremap.h110 struct percpu_ref *ref; member
173 percpu_ref_put(pgmap->ref); in put_dev_pagemap()
Dhw_random.h51 struct kref ref; member
Dinit.h73 #define __ref __section(.ref.text) noinline
74 #define __refdata __section(.ref.data)
75 #define __refconst __section(.ref.rodata)
Dgenhd.h133 struct percpu_ref ref; member
696 if (percpu_ref_init(&part->ref, __delete_partition, 0, in hd_ref_init()
704 percpu_ref_get(&part->ref); in hd_struct_get()
709 return percpu_ref_tryget_live(&part->ref); in hd_struct_try_get()
714 percpu_ref_put(&part->ref); in hd_struct_put()
719 percpu_ref_kill(&part->ref); in hd_struct_kill()
726 percpu_ref_exit(&part->ref); in hd_free_part()
Dsh_clk.h19 struct kref ref; member
/include/xen/
Dgrant_table.h93 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
110 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
119 int gnttab_try_end_foreign_access(grant_ref_t ref);
123 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref);
124 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref);
131 void gnttab_free_grant_reference(grant_ref_t ref);
146 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
151 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument
154 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one()
163 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op() argument
[all …]
/include/xen/interface/io/
Dpvcalls.h25 grant_ref_t ref[]; member
52 grant_ref_t ref; member
71 grant_ref_t ref; member
/include/linux/sunrpc/
Dcache.h54 struct kref ref; member
184 kref_get(&h->ref); in cache_get()
190 if (kref_get_unless_zero(&h->ref)) in cache_get_rcu()
197 if (kref_read(&h->ref) <= 2 && in cache_put()
200 kref_put(&h->ref, cd->cache_put); in cache_put()
Dsvcauth.h81 struct kref ref; member
/include/xen/interface/
Dgrant_table.h266 grant_ref_t ref; member
343 grant_ref_t ref; member
377 grant_ref_t ref; member
489 grant_ref_t ref; member
/include/uapi/xen/
Dgntdev.h44 __u32 ref; member
153 grant_ref_t ref; member
/include/drm/
Ddrm_atomic.h85 struct kref ref; member
317 struct kref ref; member
384 kref_get(&commit->ref); in drm_crtc_commit_get()
397 kref_put(&commit->ref, __drm_crtc_commit_free); in drm_crtc_commit_put()
413 kref_get(&state->ref); in drm_atomic_state_get()
417 void __drm_atomic_state_free(struct kref *ref);
428 kref_put(&state->ref, __drm_atomic_state_free); in drm_atomic_state_put()
Ddrm_device.h65 struct kref ref; member
/include/linux/ceph/
Dstring_table.h20 extern void ceph_release_string(struct kref *ref);
/include/linux/iio/
Dbuffer_impl.h133 struct kref ref; member
/include/linux/mtd/
Dblktrans.h29 struct kref ref; member
/include/media/
Dv4l2-device.h57 struct kref ref; member
71 kref_get(&v4l2_dev->ref); in v4l2_device_get()
Ddvbdev.h160 struct kref ref; member
/include/trace/events/
Dbtrfs.h748 const struct btrfs_delayed_ref_node *ref,
752 TP_ARGS(fs_info, ref, full_ref, action),
766 __entry->bytenr = ref->bytenr;
767 __entry->num_bytes = ref->num_bytes;
772 __entry->type = ref->type;
773 __entry->seq = ref->seq;
791 const struct btrfs_delayed_ref_node *ref,
795 TP_ARGS(fs_info, ref, full_ref, action)
801 const struct btrfs_delayed_ref_node *ref,
805 TP_ARGS(fs_info, ref, full_ref, action)
[all …]
Dkvm.h259 TP_PROTO(ulong gfn, int level, struct kvm_memory_slot *slot, int ref),
260 TP_ARGS(gfn, level, slot, ref),
274 __entry->referenced = ref;
/include/uapi/linux/
Dtipc.h49 __u32 ref; member
/include/linux/sched/
Dtopology.h67 atomic_t ref; member
/include/asm-generic/
Dvmlinux.lds.h282 *(.ref.data) \
490 *(.ref.rodata) \
546 *(.ref.text) \

12