Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/gpu/drm/i915/
H A 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 …]
H A 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()
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/include/linux/
H A Dalloc_tag.h52 static inline bool is_codetag_empty(union codetag_ref *ref) in is_codetag_empty()
57 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty()
65 static inline bool is_codetag_empty(union codetag_ref *ref) { return false; } in is_codetag_empty()
67 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty()
155 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check()
164 static inline void alloc_tag_sub_check(union codetag_ref *ref) in alloc_tag_sub_check()
170 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {} in alloc_tag_add_check()
171 static inline void alloc_tag_sub_check(union codetag_ref *ref) {} in alloc_tag_sub_check()
176 static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in __alloc_tag_ref_set()
186 static inline bool alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_ref_set()
[all …]
H A Dfile_ref.h59 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 Dgpiolib-shared.c59 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
316 struct gpio_shared_ref *ref) in gpio_shared_make_adev()
361 struct gpio_shared_ref *ref) in gpio_shared_dev_is_reset_gpio()
443 struct gpio_shared_ref *ref) in gpio_shared_dev_is_reset_gpio()
455 struct gpio_shared_ref *ref; in gpio_shared_add_proxy_lookup() local
516 struct gpio_shared_ref *ref; in gpiochip_setup_shared() local
601 struct gpio_shared_ref *ref; in gpio_device_teardown_shared() local
706 static void gpio_shared_drop_ref(struct gpio_shared_ref *ref) in gpio_shared_drop_ref()
[all …]
/linux/fs/smb/client/
H A Ddfs.h30 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 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
971 struct jffs2_xattr_ref *ref, **pref; in jffs2_listxattr() local
[all …]
H A 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/drivers/clk/mxs/
H A 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
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/xen/
H A Dgrant-table.c183 int ref, rc = 0; in get_free_entries() local
332 static void put_free_entry_locked(grant_ref_t ref) in put_free_entry_locked()
347 static void put_free_entry(grant_ref_t ref) in put_free_entry()
385 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
394 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
406 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
417 int ref; in gnttab_grant_foreign_access() local
429 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref) in gnttab_end_foreign_access_ref_v1()
443 static int gnttab_end_foreign_access_ref_v2(grant_ref_t ref) in gnttab_end_foreign_access_ref_v2()
466 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref) in _gnttab_end_foreign_access_ref()
[all …]
/linux/drivers/dpll/zl3073x/
H A Dchan.h111 static inline void zl3073x_chan_ref_set(struct zl3073x_chan *chan, u8 ref) in zl3073x_chan_ref_set()
124 zl3073x_chan_ref_prio_get(const struct zl3073x_chan *chan, u8 ref) in zl3073x_chan_ref_prio_get()
141 zl3073x_chan_ref_prio_set(struct zl3073x_chan *chan, u8 ref, u8 prio) in zl3073x_chan_ref_prio_set()
159 zl3073x_chan_ref_is_selectable(const struct zl3073x_chan *chan, u8 ref) in zl3073x_chan_ref_is_selectable()
H A Dref.c63 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 Ddpll.c159 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_esync_get() local
197 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_esync_set() local
234 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_ref_sync_get() local
267 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_ref_sync_set() local
433 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_frequency_set() local
482 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_phase_offset_get() local
541 const struct zl3073x_ref *ref; in zl3073x_dpll_input_pin_phase_adjust_get() local
576 struct zl3073x_ref ref; in zl3073x_dpll_input_pin_phase_adjust_set() local
611 const struct zl3073x_ref *ref; in zl3073x_dpll_ref_operstate_get() local
647 u8 mode, ref; in zl3073x_dpll_input_pin_state_on_dpll_get() local
[all …]
/linux/drivers/dpll/
H A Ddpll_netlink.c76 struct dpll_pin_ref *ref; in dpll_pin_first_registered_ref() local
290 struct dpll_pin_ref *ref, in dpll_msg_add_pin_prio()
312 struct dpll_pin_ref *ref, in dpll_msg_add_pin_on_dpll_state()
334 struct dpll_pin_ref *ref, in dpll_msg_add_pin_operstate()
358 struct dpll_pin_ref *ref, in dpll_msg_add_pin_direction()
378 struct dpll_pin_ref *ref, in dpll_msg_add_pin_phase_adjust()
401 struct dpll_pin_ref *ref, in dpll_msg_add_phase_offset()
424 struct dpll_pin_ref *ref, in dpll_msg_add_ffo()
450 struct dpll_pin_ref *ref, in dpll_msg_add_measured_freq()
483 struct dpll_pin_ref *ref, struct netlink_ext_ack *extack) in dpll_msg_add_pin_freq()
[all …]
H A Ddpll_core.c175 dpll_pin_registration_find(struct dpll_pin_ref *ref, in dpll_pin_registration_find()
195 struct dpll_pin_ref *ref; in dpll_xa_ref_pin_add() local
248 struct dpll_pin_ref *ref; in dpll_xa_ref_pin_del() local
276 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_add() local
329 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_del() local
352 struct dpll_pin_ref *ref; in dpll_xa_ref_dpll_first() local
992 struct dpll_pin_ref *ref; in dpll_pin_on_pin_register() local
1048 struct dpll_pin_ref *ref; in dpll_pin_on_pin_unregister() local
1119 dpll_pin_registration_first(struct dpll_pin_ref *ref) in dpll_pin_registration_first()
1133 struct dpll_pin_ref *ref; in dpll_pin_on_dpll_priv() local
[all …]
/linux/drivers/misc/lkdtm/
H A 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/net/mac80211/
H A Drate.c35 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local
91 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local
120 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
246 struct rate_control_ref *ref = file->private_data; in rcname_read() local
262 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/lib/
H A Drcuref.c192 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/drivers/accel/habanalabs/common/
H A 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/arch/powerpc/perf/
H A Dimc-pmu.c361 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local
461 struct imc_pmu_ref *ref; in nest_imc_counters_release() local
516 struct imc_pmu_ref *ref; nest_imc_event_init() local
675 struct imc_pmu_ref *ref; ppc_core_imc_cpu_offline() local
762 struct imc_pmu_ref *ref; core_imc_counters_release() local
818 struct imc_pmu_ref *ref; core_imc_event_init() local
1121 struct imc_pmu_ref *ref; thread_imc_event_add() local
1163 struct imc_pmu_ref *ref; thread_imc_event_del() local
1356 struct imc_pmu_ref *ref = NULL; trace_imc_event_add() local
1406 struct imc_pmu_ref *ref = NULL; trace_imc_event_del() local
[all...]
/linux/sound/core/
H A Dmisc.c182 void snd_refcount_init(struct snd_refcount *ref) in snd_refcount_init()
189 void snd_refcount_put(struct snd_refcount *ref) in snd_refcount_put()
196 void snd_refcount_sync(struct snd_refcount *ref) in snd_refcount_sync()
/linux/tools/bpf/bpftool/
H A Dpids.c35 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/btrfs/
H A Dref-verify.c54 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/perf/util/
H A Dthread-stack.c56 u64 ref; member
300 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() argument
783 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument
815 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
862 thread_stack__bottom(struct thread_stack * ts,struct perf_sample * sample,struct addr_location * from_al,struct addr_location * to_al,u64 ref) thread_stack__bottom() argument
887 thread_stack__pop_ks(struct thread * thread,struct thread_stack * ts,struct perf_sample * sample,u64 ref) thread_stack__pop_ks() argument
907 thread_stack__no_call_return(struct thread * thread,struct thread_stack * ts,struct perf_sample * sample,struct addr_location * from_al,struct addr_location * to_al,u64 ref) thread_stack__no_call_return() argument
999 thread_stack__trace_begin(struct thread * thread,struct thread_stack * ts,u64 timestamp,u64 ref) thread_stack__trace_begin() argument
1020 thread_stack__trace_end(struct thread_stack * ts,struct perf_sample * sample,u64 ref) thread_stack__trace_end() argument
1104 thread_stack__process(struct thread * thread,struct comm * comm,struct perf_sample * sample,struct addr_location * from_al,struct addr_location * to_al,u64 ref,struct call_return_processor * crp) thread_stack__process() argument
[all...]
/linux/net/batman-adv/
H A Doriginator.c204 void batadv_orig_node_vlan_release(struct kref *ref) in batadv_orig_node_vlan_release()
248 void batadv_neigh_ifinfo_release(struct kref *ref) in batadv_neigh_ifinfo_release()
265 void batadv_hardif_neigh_release(struct kref *ref) in batadv_hardif_neigh_release()
285 void batadv_neigh_node_release(struct kref *ref) in batadv_neigh_node_release()
819 void batadv_orig_ifinfo_release(struct kref *ref) in batadv_orig_ifinfo_release()
857 void batadv_orig_node_release(struct kref *ref) in batadv_orig_node_release()

12345678910>>...20