lsp               141 drivers/infiniband/hw/cxgb4/restrack.c 	struct t4_swsqe *fsp = NULL, *lsp = NULL;
lsp               170 drivers/infiniband/hw/cxgb4/restrack.c 			lsp = &last_sqe;
lsp               178 drivers/infiniband/hw/cxgb4/restrack.c 	if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp))
lsp              2699 drivers/nvme/host/core.c int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
lsp              2708 drivers/nvme/host/core.c 	c.get_log_page.lsp = lsp;
lsp               507 drivers/nvme/host/nvme.h int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
lsp               224 drivers/nvme/target/admin-cmd.c 	if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) {
lsp               487 fs/nfs/nfs4_fs.h extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp);
lsp               508 fs/nfs/nfs4_fs.h extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
lsp              1785 fs/nfs/nfs4proc.c static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp,
lsp              1788 fs/nfs/nfs4proc.c 	struct nfs4_state *state = lsp->ls_state;
lsp              1792 fs/nfs/nfs4proc.c 	if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid))
lsp              1794 fs/nfs/nfs4proc.c 	if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid))
lsp              1796 fs/nfs/nfs4proc.c 	nfs4_stateid_copy(&lsp->ls_stateid, stateid);
lsp              2229 fs/nfs/nfs4proc.c 				struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner;
lsp              2230 fs/nfs/nfs4proc.c 				if (lsp)
lsp              2231 fs/nfs/nfs4proc.c 					set_bit(NFS_LOCK_LOST, &lsp->ls_flags);
lsp              2827 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp, *prev = NULL;
lsp              2834 fs/nfs/nfs4proc.c 	list_for_each_entry(lsp, &state->lock_states, ls_locks) {
lsp              2835 fs/nfs/nfs4proc.c 		if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) {
lsp              2836 fs/nfs/nfs4proc.c 			const struct cred *cred = lsp->ls_state->owner->so_cred;
lsp              2838 fs/nfs/nfs4proc.c 			refcount_inc(&lsp->ls_count);
lsp              2842 fs/nfs/nfs4proc.c 			prev = lsp;
lsp              2845 fs/nfs/nfs4proc.c 					&lsp->ls_stateid,
lsp              2847 fs/nfs/nfs4proc.c 			trace_nfs4_test_lock_stateid(state, lsp, status);
lsp              2850 fs/nfs/nfs4proc.c 				clear_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags);
lsp              2851 fs/nfs/nfs4proc.c 				lsp->ls_stateid.type = NFS4_INVALID_STATEID_TYPE;
lsp              2853 fs/nfs/nfs4proc.c 					set_bit(NFS_LOCK_LOST, &lsp->ls_flags);
lsp              6402 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              6409 fs/nfs/nfs4proc.c 	lsp = request->fl_u.nfs4_fl.owner;
lsp              6410 fs/nfs/nfs4proc.c 	arg.lock_owner.id = lsp->ls_seqid.owner_id;
lsp              6447 fs/nfs/nfs4proc.c 		struct nfs4_lock_state *lsp)
lsp              6449 fs/nfs/nfs4proc.c 	struct nfs4_state *state = lsp->ls_state;
lsp              6453 fs/nfs/nfs4proc.c 	if (!nfs4_stateid_match_other(dst, &lsp->ls_stateid))
lsp              6455 fs/nfs/nfs4proc.c 	if (!nfs4_stateid_is_newer(&lsp->ls_stateid, dst))
lsp              6458 fs/nfs/nfs4proc.c 		dst->seqid = lsp->ls_stateid.seqid;
lsp              6466 fs/nfs/nfs4proc.c 		struct nfs4_lock_state *lsp)
lsp              6468 fs/nfs/nfs4proc.c 	struct nfs4_state *state = lsp->ls_state;
lsp              6472 fs/nfs/nfs4proc.c 	ret = !nfs4_stateid_match_other(dst, &lsp->ls_stateid);
lsp              6473 fs/nfs/nfs4proc.c 	nfs4_stateid_copy(dst, &lsp->ls_stateid);
lsp              6481 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              6491 fs/nfs/nfs4proc.c 		struct nfs4_lock_state *lsp,
lsp              6495 fs/nfs/nfs4proc.c 	struct nfs4_state *state = lsp->ls_state;
lsp              6505 fs/nfs/nfs4proc.c 	p->lsp = lsp;
lsp              6513 fs/nfs/nfs4proc.c 	nfs4_stateid_copy(&p->arg.stateid, &lsp->ls_stateid);
lsp              6522 fs/nfs/nfs4proc.c 	nfs4_put_lock_state(calldata->lsp);
lsp              6532 fs/nfs/nfs4proc.c 		.inode = calldata->lsp->ls_state->inode,
lsp              6541 fs/nfs/nfs4proc.c 			locks_lock_inode_wait(calldata->lsp->ls_state->inode, &calldata->fl);
lsp              6542 fs/nfs/nfs4proc.c 			if (nfs4_update_lock_stateid(calldata->lsp,
lsp              6555 fs/nfs/nfs4proc.c 						calldata->lsp))
lsp              6560 fs/nfs/nfs4proc.c 						calldata->lsp))
lsp              6583 fs/nfs/nfs4proc.c 	if (test_bit(NFS_LOCK_INITIALIZED, &calldata->lsp->ls_flags) == 0) {
lsp              6608 fs/nfs/nfs4proc.c 		struct nfs4_lock_state *lsp,
lsp              6617 fs/nfs/nfs4proc.c 		.rpc_client = NFS_CLIENT(lsp->ls_state->inode),
lsp              6624 fs/nfs/nfs4proc.c 	nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client,
lsp              6634 fs/nfs/nfs4proc.c 	data = nfs4_alloc_unlockdata(fl, ctx, lsp, seqid);
lsp              6653 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              6676 fs/nfs/nfs4proc.c 	lsp = request->fl_u.nfs4_fl.owner;
lsp              6677 fs/nfs/nfs4proc.c 	if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) == 0)
lsp              6680 fs/nfs/nfs4proc.c 	seqid = alloc_seqid(&lsp->ls_seqid, GFP_KERNEL);
lsp              6684 fs/nfs/nfs4proc.c 	task = nfs4_do_unlck(request, nfs_file_open_context(request->fl_file), lsp, seqid);
lsp              6699 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              6709 fs/nfs/nfs4proc.c 		struct nfs_open_context *ctx, struct nfs4_lock_state *lsp,
lsp              6713 fs/nfs/nfs4proc.c 	struct inode *inode = lsp->ls_state->inode;
lsp              6723 fs/nfs/nfs4proc.c 	p->arg.open_seqid = nfs_alloc_seqid(&lsp->ls_state->owner->so_seqid, gfp_mask);
lsp              6727 fs/nfs/nfs4proc.c 	p->arg.lock_seqid = alloc_seqid(&lsp->ls_seqid, gfp_mask);
lsp              6731 fs/nfs/nfs4proc.c 	p->arg.lock_owner.id = lsp->ls_seqid.owner_id;
lsp              6734 fs/nfs/nfs4proc.c 	p->lsp = lsp;
lsp              6750 fs/nfs/nfs4proc.c 	struct nfs4_state *state = data->lsp->ls_state;
lsp              6756 fs/nfs/nfs4proc.c 	if (!test_bit(NFS_LOCK_INITIALIZED, &data->lsp->ls_flags)) {
lsp              6767 fs/nfs/nfs4proc.c 				&data->lsp->ls_stateid);
lsp              6792 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp = data->lsp;
lsp              6806 fs/nfs/nfs4proc.c 			if (locks_lock_inode_wait(lsp->ls_state->inode, &data->fl) < 0)
lsp              6810 fs/nfs/nfs4proc.c 			nfs_confirm_seqid(&lsp->ls_seqid, 0);
lsp              6811 fs/nfs/nfs4proc.c 			nfs4_stateid_copy(&lsp->ls_stateid, &data->res.stateid);
lsp              6812 fs/nfs/nfs4proc.c 			set_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags);
lsp              6813 fs/nfs/nfs4proc.c 		} else if (!nfs4_update_lock_stateid(lsp, &data->res.stateid))
lsp              6822 fs/nfs/nfs4proc.c 						&lsp->ls_state->open_stateid))
lsp              6825 fs/nfs/nfs4proc.c 						&lsp->ls_stateid))
lsp              6845 fs/nfs/nfs4proc.c 		task = nfs4_do_unlck(&data->fl, data->ctx, data->lsp,
lsp              6852 fs/nfs/nfs4proc.c 	nfs4_put_lock_state(data->lsp);
lsp              6864 fs/nfs/nfs4proc.c static void nfs4_handle_setlk_error(struct nfs_server *server, struct nfs4_lock_state *lsp, int new_lock_owner, int error)
lsp              6870 fs/nfs/nfs4proc.c 		lsp->ls_seqid.flags &= ~NFS_SEQID_CONFIRMED;
lsp              6872 fs/nfs/nfs4proc.c 		   test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0)
lsp              6873 fs/nfs/nfs4proc.c 			nfs4_schedule_stateid_recovery(server, lsp->ls_state);
lsp              6876 fs/nfs/nfs4proc.c 		lsp->ls_seqid.flags &= ~NFS_SEQID_CONFIRMED;
lsp              6923 fs/nfs/nfs4proc.c 			nfs4_handle_setlk_error(data->server, data->lsp,
lsp              6988 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              6994 fs/nfs/nfs4proc.c 	lsp = request->fl_u.nfs4_fl.owner;
lsp              6995 fs/nfs/nfs4proc.c 	if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) ||
lsp              6996 fs/nfs/nfs4proc.c 	    test_bit(NFS_LOCK_LOST, &lsp->ls_flags))
lsp              7114 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp = request->fl_u.nfs4_fl.owner;
lsp              7119 fs/nfs/nfs4proc.c 				    .id = lsp->ls_seqid.owner_id,
lsp              7226 fs/nfs/nfs4proc.c 	struct nfs4_lock_state *lsp;
lsp              7269 fs/nfs/nfs4proc.c 	nfs4_free_lock_state(data->server, data->lsp);
lsp              7280 fs/nfs/nfs4proc.c nfs4_release_lockowner(struct nfs_server *server, struct nfs4_lock_state *lsp)
lsp              7293 fs/nfs/nfs4proc.c 	data->lsp = lsp;
lsp              7296 fs/nfs/nfs4proc.c 	data->args.lock_owner.id = lsp->ls_seqid.owner_id;
lsp              9790 fs/nfs/nfs4proc.c nfs41_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp)
lsp              9792 fs/nfs/nfs4proc.c 	const struct cred *cred = lsp->ls_state->owner->so_cred;
lsp              9794 fs/nfs/nfs4proc.c 	nfs41_free_stateid(server, &lsp->ls_stateid, cred, false);
lsp              9795 fs/nfs/nfs4proc.c 	nfs4_free_lock_state(server, lsp);
lsp               867 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp;
lsp               870 fs/nfs/nfs4state.c 	lsp = kzalloc(sizeof(*lsp), GFP_NOFS);
lsp               871 fs/nfs/nfs4state.c 	if (lsp == NULL)
lsp               873 fs/nfs/nfs4state.c 	nfs4_init_seqid_counter(&lsp->ls_seqid);
lsp               874 fs/nfs/nfs4state.c 	refcount_set(&lsp->ls_count, 1);
lsp               875 fs/nfs/nfs4state.c 	lsp->ls_state = state;
lsp               876 fs/nfs/nfs4state.c 	lsp->ls_owner = fl_owner;
lsp               877 fs/nfs/nfs4state.c 	lsp->ls_seqid.owner_id = ida_simple_get(&server->lockowner_id, 0, 0, GFP_NOFS);
lsp               878 fs/nfs/nfs4state.c 	if (lsp->ls_seqid.owner_id < 0)
lsp               880 fs/nfs/nfs4state.c 	INIT_LIST_HEAD(&lsp->ls_locks);
lsp               881 fs/nfs/nfs4state.c 	return lsp;
lsp               883 fs/nfs/nfs4state.c 	kfree(lsp);
lsp               887 fs/nfs/nfs4state.c void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp)
lsp               889 fs/nfs/nfs4state.c 	ida_simple_remove(&server->lockowner_id, lsp->ls_seqid.owner_id);
lsp               890 fs/nfs/nfs4state.c 	nfs4_destroy_seqid_counter(&lsp->ls_seqid);
lsp               891 fs/nfs/nfs4state.c 	kfree(lsp);
lsp               901 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp, *new = NULL;
lsp               905 fs/nfs/nfs4state.c 		lsp = __nfs4_find_lock_state(state, owner, NULL);
lsp               906 fs/nfs/nfs4state.c 		if (lsp != NULL)
lsp               911 fs/nfs/nfs4state.c 			lsp = new;
lsp               923 fs/nfs/nfs4state.c 	return lsp;
lsp               930 fs/nfs/nfs4state.c void nfs4_put_lock_state(struct nfs4_lock_state *lsp)
lsp               935 fs/nfs/nfs4state.c 	if (lsp == NULL)
lsp               937 fs/nfs/nfs4state.c 	state = lsp->ls_state;
lsp               938 fs/nfs/nfs4state.c 	if (!refcount_dec_and_lock(&lsp->ls_count, &state->state_lock))
lsp               940 fs/nfs/nfs4state.c 	list_del(&lsp->ls_locks);
lsp               945 fs/nfs/nfs4state.c 	if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) {
lsp               948 fs/nfs/nfs4state.c 		clp->cl_mvops->free_lock_state(server, lsp);
lsp               950 fs/nfs/nfs4state.c 		nfs4_free_lock_state(server, lsp);
lsp               955 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner;
lsp               957 fs/nfs/nfs4state.c 	dst->fl_u.nfs4_fl.owner = lsp;
lsp               958 fs/nfs/nfs4state.c 	refcount_inc(&lsp->ls_count);
lsp               973 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp;
lsp               977 fs/nfs/nfs4state.c 	lsp = nfs4_get_lock_state(state, fl->fl_owner);
lsp               978 fs/nfs/nfs4state.c 	if (lsp == NULL)
lsp               980 fs/nfs/nfs4state.c 	fl->fl_u.nfs4_fl.owner = lsp;
lsp               989 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp;
lsp              1003 fs/nfs/nfs4state.c 	lsp = __nfs4_find_lock_state(state, fl_owner, fl_flock_owner);
lsp              1004 fs/nfs/nfs4state.c 	if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags))
lsp              1006 fs/nfs/nfs4state.c 	else if (lsp != NULL && test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) != 0) {
lsp              1007 fs/nfs/nfs4state.c 		nfs4_stateid_copy(dst, &lsp->ls_stateid);
lsp              1011 fs/nfs/nfs4state.c 	nfs4_put_lock_state(lsp);
lsp              1492 fs/nfs/nfs4state.c 	struct nfs4_lock_state *lsp;
lsp              1535 fs/nfs/nfs4state.c 			lsp = fl->fl_u.nfs4_fl.owner;
lsp              1536 fs/nfs/nfs4state.c 			if (lsp)
lsp              1537 fs/nfs/nfs4state.c 				set_bit(NFS_LOCK_LOST, &lsp->ls_flags);
lsp              1015 fs/nfs/nfs4trace.h 			const struct nfs4_lock_state *lsp,
lsp              1019 fs/nfs/nfs4trace.h 		TP_ARGS(state, lsp, error),
lsp              1059 fs/nfs/nfs4trace.h 				const struct nfs4_lock_state *lsp, \
lsp              1062 fs/nfs/nfs4trace.h 			TP_ARGS(state, lsp, error))
lsp               267 fs/nfsd/nfs4layouts.c 		bool create, u32 layout_type, struct nfs4_layout_stateid **lsp)
lsp               307 fs/nfsd/nfs4layouts.c 	*lsp = ls;
lsp                56 fs/nfsd/pnfs.h 		bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
lsp              1017 include/linux/nvme.h 	__u8			lsp; /* upper 4 bits reserved */