Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dnfs4state.c869 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local
872 lsp = kzalloc(sizeof(*lsp), GFP_KERNEL_ACCOUNT); in nfs4_alloc_lock_state()
873 if (lsp == NULL) in nfs4_alloc_lock_state()
875 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state()
876 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state()
877 lsp->ls_state = state; in nfs4_alloc_lock_state()
878 lsp->ls_owner = fl_owner; in nfs4_alloc_lock_state()
879 lsp->ls_seqid.owner_id = ida_alloc(&server->lockowner_id, GFP_KERNEL_ACCOUNT); in nfs4_alloc_lock_state()
880 if (lsp->ls_seqid.owner_id < 0) in nfs4_alloc_lock_state()
882 INIT_LIST_HEAD(&lsp->ls_locks); in nfs4_alloc_lock_state()
[all …]
Dnfs4proc.c1849 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument
1852 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1856 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1858 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1860 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid()
2294 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local
2295 if (lsp) in nfs4_handle_delegation_recall_error()
2296 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error()
2906 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local
2913 list_for_each_entry(lsp, &state->lock_states, ls_locks) { in nfs41_check_expired_locks()
[all …]
Dnfs4_fs.h513 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp);
534 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
Dnfs4trace.h970 const struct nfs4_lock_state *lsp,
974 TP_ARGS(state, lsp, error),
1014 const struct nfs4_lock_state *lsp, \
1017 TP_ARGS(state, lsp, error))
/linux-6.1.9/fs/nfsd/
Dpnfs.h56 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
Dnfs4layouts.c268 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() argument
308 *lsp = ls; in nfsd4_preprocess_layout_stateid()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Drestrack.c139 struct t4_swsqe *fsp = NULL, *lsp = NULL; in c4iw_fill_res_qp_entry() local
168 lsp = &last_sqe; in c4iw_fill_res_qp_entry()
176 if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp)) in c4iw_fill_res_qp_entry()
/linux-6.1.9/drivers/nvme/host/
Dnvme.h832 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi,
Dcore.c2987 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, in nvme_get_log() argument
2996 c.get_log_page.lsp = lsp; in nvme_get_log()
/linux-6.1.9/drivers/nvme/target/
Dadmin-cmd.c259 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()
/linux-6.1.9/include/linux/
Dnvme.h1333 __u8 lsp; /* upper 4 bits reserved */ member