Home
last modified time | relevance | path

Searched refs:lsp (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/nfs/
Dnfs4state.c878 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local
881 lsp = kzalloc(sizeof(*lsp), GFP_NOFS); in nfs4_alloc_lock_state()
882 if (lsp == NULL) in nfs4_alloc_lock_state()
884 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state()
885 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state()
886 lsp->ls_state = state; in nfs4_alloc_lock_state()
887 lsp->ls_owner = fl_owner; in nfs4_alloc_lock_state()
888 lsp->ls_seqid.owner_id = ida_simple_get(&server->lockowner_id, 0, 0, GFP_NOFS); in nfs4_alloc_lock_state()
889 if (lsp->ls_seqid.owner_id < 0) in nfs4_alloc_lock_state()
891 INIT_LIST_HEAD(&lsp->ls_locks); in nfs4_alloc_lock_state()
[all …]
Dnfs4proc.c1720 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument
1723 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1727 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1729 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1731 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid()
2149 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local
2150 if (lsp) in nfs4_handle_delegation_recall_error()
2151 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error()
2738 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local
2745 list_for_each_entry(lsp, &state->lock_states, ls_locks) { in nfs41_check_expired_locks()
[all …]
Dnfs4_fs.h495 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp);
518 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
Dnfs4trace.h788 const struct nfs4_lock_state *lsp,
792 TP_ARGS(state, lsp, error),
832 const struct nfs4_lock_state *lsp, \
835 TP_ARGS(state, lsp, error))
/linux-4.19.296/fs/nfsd/
Dpnfs.h56 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
Dnfs4layouts.c267 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() argument
307 *lsp = ls; in nfsd4_preprocess_layout_stateid()
/linux-4.19.296/include/linux/
Dnvme.h936 __u8 lsp; /* upper 4 bits reserved */ member