Home
last modified time | relevance | path

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

12345678

/drivers/staging/lustre/lustre/include/
Dlu_ref.h113 static inline void lu_ref_init(struct lu_ref *ref) in lu_ref_init()
117 static inline void lu_ref_fini(struct lu_ref *ref) in lu_ref_fini()
121 static inline struct lu_ref_link *lu_ref_add(struct lu_ref *ref, in lu_ref_add()
128 static inline struct lu_ref_link *lu_ref_add_atomic(struct lu_ref *ref, in lu_ref_add_atomic()
135 static inline void lu_ref_add_at(struct lu_ref *ref, in lu_ref_add_at()
142 static inline void lu_ref_del(struct lu_ref *ref, const char *scope, in lu_ref_del()
147 static inline void lu_ref_set_at(struct lu_ref *ref, struct lu_ref_link *link, in lu_ref_set_at()
153 static inline void lu_ref_del_at(struct lu_ref *ref, struct lu_ref_link *link, in lu_ref_del_at()
167 static inline void lu_ref_print(const struct lu_ref *ref) in lu_ref_print()
/drivers/xen/
Dgrant-table.c152 int ref, rc = 0; in get_free_entries() local
201 static void put_free_entry(grant_ref_t ref) in put_free_entry()
223 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
235 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
246 int ref; in gnttab_grant_foreign_access() local
258 static int gnttab_query_foreign_access_v1(grant_ref_t ref) in gnttab_query_foreign_access_v1()
263 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
269 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1()
285 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in _gnttab_end_foreign_access_ref()
290 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
[all …]
/drivers/dax/
Dpmem.c23 struct percpu_ref ref; member
27 static struct dax_pmem *to_dax_pmem(struct percpu_ref *ref) in to_dax_pmem()
32 static void dax_pmem_percpu_release(struct percpu_ref *ref) in dax_pmem_percpu_release()
42 struct percpu_ref *ref = data; in dax_pmem_percpu_exit() local
52 struct percpu_ref *ref = data; in dax_pmem_percpu_kill() local
/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
/drivers/misc/
Dlkdtm_refcount.c16 static void overflow_check(refcount_t *ref) in overflow_check()
91 static void check_zero(refcount_t *ref) in check_zero()
126 static void check_negative(refcount_t *ref, int start) in check_negative()
192 static void check_from_zero(refcount_t *ref) in check_from_zero()
260 static void check_saturated(refcount_t *ref) in check_saturated()
/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
/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()
/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()
/drivers/gpu/drm/ttm/
Dttm_object.c288 struct ttm_ref_object *ref; in ttm_ref_object_exists() local
325 struct ttm_ref_object *ref; in ttm_ref_object_add() local
393 struct ttm_ref_object *ref = in ttm_ref_object_release() local
418 struct ttm_ref_object *ref; in ttm_ref_object_base_unref() local
437 struct ttm_ref_object *ref; in ttm_object_file_release() local
/drivers/nvme/target/
Dcore.c251 static void nvmet_destroy_namespace(struct percpu_ref *ref) in nvmet_destroy_namespace()
439 static void nvmet_confirm_sq(struct percpu_ref *ref) in nvmet_confirm_sq()
466 static void nvmet_sq_free(struct percpu_ref *ref) in nvmet_sq_free()
873 static void nvmet_ctrl_free(struct kref *ref) in nvmet_ctrl_free()
983 static void nvmet_subsys_free(struct kref *ref) in nvmet_subsys_free()
Dnvmet.h44 struct percpu_ref ref; member
74 struct percpu_ref ref; member
129 struct kref ref; member
143 struct kref ref; member
/drivers/staging/media/lirc/
Dlirc_zilog.c70 struct kref ref; member
86 struct kref ref; member
99 struct kref ref; member
174 static void release_ir_device(struct kref *ref) in release_ir_device()
235 static void release_ir_rx(struct kref *ref) in release_ir_rx()
286 static void release_ir_tx(struct kref *ref) in release_ir_tx()
/drivers/vfio/mdev/
Dmdev_private.h22 struct kref ref; member
33 struct kref ref; member
/drivers/media/v4l2-core/
Dv4l2-ctrls.c1772 struct v4l2_ctrl_ref *ref, *next_ref; in v4l2_ctrl_handler_free() local
1810 struct v4l2_ctrl_ref *ref; in find_private_ref() local
1831 struct v4l2_ctrl_ref *ref; in find_ref() local
1859 struct v4l2_ctrl_ref *ref = NULL; in find_ref_lock() local
1872 struct v4l2_ctrl_ref *ref = find_ref_lock(hdl, id); in v4l2_ctrl_find() local
1882 struct v4l2_ctrl_ref *ref; in handler_new_ref() local
2258 struct v4l2_ctrl_ref *ref; in v4l2_ctrl_add_handler() local
2520 struct v4l2_ctrl_ref *ref; in v4l2_query_ext_ctrl() local
2741 struct v4l2_ctrl_ref *ref; in prepare_ext_ctrls() local
/drivers/macintosh/
Dwindfarm_ad7417_sensor.c28 struct kref ref; member
153 static void wf_ad7417_release(struct kref *ref) in wf_ad7417_release()
Dwindfarm.h42 struct kref ref; member
110 struct kref ref; member
Dwindfarm_smu_sat.c29 struct kref ref; member
169 static void wf_sat_release(struct kref *ref) in wf_sat_release()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv40.c47 u32 ref = 27000, khz = 0; in read_pll_1() local
66 u32 ref = 27000, khz = 0; in read_pll_2() local
/drivers/net/
Dxen-netfront.c218 grant_ref_t ref = queue->grant_rx_ref[i]; in xennet_get_rx_ref() local
297 grant_ref_t ref; in xennet_alloc_rx_buffers() local
436 grant_ref_t ref; in xennet_tx_setup_grant() local
727 grant_ref_t ref) in xennet_move_rx_slot()
751 grant_ref_t ref; in xennet_get_extras() local
792 grant_ref_t ref = xennet_get_rx_ref(queue, cons); in xennet_get_responses() local
1155 int id, ref; in xennet_release_rx_bufs() local
1380 static void xennet_end_access(int ref, void *page) in xennet_end_access()
/drivers/gpu/drm/nouveau/include/nvif/
Dif0004.h12 __u32 ref; member
/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c40 mgag200_ttm_mem_global_init(struct drm_global_reference *ref) in mgag200_ttm_mem_global_init()
46 mgag200_ttm_mem_global_release(struct drm_global_reference *ref) in mgag200_ttm_mem_global_release()
/drivers/gpu/host1x/
Dintr.c216 struct host1x_waitlist *waiter, void **ref) in host1x_intr_add_action()
259 void host1x_intr_put_ref(struct host1x *host, unsigned int id, void *ref) in host1x_intr_put_ref()
/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c40 cirrus_ttm_mem_global_init(struct drm_global_reference *ref) in cirrus_ttm_mem_global_init()
46 cirrus_ttm_mem_global_release(struct drm_global_reference *ref) in cirrus_ttm_mem_global_release()
/drivers/gpu/drm/ast/
Dast_ttm.c40 ast_ttm_mem_global_init(struct drm_global_reference *ref) in ast_ttm_mem_global_init()
46 ast_ttm_mem_global_release(struct drm_global_reference *ref) in ast_ttm_mem_global_release()
/drivers/gpu/drm/armada/
Darmada_510.c64 uint32_t rate, ref, div; in armada510_crtc_compute_clock() local

12345678