Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Dnfs4state.c815 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local
818 lsp = kzalloc_obj(*lsp, GFP_KERNEL_ACCOUNT); in nfs4_alloc_lock_state()
819 if (lsp == NULL) in nfs4_alloc_lock_state()
821 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state()
822 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state()
823 lsp->ls_state = state; in nfs4_alloc_lock_state()
824 lsp->ls_owner = owner; in nfs4_alloc_lock_state()
825 lsp->ls_seqid.owner_id = atomic64_inc_return(&server->owner_ctr); in nfs4_alloc_lock_state()
826 INIT_LIST_HEAD(&lsp->ls_locks); in nfs4_alloc_lock_state()
827 return lsp; in nfs4_alloc_lock_state()
[all …]
H A Dnfs40proc.c258 struct nfs4_lock_state *lsp; member
301 nfs4_free_lock_state(data->server, data->lsp); in nfs4_release_lockowner_release()
312 nfs4_release_lockowner(struct nfs_server *server, struct nfs4_lock_state *lsp) in nfs4_release_lockowner() argument
326 data->lsp = lsp; in nfs4_release_lockowner()
329 data->args.lock_owner.id = lsp->ls_seqid.owner_id; in nfs4_release_lockowner()
H A Dnfs4proc.c1881 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument
1884 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid()
1888 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1890 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid()
1892 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid()
2339 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local
2340 if (lsp) in nfs4_handle_delegation_recall_error()
2341 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error()
2927 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local
2934 list_for_each_entry(lsp, &state->lock_states, ls_locks) { in nfs41_check_expired_locks()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A 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/fs/nfsd/
H A Dpnfs.h58 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
H A Dnfs4layouts.c281 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() argument
321 *lsp = ls; in nfsd4_preprocess_layout_stateid()
/linux/drivers/nvme/host/
H A Dcore.c156 u8 lsp, u8 csi, void *log, size_t size, u64 offset, u16 lsi);
3289 u8 lsp, u8 csi, void *log, size_t size, u64 offset, u16 lsi) in nvme_get_log_lsi() argument
3297 c.get_log_page.lsp = lsp; in nvme_get_log_lsi()
3308 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, in nvme_get_log() argument
3311 return nvme_get_log_lsi(ctrl, nsid, log_page, lsp, csi, log, size, in nvme_get_log()
H A Dnvme.h977 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi,
/linux/include/linux/
H A Dnvme.h1559 __u8 lsp; /* upper 4 bits reserved */ member
/linux/drivers/nvme/target/
H A Dadmin-cmd.c476 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()