Home
last modified time | relevance | path

Searched refs:namemax (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/pathchk/
H A Dpathchk.c99 long complen, namemax, pathmax, svnamemax; in check() local
119 namemax = pathconf(*p == '/' ? "/" : ".", _PC_NAME_MAX); in check()
120 if (namemax == -1 && errno != 0) in check()
121 namemax = NAME_MAX; in check()
123 namemax = _POSIX_NAME_MAX; in check()
132 if (namemax != -1 && complen > namemax) { in check()
134 p, namemax); in check()
155 svnamemax = namemax; in check()
156 namemax = pathconf(pathd, _PC_NAME_MAX); in check()
157 if (namemax == -1 && errno != 0) in check()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c2313 long linkmax, namemax, chownres, notrunc; in nfsrvd_pathconf() local
2324 nd->nd_repstat = nfsvno_pathconf(vp, _PC_NAME_MAX, &namemax, in nfsrvd_pathconf()
2338 pc->pc_namemax = txdr_unsigned(namemax); in nfsrvd_pathconf()