Lines Matching refs:sp
326 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument
337 p->o_arg.seqid = nfs_alloc_seqid(&sp->so_seqid); in nfs4_opendata_alloc()
343 p->owner = sp; in nfs4_opendata_alloc()
344 atomic_inc(&sp->so_count); in nfs4_opendata_alloc()
349 p->o_arg.id = sp->so_owner_id.id; in nfs4_opendata_alloc()
777 static int nfs4_open_reclaim(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_reclaim() argument
910 struct nfs4_state_owner *sp = data->owner; in nfs4_open_prepare() local
933 data->o_arg.id = sp->so_owner_id.id; in nfs4_open_prepare()
934 data->o_arg.clientid = sp->so_client->cl_clientid; in nfs4_open_prepare()
1114 static int nfs4_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *state) in nfs4_open_expired() argument
1148 struct nfs4_state_owner *sp; in _nfs4_do_open() local
1156 if (!(sp = nfs4_get_state_owner(server, cred))) { in _nfs4_do_open()
1166 opendata = nfs4_opendata_alloc(path, sp, fmode, flags, sattr); in _nfs4_do_open()
1171 opendata->state = nfs4_get_open_state(path->dentry->d_inode, sp); in _nfs4_do_open()
1185 nfs4_put_state_owner(sp); in _nfs4_do_open()
1191 nfs4_put_state_owner(sp); in _nfs4_do_open()
1314 struct nfs4_state_owner *sp = calldata->state->owner; in nfs4_free_closedata() local
1318 nfs4_put_state_owner(sp); in nfs4_free_closedata()
1415 struct nfs4_state_owner *sp = state->owner; in nfs4_do_close() local
1464 nfs4_put_state_owner(sp); in nfs4_do_close()