flctx 1283 fs/cifs/file.c struct file_lock_context *flctx = inode->i_flctx; flctx 1292 fs/cifs/file.c if (!flctx) flctx 1295 fs/cifs/file.c spin_lock(&flctx->flc_lock); flctx 1296 fs/cifs/file.c list_for_each(el, &flctx->flc_posix) { flctx 1299 fs/cifs/file.c spin_unlock(&flctx->flc_lock); flctx 1318 fs/cifs/file.c spin_lock(&flctx->flc_lock); flctx 1319 fs/cifs/file.c list_for_each_entry(flock, &flctx->flc_posix, fl_list) { flctx 1340 fs/cifs/file.c spin_unlock(&flctx->flc_lock); flctx 168 fs/lockd/svcsubs.c struct file_lock_context *flctx = inode->i_flctx; flctx 171 fs/lockd/svcsubs.c if (!flctx || list_empty_careful(&flctx->flc_posix)) flctx 175 fs/lockd/svcsubs.c spin_lock(&flctx->flc_lock); flctx 176 fs/lockd/svcsubs.c list_for_each_entry(fl, &flctx->flc_posix, fl_list) { flctx 187 fs/lockd/svcsubs.c spin_unlock(&flctx->flc_lock); flctx 199 fs/lockd/svcsubs.c spin_unlock(&flctx->flc_lock); flctx 230 fs/lockd/svcsubs.c struct file_lock_context *flctx = inode->i_flctx; flctx 235 fs/lockd/svcsubs.c if (flctx && !list_empty_careful(&flctx->flc_posix)) { flctx 236 fs/lockd/svcsubs.c spin_lock(&flctx->flc_lock); flctx 237 fs/lockd/svcsubs.c list_for_each_entry(fl, &flctx->flc_posix, fl_list) { flctx 239 fs/lockd/svcsubs.c spin_unlock(&flctx->flc_lock); flctx 243 fs/lockd/svcsubs.c spin_unlock(&flctx->flc_lock); flctx 2729 fs/locks.c locks_remove_flock(struct file *filp, struct file_lock_context *flctx) flctx 2734 fs/locks.c if (list_empty(&flctx->flc_flock)) flctx 109 fs/nfs/delegation.c struct file_lock_context *flctx = inode->i_flctx; flctx 113 fs/nfs/delegation.c if (flctx == NULL) flctx 116 fs/nfs/delegation.c list = &flctx->flc_posix; flctx 117 fs/nfs/delegation.c spin_lock(&flctx->flc_lock); flctx 122 fs/nfs/delegation.c spin_unlock(&flctx->flc_lock); flctx 126 fs/nfs/delegation.c spin_lock(&flctx->flc_lock); flctx 128 fs/nfs/delegation.c if (list == &flctx->flc_posix) { flctx 129 fs/nfs/delegation.c list = &flctx->flc_flock; flctx 132 fs/nfs/delegation.c spin_unlock(&flctx->flc_lock); flctx 1494 fs/nfs/nfs4state.c struct file_lock_context *flctx = inode->i_flctx; flctx 1497 fs/nfs/nfs4state.c if (flctx == NULL) flctx 1500 fs/nfs/nfs4state.c list = &flctx->flc_posix; flctx 1504 fs/nfs/nfs4state.c spin_lock(&flctx->flc_lock); flctx 1509 fs/nfs/nfs4state.c spin_unlock(&flctx->flc_lock); flctx 1540 fs/nfs/nfs4state.c spin_lock(&flctx->flc_lock); flctx 1542 fs/nfs/nfs4state.c if (list == &flctx->flc_posix) { flctx 1543 fs/nfs/nfs4state.c list = &flctx->flc_flock; flctx 1546 fs/nfs/nfs4state.c spin_unlock(&flctx->flc_lock); flctx 921 fs/nfs/pagelist.c struct file_lock_context *flctx; flctx 926 fs/nfs/pagelist.c flctx = d_inode(nfs_req_openctx(req)->dentry)->i_flctx; flctx 927 fs/nfs/pagelist.c if (flctx != NULL && flctx 928 fs/nfs/pagelist.c !(list_empty_careful(&flctx->flc_posix) && flctx 929 fs/nfs/pagelist.c list_empty_careful(&flctx->flc_flock)) && flctx 1208 fs/nfs/write.c struct file_lock_context *flctx = file_inode(file)->i_flctx; flctx 1226 fs/nfs/write.c if (l_ctx && flctx && flctx 1227 fs/nfs/write.c !(list_empty_careful(&flctx->flc_posix) && flctx 1228 fs/nfs/write.c list_empty_careful(&flctx->flc_flock))) { flctx 1326 fs/nfs/write.c struct file_lock_context *flctx = inode->i_flctx; flctx 1335 fs/nfs/write.c if (!flctx || (list_empty_careful(&flctx->flc_flock) && flctx 1336 fs/nfs/write.c list_empty_careful(&flctx->flc_posix))) flctx 1341 fs/nfs/write.c spin_lock(&flctx->flc_lock); flctx 1342 fs/nfs/write.c if (!list_empty(&flctx->flc_posix)) { flctx 1343 fs/nfs/write.c fl = list_first_entry(&flctx->flc_posix, struct file_lock, flctx 1347 fs/nfs/write.c } else if (!list_empty(&flctx->flc_flock)) { flctx 1348 fs/nfs/write.c fl = list_first_entry(&flctx->flc_flock, struct file_lock, flctx 1353 fs/nfs/write.c spin_unlock(&flctx->flc_lock); flctx 6801 fs/nfsd/nfs4state.c struct file_lock_context *flctx; flctx 6810 fs/nfsd/nfs4state.c flctx = inode->i_flctx; flctx 6812 fs/nfsd/nfs4state.c if (flctx && !list_empty_careful(&flctx->flc_posix)) { flctx 6813 fs/nfsd/nfs4state.c spin_lock(&flctx->flc_lock); flctx 6814 fs/nfsd/nfs4state.c list_for_each_entry(fl, &flctx->flc_posix, fl_list) { flctx 6820 fs/nfsd/nfs4state.c spin_unlock(&flctx->flc_lock);