Home
last modified time | relevance | path

Searched refs:layp (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c4799 char *layp; in nfsrvd_layoutget() local
4839 layp = NULL; in nfsrvd_layoutget()
4847 if (layp != NULL) in nfsrvd_layoutget()
4870 nfsm_strtom(nd, layp, layoutlen); in nfsrvd_layoutget()
4875 free(layp, M_TEMP); in nfsrvd_layoutget()
4895 char *layp; in nfsrvd_layoutcommit() local
4898 layp = NULL; in nfsrvd_layoutcommit()
4958 free(layp, M_TEMP); in nfsrvd_layoutcommit()
4971 uint32_t *tl, *layp; in nfsrvd_layoutreturn() local
4977 layp = NULL; in nfsrvd_layoutreturn()
[all …]
H A Dnfs_nfsdstate.c212 nfsv4stateid_t *stateidp, char *layp, int *layoutlenp, NFSPROC_T *p);
224 static void nfsrv_flexlayouterr(struct nfsrv_descript *nd, uint32_t *layp,
6777 nfsv4stateid_t *stateidp, int maxcnt, char *layp, int *hasnewsizep, in nfsrv_layoutcommit() argument
6798 int *layoutlenp, char *layp, struct ucred *cred, NFSPROC_T *p) in nfsrv_layoutget() argument
6889 NFSBCOPY(lyp->lay_xdr, layp, lyp->lay_layoutlen); in nfsrv_layoutget()
6929 error = nfsrv_addlayout(nd, &lyp, stateidp, layp, layoutlenp, p); in nfsrv_layoutget()
7063 tl = layp; in nfsrv_flexlayouterr()
7375 if (layouttype == NFSLAYOUT_FLEXFILE && layp != NULL) in nfsrv_layoutreturn()
7376 nfsrv_flexlayouterr(nd, layp, maxcnt, p); in nfsrv_layoutreturn()
7459 NFSBCOPY(nlyp->lay_xdr, layp, nlyp->lay_layoutlen); in nfsrv_addlayout()
[all …]
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clrpcops.c6376 struct nfscllayout *layp; in nfscl_doiods() local
6413 if (layp == NULL || rflp == NULL) { in nfscl_doiods()
6421 if (layp != NULL) { in nfscl_doiods()
6423 layp = NULL; in nfscl_doiods()
6440 if (layp != NULL) in nfscl_doiods()
6441 nfscl_rellayout(layp, 0); in nfscl_doiods()
6522 dip, layp, rflp, off, xfer, in nfscl_doiods()
6529 dip, layp, rflp, off, xfer, in nfscl_doiods()
6566 layp->nfsly_flags |= NFSLY_WRITTEN; in nfscl_doiods()
6572 layp->nfsly_lastbyte = lastbyte; in nfscl_doiods()
[all …]
H A Dnfs_clstate.c5632 nfscl_freelayout(struct nfscllayout *layp) in nfscl_freelayout() argument
5637 LIST_FOREACH_SAFE(flp, &layp->nfsly_flayread, nfsfl_list, nflp) { in nfscl_freelayout()
5641 LIST_FOREACH_SAFE(flp, &layp->nfsly_flayrw, nfsfl_list, nflp) { in nfscl_freelayout()
5645 LIST_FOREACH_SAFE(rp, &layp->nfsly_recall, nfsrecly_list, nrp) { in nfscl_freelayout()
5651 free(layp, M_NFSLAYOUT); in nfscl_freelayout()