/kernel/linux/linux-5.10/fs/nfs/ |
H A 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 in nfs4_alloc_lock_state() 894 nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs4_free_lock_state() argument 908 struct nfs4_lock_state *lsp, *new = NULL; nfs4_get_lock_state() local 937 nfs4_put_lock_state(struct nfs4_lock_state *lsp) nfs4_put_lock_state() argument 962 struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner; nfs4_fl_copy_lock() local 980 struct nfs4_lock_state *lsp; nfs4_set_lock_state() local 996 struct nfs4_lock_state *lsp; nfs4_copy_lock_stateid() local 1517 struct nfs4_lock_state *lsp; nfs4_reclaim_locks() local [all...] |
H A D | nfs4proc.c | 1847 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument 1850 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid() 1854 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1856 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1858 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid() 2290 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local 2291 if (lsp) in nfs4_handle_delegation_recall_error() 2292 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error() 2897 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local 2904 list_for_each_entry(lsp, in nfs41_check_expired_locks() 6638 struct nfs4_lock_state *lsp; _nfs4_proc_getlk() local 6682 nfs4_refresh_lock_old_stateid(nfs4_stateid *dst, struct nfs4_lock_state *lsp) nfs4_refresh_lock_old_stateid() argument 6701 nfs4_sync_lock_stateid(nfs4_stateid *dst, struct nfs4_lock_state *lsp) nfs4_sync_lock_stateid() argument 6717 struct nfs4_lock_state *lsp; global() member 6725 nfs4_alloc_unlockdata(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, struct nfs_seqid *seqid) nfs4_alloc_unlockdata() argument 6842 nfs4_do_unlck(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, struct nfs_seqid *seqid) nfs4_do_unlck() argument 6889 struct nfs4_lock_state *lsp; nfs4_proc_unlck() local 6935 struct nfs4_lock_state *lsp; global() member 6944 nfs4_alloc_lockdata(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, gfp_t gfp_mask) nfs4_alloc_lockdata() argument 7028 struct nfs4_lock_state *lsp = data->lsp; nfs4_lock_done() local 7109 nfs4_handle_setlk_error(struct nfs_server *server, struct nfs4_lock_state *lsp, int new_lock_owner, int error) nfs4_handle_setlk_error() argument 7233 struct nfs4_lock_state *lsp; nfs41_lock_expired() local 7359 struct nfs4_lock_state *lsp = request->fl_u.nfs4_fl.owner; nfs4_retry_setlk() local 7476 struct nfs4_lock_state *lsp; global() member 7530 nfs4_release_lockowner(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs4_release_lockowner() argument 10178 nfs41_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs41_free_lock_state() argument [all...] |
H A D | nfs4_fs.h | 512 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp); 533 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
|
H A D | nfs4trace.h | 1237 const struct nfs4_lock_state *lsp, 1241 TP_ARGS(state, lsp, error), 1281 const struct nfs4_lock_state *lsp, \ 1284 TP_ARGS(state, lsp, error))
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4state.c | 873 struct nfs4_lock_state *lsp; in nfs4_alloc_lock_state() local 876 lsp = kzalloc(sizeof(*lsp), GFP_KERNEL_ACCOUNT); in nfs4_alloc_lock_state() 877 if (lsp == NULL) in nfs4_alloc_lock_state() 879 nfs4_init_seqid_counter(&lsp->ls_seqid); in nfs4_alloc_lock_state() 880 refcount_set(&lsp->ls_count, 1); in nfs4_alloc_lock_state() 881 lsp->ls_state = state; in nfs4_alloc_lock_state() 882 lsp->ls_owner = fl_owner; in nfs4_alloc_lock_state() 883 lsp->ls_seqid.owner_id = ida_alloc(&server->lockowner_id, GFP_KERNEL_ACCOUNT); in nfs4_alloc_lock_state() 884 if (lsp in nfs4_alloc_lock_state() 893 nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs4_free_lock_state() argument 907 struct nfs4_lock_state *lsp, *new = NULL; nfs4_get_lock_state() local 936 nfs4_put_lock_state(struct nfs4_lock_state *lsp) nfs4_put_lock_state() argument 961 struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner; nfs4_fl_copy_lock() local 979 struct nfs4_lock_state *lsp; nfs4_set_lock_state() local 995 struct nfs4_lock_state *lsp; nfs4_copy_lock_stateid() local 1518 struct nfs4_lock_state *lsp; nfs4_reclaim_locks() local [all...] |
H A D | nfs4proc.c | 1852 static bool nfs4_update_lock_stateid(struct nfs4_lock_state *lsp, in nfs4_update_lock_stateid() argument 1855 struct nfs4_state *state = lsp->ls_state; in nfs4_update_lock_stateid() 1859 if (!nfs4_stateid_match_other(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1861 if (!nfs4_stateid_is_newer(stateid, &lsp->ls_stateid)) in nfs4_update_lock_stateid() 1863 nfs4_stateid_copy(&lsp->ls_stateid, stateid); in nfs4_update_lock_stateid() 2296 struct nfs4_lock_state *lsp = fl->fl_u.nfs4_fl.owner; in nfs4_handle_delegation_recall_error() local 2297 if (lsp) in nfs4_handle_delegation_recall_error() 2298 set_bit(NFS_LOCK_LOST, &lsp->ls_flags); in nfs4_handle_delegation_recall_error() 2907 struct nfs4_lock_state *lsp, *prev = NULL; in nfs41_check_expired_locks() local 2914 list_for_each_entry(lsp, in nfs41_check_expired_locks() 6764 struct nfs4_lock_state *lsp; _nfs4_proc_getlk() local 6808 nfs4_refresh_lock_old_stateid(nfs4_stateid *dst, struct nfs4_lock_state *lsp) nfs4_refresh_lock_old_stateid() argument 6827 nfs4_sync_lock_stateid(nfs4_stateid *dst, struct nfs4_lock_state *lsp) nfs4_sync_lock_stateid() argument 6843 struct nfs4_lock_state *lsp; global() member 6851 nfs4_alloc_unlockdata(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, struct nfs_seqid *seqid) nfs4_alloc_unlockdata() argument 6968 nfs4_do_unlck(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, struct nfs_seqid *seqid) nfs4_do_unlck() argument 7018 struct nfs4_lock_state *lsp; nfs4_proc_unlck() local 7065 struct nfs4_lock_state *lsp; global() member 7074 nfs4_alloc_lockdata(struct file_lock *fl, struct nfs_open_context *ctx, struct nfs4_lock_state *lsp, gfp_t gfp_mask) nfs4_alloc_lockdata() argument 7157 struct nfs4_lock_state *lsp = data->lsp; nfs4_lock_done() local 7232 nfs4_handle_setlk_error(struct nfs_server *server, struct nfs4_lock_state *lsp, int new_lock_owner, int error) nfs4_handle_setlk_error() argument 7357 struct nfs4_lock_state *lsp; nfs41_lock_expired() local 7477 struct nfs4_lock_state *lsp = request->fl_u.nfs4_fl.owner; nfs4_retry_setlk() local 7628 struct nfs4_lock_state *lsp; global() member 7682 nfs4_release_lockowner(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs4_release_lockowner() argument 10393 nfs41_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp) nfs41_free_lock_state() argument [all...] |
H A D | nfs4_fs.h | 515 extern void nfs4_put_lock_state(struct nfs4_lock_state *lsp); 536 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
|
H A D | nfs4trace.h | 972 const struct nfs4_lock_state *lsp, 976 TP_ARGS(state, lsp, error), 1016 const struct nfs4_lock_state *lsp, \ 1019 TP_ARGS(state, lsp, error))
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | pnfs.h | 56 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
|
H A D | nfs4layouts.c | 267 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() 307 *lsp = ls; in nfsd4_preprocess_layout_stateid() 265 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, stateid_t *stateid, bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) nfsd4_preprocess_layout_stateid() argument
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | pnfs.h | 56 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp);
|
H A D | nfs4layouts.c | 268 bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) in nfsd4_preprocess_layout_stateid() 308 *lsp = ls; in nfsd4_preprocess_layout_stateid() 266 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, stateid_t *stateid, bool create, u32 layout_type, struct nfs4_layout_stateid **lsp) nfsd4_preprocess_layout_stateid() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | restrack.c | 139 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | restrack.c | 139 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()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | nvme.h | 714 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi,
|
H A D | core.c | 3000 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, in nvme_get_log() argument 3009 c.get_log_page.lsp = lsp; in nvme_get_log()
|
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | nvme.h | 853 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi,
|
H A D | core.c | 2855 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, in nvme_get_log() argument 2864 c.get_log_page.lsp = lsp; in nvme_get_log()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | nvme.h | 1205 __u8 lsp; /* upper 4 bits reserved */ member
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | admin-cmd.c | 233 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | admin-cmd.c | 261 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nvme.h | 1376 __u8 lsp; /* upper 4 bits reserved */ member
|