Searched defs:name_max (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Ddireader.c190 int name_max = pathconf(path, _PC_NAME_MAX); local
192 if(name_max < 0)
193 name_max = NAME_MAX;
195 if(name_max < 0) {
207 size = sizeof(struct dirent) + name_max;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dpathchk.c107 register long r,name_max,path_max; local
118 name_max = _POSIX_NAME_MAX;
124 name_max = path_max = 0;
128 name_max = r;
133 if(name_max==0||path_max==0)
143 while(name_max==0 || path_max==0)
148 if(name_max==0 && (r=mypathconf(cpold, 0)) > _POSIX_NAME_MAX)
149 name_max = r;
166 if(name_max==0)
167 name_max
[all...]
/illumos-gate/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c84 long name_max; member in struct:fstyp_handle
129 if ((h->name_max = pathconf(h->libfs_dir, _PC_NAME_MAX)) < 0) {
130 h->name_max = MAXNAMELEN;
132 h->name_max++;
375 if ((pathname = calloc(1, h->name_max)) == NULL) {
380 (void) snprintf(pathname, h->name_max, "%s/fstyp.so.%d", mdir,
434 if ((mdir = calloc(1, h->name_max)) == NULL) {
437 dp = dp_mem = calloc(1, sizeof (struct dirent) + h->name_max + 1);
451 (void) snprintf(mdir, h->name_max,
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c55 static long int name_max = 0; variable
160 if ((strlen(path) - 1) > (name_max - strlen(type)))
462 if (name_max == 0 || name_max == -1) {
463 name_max = pathconf(objroot, _PC_NAME_MAX);
464 if (name_max == -1)
480 if (i > PATH_MAX || i > name_max) {
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c414 long name_max; local
434 name_max = pathconf(lib_dir, _PC_NAME_MAX);
435 path = calloc(1, name_max + 1);
436 dp = dp_mem = calloc(1, sizeof (struct dirent) + name_max + 1);
445 (void) snprintf(path, name_max, "%s/%s", lib_dir, dp->d_name);
457 (void) snprintf(path, name_max,
/illumos-gate/usr/src/uts/common/zmod/
H A Dzlib.h120 uInt name_max; /* space at name (only when reading header) */ member in struct:gz_header_s
836 If name is not Z_NULL, then up to name_max characters are written there,
837 terminated with a zero unless the length is greater than name_max. If
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c190 * name_max - the directory's maximum file name length
225 gfs_readdir_init(gfs_readdir_state_t *st, int name_max, int ureclen, argument
236 st->grd_namlen = name_max;
/illumos-gate/usr/src/boot/lib/libz/
H A Dzlib.h121 uInt name_max; /* space at name (only when reading header) */ member in struct:gz_header_s
982 If name is not Z_NULL, then up to name_max characters are written there,
983 terminated with a zero unless the length is greater than name_max. If
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs.h2016 uint32 name_max; member in struct:nfs3_pathconf_info

Completed in 167 milliseconds