Home
last modified time | relevance | path

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

12

/include/linux/
Dpercpu-refcount.h96 int __must_check percpu_ref_init(struct percpu_ref *ref,
99 void percpu_ref_exit(struct percpu_ref *ref);
100 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
102 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
103 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
105 void percpu_ref_reinit(struct percpu_ref *ref);
117 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill() argument
119 return percpu_ref_kill_and_confirm(ref, NULL); in percpu_ref_kill()
128 static inline bool __ref_is_percpu(struct percpu_ref *ref, in __ref_is_percpu() argument
146 percpu_ptr = lockless_dereference(ref->percpu_count_ptr); in __ref_is_percpu()
[all …]
Dbsg.h13 struct kref ref; member
Dhw_random.h49 struct kref ref; member
Dinit.h83 #define __ref __section(.ref.text) noinline
84 #define __refdata __section(.ref.data)
85 #define __refconst __constsection(.ref.rodata)
Dgenhd.h128 struct percpu_ref ref; member
658 if (percpu_ref_init(&part->ref, __delete_partition, 0, in hd_ref_init()
666 percpu_ref_get(&part->ref); in hd_struct_get()
671 return percpu_ref_tryget_live(&part->ref); in hd_struct_try_get()
676 percpu_ref_put(&part->ref); in hd_struct_put()
681 percpu_ref_kill(&part->ref); in hd_struct_kill()
688 percpu_ref_exit(&part->ref); in hd_free_part()
Dwatchdog.h48 void (*ref)(struct watchdog_device *); member
Dsh_clk.h18 struct kref ref; member
Dhost1x.h181 struct kref ref; member
Dinterrupt.h222 void (*release)(struct kref *ref);
Dusb.h286 struct kref ref; /* reference counter */ member
293 container_of(r, struct usb_interface_cache, ref)
/include/xen/
Dgrant_table.h93 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
101 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
106 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref);
107 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref);
109 int gnttab_query_foreign_access(grant_ref_t ref);
116 void gnttab_free_grant_reference(grant_ref_t ref);
131 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
136 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument
139 gnttab_grant_foreign_access_ref(ref, domid, xen_page_to_gfn(page), in gnttab_page_grant_foreign_access_ref_one()
148 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op() argument
[all …]
/include/drm/
Ddrm_global.h50 extern int drm_global_item_ref(struct drm_global_reference *ref);
51 extern void drm_global_item_unref(struct drm_global_reference *ref);
/include/trace/events/
Dbtrfs.h452 TP_PROTO(struct btrfs_delayed_ref_node *ref,
456 TP_ARGS(ref, full_ref, action),
470 __entry->bytenr = ref->bytenr;
471 __entry->num_bytes = ref->num_bytes;
476 __entry->type = ref->type;
477 __entry->seq = ref->seq;
494 TP_PROTO(struct btrfs_delayed_ref_node *ref,
498 TP_ARGS(ref, full_ref, action)
503 TP_PROTO(struct btrfs_delayed_ref_node *ref,
507 TP_ARGS(ref, full_ref, action)
[all …]
Dkvm.h252 TP_PROTO(ulong gfn, int level, struct kvm_memory_slot *slot, int ref),
253 TP_ARGS(gfn, level, slot, ref),
267 __entry->referenced = ref;
/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/linux/sunrpc/
Dcache.h56 struct kref ref; member
196 kref_get(&h->ref); in cache_get()
203 if (atomic_read(&h->ref.refcount) <= 2 && in cache_put()
206 kref_put(&h->ref, cd->cache_put); in cache_put()
Dsvcauth.h69 struct kref ref; member
/include/uapi/xen/
Dgntdev.h42 __u32 ref; member
/include/media/
Dv4l2-device.h62 struct kref ref; member
69 kref_get(&v4l2_dev->ref); in v4l2_device_get()
/include/linux/mtd/
Dblktrans.h44 struct kref ref; member
/include/linux/iio/
Dbuffer.h96 struct kref ref; member
/include/uapi/linux/
Dtipc.h48 __u32 ref; member
/include/drm/ttm/
Dttm_bo_driver.h444 struct drm_global_reference ref; member
705 extern void ttm_bo_global_release(struct drm_global_reference *ref);
706 extern int ttm_bo_global_init(struct drm_global_reference *ref);
/include/asm-generic/
Dvmlinux.lds.h203 *(.ref.data) \
396 *(.ref.rodata) \
438 *(.ref.text) \
/include/linux/lockd/
Dlockd.h261 typedef int (*nlm_host_match_fn_t)(void *cur, struct nlm_host *ref);

12