Lines Matching defs:bufsz
100 * buffer provided via *bufsz; the routine will fail with EOVERFLOW if
101 * the results will not fit in the buffer, in which case, *bufsz will
110 size_t *bufsz)
117 if ((!svc_type) || (!svc_data) || (!buf) || (!bufsz))
132 if (slen > *bufsz) {
133 *bufsz = slen;
138 xdrmem_create(&xdr, buf, *bufsz, XDR_ENCODE);
144 *bufsz = slen;
156 size_t *bufsz)
161 if ((!svc_type) || (!svc_data) || (!buf) || (!bufsz))
164 status = smb_dfs_link_encode(info, buf, *bufsz);
185 smb_dfs_link_encode(dfs_info_t *info, char *buf, size_t bufsz)
194 sz = snprintf(buf, bufsz, "%u:%u:%u:%u:%s:%u:%zu:%s",
199 if (sz > bufsz) {
207 bufsz -= sz;
215 if (sz > bufsz) {
220 bufsz -= sz;