Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v4.19/lib/
Dpercpu-refcount.c39 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr()
59 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init()
101 void percpu_ref_exit(struct percpu_ref *ref) in percpu_ref_exit()
116 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu() local
128 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu() local
161 static void percpu_ref_noop_confirm_switch(struct percpu_ref *ref) in percpu_ref_noop_confirm_switch()
165 static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, in __percpu_ref_switch_to_atomic()
187 static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref) in __percpu_ref_switch_to_percpu()
212 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
251 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
[all …]
/Linux-v4.19/include/linux/
Dpercpu-refcount.h125 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill()
136 static inline bool __ref_is_percpu(struct percpu_ref *ref, in __ref_is_percpu()
176 static inline void percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_get_many()
198 static inline void percpu_ref_get(struct percpu_ref *ref) in percpu_ref_get()
212 static inline bool percpu_ref_tryget(struct percpu_ref *ref) in percpu_ref_tryget()
246 static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) in percpu_ref_tryget_live()
275 static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) in percpu_ref_put_many()
298 static inline void percpu_ref_put(struct percpu_ref *ref) in percpu_ref_put()
312 static inline bool percpu_ref_is_dying(struct percpu_ref *ref) in percpu_ref_is_dying()
325 static inline bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero()
/Linux-v4.19/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-v4.19/drivers/dax/
Dpmem.c23 struct percpu_ref ref; member
28 static struct dax_pmem *to_dax_pmem(struct percpu_ref *ref) in to_dax_pmem()
33 static void dax_pmem_percpu_release(struct percpu_ref *ref) in dax_pmem_percpu_release()
43 struct percpu_ref *ref = data; in dax_pmem_percpu_exit() local
53 struct percpu_ref *ref = data; in dax_pmem_percpu_kill() local
/Linux-v4.19/drivers/clk/mxs/
Dclk-ref.c39 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_enable() local
48 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_disable() local
56 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_recalc_rate() local
92 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_set_rate() local
130 struct clk_ref *ref; in mxs_clk_ref() local
/Linux-v4.19/net/mac80211/
Drate.h40 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta()
49 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local
59 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local
69 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_remove_sta_debugfs() local
Drate.c36 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local
69 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local
91 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
213 struct rate_control_ref *ref = file->private_data; in rcname_read() local
231 struct rate_control_ref *ref; in rate_control_alloc() local
885 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-v4.19/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-v4.19/tools/perf/util/
Dthread-stack.c43 u64 ref; member
163 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return()
334 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp()
358 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp()
403 struct addr_location *to_al, u64 ref) in thread_stack__bottom()
433 struct addr_location *to_al, u64 ref) in thread_stack__no_call_return()
493 u64 ref) in thread_stack__trace_begin()
514 struct perf_sample *sample, u64 ref) in thread_stack__trace_end()
538 struct addr_location *to_al, u64 ref, in thread_stack__process()
/Linux-v4.19/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-v4.19/kernel/dma/
Ddebug.c311 struct dma_debug_entry *ref, in __hash_bucket_find()
361 struct dma_debug_entry *ref) in bucket_find_exact()
367 struct dma_debug_entry *ref, in bucket_find_contain()
1073 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
1215 struct dma_debug_entry *ref, in check_sync()
1357 struct dma_debug_entry ref; in debug_dma_mapping_error() local
1396 struct dma_debug_entry ref = { in debug_dma_unmap_page() local
1453 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1482 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local
1542 struct dma_debug_entry ref = { in debug_dma_free_coherent() local
[all …]
/Linux-v4.19/arch/powerpc/kvm/
De500_mmu_host.c192 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host() local
248 static inline void kvmppc_e500_ref_setup(struct tlbe_ref *ref, in kvmppc_e500_ref_setup()
265 static inline void kvmppc_e500_ref_release(struct tlbe_ref *ref) in kvmppc_e500_ref_release()
291 struct tlbe_ref *ref = in clear_tlb_privs() local
310 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe()
328 struct tlbe_ref *ref) in kvmppc_e500_shadow_map()
518 struct tlbe_ref *ref; in kvmppc_e500_tlb0_map() local
538 struct tlbe_ref *ref, in kvmppc_e500_tlb1_map_tlb1()
566 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[1][esel].ref; in kvmppc_e500_tlb1_map() local
/Linux-v4.19/fs/orangefs/
Dinode.c355 static inline ino_t orangefs_handle_hash(struct orangefs_object_kref *ref) in orangefs_handle_hash()
367 struct orangefs_object_kref *ref = (struct orangefs_object_kref *) data; in orangefs_set_inode() local
378 struct orangefs_object_kref *ref = (struct orangefs_object_kref *) data; in orangefs_test_inode() local
396 struct orangefs_object_kref *ref) in orangefs_iget()
435 int mode, dev_t dev, struct orangefs_object_kref *ref) in orangefs_new_inode()
Dnamei.c25 struct orangefs_object_kref ref; in orangefs_create() local
228 struct orangefs_object_kref ref; in orangefs_symlink() local
317 struct orangefs_object_kref ref; in orangefs_mkdir() local
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c46 static int vmw_ttm_mem_global_init(struct drm_global_reference *ref) in vmw_ttm_mem_global_init()
52 static void vmw_ttm_mem_global_release(struct drm_global_reference *ref) in vmw_ttm_mem_global_release()
/Linux-v4.19/drivers/misc/mic/host/
Dmic_smpt.c78 static void mic_add_smpt_entry(int spt, s64 *ref, u64 addr, in mic_add_smpt_entry()
100 int entries, s64 *ref, size_t size) in mic_smpt_op()
151 size_t size, s64 *ref, u64 *smpt_start) in mic_get_smpt_ref_count()
210 s64 *ref; in mic_map() local
257 s64 *ref; in mic_unmap() local
/Linux-v4.19/fs/btrfs/
Ddelayed-ref.c227 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref()
244 struct btrfs_delayed_ref_node *ref, in merge_ref()
293 struct btrfs_delayed_ref_node *ref; in btrfs_merge_delayed_refs() local
405 struct btrfs_delayed_ref_node *ref) in insert_delayed_ref()
682 struct btrfs_delayed_ref_node *ref, in init_delayed_ref_common()
719 struct btrfs_delayed_tree_ref *ref; in btrfs_add_delayed_tree_ref() local
800 struct btrfs_delayed_data_ref *ref; in btrfs_add_delayed_data_ref() local
Dref-verify.c51 struct ref_entry ref; member
162 struct ref_entry *ref) in insert_ref_entry()
246 struct ref_entry *ref; in free_block_entry() local
323 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
368 struct ref_entry *ref; in add_shared_data_ref() local
398 struct ref_entry *ref; in add_extent_data_ref() local
643 struct ref_entry *ref; in dump_block_entry() local
693 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
Dbackref.c165 static void free_pref(struct prelim_ref *ref) in free_pref()
231 struct prelim_ref *ref; in prelim_ref_insert() local
284 struct prelim_ref *ref, *next_ref; in prelim_release() local
338 struct prelim_ref *ref; in add_prelim_ref() local
411 struct ulist *parents, struct prelim_ref *ref, in add_all_parents()
503 struct prelim_ref *ref, struct ulist *parents, in resolve_indirect_ref()
631 struct prelim_ref *ref; in resolve_indirect_refs() local
715 struct prelim_ref *ref; in add_missing_keys() local
796 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
807 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
[all …]
/Linux-v4.19/arch/powerpc/perf/
Dimc-pmu.c317 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
411 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
466 struct imc_pmu_ref *ref; in nest_imc_event_init() local
630 struct imc_pmu_ref *ref; in ppc_core_imc_cpu_offline() local
688 struct imc_pmu_ref *ref; in core_imc_counters_release() local
742 struct imc_pmu_ref *ref; in core_imc_event_init() local
997 struct imc_pmu_ref *ref; in thread_imc_event_add() local
1035 struct imc_pmu_ref *ref; in thread_imc_event_del() local
/Linux-v4.19/fs/cifs/
Dcifs_dfs_ref.c139 const struct dfs_info3_param *ref, in cifs_compose_mount_options()
250 const char *fullpath, const struct dfs_info3_param *ref) in cifs_dfs_do_refmount()
270 static void dump_referral(const struct dfs_info3_param *ref) in dump_referral()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_global.c78 int drm_global_item_ref(struct drm_global_reference *ref) in drm_global_item_ref()
123 void drm_global_item_unref(struct drm_global_reference *ref) in drm_global_item_unref()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_object.c289 struct ttm_ref_object *ref; in ttm_ref_object_exists() local
326 struct ttm_ref_object *ref; in ttm_ref_object_add() local
398 struct ttm_ref_object *ref = in ttm_ref_object_release() local
423 struct ttm_ref_object *ref; in ttm_ref_object_base_unref() local
442 struct ttm_ref_object *ref; in ttm_object_file_release() local

12345678910>>...16