Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nfs/
Dnfs4state.c854 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local
857 lsp = kzalloc(sizeof(*lsp), GFP_NOFS); in nfs4_alloc_lock_state()
858 if (lsp == NULL) in nfs4_alloc_lock_state()
860 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state()
861 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state()
862 lsp->ls_state = state; in nfs4_alloc_lock_state()
863 lsp->ls_owner = fl_owner; in nfs4_alloc_lock_state()
864 lsp->ls_seqid.owner_id = ida_simple_get(&server->lockowner_id, 0, 0, GFP_NOFS); in nfs4_alloc_lock_state()
865 if (lsp->ls_seqid.owner_id < 0) in nfs4_alloc_lock_state()
867 INIT_LIST_HEAD(&lsp->ls_locks); in nfs4_alloc_lock_state()
[all …]
Dnfs4proc.c1704 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument
1707 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1711 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1713 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1715 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid()
2134 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local
2135 if (lsp) in nfs4_handle_delegation_recall_error()
2136 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error()
2715 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local
2722 list_for_each_entry(lsp, &state->lock_states, ls_locks) { in nfs41_check_expired_locks()
[all …]
Dnfs4_fs.h490 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp);
513 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-v4.19/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-v4.19/drivers/infiniband/hw/cxgb4/
Drestrack.c141 struct t4_swsqe *fsp = NULL, *lsp = NULL; in fill_res_qp_entry() local
170 lsp = &last_sqe; in fill_res_qp_entry()
178 if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp)) in fill_res_qp_entry()
/Linux-v4.19/drivers/nvme/host/
Dnvme.h459 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
Dcore.c2291 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, in nvme_get_log() argument
2300 c.get_log_page.lsp = lsp; in nvme_get_log()
/Linux-v4.19/include/linux/
Dnvme.h936 __u8 lsp; /* upper 4 bits reserved */ member
/Linux-v4.19/drivers/nvme/target/
Dadmin-cmd.c205 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()