Home
last modified time | relevance | path

Searched refs:buf_lock (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.3-rc2/drivers/char/tpm/
A Dtpm_vtpm_proxy.c85 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()
88 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()
95 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()
108 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()
132 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()
156 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()
180 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_poll()
215 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_undo_open()
273 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_tpm_op_recv()
345 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_tpm_op_send()
[all …]
/linux-6.3-rc2/net/core/
A Dhwbm.c50 mutex_lock(&bm_pool->buf_lock); in hwbm_pool_add()
53 mutex_unlock(&bm_pool->buf_lock); in hwbm_pool_add()
60 mutex_unlock(&bm_pool->buf_lock); in hwbm_pool_add()
67 mutex_unlock(&bm_pool->buf_lock); in hwbm_pool_add()
81 mutex_unlock(&bm_pool->buf_lock); in hwbm_pool_add()
/linux-6.3-rc2/drivers/iio/gyro/
A Dadxrs450.c75 struct mutex buf_lock; member
108 mutex_lock(&st->buf_lock); in adxrs450_spi_read_reg_16()
125 mutex_unlock(&st->buf_lock); in adxrs450_spi_read_reg_16()
144 mutex_lock(&st->buf_lock); in adxrs450_spi_write_reg_16()
156 mutex_unlock(&st->buf_lock); in adxrs450_spi_write_reg_16()
182 mutex_lock(&st->buf_lock); in adxrs450_spi_sensor_data()
194 mutex_unlock(&st->buf_lock); in adxrs450_spi_sensor_data()
216 mutex_lock(&st->buf_lock); in adxrs450_spi_initial()
230 mutex_unlock(&st->buf_lock); in adxrs450_spi_initial()
423 mutex_init(&st->buf_lock); in adxrs450_probe()
A Dadis16130.c43 struct mutex buf_lock; member
57 mutex_lock(&st->buf_lock); in adis16130_spi_read()
65 mutex_unlock(&st->buf_lock); in adis16130_spi_read()
154 mutex_init(&st->buf_lock); in adis16130_probe()
/linux-6.3-rc2/drivers/input/serio/
A Duserio.c44 spinlock_t buf_lock; member
60 spin_lock_irqsave(&userio->buf_lock, flags); in userio_device_write()
69 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_device_write()
85 spin_lock_init(&userio->buf_lock); in userio_char_open()
138 spin_lock_irqsave(&userio->buf_lock, flags); in userio_char_read()
150 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_char_read()
/linux-6.3-rc2/drivers/staging/iio/meter/
A Dade7854-i2c.c27 mutex_lock(&st->buf_lock); in ade7854_i2c_write_reg()
62 mutex_unlock(&st->buf_lock); in ade7854_i2c_write_reg()
79 mutex_lock(&st->buf_lock); in ade7854_i2c_read_reg()
111 mutex_unlock(&st->buf_lock); in ade7854_i2c_read_reg()
A Dade7854-spi.c31 mutex_lock(&st->buf_lock); in ade7854_spi_write_reg()
64 mutex_unlock(&st->buf_lock); in ade7854_spi_write_reg()
89 mutex_lock(&st->buf_lock); in ade7854_spi_read_reg()
118 mutex_unlock(&st->buf_lock); in ade7854_spi_read_reg()
A Dade7854.h164 struct mutex buf_lock; member
/linux-6.3-rc2/drivers/media/cec/usb/rainshadow/
A Drainshadow-cec.c52 spinlock_t buf_lock; member
116 spin_lock_irqsave(&rain->buf_lock, flags); in rain_irq_work_handler()
118 spin_unlock_irqrestore(&rain->buf_lock, flags); in rain_irq_work_handler()
126 spin_unlock_irqrestore(&rain->buf_lock, flags); in rain_irq_work_handler()
178 spin_lock(&rain->buf_lock); in rain_interrupt()
182 spin_unlock(&rain->buf_lock); in rain_interrupt()
330 spin_lock_init(&rain->buf_lock); in rain_connect()
/linux-6.3-rc2/drivers/tty/hvc/
A Dhvc_vio.c60 spinlock_t buf_lock; member
79 spin_lock_irqsave(&pv->buf_lock, flags); in hvterm_raw_get_chars()
105 spin_unlock_irqrestore(&pv->buf_lock, flags); in hvterm_raw_get_chars()
344 spin_lock_init(&pv->buf_lock); in hvc_vio_probe()
398 spin_lock_init(&hvterm_priv0.buf_lock); in hvc_vio_init_early()
448 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar()
465 spin_lock_init(&hvterm_priv0.buf_lock); in udbg_init_debug_lpar_hvsi()
/linux-6.3-rc2/drivers/spi/
A Dspidev.c76 struct mutex buf_lock; member
167 mutex_lock(&spidev->buf_lock); in spidev_read()
178 mutex_unlock(&spidev->buf_lock); in spidev_read()
198 mutex_lock(&spidev->buf_lock); in spidev_write()
204 mutex_unlock(&spidev->buf_lock); in spidev_write()
384 mutex_lock(&spidev->buf_lock); in spidev_ioctl()
518 mutex_unlock(&spidev->buf_lock); in spidev_ioctl()
550 mutex_lock(&spidev->buf_lock); in spidev_compat_ioc_message()
572 mutex_unlock(&spidev->buf_lock); in spidev_compat_ioc_message()
793 mutex_init(&spidev->buf_lock); in spidev_probe()
A Dspi-sunplus-sp7021.c89 struct mutex buf_lock; member
311 mutex_lock(&pspim->buf_lock); in sp7021_spi_master_transfer_one()
343 mutex_unlock(&pspim->buf_lock); in sp7021_spi_master_transfer_one()
357 mutex_unlock(&pspim->buf_lock); in sp7021_spi_master_transfer_one()
444 mutex_init(&pspim->buf_lock); in sp7021_spi_controller_probe()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_bufs.c772 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_agp()
774 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_agp()
778 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_agp()
922 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_pci()
928 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_pci()
1150 spin_lock(&dev->buf_lock); in drm_legacy_addbufs_sg()
1156 spin_unlock(&dev->buf_lock); in drm_legacy_addbufs_sg()
1330 spin_lock(&dev->buf_lock); in __drm_legacy_infobufs()
1336 spin_unlock(&dev->buf_lock); in __drm_legacy_infobufs()
1524 spin_lock(&dev->buf_lock); in __drm_legacy_mapbufs()
[all …]
A Ddrm_legacy_misc.c48 spin_lock_init(&dev->buf_lock); in drm_legacy_init_members()
/linux-6.3-rc2/include/net/
A Dhwbm.h17 struct mutex buf_lock; member
/linux-6.3-rc2/fs/pstore/
A Dplatform.c402 if (!spin_trylock_irqsave(&psinfo->buf_lock, flags)) { in pstore_dump()
408 spin_lock_irqsave(&psinfo->buf_lock, flags); in pstore_dump()
476 spin_unlock_irqrestore(&psinfo->buf_lock, flags); in pstore_dump()
608 spin_lock_init(&psinfo->buf_lock); in pstore_register()
/linux-6.3-rc2/drivers/media/usb/stk1160/
A Dstk1160-v4l.c692 spin_lock_irqsave(&dev->buf_lock, flags); in buffer_queue()
716 spin_unlock_irqrestore(&dev->buf_lock, flags); in buffer_queue()
758 spin_lock_irqsave(&dev->buf_lock, flags); in stk1160_clear_queue()
777 spin_unlock_irqrestore(&dev->buf_lock, flags); in stk1160_clear_queue()
A Dstk1160.h158 spinlock_t buf_lock; member
A Dstk1160-video.c73 spin_lock_irqsave(&dev->buf_lock, flags); in stk1160_next_buffer()
79 spin_unlock_irqrestore(&dev->buf_lock, flags); in stk1160_next_buffer()
/linux-6.3-rc2/include/drm/
A Ddrm_device.h371 spinlock_t buf_lock; member
/linux-6.3-rc2/include/linux/
A Dpstore.h185 spinlock_t buf_lock; member
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_nvme.c962 spin_lock(&lpfc_ncmd->buf_lock); in lpfc_nvme_io_cmd_cmpl()
965 spin_unlock(&lpfc_ncmd->buf_lock); in lpfc_nvme_io_cmd_cmpl()
1168 spin_unlock(&lpfc_ncmd->buf_lock); in lpfc_nvme_io_cmd_cmpl()
1927 spin_lock(&lpfc_nbuf->buf_lock); in lpfc_nvme_fcp_abort()
1974 spin_unlock(&lpfc_nbuf->buf_lock); in lpfc_nvme_fcp_abort()
2001 spin_unlock(&lpfc_nbuf->buf_lock); in lpfc_nvme_fcp_abort()
2811 spin_lock(&lpfc_ncmd->buf_lock); in lpfc_nvme_cancel_iocb()
2814 spin_unlock(&lpfc_ncmd->buf_lock); in lpfc_nvme_cancel_iocb()
2818 spin_unlock(&lpfc_ncmd->buf_lock); in lpfc_nvme_cancel_iocb()
A Dlpfc_scsi.c373 spin_lock_init(&psb->buf_lock); in lpfc_new_scsi_buf_s3()
4053 spin_lock(&lpfc_cmd->buf_lock); in lpfc_fcp_io_cmd_wqe_cmpl()
4310 spin_unlock(&lpfc_cmd->buf_lock); in lpfc_fcp_io_cmd_wqe_cmpl()
4331 spin_lock(&lpfc_cmd->buf_lock); in lpfc_fcp_io_cmd_wqe_cmpl()
4335 spin_unlock(&lpfc_cmd->buf_lock); in lpfc_fcp_io_cmd_wqe_cmpl()
4367 spin_lock(&lpfc_cmd->buf_lock); in lpfc_scsi_cmd_iocb_cmpl()
4581 spin_unlock(&lpfc_cmd->buf_lock); in lpfc_scsi_cmd_iocb_cmpl()
4599 spin_lock(&lpfc_cmd->buf_lock); in lpfc_scsi_cmd_iocb_cmpl()
4603 spin_unlock(&lpfc_cmd->buf_lock); in lpfc_scsi_cmd_iocb_cmpl()
5653 spin_lock(&lpfc_cmd->buf_lock); in lpfc_abort_handler()
[all …]
/linux-6.3-rc2/drivers/net/arcnet/
A Darcnet.c313 if (!atomic_dec_and_test(&lp->buf_lock)) { in get_arcbuf()
316 lp->buf_lock.counter); in get_arcbuf()
337 atomic_inc(&lp->buf_lock); in get_arcbuf()
562 atomic_set(&lp->buf_lock, 1); in arcnet_open()
A Darcdevice.h289 atomic_t buf_lock; member

Completed in 48 milliseconds

12