/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_trans_inode.c | 85 uint lock_flags, 97 return xfs_iget(mp, NULL, ino, flags, lock_flags, ipp, 0); 115 ASSERT(lock_flags & XFS_ILOCK_EXCL); 117 ASSERT((!(lock_flags & XFS_IOLOCK_EXCL)) || 119 ASSERT((!(lock_flags & XFS_IOLOCK_EXCL)) || 121 ASSERT((!(lock_flags & XFS_IOLOCK_SHARED)) || 123 ASSERT((!(lock_flags & XFS_IOLOCK_SHARED)) || 126 if (lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) { 129 if (lock_flags & XFS_ILOCK_EXCL) { 136 ASSERT(lock_flags 80 xfs_trans_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp) argument 182 xfs_trans_ijoin( xfs_trans_t *tp, xfs_inode_t *ip, uint lock_flags) argument [all...] |
H A D | xfs_iget.c | 172 * The inode is locked according to the value of the lock_flags parameter. 182 * lock_flags -- flags indicating how to lock the inode. See the comment 195 uint lock_flags, 305 if (lock_flags != 0) 306 xfs_ilock(ip, lock_flags); 340 if (lock_flags != 0) { 341 xfs_ilock(ip, lock_flags); 493 uint lock_flags, 511 lock_flags, ipp, bno); 534 if (lock_flags ! 189 xfs_iget_core( xfs_vnode_t *vp, xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp, xfs_daddr_t bno) argument 488 xfs_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp, xfs_daddr_t bno) argument 612 xfs_iput(xfs_inode_t *ip, uint lock_flags) argument 629 xfs_iput_new(xfs_inode_t *ip, uint lock_flags) argument 861 xfs_ilock(xfs_inode_t *ip, uint lock_flags) argument 902 xfs_ilock_nowait(xfs_inode_t *ip, uint lock_flags) argument 965 xfs_iunlock(xfs_inode_t *ip, uint lock_flags) argument 1014 xfs_ilock_demote(xfs_inode_t *ip, uint lock_flags) argument [all...] |
H A D | xfs_dfrag.c | 154 static uint lock_flags = XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL; local 182 xfs_lock_inodes(ips, 2, 0, lock_flags); 387 xfs_trans_ijoin(tp, ip, lock_flags); 388 xfs_trans_ijoin(tp, tip, lock_flags); 407 xfs_iunlock(ip, lock_flags); 408 xfs_iunlock(tip, lock_flags);
|
H A D | xfs_refcache.c | 406 uint lock_flags) 414 xfs_iunlock(ip, lock_flags); 404 xfs_refcache_iunlock( xfs_inode_t *ip, uint lock_flags) argument
|
H A D | xfs_vfsops.c | 962 uint lock_flags; local 1059 lock_flags = base_lock_flags; 1155 if (xfs_ilock_nowait(ip, lock_flags) == 0) { 1168 xfs_ilock(ip, lock_flags); 1277 ASSERT(!(lock_flags & 1304 ASSERT(!(lock_flags & 1320 * the lock_flags so that we 1324 lock_flags &= ~XFS_ILOCK_SHARED; 1385 if (lock_flags != 0) { 1386 xfs_iunlock(ip, lock_flags); [all...] |
H A D | xfs_inode_item.c | 658 uint lock_flags; local 720 lock_flags = XFS_ILOCK_EXCL; 722 lock_flags |= XFS_IOLOCK_EXCL; 724 lock_flags |= XFS_IOLOCK_SHARED; 726 xfs_iput(iip->ili_inode, lock_flags);
|
H A D | xfs_vnodeops.c | 252 uint lock_flags; local 348 lock_flags = XFS_ILOCK_EXCL; 360 lock_flags = 0; 371 lock_flags = 0; 376 lock_flags |= XFS_IOLOCK_EXCL; 379 xfs_ilock(ip, lock_flags); 501 lock_flags &= ~XFS_ILOCK_EXCL; 627 lock_flags &= ~XFS_ILOCK_EXCL; 628 ASSERT(lock_flags == XFS_IOLOCK_EXCL); 646 xfs_trans_ijoin(tp, ip, lock_flags); [all...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_freebsd_iget.c | 79 * The inode is locked according to the value of the lock_flags parameter. 89 * lock_flags -- flags indicating how to lock the inode. See the comment 100 uint lock_flags, 169 if (lock_flags != 0) { 171 xfs_ilock(ip, lock_flags); 214 if (lock_flags != 0) { 215 xfs_ilock(ip, lock_flags); 352 uint lock_flags) 366 if (lock_flags) 367 xfs_iunlock(ip, lock_flags); 95 xfs_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp, xfs_daddr_t bno) argument 351 xfs_iput_new(xfs_inode_t *ip, uint lock_flags) argument [all...] |
/freebsd-9.3-release/usr.sbin/nfsdumpstate/ |
H A D | nfsdumpstate.c | 62 static char *lock_flags(uint32_t); 198 lock_flags(lp[cnt].ndlck_flags), 256 lock_flags(uint32_t flags) function
|
/freebsd-9.3-release/sys/kern/ |
H A D | vfs_vnops.c | 310 int error, lock_flags; local 314 lock_flags = LK_SHARED; 316 lock_flags = LK_EXCLUSIVE; 321 vn_lock(vp, lock_flags | LK_RETRY); 388 int error, lock_flags; local 419 lock_flags = LK_SHARED; 421 lock_flags = LK_EXCLUSIVE; 423 lock_flags = LK_SHARED; 424 vn_lock(vp, lock_flags | LK_RETRY); 728 int error, ioflag, lock_flags; local [all...] |
H A D | vfs_syscalls.c | 3571 int error, lock_flags; local 3583 lock_flags = LK_SHARED; 3585 lock_flags = LK_EXCLUSIVE; 3587 vn_lock(vp, lock_flags | LK_RETRY);
|
/freebsd-9.3-release/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 514 int vfs_is_locked, error, lock_flags; local 527 lock_flags = LK_SHARED; 529 lock_flags = LK_EXCLUSIVE; 531 vn_lock(be_lun->vn, lock_flags | LK_RETRY); 634 int lock_flags; local 641 lock_flags = LK_SHARED; 643 lock_flags = LK_EXCLUSIVE; 645 vn_lock(be_lun->vn, lock_flags | LK_RETRY);
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_zcopy.c | 646 unsigned long lock_flags; local 697 spin_lock_irqsave(&ssk->tx_sa_lock, lock_flags); 699 spin_unlock_irqrestore(&ssk->tx_sa_lock, lock_flags);
|
/freebsd-9.3-release/sys/dev/drm/ |
H A D | drm.h | 948 unsigned int lock_flags; member in struct:drm_mm_type_arg
|
/freebsd-9.3-release/sys/dev/drm2/ |
H A D | drm.h | 950 unsigned int lock_flags; member in struct:drm_mm_type_arg
|
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 1327 uint32_t lock_flags; local 1891 lock_flags = new_lop->lo_flags; 1928 nfsrv_locallock_commit(lfp, lock_flags, first, end);
|