Home
last modified time | relevance | path

Searched defs:ref (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/Linux-v5.15/drivers/gpu/drm/i915/
Di915_active.c29 struct i915_active *ref; member
77 struct i915_active *ref = addr; in active_debug_hint() local
87 static void debug_active_init(struct i915_active *ref) in debug_active_init()
92 static void debug_active_activate(struct i915_active *ref) in debug_active_activate()
99 static void debug_active_deactivate(struct i915_active *ref) in debug_active_deactivate()
106 static void debug_active_fini(struct i915_active *ref) in debug_active_fini()
111 static void debug_active_assert(struct i915_active *ref) in debug_active_assert()
118 static inline void debug_active_init(struct i915_active *ref) { } in debug_active_init()
119 static inline void debug_active_activate(struct i915_active *ref) { } in debug_active_activate()
120 static inline void debug_active_deactivate(struct i915_active *ref) { } in debug_active_deactivate()
[all …]
Di915_active.h160 #define i915_active_init(ref, active, retire, flags) do { \ argument
172 i915_active_add_request(struct i915_active *ref, struct i915_request *rq) in i915_active_add_request()
182 static inline bool i915_active_has_exclusive(struct i915_active *ref) in i915_active_has_exclusive()
188 static inline int i915_active_wait(struct i915_active *ref) in i915_active_wait()
209 static inline void __i915_active_acquire(struct i915_active *ref) in __i915_active_acquire()
216 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle()
/Linux-v5.15/lib/
Dpercpu-refcount.c42 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
63 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
107 static void __percpu_ref_exit(struct percpu_ref *ref) in __percpu_ref_exit()
129 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
153 struct percpu_ref *ref = data->ref; in percpu_ref_call_confirm_rcu() local
170 struct percpu_ref *ref = data->ref; in percpu_ref_switch_to_atomic_rcu() local
208 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
212 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
235 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
263 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
[all …]
/Linux-v5.15/include/linux/
Dpercpu-refcount.h102 struct percpu_ref *ref; member
147 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill()
158 static inline bool __ref_is_percpu(struct percpu_ref *ref, in __ref_is_percpu()
198 static inline void percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_get_many()
220 static inline void percpu_ref_get(struct percpu_ref *ref) in percpu_ref_get()
235 static inline bool percpu_ref_tryget_many(struct percpu_ref *ref, in percpu_ref_tryget_many()
264 static inline bool percpu_ref_tryget(struct percpu_ref *ref) in percpu_ref_tryget()
284 static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) in percpu_ref_tryget_live()
313 static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_put_many()
336 static inline void percpu_ref_put(struct percpu_ref *ref) in percpu_ref_put()
[all …]
/Linux-v5.15/drivers/xen/
Dgrant-table.c172 int ref, rc = 0; in get_free_entries() local
221 static void put_free_entry(grant_ref_t ref) in put_free_entry()
243 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
252 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
264 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
275 int ref; in gnttab_grant_foreign_access() local
287 static int gnttab_query_foreign_access_v1(grant_ref_t ref) in gnttab_query_foreign_access_v1()
292 static int gnttab_query_foreign_access_v2(grant_ref_t ref) in gnttab_query_foreign_access_v2()
297 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
303 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1()
[all …]
/Linux-v5.15/drivers/clk/mxs/
Dclk-ref.c33 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_enable() local
42 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_disable() local
50 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_recalc_rate() local
86 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_set_rate() local
124 struct clk_ref *ref; in mxs_clk_ref() local
/Linux-v5.15/fs/jffs2/
Dxattr.c444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref()
506 static int save_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in save_xattr_ref()
554 struct jffs2_xattr_ref *ref; in create_xattr_ref() local
576 static void delete_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in delete_xattr_ref()
600 struct jffs2_xattr_ref *ref, *_ref; in jffs2_xattr_delete_inode() local
618 struct jffs2_xattr_ref *ref, *_ref; in jffs2_xattr_free_inode() local
640 struct jffs2_xattr_ref *ref, *cmp, **pref, **pcmp; in check_xattr_ref_inode() local
743 struct jffs2_xattr_ref *ref, *_ref; in jffs2_clear_xattr_subsystem() local
777 struct jffs2_xattr_ref *ref, *_ref; in jffs2_build_xattr_subsystem() local
967 struct jffs2_xattr_ref *ref, **pref; in jffs2_listxattr() local
[all …]
Dreadinode.c33 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() local
568 static struct jffs2_raw_node_ref *jffs2_first_valid_node(struct jffs2_raw_node_ref *ref) in jffs2_first_valid_node()
586 static inline int read_direntry(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_direntry()
713 static inline int read_dnode(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_dnode()
888 static inline int read_unknown(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, struct jffs… in read_unknown()
940 static int read_more(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_more()
984 struct jffs2_raw_node_ref *ref, *valid_ref; in jffs2_get_inode_nodes() local
/Linux-v5.15/drivers/misc/lkdtm/
Drefcount.c9 static void overflow_check(refcount_t *ref) in overflow_check()
84 static void check_zero(refcount_t *ref) in check_zero()
119 static void check_negative(refcount_t *ref, int start) in check_negative()
185 static void check_from_zero(refcount_t *ref) in check_from_zero()
252 static void check_saturated(refcount_t *ref) in check_saturated()
/Linux-v5.15/arch/powerpc/kvm/
De500_mmu_host.c189 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host() local
245 static inline void kvmppc_e500_ref_setup(struct tlbe_ref *ref, in kvmppc_e500_ref_setup()
262 static inline void kvmppc_e500_ref_release(struct tlbe_ref *ref) in kvmppc_e500_ref_release()
288 struct tlbe_ref *ref = in clear_tlb_privs() local
307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe()
325 struct tlbe_ref *ref) in kvmppc_e500_shadow_map()
515 struct tlbe_ref *ref; in kvmppc_e500_tlb0_map() local
535 struct tlbe_ref *ref, in kvmppc_e500_tlb1_map_tlb1()
563 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[1][esel].ref; in kvmppc_e500_tlb1_map() local
/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Di915_active.c19 struct kref ref; member
34 static void __live_release(struct kref *ref) in __live_release()
278 void i915_active_print(struct i915_active *ref, struct drm_printer *m) in i915_active_print()
314 static void active_flush(struct i915_active *ref, in active_flush()
331 void i915_active_unlock_wait(struct i915_active *ref) in i915_active_unlock_wait()
/Linux-v5.15/net/mac80211/
Drate.h37 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta()
46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local
56 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local
Drate.c33 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local
73 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local
95 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
217 struct rate_control_ref *ref = file->private_data; in rcname_read() local
234 struct rate_control_ref *ref; in rate_control_alloc() local
896 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate() local
970 struct rate_control_ref *ref; in ieee80211_init_rate_ctrl_alg() local
1001 struct rate_control_ref *ref; in rate_control_deinitialize() local
/Linux-v5.15/kernel/dma/
Ddebug.c293 struct dma_debug_entry *ref, in __hash_bucket_find()
343 struct dma_debug_entry *ref) in bucket_find_exact()
349 struct dma_debug_entry *ref, in bucket_find_contain()
945 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
1077 struct dma_debug_entry *ref, in check_sync()
1231 struct dma_debug_entry ref; in debug_dma_mapping_error() local
1270 struct dma_debug_entry ref = { in debug_dma_unmap_page() local
1322 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1351 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local
1410 struct dma_debug_entry ref = { in debug_dma_free_coherent() local
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.c205 static int frontbuffer_active(struct i915_active *ref) in frontbuffer_active()
214 static void frontbuffer_retire(struct i915_active *ref) in frontbuffer_retire()
223 static void frontbuffer_release(struct kref *ref) in frontbuffer_release()
/Linux-v5.15/arch/powerpc/perf/
Dimc-pmu.c347 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
448 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
503 struct imc_pmu_ref *ref; in nest_imc_event_init() local
665 struct imc_pmu_ref *ref; in ppc_core_imc_cpu_offline() local
753 struct imc_pmu_ref *ref; in core_imc_counters_release() local
809 struct imc_pmu_ref *ref; in core_imc_event_init() local
1115 struct imc_pmu_ref *ref; in thread_imc_event_add() local
1157 struct imc_pmu_ref *ref; in thread_imc_event_del() local
1351 struct imc_pmu_ref *ref = NULL; in trace_imc_event_add() local
1401 struct imc_pmu_ref *ref = NULL; in trace_imc_event_del() local
/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-ctrls-request.c56 struct v4l2_ctrl_ref *ref; in v4l2_ctrl_request_clone() local
144 struct v4l2_ctrl_ref *ref = find_ref_lock(hdl, id); in v4l2_ctrl_request_hdl_ctrl_find() local
329 struct v4l2_ctrl_ref *ref; in v4l2_ctrl_request_complete() local
400 struct v4l2_ctrl_ref *ref; in v4l2_ctrl_request_setup() local
Dv4l2-ctrls-core.c851 void new_to_req(struct v4l2_ctrl_ref *ref) in new_to_req()
860 void cur_to_req(struct v4l2_ctrl_ref *ref) in cur_to_req()
869 void req_to_new(struct v4l2_ctrl_ref *ref) in req_to_new()
960 struct v4l2_ctrl_ref *ref, *next_ref; in v4l2_ctrl_handler_free() local
1000 struct v4l2_ctrl_ref *ref; in find_private_ref() local
1021 struct v4l2_ctrl_ref *ref; in find_ref() local
1048 struct v4l2_ctrl_ref *ref = NULL; in find_ref_lock() local
1061 struct v4l2_ctrl_ref *ref = find_ref_lock(hdl, id); in v4l2_ctrl_find() local
1073 struct v4l2_ctrl_ref *ref; in handler_new_ref() local
1543 struct v4l2_ctrl_ref *ref; in v4l2_ctrl_add_handler() local
/Linux-v5.15/tools/bpf/bpftool/
Dpids.c31 struct obj_ref *ref; in add_ref() local
182 struct obj_ref *ref; in emit_obj_refs_json() local
211 struct obj_ref *ref; in emit_obj_refs_plain() local
/Linux-v5.15/fs/btrfs/
Dref-verify.c51 struct ref_entry ref; member
162 struct ref_entry *ref) in insert_ref_entry()
235 struct ref_entry *ref; in free_block_entry() local
314 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
359 struct ref_entry *ref; in add_shared_data_ref() local
389 struct ref_entry *ref; in add_extent_data_ref() local
623 struct ref_entry *ref; in dump_block_entry() local
662 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
Ddelayed-ref.c421 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref()
436 struct btrfs_delayed_ref_node *ref, in merge_ref()
485 struct btrfs_delayed_ref_node *ref; in btrfs_merge_delayed_refs() local
585 struct btrfs_delayed_ref_node *ref) in insert_delayed_ref()
860 struct btrfs_delayed_ref_node *ref, in init_delayed_ref_common()
895 struct btrfs_delayed_tree_ref *ref; in btrfs_add_delayed_tree_ref() local
990 struct btrfs_delayed_data_ref *ref; in btrfs_add_delayed_data_ref() local
/Linux-v5.15/fs/orangefs/
Dnamei.c26 struct orangefs_object_kref ref; in orangefs_create() local
226 struct orangefs_object_kref ref; in orangefs_symlink() local
313 struct orangefs_object_kref ref; in orangefs_mkdir() local
/Linux-v5.15/net/batman-adv/
Doriginator.c180 void batadv_orig_node_vlan_release(struct kref *ref) in batadv_orig_node_vlan_release()
224 void batadv_neigh_ifinfo_release(struct kref *ref) in batadv_neigh_ifinfo_release()
241 void batadv_hardif_neigh_release(struct kref *ref) in batadv_hardif_neigh_release()
261 void batadv_neigh_node_release(struct kref *ref) in batadv_neigh_node_release()
772 void batadv_orig_ifinfo_release(struct kref *ref) in batadv_orig_ifinfo_release()
812 void batadv_orig_node_release(struct kref *ref) in batadv_orig_node_release()
/Linux-v5.15/drivers/misc/habanalabs/common/
Dcontext.c12 void hl_encaps_handle_do_release(struct kref *ref) in hl_encaps_handle_do_release()
26 static void hl_encaps_handle_do_release_sob(struct kref *ref) in hl_encaps_handle_do_release_sob()
122 void hl_ctx_do_release(struct kref *ref) in hl_ctx_do_release()
/Linux-v5.15/tools/perf/util/
Dthread-stack.c56 u64 ref; member
300 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return()
782 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp()
814 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp()
861 struct addr_location *to_al, u64 ref) in thread_stack__bottom()
886 struct perf_sample *sample, u64 ref) in thread_stack__pop_ks()
906 struct addr_location *to_al, u64 ref) in thread_stack__no_call_return()
998 u64 ref) in thread_stack__trace_begin()
1019 struct perf_sample *sample, u64 ref) in thread_stack__trace_end()
1105 struct addr_location *to_al, u64 ref, in thread_stack__process()

12345678910>>...20