Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v5.4/drivers/gpu/drm/i915/
Di915_active.c15 #define BKL(ref) (&(ref)->i915->drm.struct_mutex) argument
31 struct i915_active *ref; member
78 struct i915_active *ref = addr; in active_debug_hint() local
88 static void debug_active_init(struct i915_active *ref) in debug_active_init()
93 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()
103 static void debug_active_fini(struct i915_active *ref) in debug_active_fini()
108 static void debug_active_assert(struct i915_active *ref) in debug_active_assert()
115 static inline void debug_active_init(struct i915_active *ref) { } in debug_active_init()
116 static inline void debug_active_activate(struct i915_active *ref) { } in debug_active_activate()
[all …]
Di915_active.h366 #define i915_active_init(i915, ref, active, retire) do { \ argument
391 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle()
399 static inline void i915_active_fini(struct i915_active *ref) { } in i915_active_fini()
/Linux-v5.4/lib/
Dpercpu-refcount.c40 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
60 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
105 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
120 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu() local
135 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu() local
168 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
172 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
194 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
222 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
261 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
[all …]
/Linux-v5.4/include/linux/
Dpercpu-refcount.h134 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill()
145 static inline bool __ref_is_percpu(struct percpu_ref *ref, in __ref_is_percpu()
185 static inline void percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_get_many()
207 static inline void percpu_ref_get(struct percpu_ref *ref) in percpu_ref_get()
221 static inline bool percpu_ref_tryget(struct percpu_ref *ref) in percpu_ref_tryget()
255 static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) in percpu_ref_tryget_live()
284 static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_put_many()
307 static inline void percpu_ref_put(struct percpu_ref *ref) in percpu_ref_put()
321 static inline bool percpu_ref_is_dying(struct percpu_ref *ref) in percpu_ref_is_dying()
334 static inline bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero()
/Linux-v5.4/drivers/xen/
Dgrant-table.c173 int ref, rc = 0; in get_free_entries() local
222 static void put_free_entry(grant_ref_t ref) in put_free_entry()
244 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
253 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
265 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
276 int ref; in gnttab_grant_foreign_access() local
288 static int gnttab_query_foreign_access_v1(grant_ref_t ref) in gnttab_query_foreign_access_v1()
293 static int gnttab_query_foreign_access_v2(grant_ref_t ref) in gnttab_query_foreign_access_v2()
298 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
304 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1()
[all …]
/Linux-v5.4/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.4/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()
697 static inline int read_dnode(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_dnode()
872 static inline int read_unknown(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, struct jffs… in read_unknown()
924 static int read_more(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, in read_more()
968 struct jffs2_raw_node_ref *ref, *valid_ref; in jffs2_get_inode_nodes() local
Dmalloc.c204 struct jffs2_raw_node_ref **p, *ref; in jffs2_prealloc_raw_node_refs() local
299 struct jffs2_xattr_ref *ref; in jffs2_alloc_xattr_ref() local
310 void jffs2_free_xattr_ref(struct jffs2_xattr_ref *ref) in jffs2_free_xattr_ref()
/Linux-v5.4/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
66 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local
88 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
210 struct rate_control_ref *ref = file->private_data; in rcname_read() local
228 struct rate_control_ref *ref; in rate_control_alloc() local
882 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate() local
955 struct rate_control_ref *ref; in ieee80211_init_rate_ctrl_alg() local
986 struct rate_control_ref *ref; in rate_control_deinitialize() local
/Linux-v5.4/drivers/misc/lkdtm/
Drefcount.c17 static void overflow_check(refcount_t *ref) in overflow_check()
92 static void check_zero(refcount_t *ref) in check_zero()
127 static void check_negative(refcount_t *ref, int start) in check_negative()
193 static void check_from_zero(refcount_t *ref) in check_from_zero()
261 static void check_saturated(refcount_t *ref) in check_saturated()
/Linux-v5.4/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.4/kernel/dma/
Ddebug.c289 struct dma_debug_entry *ref, in __hash_bucket_find()
339 struct dma_debug_entry *ref) in bucket_find_exact()
345 struct dma_debug_entry *ref, in bucket_find_contain()
993 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
1135 struct dma_debug_entry *ref, in check_sync()
1289 struct dma_debug_entry ref; in debug_dma_mapping_error() local
1328 struct dma_debug_entry ref = { in debug_dma_unmap_page() local
1381 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1410 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local
1469 struct dma_debug_entry ref = { in debug_dma_free_coherent() local
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.c200 static int frontbuffer_active(struct i915_active *ref) in frontbuffer_active()
209 static void frontbuffer_retire(struct i915_active *ref) in frontbuffer_retire()
218 static void frontbuffer_release(struct kref *ref) in frontbuffer_release()
/Linux-v5.4/drivers/misc/mic/host/
Dmic_smpt.c66 static void mic_add_smpt_entry(int spt, s64 *ref, u64 addr, in mic_add_smpt_entry()
88 int entries, s64 *ref, size_t size) in mic_smpt_op()
139 size_t size, s64 *ref, u64 *smpt_start) in mic_get_smpt_ref_count()
198 s64 *ref; in mic_map() local
245 s64 *ref; in mic_unmap() local
/Linux-v5.4/tools/perf/util/
Dthread-stack.c56 u64 ref; member
277 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return()
530 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp()
562 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp()
609 struct addr_location *to_al, u64 ref) in thread_stack__bottom()
634 struct perf_sample *sample, u64 ref) in thread_stack__pop_ks()
654 struct addr_location *to_al, u64 ref) in thread_stack__no_call_return()
746 u64 ref) in thread_stack__trace_begin()
767 struct perf_sample *sample, u64 ref) in thread_stack__trace_end()
853 struct addr_location *to_al, u64 ref, in thread_stack__process()
/Linux-v5.4/arch/powerpc/perf/
Dimc-pmu.c337 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
438 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
493 struct imc_pmu_ref *ref; in nest_imc_event_init() local
655 struct imc_pmu_ref *ref; in ppc_core_imc_cpu_offline() local
716 struct imc_pmu_ref *ref; in core_imc_counters_release() local
770 struct imc_pmu_ref *ref; in core_imc_event_init() local
1022 struct imc_pmu_ref *ref; in thread_imc_event_add() local
1064 struct imc_pmu_ref *ref; in thread_imc_event_del() local
1222 struct imc_pmu_ref *ref = NULL; in trace_imc_event_add() local
1275 struct imc_pmu_ref *ref = NULL; in trace_imc_event_del() local
/Linux-v5.4/fs/cifs/
Dcifs_dfs_ref.c137 const struct dfs_info3_param *ref, in cifs_compose_mount_options()
251 const char *fullpath, const struct dfs_info3_param *ref) in cifs_dfs_do_refmount()
281 static void dump_referral(const struct dfs_info3_param *ref) in dump_referral()
/Linux-v5.4/fs/orangefs/
Dnamei.c25 struct orangefs_object_kref ref; in orangefs_create() local
224 struct orangefs_object_kref ref; in orangefs_symlink() local
310 struct orangefs_object_kref ref; in orangefs_mkdir() local
/Linux-v5.4/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
312 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
357 struct ref_entry *ref; in add_shared_data_ref() local
387 struct ref_entry *ref; in add_extent_data_ref() local
633 struct ref_entry *ref; in dump_block_entry() local
672 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
Ddelayed-ref.c418 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref()
433 struct btrfs_delayed_ref_node *ref, in merge_ref()
482 struct btrfs_delayed_ref_node *ref; in btrfs_merge_delayed_refs() local
598 struct btrfs_delayed_ref_node *ref) in insert_delayed_ref()
881 struct btrfs_delayed_ref_node *ref, in init_delayed_ref_common()
917 struct btrfs_delayed_tree_ref *ref; in btrfs_add_delayed_tree_ref() local
1014 struct btrfs_delayed_data_ref *ref; in btrfs_add_delayed_data_ref() local
Dbackref.c165 static void free_pref(struct prelim_ref *ref) in free_pref()
231 struct prelim_ref *ref; in prelim_ref_insert() local
286 struct prelim_ref *ref, *next_ref; in prelim_release() local
340 struct prelim_ref *ref; in add_prelim_ref() local
413 struct ulist *parents, struct prelim_ref *ref, in add_all_parents()
505 struct prelim_ref *ref, struct ulist *parents, in resolve_indirect_ref()
633 struct prelim_ref *ref; in resolve_indirect_refs() local
717 struct prelim_ref *ref; in add_missing_keys() local
800 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
811 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
[all …]
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-ctrls.c37 struct v4l2_ctrl_ref *ref; member
1881 struct v4l2_ctrl_ref *ref) in req_to_user()
2006 static void new_to_req(struct v4l2_ctrl_ref *ref) in new_to_req()
2015 static void req_to_new(struct v4l2_ctrl_ref *ref) in req_to_new()
2150 struct v4l2_ctrl_ref *ref, *next_ref; in v4l2_ctrl_handler_free() local
2196 struct v4l2_ctrl_ref *ref; in find_private_ref() local
2217 struct v4l2_ctrl_ref *ref; in find_ref() local
2245 struct v4l2_ctrl_ref *ref = NULL; in find_ref_lock() local
2258 struct v4l2_ctrl_ref *ref = find_ref_lock(hdl, id); in v4l2_ctrl_find() local
2270 struct v4l2_ctrl_ref *ref; in handler_new_ref() local
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c87 struct kref ref; member
122 static void heap_fence_release(struct kref *ref) in heap_fence_release()

12345678910>>...17