| /include/linux/ |
| D | percpu-refcount.h | 102 struct percpu_ref *ref; member 121 int __must_check percpu_ref_init(struct percpu_ref *ref, 124 void percpu_ref_exit(struct percpu_ref *ref); 125 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, 127 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref); 128 void percpu_ref_switch_to_percpu(struct percpu_ref *ref); 129 void percpu_ref_kill_and_confirm(struct percpu_ref *ref, 131 void percpu_ref_resurrect(struct percpu_ref *ref); 132 void percpu_ref_reinit(struct percpu_ref *ref); 133 bool percpu_ref_is_zero(struct percpu_ref *ref); [all …]
|
| D | alloc_tag.h | 52 static inline bool is_codetag_empty(union codetag_ref *ref) in is_codetag_empty() argument 54 return ref->ct == CODETAG_EMPTY; in is_codetag_empty() 57 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty() argument 59 if (ref) in set_codetag_empty() 60 ref->ct = CODETAG_EMPTY; in set_codetag_empty() 65 static inline bool is_codetag_empty(union codetag_ref *ref) { return false; } in is_codetag_empty() argument 67 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty() argument 69 if (ref) in set_codetag_empty() 70 ref->ct = NULL; in set_codetag_empty() 141 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check() argument [all …]
|
| D | rcuref.h | 24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) in rcuref_init() argument 26 atomic_set(&ref->refcnt, cnt - 1); in rcuref_init() 35 static inline unsigned int rcuref_read(rcuref_t *ref) in rcuref_read() argument 37 unsigned int c = atomic_read(&ref->refcnt); in rcuref_read() 43 extern __must_check bool rcuref_get_slowpath(rcuref_t *ref); 61 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get() argument 67 if (likely(!atomic_add_negative_relaxed(1, &ref->refcnt))) in rcuref_get() 71 return rcuref_get_slowpath(ref); in rcuref_get() 74 extern __must_check bool rcuref_put_slowpath(rcuref_t *ref, unsigned int cnt); 79 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put() argument [all …]
|
| D | pgalloc_tag.h | 24 union codetag_ref *ref; /* reference in page extension */ member 63 static inline void idx_to_ref(pgalloc_tag_idx idx, union codetag_ref *ref) in idx_to_ref() argument 67 ref->ct = NULL; in idx_to_ref() 70 set_codetag_empty(ref); in idx_to_ref() 74 ref->ct = idx < kernel_tags.count ? in idx_to_ref() 81 static inline pgalloc_tag_idx ref_to_idx(union codetag_ref *ref) in ref_to_idx() argument 85 if (!ref->ct) in ref_to_idx() 88 if (is_codetag_empty(ref)) in ref_to_idx() 91 tag = ct_to_alloc_tag(ref->ct); in ref_to_idx() 101 static inline bool get_page_tag_ref(struct page *page, union codetag_ref *ref, in get_page_tag_ref() argument [all …]
|
| D | bpf_mprog.h | 148 struct bpf_prog *ref; member 218 WARN_ON_ONCE(entry->parent->ref); in bpf_mprog_mark_for_release() 220 entry->parent->ref = tuple->prog; in bpf_mprog_mark_for_release() 231 if (entry->parent->ref) { in bpf_mprog_complete_release() 232 bpf_prog_put(entry->parent->ref); in bpf_mprog_complete_release() 233 entry->parent->ref = NULL; in bpf_mprog_complete_release()
|
| D | dim.h | 32 #define IS_SIGNIFICANT_DIFF(val, ref) \ argument 33 ((ref) && (((100UL * abs((val) - (ref))) / (ref)) > 10))
|
| D | host1x.h | 121 struct kref ref; member 136 static inline struct host1x_bo_mapping *to_host1x_bo_mapping(struct kref *ref) in to_host1x_bo_mapping() argument 138 return container_of(ref, struct host1x_bo_mapping, ref); in to_host1x_bo_mapping() 264 struct kref ref; member 466 refcount_t ref; member
|
| D | memremap.h | 129 struct percpu_ref ref; member 240 percpu_ref_put(&pgmap->ref); in put_dev_pagemap()
|
| D | hw_random.h | 50 struct kref ref; member
|
| /include/trace/events/ |
| D | fscache.h | 263 int ref, 266 TP_ARGS(cookie_debug_id, ref, where), 270 __field(int, ref ) 276 __entry->ref = ref; 283 __entry->ref) 288 int ref, 293 TP_ARGS(cookie_debug_id, ref, n_active, n_accesses, why), 297 __field(int, ref ) 305 __entry->ref = ref; 314 __entry->ref, [all …]
|
| D | afs.h | 626 int ref, int outstanding, const void *where), 628 TP_ARGS(call_debug_id, op, ref, outstanding, where), 633 __field(int, ref) 641 __entry->ref = ref; 649 __entry->ref, 1349 TP_PROTO(unsigned int server_debug_id, int ref, int active, 1352 TP_ARGS(server_debug_id, ref, active, reason), 1356 __field(int, ref) 1363 __entry->ref = ref; 1371 __entry->ref, [all …]
|
| D | rxrpc.h | 565 int ref, int usage), 567 TP_ARGS(local_debug_id, op, ref, usage), 572 __field(int, ref) 579 __entry->ref = ref; 586 __entry->ref, 591 TP_PROTO(unsigned int peer_debug_id, int ref, enum rxrpc_peer_trace why), 593 TP_ARGS(peer_debug_id, ref, why), 597 __field(int, ref) 603 __entry->ref = ref; 610 __entry->ref) [all …]
|
| D | netfs.h | 387 TP_PROTO(unsigned int rreq_debug_id, int ref, 390 TP_ARGS(rreq_debug_id, ref, what), 394 __field(int, ref ) 400 __entry->ref = ref; 407 __entry->ref) 412 int ref, enum netfs_sreq_ref_trace what), 414 TP_ARGS(rreq_debug_id, subreq_debug_index, ref, what), 419 __field(int, ref ) 426 __entry->ref = ref; 434 __entry->ref)
|
| D | btrfs.h | 858 const struct btrfs_delayed_ref_node *ref), 860 TP_ARGS(fs_info, ref), 874 __entry->bytenr = ref->bytenr; 875 __entry->num_bytes = ref->num_bytes; 876 __entry->action = ref->action; 877 __entry->parent = ref->parent; 878 __entry->ref_root = ref->ref_root; 879 __entry->level = ref->tree_ref.level; 880 __entry->type = ref->type; 881 __entry->seq = ref->seq; [all …]
|
| /include/xen/ |
| D | grant_table.h | 98 int gnttab_end_foreign_access_ref(grant_ref_t ref); 115 void gnttab_end_foreign_access(grant_ref_t ref, struct page *page); 123 int gnttab_try_end_foreign_access(grant_ref_t ref); 132 void gnttab_free_grant_reference(grant_ref_t ref); 149 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, 154 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one() argument 157 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 173 map->ref = ref; in gnttab_set_map_op()
|
| /include/xen/interface/io/ |
| D | pvcalls.h | 27 grant_ref_t ref[]; member 54 grant_ref_t ref; member 73 grant_ref_t ref; member
|
| /include/xen/interface/ |
| D | grant_table.h | 285 grant_ref_t ref; member 359 grant_ref_t ref; member 392 grant_ref_t ref; member 509 grant_ref_t ref; member
|
| /include/linux/sunrpc/ |
| D | cache.h | 56 struct kref ref; member 197 kref_get(&h->ref); in cache_get() 203 if (kref_get_unless_zero(&h->ref)) in cache_get_rcu() 210 if (kref_read(&h->ref) <= 2 && in cache_put() 213 kref_put(&h->ref, cd->cache_put); in cache_put()
|
| /include/uapi/xen/ |
| D | gntdev.h | 44 __u32 ref; member 159 grant_ref_t ref; member
|
| /include/drm/ |
| D | drm_atomic.h | 87 struct kref ref; member 367 struct kref ref; member 511 kref_get(&commit->ref); in drm_crtc_commit_get() 524 kref_put(&commit->ref, __drm_crtc_commit_free); in drm_crtc_commit_put() 542 kref_get(&state->ref); in drm_atomic_state_get() 546 void __drm_atomic_state_free(struct kref *ref); 557 kref_put(&state->ref, __drm_atomic_state_free); in drm_atomic_state_put()
|
| D | drm_device.h | 54 struct kref ref; member
|
| /include/linux/ceph/ |
| D | string_table.h | 20 extern void ceph_release_string(struct kref *ref);
|
| /include/linux/mtd/ |
| D | blktrans.h | 29 struct kref ref; member
|
| /include/media/ |
| D | v4l2-device.h | 55 struct kref ref; member 69 kref_get(&v4l2_dev->ref); in v4l2_device_get()
|
| /include/linux/iio/ |
| D | buffer_impl.h | 163 struct kref ref; member
|