Home
last modified time | relevance | path

Searched refs:name_max (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/pjdfstest/tests/
H A Dmisc.sh139 name_max=`${fstest} pathconf . _PC_NAME_MAX`
140 namegen_len ${name_max}
148 name_max=`${fstest} pathconf . _PC_NAME_MAX`
149 complen=$((name_max/2))
/freebsd/sys/fs/p9fs/
H A Dp9fs_vnops.c2281 unsigned int name_max; in p9fs_get_name_max() local
2284 name_max = atomic_load_int(&vses->name_max); in p9fs_get_name_max()
2285 if (name_max != 0) in p9fs_get_name_max()
2286 return (name_max); in p9fs_get_name_max()
2299 name_max = statfs.namelen; in p9fs_get_name_max()
2302 P9_DEBUG(VOPS, "%s: max_name=%u error=%d\n", __func__, name_max, error); in p9fs_get_name_max()
2303 if (error != 0 || name_max == 0) { in p9fs_get_name_max()
2306 name_max = NAME_MAX; /* fallback and prevent retrying */ in p9fs_get_name_max()
2308 atomic_store_int(&vses->name_max, name_max); in p9fs_get_name_max()
2309 return (name_max); in p9fs_get_name_max()
H A Dp9fs.h157 unsigned int name_max; /* cached max filename length */ member
/freebsd/lib/libutil/
H A Dlogin_class.c101 char name_max[40]; in setclassresources() local
106 sprintf(name_max, "%s-max", lr->what); in setclassresources()
111 rlim.rlim_max = (*lr->who)(lc, name_max, rmax, rmax); in setclassresources()
/freebsd/contrib/file/src/
H A Dmagic.c623 ms->name_max = CAST(uint16_t, v); in magic_setparam()
665 *CAST(size_t *, val) = ms->name_max; in magic_getparam()
H A Dfile.h503 uint16_t name_max; member
H A Dsoftmagic.c1642 if (*name_count >= ms->name_max) { in mget()
H A Dapprentice.c585 ms->name_max = FILE_NAME_MAX; in file_ms_alloc()
/freebsd/contrib/libpcap/
H A Dpcap-bpf.c2946 size_t name_max; local
2973 name_max = USBUS_PREFIX_LEN + 10 + 1;
2974 name = malloc(name_max);
/freebsd/contrib/lib9p/backend/
H A Dfs.c2130 long name_max; in fs_statfs() local
2158 name_max = fpathconf(fd, _PC_NAME_MAX); in fs_statfs()
2162 if (name_max == -1) in fs_statfs()
2165 dostatfs(&req->lr_resp.rstatfs.statfs, &f, name_max); in fs_statfs()
/freebsd/sys/contrib/zlib/
H A Dzlib.h127 uInt name_max; /* space at name (only when reading header) */ member
H A Dinflate.c641 state->length < state->head->name_max) in inflate()
/freebsd/include/rpcsvc/
H A Dnfs_prot.x1083 uint32 name_max; member
/freebsd/sys/contrib/zlib/test/
H A Dinfcover.c306 head.name_max = len; in inf()