Lines Matching refs:cmd
6608 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk() argument
6650 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk() argument
6658 err = _nfs4_proc_getlk(state, cmd, request); in nfs4_proc_getlk()
6659 trace_nfs4_get_lock(request, state, cmd, err); in nfs4_proc_getlk()
6871 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck() argument
7107 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk() argument
7130 if (IS_SETLKW(cmd)) in _nfs4_do_setlk()
7153 trace_nfs4_set_lock(fl, state, &data->res.stateid, cmd, ret); in _nfs4_do_setlk()
7228 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk() argument
7252 status = _nfs4_do_setlk(state, cmd, request, NFS_LOCK_NEW); in _nfs4_proc_setlk()
7258 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk() argument
7268 err = _nfs4_proc_setlk(state, cmd, request); in nfs4_proc_setlk()
7281 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple() argument
7288 status = nfs4_proc_setlk(state, cmd, request); in nfs4_retry_setlk_simple()
7289 if ((status != -EAGAIN) || IS_SETLK(cmd)) in nfs4_retry_setlk_simple()
7337 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk() argument
7354 return nfs4_retry_setlk_simple(state, cmd, request); in nfs4_retry_setlk()
7362 status = nfs4_proc_setlk(state, cmd, request); in nfs4_retry_setlk()
7363 if ((status != -EAGAIN) || IS_SETLK(cmd)) { in nfs4_retry_setlk()
7379 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk() argument
7381 return nfs4_retry_setlk_simple(state, cmd, request); in nfs4_retry_setlk()
7386 nfs4_proc_lock(struct file *filp, int cmd, struct file_lock *request) in nfs4_proc_lock() argument
7396 if (IS_GETLK(cmd)) { in nfs4_proc_lock()
7402 if (!(IS_SETLK(cmd) || IS_SETLKW(cmd))) in nfs4_proc_lock()
7407 return nfs4_proc_unlck(state, cmd, request); in nfs4_proc_lock()
7436 return nfs4_retry_setlk(state, cmd, request); in nfs4_proc_lock()