Lines Matching refs:cmd

6770 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request)  in _nfs4_proc_getlk()  argument
6812 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk() argument
6820 err = _nfs4_proc_getlk(state, cmd, request); in nfs4_proc_getlk()
6821 trace_nfs4_get_lock(request, state, cmd, err); in nfs4_proc_getlk()
7036 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck() argument
7273 static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *fl, int recovery_typ… in _nfs4_do_setlk() argument
7297 if (IS_SETLKW(cmd)) in _nfs4_do_setlk()
7320 trace_nfs4_set_lock(fl, state, &data->res.stateid, cmd, ret); in _nfs4_do_setlk()
7395 static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_setlk() argument
7419 status = _nfs4_do_setlk(state, cmd, request, NFS_LOCK_NEW); in _nfs4_proc_setlk()
7425 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_setlk() argument
7435 err = _nfs4_proc_setlk(state, cmd, request); in nfs4_proc_setlk()
7448 nfs4_retry_setlk_simple(struct nfs4_state *state, int cmd, in nfs4_retry_setlk_simple() argument
7455 status = nfs4_proc_setlk(state, cmd, request); in nfs4_retry_setlk_simple()
7456 if ((status != -EAGAIN) || IS_SETLK(cmd)) in nfs4_retry_setlk_simple()
7499 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk() argument
7515 return nfs4_retry_setlk_simple(state, cmd, request); in nfs4_retry_setlk()
7522 status = nfs4_proc_setlk(state, cmd, request); in nfs4_retry_setlk()
7523 if (status != -EAGAIN || IS_SETLK(cmd)) in nfs4_retry_setlk()
7537 nfs4_retry_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_retry_setlk() argument
7539 return nfs4_retry_setlk_simple(state, cmd, request); in nfs4_retry_setlk()
7544 nfs4_proc_lock(struct file *filp, int cmd, struct file_lock *request) in nfs4_proc_lock() argument
7554 if (IS_GETLK(cmd)) { in nfs4_proc_lock()
7560 if (!(IS_SETLK(cmd) || IS_SETLKW(cmd))) in nfs4_proc_lock()
7565 return nfs4_proc_unlck(state, cmd, request); in nfs4_proc_lock()
7594 return nfs4_retry_setlk(state, cmd, request); in nfs4_proc_lock()