Home
last modified time | relevance | path

Searched refs:stat_lock (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.4/drivers/media/platform/omap3isp/
Dispstat.c271 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
273 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
284 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
289 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
308 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
410 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
416 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
424 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
428 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
600 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in omap3isp_stat_config()
[all …]
Disp.h191 spinlock_t stat_lock; /* common lock for statistic drivers */ member
Disp.c2297 spin_lock_init(&isp->stat_lock); in isp_probe()
/Linux-v5.4/fs/btrfs/
Dscrub.c181 spinlock_t stat_lock; member
616 spin_lock_init(&sctx->stat_lock); in scrub_setup_ctx()
850 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
852 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
883 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
888 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
924 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
928 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
936 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
939 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
[all …]
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_qdio.c76 spin_lock_irq(&qdio->stat_lock); in zfcp_qdio_int_req()
78 spin_unlock_irq(&qdio->stat_lock); in zfcp_qdio_int_req()
259 spin_lock(&qdio->stat_lock); in zfcp_qdio_send()
261 spin_unlock(&qdio->stat_lock); in zfcp_qdio_send()
476 spin_lock_init(&qdio->stat_lock); in zfcp_qdio_setup()
Dzfcp_qdio.h41 spinlock_t stat_lock; member
Dzfcp_sysfs.c650 spin_lock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show()
652 spin_unlock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show()
/Linux-v5.4/drivers/scsi/bnx2i/
Dbnx2i.h136 spin_lock_bh(&__hba->stat_lock); \
139 spin_unlock_bh(&__hba->stat_lock); \
144 if (spin_trylock(&__hba->stat_lock)) { \
149 spin_unlock(&__hba->stat_lock); \
484 spinlock_t stat_lock; member
Dbnx2i_iscsi.c881 spin_lock_init(&hba->stat_lock); in bnx2i_alloc_hba()
/Linux-v5.4/drivers/staging/android/ion/
Dion.c68 spin_lock(&heap->stat_lock); in ion_buffer_create()
73 spin_unlock(&heap->stat_lock); in ion_buffer_create()
94 spin_lock(&buffer->heap->stat_lock); in ion_buffer_destroy()
97 spin_unlock(&buffer->heap->stat_lock); in ion_buffer_destroy()
588 spin_lock_init(&heap->stat_lock); in ion_device_add_heap()
Dion.h162 spinlock_t stat_lock; member
/Linux-v5.4/drivers/net/ethernet/sun/
Dcassini.c1124 spin_lock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1150 spin_unlock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1517 spin_lock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1535 spin_unlock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1765 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1767 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1775 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1777 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1897 spin_lock(&cp->stat_lock[ring]); in cas_tx_ringN()
1900 spin_unlock(&cp->stat_lock[ring]); in cas_tx_ringN()
[all …]
Dcassini.h2742 spinlock_t stat_lock[N_TX_RINGS + 1]; /* for stat gathering */ member
/Linux-v5.4/fs/hugetlbfs/
Dinode.c969 spin_lock(&sbinfo->stat_lock); in hugetlbfs_statfs()
984 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1007 spin_lock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1009 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1013 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1022 spin_lock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1024 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1260 spin_lock_init(&sbinfo->stat_lock); in hugetlbfs_fill_super()
/Linux-v5.4/include/linux/
Dshmem_fs.h33 spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ member
Dhugetlb.h263 spinlock_t stat_lock; member
/Linux-v5.4/fs/cifs/
Dcifsglob.h1076 spinlock_t stat_lock; /* protects the two fields above */ member
1473 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_written()
1475 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_written()
1482 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_read()
1484 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_read()
Dcifs_debug.c473 spin_lock(&tcon->stat_lock); in cifs_stats_proc_write()
476 spin_unlock(&tcon->stat_lock); in cifs_stats_proc_write()
Dmisc.c131 spin_lock_init(&ret_buf->stat_lock); in tconInfoAlloc()
/Linux-v5.4/fs/f2fs/
Df2fs.h1329 spinlock_t stat_lock; /* lock for stat operations */ member
1786 spin_lock(&sbi->stat_lock); in inc_valid_block_count()
1807 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
1811 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
1847 spin_lock(&sbi->stat_lock); in dec_valid_block_count()
1854 spin_unlock(&sbi->stat_lock); in dec_valid_block_count()
2031 spin_lock(&sbi->stat_lock); in inc_valid_node_count()
2043 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
2049 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
2055 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
[all …]
Dsysfs.c263 spin_lock(&sbi->stat_lock); in __sbi_store()
266 spin_unlock(&sbi->stat_lock); in __sbi_store()
272 spin_unlock(&sbi->stat_lock); in __sbi_store()
Dgc.c1490 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
1497 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
1549 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
1551 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
Dsuper.c1261 spin_lock(&sbi->stat_lock); in f2fs_statfs()
1266 spin_unlock(&sbi->stat_lock); in f2fs_statfs()
1548 spin_lock(&sbi->stat_lock); in f2fs_disable_checkpoint()
1550 spin_unlock(&sbi->stat_lock); in f2fs_disable_checkpoint()
3306 spin_lock_init(&sbi->stat_lock); in f2fs_fill_super()
Dcheckpoint.c1527 spin_lock(&sbi->stat_lock); in do_checkpoint()
1529 spin_unlock(&sbi->stat_lock); in do_checkpoint()
/Linux-v5.4/mm/
Dshmem.c268 spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
270 spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
274 spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
283 spin_lock(&sbinfo->stat_lock); in shmem_free_inode()
285 spin_unlock(&sbinfo->stat_lock); in shmem_free_inode()
1414 spin_lock(&sbinfo->stat_lock); /* prevent replace/use races */ in shmem_get_sbmpol()
1417 spin_unlock(&sbinfo->stat_lock); in shmem_get_sbmpol()
3539 spin_lock(&sbinfo->stat_lock); in shmem_reconfigure()
3580 spin_unlock(&sbinfo->stat_lock); in shmem_reconfigure()
3583 spin_unlock(&sbinfo->stat_lock); in shmem_reconfigure()
[all …]

12