Searched refs:name_max (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/pjdfstest/tests/ |
| H A D | misc.sh | 139 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 D | p9fs_vnops.c | 2281 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 D | p9fs.h | 157 unsigned int name_max; /* cached max filename length */ member
|
| /freebsd/lib/libutil/ |
| H A D | login_class.c | 101 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 D | magic.c | 623 ms->name_max = CAST(uint16_t, v); in magic_setparam() 665 *CAST(size_t *, val) = ms->name_max; in magic_getparam()
|
| H A D | file.h | 503 uint16_t name_max; member
|
| H A D | softmagic.c | 1642 if (*name_count >= ms->name_max) { in mget()
|
| H A D | apprentice.c | 585 ms->name_max = FILE_NAME_MAX; in file_ms_alloc()
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-bpf.c | 2946 size_t name_max; local 2973 name_max = USBUS_PREFIX_LEN + 10 + 1; 2974 name = malloc(name_max);
|
| /freebsd/contrib/lib9p/backend/ |
| H A D | fs.c | 2130 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 D | zlib.h | 127 uInt name_max; /* space at name (only when reading header) */ member
|
| H A D | inflate.c | 641 state->length < state->head->name_max) in inflate()
|
| /freebsd/include/rpcsvc/ |
| H A D | nfs_prot.x | 1083 uint32 name_max; member
|
| /freebsd/sys/contrib/zlib/test/ |
| H A D | infcover.c | 306 head.name_max = len; in inf()
|