Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
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()
149 name_max = r; in pathchk()
166 if(name_max==0) in pathchk()
167 name_max=_POSIX_NAME_MAX; in pathchk()
173 if((cp-cpold) > name_max) in pathchk()
[all …]
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c53 static long int name_max = 0; variable
158 if ((strlen(path) - 1) > (name_max - strlen(type))) in __pos4obj_name()
460 if (name_max == 0 || name_max == -1) { in __pos4obj_check()
461 name_max = pathconf(objroot, _PC_NAME_MAX); in __pos4obj_check()
462 if (name_max == -1) in __pos4obj_check()
478 if (i > PATH_MAX || i > name_max) { in __pos4obj_check()
/illumos-gate/usr/src/lib/libtecla/common/
H A Ddireader.c188 int name_max = pathconf(path, _PC_NAME_MAX); in _dr_open_dir() local
190 if(name_max < 0) in _dr_open_dir()
191 name_max = NAME_MAX; in _dr_open_dir()
193 if(name_max < 0) { in _dr_open_dir()
205 size = sizeof(struct dirent) + name_max; in _dr_open_dir()
/illumos-gate/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c82 long name_max; member
127 if ((h->name_max = pathconf(h->libfs_dir, _PC_NAME_MAX)) < 0) { in fstyp_init()
128 h->name_max = MAXNAMELEN; in fstyp_init()
130 h->name_max++; in fstyp_init()
373 if ((pathname = calloc(1, h->name_max)) == NULL) { in fstyp_init_module()
378 (void) snprintf(pathname, h->name_max, "%s/fstyp.so.%d", mdir, in fstyp_init_module()
432 if ((mdir = calloc(1, h->name_max)) == NULL) { in fstyp_init_all_modules()
435 dp = dp_mem = calloc(1, sizeof (struct dirent) + h->name_max + 1); in fstyp_init_all_modules()
449 (void) snprintf(mdir, h->name_max, in fstyp_init_all_modules()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dconf.sh1430 if ((len>=name_max))
1431 then ((name_max=len+1))
1435 if expr \( $len - 1 \) \>= ${name_max} >/dev/null
1436 then name_max=$len
1453 ksh) ((name_max=name_max+3)); ((name_max=name_max/4*4)) ;; # bsd /bin/sh !
1454 *) name_max=`expr \( $name_max + 3 \) / 4 \* 4` ;;
1526 const char name[${name_max}];
/illumos-gate/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()
444 (void) snprintf(path, name_max, "%s/%s", lib_dir, dp->d_name); in run_legacy_cmds()
456 (void) snprintf(path, name_max, in run_legacy_cmds()
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c226 gfs_readdir_init(gfs_readdir_state_t *st, int name_max, int ureclen, in gfs_readdir_init() argument
237 st->grd_namlen = name_max; in gfs_readdir_init()
/illumos-gate/usr/src/lib/lib9p/common/backend/
H A Dfs.c2224 long name_max; in fs_statfs() local
2257 name_max = fpathconf(fd, _PC_NAME_MAX); in fs_statfs()
2261 if (name_max == -1) in fs_statfs()
2264 dostatfs(&req->lr_resp.rstatfs.statfs, &f, name_max); in fs_statfs()
/illumos-gate/usr/src/contrib/zlib/
H A Dzlib.h123 uInt name_max; /* space at name (only when reading header) */ member
H A Dinflate.c773 state->length < state->head->name_max) in inflate()
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_prot.x1148 uint32 name_max; member
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs.h2093 uint32 name_max; member
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c2619 if (!xdr_u_int(xdrs, &resokp->info.name_max)) in xdr_PATHCONF3res()
H A Dnfs3_vnops.c5836 *valp = rp->r_pathconf->name_max; in nfs3_pathconf()
5902 *valp = res.resok.info.name_max; in nfs3_pathconf()
H A Dnfs3_srv.c4066 resp->resok.info.name_max = (uint32)val; in rfs3_pathconf()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c2929 state->length < state->head->name_max)