Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsclient/nfs_clrpcops.c
Show First 20 Lines • Show All 5,809 Lines • ▼ Show 20 Lines | if (rem > 0) { | ||||
mbuf_setlen(m4, rem); | mbuf_setlen(m4, rem); | ||||
mbuf_setnext(m3, m4); | mbuf_setnext(m3, m4); | ||||
} | } | ||||
return (m2); | return (m2); | ||||
} | } | ||||
/* | /* | ||||
* Find a file layout that will handle the first bytes of the requested | * Find a file layout that will handle the first bytes of the requested | ||||
* range and return the information from it needed to to the I/O operation. | * range and return the information from it needed to the I/O operation. | ||||
*/ | */ | ||||
int | int | ||||
nfscl_findlayoutforio(struct nfscllayout *lyp, uint64_t off, uint32_t rwaccess, | nfscl_findlayoutforio(struct nfscllayout *lyp, uint64_t off, uint32_t rwaccess, | ||||
struct nfsclflayout **retflpp) | struct nfsclflayout **retflpp) | ||||
{ | { | ||||
struct nfsclflayout *flp, *nflp, *rflp; | struct nfsclflayout *flp, *nflp, *rflp; | ||||
uint32_t rw; | uint32_t rw; | ||||
▲ Show 20 Lines • Show All 1,768 Lines • Show Last 20 Lines |