Home
last modified time | relevance | path

Searched refs:commit_mutex (Results 1 – 13 of 13) sorted by relevance

/fs/jfs/
Dnamei.c100 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
101 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
160 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_create()
161 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_create()
232 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
233 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
293 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mkdir()
294 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_mkdir()
364 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
365 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
[all …]
Djfs_extent.c84 mutex_lock(&JFS_IP(ip)->commit_mutex); in extAlloc()
126 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
134 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
156 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
168 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
213 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRealloc()
250 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc()
330 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc()
417 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRecord()
422 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRecord()
Dinode.c102 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode()
111 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode()
395 mutex_lock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock()
401 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock()
410 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock()
Dacl.c102 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl()
121 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl()
Djfs_incore.h63 struct mutex commit_mutex; member
Djfs_imap.c1230 mutex_lock(&JFS_IP(ipimap)->commit_mutex); in diFree()
1263 mutex_unlock(&JFS_IP(ipimap)->commit_mutex); in diFree()
2514 mutex_lock(&JFS_IP(ipimap)->commit_mutex); in diNewIAG()
2520 mutex_unlock(&JFS_IP(ipimap)->commit_mutex); in diNewIAG()
2548 mutex_unlock(&JFS_IP(ipimap)->commit_mutex); in diNewIAG()
2587 mutex_unlock(&JFS_IP(ipimap)->commit_mutex); in diNewIAG()
Dxattr.c916 mutex_lock(&ji->commit_mutex); in __jfs_xattr_set()
921 mutex_unlock(&ji->commit_mutex); in __jfs_xattr_set()
Djfs_txnmgr.c2865 mutex_lock(&jfs_ip->commit_mutex); in txQuiesce()
2868 mutex_unlock(&jfs_ip->commit_mutex); in txQuiesce()
2935 } else if (mutex_trylock(&jfs_ip->commit_mutex)) { in jfs_sync()
2944 mutex_unlock(&jfs_ip->commit_mutex); in jfs_sync()
Dsuper.c928 mutex_init(&jfs_ip->commit_mutex); in init_once()
/fs/nfs/
Dpnfs_nfs.c100 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_scan_ds_commit_list()
123 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_scan_commit_lists()
143 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_recover_commit_reqs()
169 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
179 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
182 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
184 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
224 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_fetch_commit_bucket_list()
230 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_fetch_commit_bucket_list()
936 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
[all …]
Dwrite.c193 mutex_lock(&nfsi->commit_mutex); in nfs_page_find_swap_request()
202 mutex_unlock(&nfsi->commit_mutex); in nfs_page_find_swap_request()
884 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
886 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
965 mutex_lock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
969 mutex_unlock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
1050 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_scan_commit_list()
1053 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_scan_commit_list()
1087 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_scan_commit()
1095 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_scan_commit()
Ddirect.c612 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
618 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
Dinode.c2109 mutex_init(&nfsi->commit_mutex); in init_once()