Searched refs:elsize (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-xdr.c | 368 const uint_t elsize, const xdrproc_t elproc) in xdr_enc_array() argument 373 if (*sizep > maxsize || *sizep > UINT_MAX / elsize) in xdr_enc_array() 382 addr += elsize; in xdr_enc_array() 390 const uint_t elsize, const xdrproc_t elproc) in xdr_dec_array() argument 401 if (size > maxsize || size > UINT_MAX / elsize) in xdr_dec_array() 411 *arrp = kmem_alloc(size * elsize, KM_NOSLEEP); in xdr_dec_array() 423 kmem_free(*arrp, size * elsize); in xdr_dec_array() 426 addr += elsize; in xdr_dec_array()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/rpc/ |
| H A D | xdr.h | 149 const uint_t maxsize, const uint_t elsize, const xdrproc_t elproc) in xdr_array() argument 151 return xdrs->x_ops->xdr_array(xdrs, arrp, sizep, maxsize, elsize, in xdr_array()
|