Home
last modified time | relevance | path

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

12345678910>>...25

/openbmc/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
126 __active_retire(struct i915_active *ref) in __active_retire()
189 active_retire(struct i915_active *ref) in active_retire()
339 int (*active)(struct i915_active *ref), in __i915_active_init()
340 void (*retire)(struct i915_active *ref), in __i915_active_init()
651 struct i915_active *ref; member
739 struct i915_active *ref, in i915_request_await_active()
752 struct i915_active *ref, in i915_sw_fence_await_active()
1141 struct kref ref; member
[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()
194 static inline void __i915_active_acquire(struct i915_active *ref) in __i915_active_acquire()
201 i915_active_is_idle(const struct i915_active *ref) in i915_active_is_idle()
/openbmc/linux/lib/
H A Dpercpu-refcount.c108 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
265 static void __percpu_ref_switch_mode(struct percpu_ref *ref, in __percpu_ref_switch_mode()
306 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, in percpu_ref_switch_to_atomic()
353 void percpu_ref_switch_to_percpu(struct percpu_ref *ref) in percpu_ref_switch_to_percpu()
383 void percpu_ref_kill_and_confirm(struct percpu_ref *ref, in percpu_ref_kill_and_confirm()
410 bool percpu_ref_is_zero(struct percpu_ref *ref) in percpu_ref_is_zero()
441 void percpu_ref_reinit(struct percpu_ref *ref) in percpu_ref_reinit()
[all …]
H A Drcuref.c192 bool rcuref_get_slowpath(rcuref_t *ref) in rcuref_get_slowpath()
236 bool rcuref_put_slowpath(rcuref_t *ref) in rcuref_put_slowpath()
/openbmc/linux/include/linux/
H A Dpercpu-refcount.h102 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()
349 static inline void percpu_ref_put(struct percpu_ref *ref) in percpu_ref_put()
[all …]
H A Drcuref.h24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) in rcuref_init()
35 static inline unsigned int rcuref_read(rcuref_t *ref) in rcuref_read()
61 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get()
79 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put()
119 static inline __must_check bool rcuref_put_rcusafe(rcuref_t *ref) in rcuref_put_rcusafe()
145 static inline __must_check bool rcuref_put(rcuref_t *ref) in rcuref_put()
/openbmc/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
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
/openbmc/linux/fs/smb/client/
H A Ddfs.h27 struct dfs_ref *ref; member
58 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free()
68 struct dfs_ref *ref = ref_walk_start(rw); in ref_walk_free() local
77 struct dfs_ref *ref = ref_walk_cur(rw) + 1; in ref_walk_advance() local
90 struct dfs_ref *ref = ref_walk_cur(rw); in ref_walk_next_tgt() local
129 struct dfs_info3_param *ref, struct dfs_cache_tgt_list *tl) in dfs_get_referral()
/openbmc/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
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
1042 struct jffs2_xattr_ref *ref, **pref; in do_jffs2_getxattr() 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
/openbmc/linux/drivers/xen/
H A Dgrant-table.c182 int ref, rc = 0; in get_free_entries() local
331 static void put_free_entry_locked(grant_ref_t ref) in put_free_entry_locked()
346 static void put_free_entry(grant_ref_t ref) in put_free_entry()
416 int ref; in gnttab_grant_foreign_access() local
472 int gnttab_end_foreign_access_ref(grant_ref_t ref) in gnttab_end_foreign_access_ref()
481 static unsigned long gnttab_read_frame_v1(grant_ref_t ref) in gnttab_read_frame_v1()
486 static unsigned long gnttab_read_frame_v2(grant_ref_t ref) in gnttab_read_frame_v2()
493 grant_ref_t ref; member
594 int gnttab_try_end_foreign_access(grant_ref_t ref) in gnttab_try_end_foreign_access()
615 void gnttab_free_grant_reference(grant_ref_t ref) in gnttab_free_grant_reference()
[all …]
/openbmc/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()
185 static void check_from_zero(refcount_t *ref) in check_from_zero()
252 static void check_saturated(refcount_t *ref) in check_saturated()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_active.c20 struct kref ref; member
35 static void __live_release(struct kref *ref) in __live_release()
279 void i915_active_print(struct i915_active *ref, struct drm_printer *m) in i915_active_print()
315 static void active_flush(struct i915_active *ref, in active_flush()
332 void i915_active_unlock_wait(struct i915_active *ref) in i915_active_unlock_wait()
/openbmc/linux/net/mac80211/
H A Drate.h39 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta()
48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local
58 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local
H A Drate.c34 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local
73 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local
99 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local
225 struct rate_control_ref *ref = file->private_data; in rcname_read() local
242 struct rate_control_ref *ref; in rate_control_alloc() local
909 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate() local
983 struct rate_control_ref *ref; in ieee80211_init_rate_ctrl_alg() local
1014 struct rate_control_ref *ref; in rate_control_deinitialize() local
/openbmc/linux/arch/powerpc/kvm/
H A 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
/openbmc/linux/kernel/dma/
H A Ddebug.c344 struct dma_debug_entry *ref) in bucket_find_exact()
1246 struct dma_debug_entry ref; in debug_dma_mapping_error() local
1285 struct dma_debug_entry ref = { in debug_dma_unmap_page() local
1337 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1366 struct dma_debug_entry ref = { in debug_dma_unmap_sg() local
1425 struct dma_debug_entry ref = { in debug_dma_free_coherent() local
1477 struct dma_debug_entry ref = { in debug_dma_unmap_resource() local
1494 struct dma_debug_entry ref; in debug_dma_sync_single_for_cpu() local
1513 struct dma_debug_entry ref; in debug_dma_sync_single_for_device() local
1539 struct dma_debug_entry ref = { in debug_dma_sync_sg_for_cpu() local
[all …]
/openbmc/qemu/include/hw/xen/
H A Dxen-legacy-backend.h58 uint32_t ref, int prot) in xen_be_map_grant_ref()
64 void *ptr, uint32_t ref) in xen_be_unmap_grant_ref()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_frontbuffer.c205 static int frontbuffer_active(struct i915_active *ref) in frontbuffer_active()
214 static void frontbuffer_retire(struct i915_active *ref) in frontbuffer_retire()
223 static void frontbuffer_release(struct kref *ref) in frontbuffer_release()
/openbmc/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()
130 void hl_ctx_do_release(struct kref *ref) in hl_ctx_do_release()
/openbmc/linux/arch/powerpc/perf/
H A Dimc-pmu.c361 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
1125 struct imc_pmu_ref *ref; in thread_imc_event_add() local
1167 struct imc_pmu_ref *ref; in thread_imc_event_del() local
1360 struct imc_pmu_ref *ref = NULL; in trace_imc_event_add() local
1410 struct imc_pmu_ref *ref = NULL; in trace_imc_event_del() local
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-request.c56 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
/openbmc/linux/tools/bpf/bpftool/
H A Dpids.c35 struct obj_ref *ref; in add_ref() local
216 struct obj_ref *ref = &refs->refs[i]; in emit_obj_refs_json() local
247 struct obj_ref *ref = &refs->refs[i]; in emit_obj_refs_plain() local
/openbmc/linux/fs/btrfs/
H A Dref-verify.c54 struct ref_entry ref; member
165 struct ref_entry *ref) in insert_ref_entry()
238 struct ref_entry *ref; in free_block_entry() local
317 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
362 struct ref_entry *ref; in add_shared_data_ref() local
392 struct ref_entry *ref; in add_extent_data_ref() local
626 struct ref_entry *ref; in dump_block_entry() local
665 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
H A Ddelayed-ref.c427 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref()
440 struct btrfs_delayed_ref_node *ref, in merge_ref()
488 struct btrfs_delayed_ref_node *ref; in btrfs_merge_delayed_refs() local
589 struct btrfs_delayed_ref_node *ref) in insert_delayed_ref()
865 struct btrfs_delayed_ref_node *ref, in init_delayed_ref_common()
898 struct btrfs_delayed_tree_ref *ref; in btrfs_add_delayed_tree_ref() local
991 struct btrfs_delayed_data_ref *ref; in btrfs_add_delayed_data_ref() local

12345678910>>...25