Home
last modified time | relevance | path

Searched refs:stat_lock (Results 1 – 20 of 20) 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()
1108 spin_lock(&sctx->stat_lock); in scrub_stripe_report_errors()
1121 spin_unlock(&sctx->stat_lock); in scrub_stripe_report_errors()
1982 spin_lock(&sctx->stat_lock); in flush_scrub_stripes()
1984 spin_unlock(&sctx->stat_lock); in flush_scrub_stripes()
2309 spin_lock(&sctx->stat_lock); in scrub_simple_mirror()
2311 spin_unlock(&sctx->stat_lock); in scrub_simple_mirror()
2507 spin_lock(&sctx->stat_lock); in scrub_stripe()
2510 spin_unlock(&sctx->stat_lock); in scrub_stripe()
[all …]
/linux/mm/
H A Dshmem.c354 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
357 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
380 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
384 * doesn't hold stat_lock in shmem_reserve_inode since in shmem_reserve_inode()
387 * which doesn't require the per-sb stat_lock unless we are at in shmem_reserve_inode()
399 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
402 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
418 raw_spin_lock(&sbinfo->stat_lock); in shmem_free_inode()
420 raw_spin_unlock(&sbinfo->stat_lock); in shmem_free_inode()
1784 raw_spin_lock(&sbinfo->stat_lock); /* preven in shmem_get_sbmpol()
[all...]
/linux/drivers/s390/scsi/
H A Dzfcp_qdio.h45 spinlock_t stat_lock; member
/linux/include/linux/
H A Dshmem_fs.h76 raw_spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ member
/linux/fs/smb/client/
H A Dcifsglob.h1245 spinlock_t stat_lock; /* protects the two fields above */ member
1662 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_written()
1664 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_written()
1671 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_read()
1673 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_read()
2018 * cifs_tcon->stat_lock cifs_tcon->bytes_read tconInfoAlloc
H A Dmisc.c148 spin_lock_init(&ret_buf->stat_lock); in tcon_info_alloc()
/linux/fs/f2fs/
H A Df2fs.h441 spinlock_t stat_lock; /* lock for below checkpoint time stats */ member
1980 spinlock_t stat_lock; /* lock for stat operations */ member
2640 spin_lock(&sbi->stat_lock); in inc_valid_block_count()
2653 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2662 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2668 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2777 spin_lock(&sbi->stat_lock); in dec_valid_block_count()
2790 spin_unlock(&sbi->stat_lock); in dec_valid_block_count()
2995 spin_lock(&sbi->stat_lock); in inc_valid_node_count()
3002 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
[all …]
H A Dgc.c2411 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2416 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2445 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2452 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2489 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2491 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
H A Dcheckpoint.c1935 spin_lock(&sbi->stat_lock); in do_checkpoint()
1937 spin_unlock(&sbi->stat_lock); in do_checkpoint()
2148 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
2152 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
2305 spin_lock_init(&cprc->stat_lock); in f2fs_init_ckpt_req_control()
H A Dsegment.h708 spin_lock(&sbi->stat_lock); in has_enough_free_blks()
713 spin_unlock(&sbi->stat_lock); in has_enough_free_blks()
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.c594 spin_lock(&sbi->stat_lock); in __sbi_store()
597 spin_unlock(&sbi->stat_lock); in __sbi_store()
603 spin_unlock(&sbi->stat_lock); in __sbi_store()
H A Dsuper.c2269 spin_lock(&sbi->stat_lock); in f2fs_statfs()
2282 spin_unlock(&sbi->stat_lock); in f2fs_statfs()
2735 spin_lock(&sbi->stat_lock); in f2fs_disable_checkpoint()
2737 spin_unlock(&sbi->stat_lock); in f2fs_disable_checkpoint()
5116 spin_lock_init(&sbi->stat_lock); in f2fs_fill_super()
H A Dfile.c3789 spin_lock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3792 spin_unlock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3797 spin_unlock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3864 spin_lock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
3866 spin_unlock(&sbi->stat_lock); in f2fs_ioc_reserve_dev_alias()
H A Dsegment.c2515 spin_lock(&sbi->stat_lock); in update_sit_entry_for_release()
2517 spin_unlock(&sbi->stat_lock); in update_sit_entry_for_release()