Lines Matching full:blen
2171 char *opt, char **buf, size_t *blen) in nfscl_printopt() argument
2175 if (testval != 0 && *blen > strlen(opt)) { in nfscl_printopt()
2176 len = snprintf(*buf, *blen, "%s", opt); in nfscl_printopt()
2180 *blen -= len; in nfscl_printopt()
2188 char *opt, char **buf, size_t *blen) in nfscl_printoptval() argument
2192 if (*blen > strlen(opt) + 1) { in nfscl_printoptval()
2194 len = snprintf(*buf, *blen, "%s=%d", opt, optval); in nfscl_printoptval()
2195 if (len < *blen) { in nfscl_printoptval()
2197 *blen -= len; in nfscl_printoptval()
2208 size_t blen; in nfscl_retopts() local
2211 blen = buflen; in nfscl_retopts()
2213 &blen); in nfscl_retopts()
2216 &blen); in nfscl_retopts()
2218 &buf, &blen); in nfscl_retopts()
2220 nmp->nm_minorvers > 0, ",oneopenown", &buf, &blen); in nfscl_retopts()
2223 &blen); in nfscl_retopts()
2225 "nfsv2", &buf, &blen); in nfscl_retopts()
2226 nfscl_printopt(nmp, nmp->nm_sotype == SOCK_STREAM, ",tcp", &buf, &blen); in nfscl_retopts()
2227 nfscl_printopt(nmp, nmp->nm_sotype != SOCK_STREAM, ",udp", &buf, &blen); in nfscl_retopts()
2229 &buf, &blen); in nfscl_retopts()
2231 &blen); in nfscl_retopts()
2233 ",syskrb5", &buf, &blen); in nfscl_retopts()
2235 &buf, &blen); in nfscl_retopts()
2236 nfscl_printoptval(nmp, nmp->nm_aconnect + 1, ",nconnect", &buf, &blen); in nfscl_retopts()
2238 &blen); in nfscl_retopts()
2240 &blen); in nfscl_retopts()
2242 &blen); in nfscl_retopts()
2244 &blen); in nfscl_retopts()
2246 &blen); in nfscl_retopts()
2248 ",noncontigwr", &buf, &blen); in nfscl_retopts()
2250 0, ",lockd", &buf, &blen); in nfscl_retopts()
2252 &buf, &blen); in nfscl_retopts()
2254 &buf, &blen); in nfscl_retopts()
2256 &buf, &blen); in nfscl_retopts()
2258 NFSMNT_PRIVACY)) == NFSMNT_KERB, ",sec=krb5", &buf, &blen); in nfscl_retopts()
2261 &buf, &blen); in nfscl_retopts()
2264 &buf, &blen); in nfscl_retopts()
2265 nfscl_printoptval(nmp, nmp->nm_acdirmin, ",acdirmin", &buf, &blen); in nfscl_retopts()
2266 nfscl_printoptval(nmp, nmp->nm_acdirmax, ",acdirmax", &buf, &blen); in nfscl_retopts()
2267 nfscl_printoptval(nmp, nmp->nm_acregmin, ",acregmin", &buf, &blen); in nfscl_retopts()
2268 nfscl_printoptval(nmp, nmp->nm_acregmax, ",acregmax", &buf, &blen); in nfscl_retopts()
2269 nfscl_printoptval(nmp, nmp->nm_nametimeo, ",nametimeo", &buf, &blen); in nfscl_retopts()
2271 &blen); in nfscl_retopts()
2272 nfscl_printoptval(nmp, nmp->nm_rsize, ",rsize", &buf, &blen); in nfscl_retopts()
2273 nfscl_printoptval(nmp, nmp->nm_wsize, ",wsize", &buf, &blen); in nfscl_retopts()
2275 &blen); in nfscl_retopts()
2276 nfscl_printoptval(nmp, nmp->nm_readahead, ",readahead", &buf, &blen); in nfscl_retopts()
2278 &blen); in nfscl_retopts()
2279 nfscl_printoptval(nmp, nmp->nm_timeo, ",timeout", &buf, &blen); in nfscl_retopts()
2280 nfscl_printoptval(nmp, nmp->nm_retry, ",retrans", &buf, &blen); in nfscl_retopts()