Home
last modified time | relevance | path

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

12345678910>>...24

/linux-6.12.1/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()
98 static void debug_active_deactivate(struct i915_active *ref) in debug_active_deactivate()
105 static void debug_active_fini(struct i915_active *ref) in debug_active_fini()
110 static void debug_active_assert(struct i915_active *ref) in debug_active_assert()
117 static inline void debug_active_init(struct i915_active *ref) { } in debug_active_init()
118 static inline void debug_active_activate(struct i915_active *ref) { } in debug_active_activate()
119 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
173 static inline int i915_active_wait(struct i915_active *ref) in i915_active_wait()
194 static inline void __i915_active_acquire(struct i915_active *ref) in __i915_active_acquire()
201 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle()
/linux-6.12.1/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()
108 static void __percpu_ref_exit(struct percpu_ref *ref) in __percpu_ref_exit()
130 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
154 struct percpu_ref *ref = data->ref; in percpu_ref_call_confirm_rcu() local
171 struct percpu_ref *ref = data->ref; in percpu_ref_switch_to_atomic_rcu() local
209 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
213 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
237 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
265 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
[all …]
Drcuref.c192 bool rcuref_get_slowpath(rcuref_t *ref) in rcuref_get_slowpath()
236 bool rcuref_put_slowpath(rcuref_t *ref) in rcuref_put_slowpath()
/linux-6.12.1/include/linux/
Dalloc_tag.h37 static inline bool is_codetag_empty(union codetag_ref *ref) in is_codetag_empty()
42 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty()
50 static inline bool is_codetag_empty(union codetag_ref *ref) { return false; } in is_codetag_empty()
51 static inline void set_codetag_empty(union codetag_ref *ref) {} in set_codetag_empty()
119 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check()
128 static inline void alloc_tag_sub_check(union codetag_ref *ref) in alloc_tag_sub_check()
133 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {} in alloc_tag_add_check()
134 static inline void alloc_tag_sub_check(union codetag_ref *ref) {} in alloc_tag_sub_check()
138 static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in __alloc_tag_ref_set()
148 static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_ref_set()
[all …]
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()
275 static inline bool percpu_ref_tryget_live_rcu(struct percpu_ref *ref) in percpu_ref_tryget_live_rcu()
306 static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) in percpu_ref_tryget_live()
326 static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_put_many()
[all …]
Drcuref.h24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) in rcuref_init()
35 static inline unsigned int rcuref_read(rcuref_t *ref) in rcuref_read()
61 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get()
79 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put()
119 static inline __must_check bool rcuref_put_rcusafe(rcuref_t *ref) in rcuref_put_rcusafe()
145 static inline __must_check bool rcuref_put(rcuref_t *ref) in rcuref_put()
Dpgalloc_tag.h21 static inline struct page_ext *page_ext_from_codetag_ref(union codetag_ref *ref) in page_ext_from_codetag_ref()
38 static inline void put_page_tag_ref(union codetag_ref *ref) in put_page_tag_ref()
49 union codetag_ref *ref = get_page_tag_ref(page); in clear_page_tag_ref() local
62 union codetag_ref *ref = get_page_tag_ref(page); in pgalloc_tag_add() local
74 union codetag_ref *ref = get_page_tag_ref(page); in pgalloc_tag_sub() local
88 union codetag_ref *ref = get_page_tag_ref(page); in pgalloc_tag_get() local
110 static inline void put_page_tag_ref(union codetag_ref *ref) {} in put_page_tag_ref()
/linux-6.12.1/fs/smb/client/
Ddfs.h28 struct dfs_ref *ref; member
60 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free()
72 struct dfs_ref *ref; in ref_walk_free() local
84 struct dfs_ref *ref = ref_walk_cur(rw) + 1; in ref_walk_advance() local
97 struct dfs_ref *ref = ref_walk_cur(rw); in ref_walk_next_tgt() local
129 struct dfs_ref *ref = ref_walk_start(rw); in ref_walk_set_tcon() local
149 struct dfs_info3_param *ref, struct dfs_cache_tgt_list *tl) in dfs_get_referral()
/linux-6.12.1/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
972 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-6.12.1/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
81 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_set_rate() local
114 struct clk_ref *ref; in mxs_clk_ref() local
/linux-6.12.1/drivers/dpll/
Ddpll_core.c57 dpll_pin_registration_find(struct dpll_pin_ref *ref, in dpll_pin_registration_find()
77 struct dpll_pin_ref *ref; in dpll_xa_ref_pin_add() local
131 struct dpll_pin_ref *ref; in dpll_xa_ref_pin_del() local
158 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_add() local
212 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_del() local
234 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_first() local
713 struct dpll_pin_ref *ref; in dpll_pin_on_pin_register() local
770 struct dpll_pin_ref *ref; in dpll_pin_on_pin_unregister() local
811 dpll_pin_registration_first(struct dpll_pin_ref *ref) in dpll_pin_registration_first()
825 struct dpll_pin_ref *ref; in dpll_pin_on_dpll_priv() local
[all …]
Ddpll_netlink.c174 struct dpll_pin_ref *ref, in dpll_msg_add_pin_prio()
196 struct dpll_pin_ref *ref, in dpll_msg_add_pin_on_dpll_state()
218 struct dpll_pin_ref *ref, in dpll_msg_add_pin_direction()
238 struct dpll_pin_ref *ref, in dpll_msg_add_pin_phase_adjust()
261 struct dpll_pin_ref *ref, in dpll_msg_add_phase_offset()
284 struct dpll_pin_ref *ref, in dpll_msg_add_ffo()
306 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack) in dpll_msg_add_pin_freq()
347 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack) in dpll_msg_add_pin_esync()
407 struct dpll_pin_ref *ref; in dpll_msg_add_pin_parents() local
448 struct dpll_pin_ref *ref; in dpll_msg_add_pin_dplls() local
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Di915_active.h11 static inline void i915_active_init(struct i915_active *ref, in i915_active_init()
12 int (*active)(struct i915_active *ref), in i915_active_init()
13 void (*retire)(struct i915_active *ref), in i915_active_init()
/linux-6.12.1/drivers/xen/
Dgrant-table.c182 int ref, rc = 0; in get_free_entries() local
331 static void put_free_entry_locked(grant_ref_t ref) in put_free_entry_locked()
346 static void put_free_entry(grant_ref_t ref) in put_free_entry()
384 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
393 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
405 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
416 int ref; in gnttab_grant_foreign_access() local
428 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref) in gnttab_end_foreign_access_ref_v1()
442 static int gnttab_end_foreign_access_ref_v2(grant_ref_t ref) in gnttab_end_foreign_access_ref_v2()
465 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref) in _gnttab_end_foreign_access_ref()
[all …]
/linux-6.12.1/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-6.12.1/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()
200 static void check_from_zero(refcount_t *ref) in check_from_zero()
267 static void check_saturated(refcount_t *ref) in check_saturated()
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Di915_active.c20 struct kref ref; member
35 static void __live_release(struct kref *ref) in __live_release()
279 void i915_active_print(struct i915_active *ref, struct drm_printer *m) in i915_active_print()
315 static void active_flush(struct i915_active *ref, in active_flush()
332 void i915_active_unlock_wait(struct i915_active *ref) in i915_active_unlock_wait()
/linux-6.12.1/net/mac80211/
Drate.h39 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta()
48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local
58 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local
Drate.c34 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
99 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
225 struct rate_control_ref *ref = file->private_data; in rcname_read() local
242 struct rate_control_ref *ref; in rate_control_alloc() local
909 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate() local
983 struct rate_control_ref *ref; in ieee80211_init_rate_ctrl_alg() local
1014 struct rate_control_ref *ref; in rate_control_deinitialize() local
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dchan.c409 struct rtw89_mcc_role *ref = &mcc->role_ref; in __mcc_fw_req_tsf() local
434 struct rtw89_mcc_role *ref = &mcc->role_ref; in __mrc_fw_req_tsf() local
464 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_get_bcn_ofst() local
744 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_assign_pattern() local
800 struct rtw89_mcc_role *ref = &mcc->role_ref; in __rtw89_mcc_calc_pattern_loose() local
864 struct rtw89_mcc_role *ref = &mcc->role_ref; in __rtw89_mcc_calc_pattern_strict() local
950 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_calc_pattern() local
1010 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_set_default_pattern() local
1052 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_set_duration_gc_sta() local
1218 struct rtw89_mcc_role *ref = &mcc->role_ref; in rtw89_mcc_duration_decision_on_bt() local
[all …]
/linux-6.12.1/kernel/dma/
Ddebug.c295 struct dma_debug_entry *ref, in __hash_bucket_find()
345 struct dma_debug_entry *ref) in bucket_find_exact()
351 struct dma_debug_entry *ref, in bucket_find_contain()
964 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
1096 struct dma_debug_entry *ref, in check_sync()
1250 struct dma_debug_entry ref; in debug_dma_mapping_error() local
1289 struct dma_debug_entry ref = { in debug_dma_unmap_page() local
1341 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1370 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local
1429 struct dma_debug_entry ref = { in debug_dma_free_coherent() local
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/
Dcontext.c30 void hl_encaps_release_handle_and_put_ctx(struct kref *ref) in hl_encaps_release_handle_and_put_ctx()
38 static void hl_encaps_release_handle_and_put_sob(struct kref *ref) in hl_encaps_release_handle_and_put_sob()
46 void hl_encaps_release_handle_and_put_sob_ctx(struct kref *ref) in hl_encaps_release_handle_and_put_sob_ctx()
131 void hl_ctx_do_release(struct kref *ref) in hl_ctx_do_release()
/linux-6.12.1/arch/powerpc/perf/
Dimc-pmu.c361 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
462 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
517 struct imc_pmu_ref *ref; in nest_imc_event_init() local
677 struct imc_pmu_ref *ref; in ppc_core_imc_cpu_offline() local
764 struct imc_pmu_ref *ref; in core_imc_counters_release() local
820 struct imc_pmu_ref *ref; in core_imc_event_init() local
1126 struct imc_pmu_ref *ref; in thread_imc_event_add() local
1168 struct imc_pmu_ref *ref; in thread_imc_event_del() local
1361 struct imc_pmu_ref *ref = NULL; in trace_imc_event_add() local
1411 struct imc_pmu_ref *ref = NULL; in trace_imc_event_del() local

12345678910>>...24