| /linux/lib/ |
| H A D | percpu-refcount.c | 42 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 …]
|
| H A D | rcuref.c | 192 bool rcuref_get_slowpath(rcuref_t *ref) in rcuref_get_slowpath() 237 bool rcuref_put_slowpath(rcuref_t *ref, unsigned int cnt) in rcuref_put_slowpath()
|
| /linux/include/linux/ |
| H A D | percpu-refcount.h | 102 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 …]
|
| H A D | file_ref.h | 59 static inline void file_ref_init(file_ref_t *ref, unsigned long cnt) in file_ref_init() 78 static __always_inline __must_check bool file_ref_get(file_ref_t *ref) in file_ref_get() 118 static __always_inline void file_ref_inc(file_ref_t *ref) in file_ref_inc() 139 static __always_inline __must_check bool file_ref_put(file_ref_t *ref) in file_ref_put() 178 static __always_inline __must_check bool file_ref_put_close(file_ref_t *ref) in file_ref_put_close() 196 static inline unsigned long file_ref_read(file_ref_t *ref) in file_ref_read() 213 static inline unsigned long __file_ref_read_raw(file_ref_t *ref) in __file_ref_read_raw()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-shared.c | 59 struct kref ref; member 113 struct gpio_shared_ref *ref; in gpio_shared_setup_reset_proxy() local 165 struct gpio_shared_ref *ref; in gpio_shared_of_traverse() local 313 struct gpio_shared_ref *ref) in gpio_shared_make_adev() 358 struct gpio_shared_ref *ref) in gpio_shared_dev_is_reset_gpio() 440 struct gpio_shared_ref *ref) in gpio_shared_dev_is_reset_gpio() 452 struct gpio_shared_ref *ref; in gpio_shared_add_proxy_lookup() local 513 struct gpio_shared_ref *ref; in gpiochip_setup_shared() local 598 struct gpio_shared_ref *ref; in gpio_device_teardown_shared() local 711 static void gpio_shared_drop_ref(struct gpio_shared_ref *ref) in gpio_shared_drop_ref() [all …]
|
| /linux/fs/smb/client/ |
| H A D | dfs.h | 30 struct dfs_ref *ref; member 63 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free() 75 struct dfs_ref *ref; in ref_walk_free() local 87 struct dfs_ref *ref = ref_walk_cur(rw) + 1; in ref_walk_advance() local 99 struct dfs_ref *ref = ref_walk_cur(rw); in ref_walk_next_tgt() local 135 struct dfs_ref *ref = ref_walk_start(rw); in ref_walk_set_tcon() local 147 struct dfs_ref *ref = ref_walk_cur(rw) - 1; in ref_walk_mark_end() local
|
| /linux/fs/jffs2/ |
| H A D | xattr.c | 444 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 971 struct jffs2_xattr_ref *ref, **pref; in jffs2_listxattr() local [all …]
|
| H A D | readinode.c | 33 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/drivers/clk/mxs/ |
| H A D | clk-ref.c | 33 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 83 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_set_rate() local 116 struct clk_ref *ref; in mxs_clk_ref() local
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_active.h | 160 #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() 193 static inline void __i915_active_acquire(struct i915_active *ref) in __i915_active_acquire() 200 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle()
|
| /linux/drivers/misc/lkdtm/ |
| H A D | refcount.c | 9 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/drivers/dpll/ |
| H A D | dpll_netlink.c | 285 struct dpll_pin_ref *ref, in dpll_msg_add_pin_prio() 307 struct dpll_pin_ref *ref, in dpll_msg_add_pin_on_dpll_state() 329 struct dpll_pin_ref *ref, in dpll_msg_add_pin_direction() 349 struct dpll_pin_ref *ref, in dpll_msg_add_pin_phase_adjust() 372 struct dpll_pin_ref *ref, in dpll_msg_add_phase_offset() 395 struct dpll_pin_ref *ref, in dpll_msg_add_ffo() 424 struct dpll_pin_ref *ref, in dpll_msg_add_measured_freq() 457 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack) in dpll_msg_add_pin_freq() 498 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack) in dpll_msg_add_pin_esync() 543 struct dpll_pin_ref *ref, in dpll_msg_add_pin_ref_sync() [all …]
|
| /linux/kernel/dma/ |
| H A D | debug.c | 298 struct dma_debug_entry *ref, in __hash_bucket_find() 348 struct dma_debug_entry *ref) in bucket_find_exact() 354 struct dma_debug_entry *ref, in bucket_find_contain() 979 static void check_unmap(struct dma_debug_entry *ref) in check_unmap() 1117 struct dma_debug_entry *ref, in check_sync() 1266 struct dma_debug_entry ref; in debug_dma_mapping_error() local 1305 struct dma_debug_entry ref = { in debug_dma_unmap_phys() local 1356 struct dma_debug_entry *ref) in get_nr_mapped_entries() 1385 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local 1450 struct dma_debug_entry ref = { in debug_dma_free_coherent() local [all …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | ref.c | 63 struct zl3073x_ref *ref = &zldev->ref[index]; in zl3073x_ref_state_update() local 81 struct zl3073x_ref *ref = &zldev->ref[index]; in zl3073x_ref_state_fetch() local 184 const struct zl3073x_ref *ref) in zl3073x_ref_state_set()
|
| H A D | dpll.c | 133 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_esync_get() local 169 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_esync_set() local 204 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_ref_sync_get() local 235 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_ref_sync_set() local 349 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_frequency_set() local 396 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_phase_offset_get() local 453 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_phase_adjust_get() local 486 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_phase_adjust_set() local 519 u8 ref; in zl3073x_dpll_ref_state_get() local 571 u8 mode, ref; in zl3073x_dpll_input_pin_state_on_dpll_set() local [all …]
|
| /linux/net/mac80211/ |
| H A D | rate.c | 35 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local 93 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local 122 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local 248 struct rate_control_ref *ref = file->private_data; in rcname_read() local 264 struct rate_control_ref *ref; in rate_control_alloc() local 931 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate() local 1003 struct rate_control_ref *ref; in ieee80211_init_rate_ctrl_alg() local 1034 struct rate_control_ref *ref; in rate_control_deinitialize() local
|
| /linux/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 361 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
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | context.c | 30 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/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls-request.c | 56 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
|
| /linux/fs/btrfs/ |
| H A D | ref-verify.c | 54 struct ref_entry ref; member 174 struct ref_entry *ref) in insert_ref_entry() 220 struct ref_entry *ref; in free_block_entry() local 299 struct ref_entry *ref = NULL, *exist; in add_tree_block() local 344 struct ref_entry *ref; in add_shared_data_ref() local 374 struct ref_entry *ref; in add_extent_data_ref() local 616 struct ref_entry *ref; in dump_block_entry() local 655 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
|
| /linux/tools/bpf/bpftool/ |
| H A D | pids.c | 35 struct obj_ref *ref; in add_ref() local 223 struct obj_ref *ref = &refs->refs[i]; in emit_obj_refs_json() local 254 struct obj_ref *ref = &refs->refs[i]; in emit_obj_refs_plain() local
|
| /linux/fs/orangefs/ |
| H A D | namei.c | 26 struct orangefs_object_kref ref; in orangefs_create() local 222 struct orangefs_object_kref ref; in orangefs_symlink() local 305 struct orangefs_object_kref ref; in orangefs_mkdir() local
|
| /linux/tools/perf/util/ |
| H A D | thread-stack.c | 56 u64 ref; member 300 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() 783 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() 815 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() 862 struct addr_location *to_al, u64 ref) in thread_stack__bottom() 887 struct perf_sample *sample, u64 ref) in thread_stack__pop_ks() 907 struct addr_location *to_al, u64 ref) in thread_stack__no_call_return() 999 u64 ref) in thread_stack__trace_begin() 1020 struct perf_sample *sample, u64 ref) in thread_stack__trace_end() 1104 struct addr_location *to_al, u64 ref, in thread_stack__process()
|
| /linux/net/batman-adv/ |
| H A D | originator.c | 203 void batadv_orig_node_vlan_release(struct kref *ref) in batadv_orig_node_vlan_release() 247 void batadv_neigh_ifinfo_release(struct kref *ref) in batadv_neigh_ifinfo_release() 264 void batadv_hardif_neigh_release(struct kref *ref) in batadv_hardif_neigh_release() 284 void batadv_neigh_node_release(struct kref *ref) in batadv_neigh_node_release() 811 void batadv_orig_ifinfo_release(struct kref *ref) in batadv_orig_ifinfo_release() 851 void batadv_orig_node_release(struct kref *ref) in batadv_orig_node_release()
|
| /linux/fs/netfs/ |
| H A D | fscache_volume.c | 23 int ref; in fscache_get_volume() local 33 int ref; in fscache_try_get_volume() local 46 int ref = refcount_read(&volume->ref); in fscache_see_volume() local 426 int ref; in fscache_put_volume() local
|