Home
last modified time | relevance | path

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

/linux/drivers/media/platform/ti/omap3isp/
H A Dispstat.c269 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
271 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
282 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
287 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
306 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
408 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
414 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
422 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
426 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
599 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in omap3isp_stat_config()
[all …]
H A Disp.c2256 spin_lock_init(&isp->stat_lock); in isp_probe()
/linux/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); \
484 spinlock_t stat_lock; member
H A Dbnx2i_iscsi.c879 spin_lock_init(&hba->stat_lock); in bnx2i_alloc_hba()
/linux/drivers/net/ethernet/adi/
H A Dadin1140.c110 spinlock_t stat_lock; member
358 scoped_guard(spinlock, &priv->stat_lock) in adin1140_stats_work()
503 scoped_guard(spinlock, &priv->stat_lock) in adin1140_ndo_get_stats64()
521 scoped_guard(spinlock, &priv->stat_lock) { in adin1140_get_ethtool_stats()
579 scoped_guard(spinlock, &priv->stat_lock) in adin1140_get_eth_mac_stats()
723 spin_lock_init(&priv->stat_lock); in adin1140_probe()
/linux/fs/btrfs/
H A Dscrub.c210 spinlock_t stat_lock; member
466 spin_lock_init(&sctx->stat_lock); in scrub_setup_ctx()
1110 spin_lock(&sctx->stat_lock); in scrub_stripe_report_errors()
1123 spin_unlock(&sctx->stat_lock); in scrub_stripe_report_errors()
1984 spin_lock(&sctx->stat_lock); in flush_scrub_stripes()
1986 spin_unlock(&sctx->stat_lock); in flush_scrub_stripes()
2311 spin_lock(&sctx->stat_lock); in scrub_simple_mirror()
2313 spin_unlock(&sctx->stat_lock); in scrub_simple_mirror()
2509 spin_lock(&sctx->stat_lock); in scrub_stripe()
2512 spin_unlock(&sctx->stat_lock); in scrub_stripe()
[all...]
/linux/fs/hugetlbfs/
H A Dinode.c1124 spin_lock(&sbinfo->stat_lock);
1139 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1161 spin_lock(&sbinfo->stat_lock);
1163 spin_unlock(&sbinfo->stat_lock);
1167 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_alloc_inode()
1176 spin_lock(&sbinfo->stat_lock); in hugetlbfs_alloc_inode()
1178 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_alloc_inode()
1402 spin_lock_init(&sbinfo->stat_lock); in hugetlbfs_fill_super()
/linux/mm/
H A Dshmem.c360 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
363 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
386 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
390 * doesn't hold stat_lock in shmem_reserve_inode since in shmem_reserve_inode()
393 * which doesn't require the per-sb stat_lock unless we are at in shmem_reserve_inode()
405 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
408 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
424 raw_spin_lock(&sbinfo->stat_lock);
426 raw_spin_unlock(&sbinfo->stat_lock);
2055 raw_spin_lock(&sbinfo->stat_lock); /* preven in shmem_swap_alloc_folio()
[all...]
/linux/drivers/s390/scsi/
H A Dzfcp_qdio.h45 spinlock_t stat_lock; member
/linux/fs/smb/client/
H A Dcifsglob.h1255 spinlock_t stat_lock; /* protects the two fields above */
1692 spin_lock(&tcon->stat_lock);
1694 spin_unlock(&tcon->stat_lock);
1701 spin_lock(&tcon->stat_lock);
1703 spin_unlock(&tcon->stat_lock);
2051 * cifs_tcon->stat_lock cifs_tcon->bytes_read tconInfoAlloc
1245 spinlock_t stat_lock; /* protects the two fields above */ global() member
H A Dmisc.c148 spin_lock_init(&ret_buf->stat_lock); in tcon_info_alloc()
/linux/include/linux/
H A Dshmem_fs.h82 raw_spinlock_t stat_lock; /* Serialize shmem_sb_info changes */
76 raw_spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ global() member
/linux/fs/f2fs/
H A Df2fs.h444 spinlock_t stat_lock; /* lock for below checkpoint time stats */
1986 spinlock_t stat_lock; /* lock for stat operations */
2716 spin_lock(&sbi->stat_lock);
2729 spin_unlock(&sbi->stat_lock);
2738 spin_unlock(&sbi->stat_lock);
2744 spin_unlock(&sbi->stat_lock);
2832 spin_lock(&sbi->stat_lock); in inode_dec_dirty_pages()
2845 spin_unlock(&sbi->stat_lock); in inc_atomic_write_cnt()
3050 spin_lock(&sbi->stat_lock); in dec_valid_node_count()
3057 spin_unlock(&sbi->stat_lock); in dec_valid_node_count()
441 spinlock_t stat_lock; /* lock for below checkpoint time stats */ global() member
1980 spinlock_t stat_lock; /* lock for stat operations */ global() member
[all...]
H A Dgc.c2432 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2437 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2466 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2473 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2513 spin_lock(&sbi->stat_lock);
2515 spin_unlock(&sbi->stat_lock);
H A Dcheckpoint.c1907 spin_lock(&sbi->stat_lock); in do_checkpoint()
1909 spin_unlock(&sbi->stat_lock); in do_checkpoint()
2120 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
2124 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
2277 spin_lock_init(&cprc->stat_lock); in f2fs_stop_ckpt_thread()
H A Dsegment.h724 spin_lock(&sbi->stat_lock); in f2fs_is_checkpoint_ready()
729 spin_unlock(&sbi->stat_lock);
H A Ddebug.c199 spin_lock(&sbi->cprc_info.stat_lock); in update_general_status()
202 spin_unlock(&sbi->cprc_info.stat_lock); in update_general_status()
H A Dsysfs.c597 spin_lock(&sbi->stat_lock); in __sbi_store()
600 spin_unlock(&sbi->stat_lock); in __sbi_store()
606 spin_unlock(&sbi->stat_lock); in __sbi_store()
H A Dsuper.c2281 spin_lock(&sbi->stat_lock); in f2fs_statfs()
2294 spin_unlock(&sbi->stat_lock); in f2fs_statfs()
2747 spin_lock(&sbi->stat_lock);
2749 spin_unlock(&sbi->stat_lock); in f2fs_enable_checkpoint()
5243 spin_lock_init(&sbi->stat_lock); in f2fs_fill_super()
H A Dfile.c3803 spin_lock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3806 spin_unlock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3811 spin_unlock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3879 spin_lock(&sbi->stat_lock); in f2fs_ioc_release_dev_alias()
3881 spin_unlock(&sbi->stat_lock); in f2fs_ioc_release_dev_alias()
H A Dsegment.c2579 spin_lock(&sbi->stat_lock); in update_sit_entry_for_alloc()
2581 spin_unlock(&sbi->stat_lock); in update_sit_entry_for_alloc()