Searched refs:buf_lock (Results 1 – 12 of 12) sorted by relevance
40 struct mutex buf_lock; /* protect buffer and flags */ member90 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()93 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()100 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()113 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()137 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()140 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()146 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()155 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()161 mutex_unlock(&proxy_dev->buf_lock); in vtpm_proxy_fops_write()[all …]
47 mutex_lock(&tb->buf_lock); in st_sensors_spi_read()58 mutex_unlock(&tb->buf_lock); in st_sensors_spi_read()62 mutex_unlock(&tb->buf_lock); in st_sensors_spi_read()90 mutex_lock(&tb->buf_lock); in st_sensors_spi_write_byte()95 mutex_unlock(&tb->buf_lock); in st_sensors_spi_write_byte()
76 struct mutex buf_lock; member109 mutex_lock(&st->buf_lock); in adxrs450_spi_read_reg_16()126 mutex_unlock(&st->buf_lock); in adxrs450_spi_read_reg_16()145 mutex_lock(&st->buf_lock); in adxrs450_spi_write_reg_16()157 mutex_unlock(&st->buf_lock); in adxrs450_spi_write_reg_16()183 mutex_lock(&st->buf_lock); in adxrs450_spi_sensor_data()195 mutex_unlock(&st->buf_lock); in adxrs450_spi_sensor_data()217 mutex_lock(&st->buf_lock); in adxrs450_spi_initial()231 mutex_unlock(&st->buf_lock); in adxrs450_spi_initial()424 mutex_init(&st->buf_lock); in adxrs450_probe()
42 struct mutex buf_lock; member56 mutex_lock(&st->buf_lock); in adis16130_spi_read()64 mutex_unlock(&st->buf_lock); in adis16130_spi_read()155 mutex_init(&st->buf_lock); in adis16130_probe()
453 mutex_init(&gdata->tb.buf_lock); in st_gyro_common_probe()
391 if (down_trylock(&psinfo->buf_lock)) { in pstore_dump()398 if (down_interruptible(&psinfo->buf_lock)) { in pstore_dump()462 up(&psinfo->buf_lock); in pstore_dump()581 sema_init(&psinfo->buf_lock, 1); in pstore_register()
69 spinlock_t buf_lock; /**< For drm_device::buf_use and a few other things. */ member
176 struct semaphore buf_lock; member
182 struct mutex buf_lock; member
477 mutex_init(&mdata->tb.buf_lock); in st_magn_common_probe()
609 mutex_init(&press_data->tb.buf_lock); in st_press_common_probe()
930 mutex_init(&adata->tb.buf_lock); in st_accel_common_probe()