Lines Matching refs:ls_state
1855 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
2921 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks()
6817 struct nfs4_state *state = lsp->ls_state; in nfs4_refresh_lock_old_stateid()
6836 struct nfs4_state *state = lsp->ls_state; in nfs4_sync_lock_stateid()
6863 struct nfs4_state *state = lsp->ls_state; in nfs4_alloc_unlockdata()
6900 .inode = calldata->lsp->ls_state->inode, in nfs4_locku_done()
6909 locks_lock_inode_wait(calldata->lsp->ls_state->inode, &calldata->fl); in nfs4_locku_done()
6985 .rpc_client = NFS_CLIENT(lsp->ls_state->inode), in nfs4_do_unlck()
6992 if (nfs_server_capable(lsp->ls_state->inode, NFS_CAP_MOVEABLE)) in nfs4_do_unlck()
6995 nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client, in nfs4_do_unlck()
7084 struct inode *inode = lsp->ls_state->inode; in nfs4_alloc_lockdata()
7094 p->arg.open_seqid = nfs_alloc_seqid(&lsp->ls_state->owner->so_seqid, gfp_mask); in nfs4_alloc_lockdata()
7121 struct nfs4_state *state = data->lsp->ls_state; in nfs4_lock_prepare()
7174 if (locks_lock_inode_wait(lsp->ls_state->inode, &data->fl) < 0) in nfs4_lock_done()
7187 lsp->ls_state)) in nfs4_lock_done()
7197 &lsp->ls_state->open_stateid)) in nfs4_lock_done()
7246 nfs4_schedule_stateid_recovery(server, lsp->ls_state); in nfs4_handle_setlk_error()
10400 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_free_lock_state()