Lines Matching refs:blen
1899 char *opt, char **buf, size_t *blen) in nfscl_printopt() argument
1903 if (testval != 0 && *blen > strlen(opt)) { in nfscl_printopt()
1904 len = snprintf(*buf, *blen, "%s", opt); in nfscl_printopt()
1908 *blen -= len; in nfscl_printopt()
1916 char *opt, char **buf, size_t *blen) in nfscl_printoptval() argument
1920 if (*blen > strlen(opt) + 1) { in nfscl_printoptval()
1922 len = snprintf(*buf, *blen, "%s=%d", opt, optval); in nfscl_printoptval()
1923 if (len < *blen) { in nfscl_printoptval()
1925 *blen -= len; in nfscl_printoptval()
1936 size_t blen; in nfscl_retopts() local
1939 blen = buflen; in nfscl_retopts()
1941 &blen); in nfscl_retopts()
1944 &blen); in nfscl_retopts()
1946 &buf, &blen); in nfscl_retopts()
1949 &blen); in nfscl_retopts()
1951 "nfsv2", &buf, &blen); in nfscl_retopts()
1952 nfscl_printopt(nmp, nmp->nm_sotype == SOCK_STREAM, ",tcp", &buf, &blen); in nfscl_retopts()
1953 nfscl_printopt(nmp, nmp->nm_sotype != SOCK_STREAM, ",udp", &buf, &blen); in nfscl_retopts()
1955 &buf, &blen); in nfscl_retopts()
1957 &buf, &blen); in nfscl_retopts()
1959 &blen); in nfscl_retopts()
1961 &blen); in nfscl_retopts()
1963 &blen); in nfscl_retopts()
1965 &blen); in nfscl_retopts()
1967 &blen); in nfscl_retopts()
1969 ",noncontigwr", &buf, &blen); in nfscl_retopts()
1971 0, ",lockd", &buf, &blen); in nfscl_retopts()
1973 NFSMNT_NOLOCKD, ",nolockd", &buf, &blen); in nfscl_retopts()
1975 &buf, &blen); in nfscl_retopts()
1977 &buf, &blen); in nfscl_retopts()
1979 NFSMNT_PRIVACY)) == NFSMNT_KERB, ",sec=krb5", &buf, &blen); in nfscl_retopts()
1982 &buf, &blen); in nfscl_retopts()
1985 &buf, &blen); in nfscl_retopts()
1986 nfscl_printoptval(nmp, nmp->nm_acdirmin, ",acdirmin", &buf, &blen); in nfscl_retopts()
1987 nfscl_printoptval(nmp, nmp->nm_acdirmax, ",acdirmax", &buf, &blen); in nfscl_retopts()
1988 nfscl_printoptval(nmp, nmp->nm_acregmin, ",acregmin", &buf, &blen); in nfscl_retopts()
1989 nfscl_printoptval(nmp, nmp->nm_acregmax, ",acregmax", &buf, &blen); in nfscl_retopts()
1990 nfscl_printoptval(nmp, nmp->nm_nametimeo, ",nametimeo", &buf, &blen); in nfscl_retopts()
1992 &blen); in nfscl_retopts()
1993 nfscl_printoptval(nmp, nmp->nm_rsize, ",rsize", &buf, &blen); in nfscl_retopts()
1994 nfscl_printoptval(nmp, nmp->nm_wsize, ",wsize", &buf, &blen); in nfscl_retopts()
1996 &blen); in nfscl_retopts()
1997 nfscl_printoptval(nmp, nmp->nm_readahead, ",readahead", &buf, &blen); in nfscl_retopts()
1999 &blen); in nfscl_retopts()
2000 nfscl_printoptval(nmp, nmp->nm_timeo, ",timeout", &buf, &blen); in nfscl_retopts()
2001 nfscl_printoptval(nmp, nmp->nm_retry, ",retrans", &buf, &blen); in nfscl_retopts()