Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libcmd/common/
H A Dpathchk.c107 register long r,name_max,path_max; in pathchk() local
118 name_max = _POSIX_NAME_MAX; in pathchk()
124 name_max = path_max = 0; in pathchk()
128 name_max = r; in pathchk()
133 if(name_max==0||path_max==0) in pathchk()
143 while(name_max==0 || path_max==0) in pathchk()
148 if(name_max==0 && (r=mypathconf(cpold, 0)) > _POSIX_NAME_MAX) in pathchk()
149 name_max = r; in pathchk()
166 if(name_max==0) in pathchk()
167 name_max=_POSIX_NAME_MAX; in pathchk()
[all …]
/titanic_41/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))) in __pos4obj_name()
462 if (name_max == 0 || name_max == -1) { in __pos4obj_check()
463 name_max = pathconf(objroot, _PC_NAME_MAX); in __pos4obj_check()
464 if (name_max == -1) in __pos4obj_check()
480 if (i > PATH_MAX || i > name_max) { in __pos4obj_check()
/titanic_41/usr/src/lib/libtecla/common/
H A Ddireader.c190 int name_max = pathconf(path, _PC_NAME_MAX); in _dr_open_dir() local
192 if(name_max < 0) in _dr_open_dir()
193 name_max = NAME_MAX; in _dr_open_dir()
195 if(name_max < 0) { in _dr_open_dir()
207 size = sizeof(struct dirent) + name_max; in _dr_open_dir()
/titanic_41/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c84 long name_max; member
129 if ((h->name_max = pathconf(h->libfs_dir, _PC_NAME_MAX)) < 0) { in fstyp_init()
130 h->name_max = MAXNAMELEN; in fstyp_init()
132 h->name_max++; in fstyp_init()
375 if ((pathname = calloc(1, h->name_max)) == NULL) { in fstyp_init_module()
380 (void) snprintf(pathname, h->name_max, "%s/fstyp.so.%d", mdir, in fstyp_init_module()
434 if ((mdir = calloc(1, h->name_max)) == NULL) { in fstyp_init_all_modules()
437 dp = dp_mem = calloc(1, sizeof (struct dirent) + h->name_max + 1); in fstyp_init_all_modules()
451 (void) snprintf(mdir, h->name_max, in fstyp_init_all_modules()
/titanic_41/usr/src/cmd/fstyp/
H A Dfstyp.c414 long name_max; in run_legacy_cmds() local
434 name_max = pathconf(lib_dir, _PC_NAME_MAX); in run_legacy_cmds()
435 path = calloc(1, name_max + 1); in run_legacy_cmds()
436 dp = dp_mem = calloc(1, sizeof (struct dirent) + name_max + 1); in run_legacy_cmds()
445 (void) snprintf(path, name_max, "%s/%s", lib_dir, dp->d_name); in run_legacy_cmds()
457 (void) snprintf(path, name_max, in run_legacy_cmds()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dconf.sh1403 if ((len>=name_max))
1404 then ((name_max=len+1))
1408 if expr \( $len - 1 \) \>= ${name_max} >/dev/null
1409 then name_max=$len
1426 ksh) ((name_max=name_max+3)); ((name_max=name_max/4*4)) ;; # bsd /bin/sh !
1427 *) name_max=`expr \( $name_max + 3 \) / 4 \* 4` ;;
1499 const char name[${name_max}];
/titanic_41/usr/src/uts/common/fs/
H A Dgfs.c225 gfs_readdir_init(gfs_readdir_state_t *st, int name_max, int ureclen, in gfs_readdir_init() argument
236 st->grd_namlen = name_max; in gfs_readdir_init()
/titanic_41/usr/src/uts/common/zmod/
H A Dzlib.h120 uInt name_max; /* space at name (only when reading header) */ member
H A Dinflate.c722 state->length < state->head->name_max)
/titanic_41/usr/src/head/rpcsvc/
H A Dnfs_prot.x1151 uint32 name_max; member
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs.h2016 uint32 name_max; member
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c2620 if (!xdr_u_int(xdrs, &resokp->info.name_max)) in xdr_PATHCONF3res()
H A Dnfs3_vnops.c5822 *valp = rp->r_pathconf->name_max; in nfs3_pathconf()
5888 *valp = res.resok.info.name_max; in nfs3_pathconf()
H A Dnfs3_srv.c3969 resp->resok.info.name_max = (uint32)val; in rfs3_pathconf()