Home
last modified time | relevance | path

Searched refs:stat_lock (Results 1 - 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A 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, irqflag in omap3isp_stat_config()
[all...]
H A Disp.h149 * @stat_lock: Spinlock for handling statistics
191 spinlock_t stat_lock; /* common lock for statistic drivers */ member
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A 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()
601 spin_lock_irqsave(&stat->isp->stat_lock, irqflag in omap3isp_stat_config()
[all...]
H A Disp.h149 * @stat_lock: Spinlock for handling statistics
191 spinlock_t stat_lock; /* common lock for statistic drivers */ member
/kernel/linux/linux-5.10/fs/btrfs/
H A Dscrub.c182 spinlock_t stat_lock; member
616 spin_lock_init(&sctx->stat_lock); in scrub_setup_ctx()
849 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
851 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
882 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
887 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
923 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
927 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
935 spin_lock(&sctx->stat_lock); in scrub_handle_errored_block()
938 spin_unlock(&sctx->stat_lock); in scrub_handle_errored_block()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
H A 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); \
394 * @stat_lock: spin lock used by the statistic collector (32 bit)
484 spinlock_t stat_lock; member
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A 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()
477 spin_lock_init(&qdio->stat_lock); in zfcp_qdio_setup()
H A Dzfcp_qdio.h26 * @stat_lock: lock to protect req_q_util and req_q_time
41 spinlock_t stat_lock; member
/kernel/linux/linux-6.6/drivers/scsi/bnx2i/
H A 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); \
394 * @stat_lock: spin lock used by the statistic collector (32 bit)
484 spinlock_t stat_lock; member
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A Dzfcp_qdio.c90 spin_lock_irq(&qdio->stat_lock); in zfcp_qdio_request_tasklet()
92 spin_unlock_irq(&qdio->stat_lock); in zfcp_qdio_request_tasklet()
317 * This should actually be a spin_lock_bh(stat_lock), to protect against in zfcp_qdio_send()
323 spin_lock(&qdio->stat_lock); in zfcp_qdio_send()
325 spin_unlock(&qdio->stat_lock); in zfcp_qdio_send()
564 spin_lock_init(&qdio->stat_lock); in zfcp_qdio_setup()
H A Dzfcp_qdio.h27 * @stat_lock: lock to protect req_q_util and req_q_time
45 spinlock_t stat_lock; member
/kernel/linux/linux-5.10/drivers/staging/android/ion/
H A 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()
572 spin_lock_init(&heap->stat_lock); in ion_device_add_heap()
H A Dion.h162 spinlock_t stat_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dcassini.c1112 spin_lock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1138 spin_unlock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1505 spin_lock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1523 spin_unlock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1745 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1747 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1755 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1757 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1877 spin_lock(&cp->stat_lock[ring]); in cas_tx_ringN()
1880 spin_unlock(&cp->stat_lock[rin in cas_tx_ringN()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dcassini.c1111 spin_lock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1137 spin_unlock(&cp->stat_lock[0]); in cas_txmac_interrupt()
1491 spin_lock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1509 spin_unlock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1732 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1734 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1742 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1744 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1864 spin_lock(&cp->stat_lock[ring]); in cas_tx_ringN()
1867 spin_unlock(&cp->stat_lock[rin in cas_tx_ringN()
[all...]
/kernel/linux/linux-5.10/fs/hugetlbfs/
H A Dinode.c1055 spin_lock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1070 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1093 spin_lock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1095 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1099 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1108 spin_lock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1110 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1347 spin_lock_init(&sbinfo->stat_lock); in hugetlbfs_fill_super()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dscrub.c211 spinlock_t stat_lock; member
373 spin_lock_init(&sctx->stat_lock); in scrub_setup_ctx()
978 spin_lock(&sctx->stat_lock); in scrub_stripe_report_errors()
990 spin_unlock(&sctx->stat_lock); in scrub_stripe_report_errors()
2276 spin_lock(&sctx->stat_lock); in scrub_stripe()
2282 spin_unlock(&sctx->stat_lock); in scrub_stripe()
2729 spin_lock(&sctx->stat_lock); in scrub_supers()
2731 spin_unlock(&sctx->stat_lock); in scrub_supers()
2751 spin_lock(&sctx->stat_lock); in scrub_supers()
2753 spin_unlock(&sctx->stat_lock); in scrub_supers()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dshmem.c336 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
339 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
362 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
366 * doesn't hold stat_lock in shmem_reserve_inode since in shmem_reserve_inode()
369 * which doesn't require the per-sb stat_lock unless we are at in shmem_reserve_inode()
381 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
384 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
400 raw_spin_lock(&sbinfo->stat_lock); in shmem_free_inode()
402 raw_spin_unlock(&sbinfo->stat_lock); in shmem_free_inode()
1569 raw_spin_lock(&sbinfo->stat_lock); /* preven in shmem_get_sbmpol()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dshmem_fs.h34 spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ member
/kernel/linux/linux-6.6/fs/hugetlbfs/
H A Dinode.c1222 spin_lock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1237 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1260 spin_lock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1262 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1266 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1275 spin_lock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1277 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1516 spin_lock_init(&sbinfo->stat_lock); in hugetlbfs_fill_super()
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifsglob.h1136 spinlock_t stat_lock; /* protects the two fields above */ member
1543 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_written()
1545 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_written()
1552 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_read()
1554 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_read()
/kernel/linux/linux-5.10/mm/
H A Dshmem.c281 spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
284 spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
307 spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
311 * doesn't hold stat_lock in shmem_reserve_inode since in shmem_reserve_inode()
314 * which doesn't require the per-sb stat_lock unless we are at in shmem_reserve_inode()
325 spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
328 spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
344 spin_lock(&sbinfo->stat_lock); in shmem_free_inode()
346 spin_unlock(&sbinfo->stat_lock); in shmem_free_inode()
1487 spin_lock(&sbinfo->stat_lock); /* preven in shmem_get_sbmpol()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dshmem_fs.h58 raw_spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ member
/kernel/linux/linux-5.10/fs/f2fs/
H A Df2fs.h1551 spinlock_t stat_lock; /* lock for stat operations */ member
2030 spin_lock(&sbi->stat_lock); in inc_valid_block_count()
2056 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2060 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2096 spin_lock(&sbi->stat_lock); in dec_valid_block_count()
2103 spin_unlock(&sbi->stat_lock); in dec_valid_block_count()
2280 spin_lock(&sbi->stat_lock); in inc_valid_node_count()
2297 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
2303 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
2309 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
[all...]
H A Dgc.c2055 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2060 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2085 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2092 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2125 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2127 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()

Completed in 51 milliseconds

123