Home
last modified time | relevance | path

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

/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/fs/btrfs/
H A Dscrub.c219 spinlock_t stat_lock; member
481 spin_lock_init(&sctx->stat_lock); in scrub_setup_ctx()
1129 spin_lock(&sctx->stat_lock); in scrub_stripe_report_errors()
1142 spin_unlock(&sctx->stat_lock); in scrub_stripe_report_errors()
2024 spin_lock(&sctx->stat_lock); in flush_scrub_stripes()
2026 spin_unlock(&sctx->stat_lock); in flush_scrub_stripes()
2358 spin_lock(&sctx->stat_lock); in scrub_simple_mirror()
2360 spin_unlock(&sctx->stat_lock); in scrub_simple_mirror()
2556 spin_lock(&sctx->stat_lock); in scrub_stripe()
2559 spin_unlock(&sctx->stat_lock); in scrub_stripe()
[all …]
/linux/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()
1492 spin_lock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1510 spin_unlock(&cp->stat_lock[0]); in cas_rxmac_interrupt()
1733 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1735 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1743 spin_lock(&cp->stat_lock[0]); in cas_abnormal_irq()
1745 spin_unlock(&cp->stat_lock[0]); in cas_abnormal_irq()
1865 spin_lock(&cp->stat_lock[ring]); in cas_tx_ringN()
1868 spin_unlock(&cp->stat_lock[ring]); in cas_tx_ringN()
[all …]
H A Dcassini.h2742 spinlock_t stat_lock[N_TX_RINGS + 1]; /* for stat gathering */ member
/linux/fs/hugetlbfs/
H A Dinode.c1135 spin_lock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1150 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_statfs()
1173 spin_lock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1175 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1179 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_dec_free_inodes()
1188 spin_lock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1190 spin_unlock(&sbinfo->stat_lock); in hugetlbfs_inc_free_inodes()
1414 spin_lock_init(&sbinfo->stat_lock); in hugetlbfs_fill_super()
/linux/mm/
H A Dshmem.c353 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
356 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
379 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
383 * doesn't hold stat_lock in shmem_reserve_inode since in shmem_reserve_inode()
386 * which doesn't require the per-sb stat_lock unless we are at in shmem_reserve_inode()
398 raw_spin_lock(&sbinfo->stat_lock); in shmem_reserve_inode()
401 raw_spin_unlock(&sbinfo->stat_lock); in shmem_reserve_inode()
417 raw_spin_lock(&sbinfo->stat_lock); in shmem_free_inode()
419 raw_spin_unlock(&sbinfo->stat_lock); in shmem_free_inode()
1717 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/fs/smb/client/
H A Dcifsglob.h1255 spinlock_t stat_lock; /* protects the two fields above */ member
1637 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_written()
1639 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_written()
1646 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_read()
1648 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_read()
H A Dcifs_debug.c798 spin_lock(&tcon->stat_lock); in cifs_stats_proc_write()
802 spin_unlock(&tcon->stat_lock); in cifs_stats_proc_write()
H A Dmisc.c143 spin_lock_init(&ret_buf->stat_lock); in tcon_info_alloc()
/linux/fs/f2fs/
H A Df2fs.h400 spinlock_t stat_lock; /* lock for below checkpoint time stats */ member
1858 spinlock_t stat_lock; /* lock for stat operations */ member
2499 spin_lock(&sbi->stat_lock); in inc_valid_block_count()
2506 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2515 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2521 spin_unlock(&sbi->stat_lock); in inc_valid_block_count()
2630 spin_lock(&sbi->stat_lock); in dec_valid_block_count()
2643 spin_unlock(&sbi->stat_lock); in dec_valid_block_count()
2840 spin_lock(&sbi->stat_lock); in inc_valid_node_count()
2847 spin_unlock(&sbi->stat_lock); in inc_valid_node_count()
[all …]
H A Dgc.c2305 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2310 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2339 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2346 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
2380 spin_lock(&sbi->stat_lock); in f2fs_resize_fs()
2382 spin_unlock(&sbi->stat_lock); in f2fs_resize_fs()
H A Dcheckpoint.c1627 spin_lock(&sbi->stat_lock); in do_checkpoint()
1629 spin_unlock(&sbi->stat_lock); in do_checkpoint()
1836 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
1840 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()
1990 spin_lock_init(&cprc->stat_lock); in f2fs_init_ckpt_req_control()
H A Dsegment.h728 spin_lock(&sbi->stat_lock); in has_enough_free_blks()
733 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.c534 spin_lock(&sbi->stat_lock); in __sbi_store()
537 spin_unlock(&sbi->stat_lock); in __sbi_store()
543 spin_unlock(&sbi->stat_lock); in __sbi_store()
H A Dsuper.c2180 spin_lock(&sbi->stat_lock); in f2fs_statfs()
2193 spin_unlock(&sbi->stat_lock); in f2fs_statfs()
2623 spin_lock(&sbi->stat_lock); in f2fs_disable_checkpoint()
2625 spin_unlock(&sbi->stat_lock); in f2fs_disable_checkpoint()
4907 spin_lock_init(&sbi->stat_lock); in f2fs_fill_super()
H A Dsegment.c2482 spin_lock(&sbi->stat_lock); in update_sit_entry_for_release()
2484 spin_unlock(&sbi->stat_lock); in update_sit_entry_for_release()
/linux/include/linux/
H A Dshmem_fs.h78 raw_spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ member
H A Dhugetlb.h501 spinlock_t stat_lock; member