Searched refs:lsp (Results 1 – 6 of 6) sorted by relevance
/fs/nfs/ |
D | nfs4state.c | 874 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local 877 lsp = kzalloc(sizeof(*lsp), GFP_NOFS); in nfs4_alloc_lock_state() 878 if (lsp == NULL) in nfs4_alloc_lock_state() 880 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state() 881 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state() 882 lsp->ls_state = state; in nfs4_alloc_lock_state() 883 lsp->ls_owner = fl_owner; in nfs4_alloc_lock_state() 884 lsp->ls_seqid.owner_id = ida_simple_get(&server->lockowner_id, 0, 0, GFP_NOFS); in nfs4_alloc_lock_state() 885 if (lsp->ls_seqid.owner_id < 0) in nfs4_alloc_lock_state() 887 INIT_LIST_HEAD(&lsp->ls_locks); in nfs4_alloc_lock_state() [all …]
|
D | nfs4proc.c | 1866 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument 1869 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid() 1873 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1875 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1877 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid() 2310 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local 2311 if (lsp) in nfs4_handle_delegation_recall_error() 2312 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error() 2920 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local 2927 list_for_each_entry(lsp, &state->lock_states, ls_locks) { in nfs41_check_expired_locks() [all …]
|
D | nfs4_fs.h | 514 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp); 535 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
|
D | nfs4trace.h | 1282 const struct nfs4_lock_state *lsp, 1286 TP_ARGS(state, lsp, error), 1326 const struct nfs4_lock_state *lsp, \ 1329 TP_ARGS(state, lsp, error))
|
/fs/nfsd/ |
D | pnfs.h | 56 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
|
D | nfs4layouts.c | 267 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() argument 307 *lsp = ls; in nfsd4_preprocess_layout_stateid()
|