Home
last modified time | relevance | path

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

123456

/linux-4.19.296/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 …]
Dcpu_rmap.c69 static void cpu_rmap_release(struct kref *ref) in cpu_rmap_release()
269 static void irq_cpu_rmap_release(struct kref *ref) in irq_cpu_rmap_release()
/linux-4.19.296/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-4.19.296/drivers/xen/
Dgrant-table.c170 int ref, rc = 0; in get_free_entries() local
219 static void put_free_entry(grant_ref_t ref) in put_free_entry()
241 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
250 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
262 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
273 int ref; in gnttab_grant_foreign_access() local
285 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1()
301 static int gnttab_end_foreign_access_ref_v2(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v2()
324 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in _gnttab_end_foreign_access_ref()
329 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
[all …]
/linux-4.19.296/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-4.19.296/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
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()
Derase.c209 struct jffs2_raw_node_ref *ref, struct jffs2_eraseblock *jeb) in jffs2_remove_node_refs_from_ino_list()
291 struct jffs2_raw_node_ref *block, *ref; in jffs2_free_jeb_node_refs() local
Dnodelist.c590 struct jffs2_raw_node_ref *ref; in jffs2_link_node_ref() local
694 struct jffs2_raw_node_ref *ref) in __ref_totlen()
719 struct jffs2_raw_node_ref *ref) in __jffs2_ref_totlen()
Dnodelist.h101 static inline struct jffs2_raw_node_ref *ref_next(struct jffs2_raw_node_ref *ref) in ref_next()
136 #define ref_flags(ref) ((ref)->flash_offset & 3) argument
137 #define ref_offset(ref) ((ref)->flash_offset & ~3) argument
138 #define ref_obsolete(ref) (((ref)->flash_offset & 3) == REF_OBSOLETE) argument
139 #define mark_ref_normal(ref) do { (ref)->flash_offset = ref_offset(ref) | REF_NORMAL; } while(0) argument
/linux-4.19.296/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-4.19.296/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-4.19.296/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-4.19.296/fs/btrfs/
Ddelayed-ref.c227 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref()
242 struct btrfs_delayed_ref_node *ref, in merge_ref()
291 struct btrfs_delayed_ref_node *ref; in btrfs_merge_delayed_refs() local
403 struct btrfs_delayed_ref_node *ref) in insert_delayed_ref()
679 struct btrfs_delayed_ref_node *ref, in init_delayed_ref_common()
716 struct btrfs_delayed_tree_ref *ref; in btrfs_add_delayed_tree_ref() local
797 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
325 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
370 struct ref_entry *ref; in add_shared_data_ref() local
400 struct ref_entry *ref; in add_extent_data_ref() local
645 struct ref_entry *ref; in dump_block_entry() local
695 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
Dbackref.c166 static void free_pref(struct prelim_ref *ref) in free_pref()
232 struct prelim_ref *ref; in prelim_ref_insert() local
285 struct prelim_ref *ref, *next_ref; in prelim_release() local
339 struct prelim_ref *ref; in add_prelim_ref() local
412 struct ulist *parents, struct prelim_ref *ref, in add_all_parents()
504 struct prelim_ref *ref, struct ulist *parents, in resolve_indirect_ref()
644 struct prelim_ref *ref; in resolve_indirect_refs() local
732 struct prelim_ref *ref; in add_missing_keys() local
810 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
827 struct btrfs_delayed_tree_ref *ref; in add_delayed_refs() local
[all …]
Dinode-item.c15 struct btrfs_inode_ref *ref; in btrfs_find_name_in_backref() local
188 struct btrfs_inode_ref *ref; in btrfs_del_inode_ref() local
325 struct btrfs_inode_ref *ref; in btrfs_insert_inode_ref() local
/linux-4.19.296/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-4.19.296/fs/ubifs/
Dlog.c180 struct ubifs_ref_node *ref; in ubifs_add_bud_to_log() local
363 struct ubifs_ref_node *ref; in ubifs_log_start_commit() local
657 struct ubifs_ref_node *ref = snod->node; in ubifs_consolidate_log() local
/linux-4.19.296/fs/quota/
Dquota_tree.c337 __le32 *ref; in do_insert_tree() local
518 __le32 *ref = (__le32 *)buf; in remove_tree() local
621 __le32 *ref = (__le32 *)buf; in find_tree_dqentry() local
735 __le32 *ref = (__le32 *)buf; in find_next_id() local
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_sb.c49 int ref = 0; in xfs_perag_get() local
73 int ref; in xfs_perag_get_tag() local
92 int ref; in xfs_perag_put() local
/linux-4.19.296/include/xen/interface/io/
Dpvcalls.h25 grant_ref_t ref[]; member
52 grant_ref_t ref; member
71 grant_ref_t ref; member
/linux-4.19.296/include/xen/
Dgrant_table.h151 grant_ref_t ref, domid_t domid, in gnttab_page_grant_foreign_access_ref_one()
163 uint32_t flags, grant_ref_t ref, domid_t domid) in gnttab_set_map_op()

123456