Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 2064) sorted by relevance

12345678910>>...83

/drivers/acpi/acpica/
Dutlock.c28 acpi_status acpi_ut_create_rw_lock(struct acpi_rw_lock *lock) in acpi_ut_create_rw_lock()
42 void acpi_ut_delete_rw_lock(struct acpi_rw_lock *lock) in acpi_ut_delete_rw_lock()
71 acpi_status acpi_ut_acquire_read_lock(struct acpi_rw_lock *lock) in acpi_ut_acquire_read_lock()
93 acpi_status acpi_ut_release_read_lock(struct acpi_rw_lock *lock) in acpi_ut_release_read_lock()
129 acpi_status acpi_ut_acquire_write_lock(struct acpi_rw_lock *lock) in acpi_ut_acquire_write_lock()
137 void acpi_ut_release_write_lock(struct acpi_rw_lock *lock) in acpi_ut_release_write_lock()
/drivers/md/persistent-data/
Ddm-block-manager.c44 spinlock_t lock; member
60 static unsigned __find_holder(struct block_lock *lock, in __find_holder()
74 static void __add_holder(struct block_lock *lock, struct task_struct *task) in __add_holder()
91 static void __del_holder(struct block_lock *lock, struct task_struct *task) in __del_holder()
98 static int __check_holder(struct block_lock *lock) in __check_holder()
148 static void __wake_many(struct block_lock *lock) in __wake_many()
173 static void bl_init(struct block_lock *lock) in bl_init()
184 static int __available_for_read(struct block_lock *lock) in __available_for_read()
191 static int bl_down_read(struct block_lock *lock) in bl_down_read()
222 static int bl_down_read_nonblock(struct block_lock *lock) in bl_down_read_nonblock()
[all …]
/drivers/gpu/drm/
Ddrm_modeset_lock.c230 struct drm_modeset_lock *lock; in drm_modeset_drop_locks() local
240 static inline int modeset_lock(struct drm_modeset_lock *lock, in modeset_lock()
313 void drm_modeset_lock_init(struct drm_modeset_lock *lock) in drm_modeset_lock_init()
338 int drm_modeset_lock(struct drm_modeset_lock *lock, in drm_modeset_lock()
358 int drm_modeset_lock_single_interruptible(struct drm_modeset_lock *lock) in drm_modeset_lock_single_interruptible()
368 void drm_modeset_unlock(struct drm_modeset_lock *lock) in drm_modeset_unlock()
Ddrm_lock.c63 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() local
112 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() local
127 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_lock_free() local
168 struct drm_lock *lock = data; in drm_legacy_lock() local
259 struct drm_lock *lock = data; in drm_legacy_unlock() local
312 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_idlelock_release() local
/drivers/hwspinlock/
Dsprd_hwspinlock.c40 static int sprd_hwspinlock_trylock(struct hwspinlock *lock) in sprd_hwspinlock_trylock()
60 static void sprd_hwspinlock_unlock(struct hwspinlock *lock) in sprd_hwspinlock_unlock()
68 static void sprd_hwspinlock_relax(struct hwspinlock *lock) in sprd_hwspinlock_relax()
89 struct hwspinlock *lock; in sprd_hwspinlock_probe() local
Du8500_hsem.c50 static int u8500_hsem_trylock(struct hwspinlock *lock) in u8500_hsem_trylock()
63 static void u8500_hsem_unlock(struct hwspinlock *lock) in u8500_hsem_unlock()
74 static void u8500_hsem_relax(struct hwspinlock *lock) in u8500_hsem_relax()
Domap_hwspinlock.c38 static int omap_hwspinlock_trylock(struct hwspinlock *lock) in omap_hwspinlock_trylock()
46 static void omap_hwspinlock_unlock(struct hwspinlock *lock) in omap_hwspinlock_unlock()
64 static void omap_hwspinlock_relax(struct hwspinlock *lock) in omap_hwspinlock_relax()
Dstm32_hwspinlock.c28 static int stm32_hwspinlock_trylock(struct hwspinlock *lock) in stm32_hwspinlock_trylock()
39 static void stm32_hwspinlock_unlock(struct hwspinlock *lock) in stm32_hwspinlock_unlock()
46 static void stm32_hwspinlock_relax(struct hwspinlock *lock) in stm32_hwspinlock_relax()
Dhwspinlock_internal.h42 spinlock_t lock; member
59 struct hwspinlock lock[]; member
/drivers/net/wireguard/
Dallowedips.c151 struct mutex *lock) in node_placement()
182 u8 cidr, struct wg_peer *peer, struct mutex *lock) in add()
258 void wg_allowedips_free(struct allowedips *table, struct mutex *lock) in wg_allowedips_free()
282 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v4()
293 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v6()
304 struct wg_peer *peer, struct mutex *lock) in wg_allowedips_remove_by_peer()
Dpeerlookup.h21 struct mutex lock; member
36 spinlock_t lock; member
/drivers/clk/spear/
Dclk.h55 spinlock_t *lock; member
68 spinlock_t *lock; member
82 spinlock_t *lock; member
99 spinlock_t *lock; member
106 spinlock_t *lock; member
/drivers/leds/
Dleds-bcm6358.c41 spinlock_t *lock; member
95 void __iomem *mem, spinlock_t *lock) in bcm6358_led()
152 spinlock_t *lock; /* memory lock */ in bcm6358_leds_probe() local
Dleds-bcm6328.c71 spinlock_t *lock; member
256 void __iomem *mem, spinlock_t *lock) in bcm6328_hwled()
328 void __iomem *mem, spinlock_t *lock, in bcm6328_led()
398 spinlock_t *lock; /* memory lock */ in bcm6328_leds_probe() local
/drivers/base/
Dmap.c26 int (*lock)(dev_t, void *); member
29 struct mutex *lock; member
135 struct kobj_map *kobj_map_init(kobj_probe_t *base_probe, struct mutex *lock) in kobj_map_init()
/drivers/gpu/drm/via/
Dvia_video.c52 volatile int *lock; in via_release_futex() local
72 volatile int *lock; in via_decoder_futex() local
/drivers/clk/mmp/
Dclk.h34 spinlock_t *lock; member
96 spinlock_t *lock; member
119 spinlock_t *lock; member
173 spinlock_t *lock; member
189 spinlock_t *lock; member
205 spinlock_t *lock; member
220 spinlock_t *lock; member
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h16 spinlock_t lock; /* lock completion tasklet list */ member
20 spinlock_t lock; /* protect radix tree */ member
41 spinlock_t lock; /* To avoid irq EQ handle races with resiliency flows */ member
/drivers/clk/mediatek/
Dclk-mtk.c156 void __iomem *base, spinlock_t *lock) in mtk_clk_register_composite()
243 int num, void __iomem *base, spinlock_t *lock, in mtk_clk_register_composites()
270 int num, void __iomem *base, spinlock_t *lock, in mtk_clk_register_dividers()
/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h24 struct mutex lock; member
48 struct mutex lock; member
/drivers/clk/
Dclk-xgene.c50 spinlock_t *lock; member
126 u32 type, spinlock_t *lock, int version) in xgene_register_clk_pll()
227 spinlock_t *lock; member
343 u8 width, u64 denom, u32 clk_flags, spinlock_t *lock) in xgene_register_clk_pmd()
437 spinlock_t *lock; member
626 struct xgene_dev_parameters *parameters, spinlock_t *lock) in xgene_register_clk()
/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.h63 spinlock_t lock; /* protect smt entry add,removal */ member
68 rwlock_t lock; member
Dclip_tbl.h16 spinlock_t lock; /* Hold while modifying clip reference */ member
28 rwlock_t lock; member
/drivers/platform/surface/aggregator/
Dssh_request_layer.h70 spinlock_t lock; member
75 spinlock_t lock; member
85 spinlock_t lock; member
/drivers/clk/tegra/
Dclk-pll.c1871 spinlock_t *lock) in _tegra_init_pll()
1923 spinlock_t *lock) in tegra_clk_register_pll()
1954 spinlock_t *lock) in tegra_clk_register_plle()
1978 struct tegra_clk_pll_params *pll_params, spinlock_t *lock) in tegra_clk_register_pllu()
2046 spinlock_t *lock) in tegra_clk_register_pllxc()
2110 spinlock_t *lock, unsigned long parent_rate) in tegra_clk_register_pllre()
2159 spinlock_t *lock) in tegra_clk_register_pllm()
2201 spinlock_t *lock) in tegra_clk_register_pllc()
2275 spinlock_t *lock) in tegra_clk_register_plle_tegra114()
2298 spinlock_t *lock) in tegra_clk_register_pllu_tegra114()
[all …]

12345678910>>...83