Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c77 char linebuf[LINESZ], lineqbuf[LINESZ]; in getmapent_files()
110 rc = call_read_execout(key, fname, ml->linebuf, LINESZ); in getmapent_files()
204 char linebuf[LINESZ], lineqbuf[LINESZ]; in getmapkeys_files()
315 char linebuf[LINESZ]; in loadmaster_files()
316 char lineq[LINESZ]; in loadmaster_files()
326 if (macro_expand("", line, lineq, LINESZ)) { in loadmaster_files()
328 mastermap, LINESZ - 1); in loadmaster_files()
404 char linebuf[LINESZ]; in loaddirect_files()
631 char line[LINESZ]; in automountd_do_exec_map()
643 rc = read_execout(command->key, &lp, command->file, line, LINESZ); in automountd_do_exec_map()
[all …]
H A Dns_ldap.c311 (void) strncpy(ml->linebuf, ldap_line, LINESZ); in getmapent_ldap()
439 if ((*ldap_len + 2) > LINESZ) { in ldap_match()
443 map, key, (*ldap_len + 2), LINESZ); in ldap_match()
624 char dir[LINESZ], map[LINESZ], qbuff[LINESZ]; in mastermap_callback_ldap()
625 char cont_temp[LINESZ], key_temp[LINESZ]; in mastermap_callback_ldap()
667 tounix_str(attr->attrvalue[0]), LINESZ); in mastermap_callback_ldap()
670 LINESZ); in mastermap_callback_ldap()
683 tounix_str(attr->attrvalue[0]), LINESZ); in mastermap_callback_ldap()
686 LINESZ); in mastermap_callback_ldap()
698 if (key_len >= LINESZ || contents_len >= LINESZ) in mastermap_callback_ldap()
[all …]
H A Dautomount.h68 #define LINESZ 4096 macro
110 char linebuf[LINESZ];
111 char lineqbuf[LINESZ];
H A Dauto_subr.c518 char buffp[LINESZ], buffq[LINESZ];
674 char buf[LINESZ];
H A Dns_fnmount.c324 (addr_from_ref(ref, cname, &addrtype, addrdata, LINESZ) == 0)) { in process_ref()
334 ml.lineqbuf, LINESZ)) { in process_ref()
337 FNPREFIX, cname, LINESZ - 1); in process_ref()
H A Dautod_parse.c248 if (macro_expand(key, lp, lq, LINESZ)) { in mapline_to_mapent()
251 mapname, LINESZ - 1); in mapline_to_mapent()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dgetline.c39 #define LINESZ 128 /* initial guess for a NULL *lineptr */ macro
57 if (*lineptr == NULL || *n < LINESZ) { /* initial allocation */ in getdelim()
58 if ((*lineptr = realloc(*lineptr, LINESZ)) == NULL) { in getdelim()
62 *n = LINESZ; in getdelim()
/illumos-gate/usr/src/cmd/acct/
H A Dfwtmp.c83 LINESZ, in main()
84 LINESZ, in main()
128 for (i = 0; i < LINESZ; i++) /* Allow a space in line field */ in inp()
130 for (i = LINESZ-1; i >= 0; i--) { in inp()
H A Dacctdef.h83 #define LINESZ (sizeof (utdummy.ut_line)) /* sizeof device name */ macro
/illumos-gate/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c81 #define LINESZ 2048 /* max line in input base */ macro
228 if ((bufinp = malloc(2 * LINESZ)) == NULL) {
230 cmdname, 2 * LINESZ);
233 bufworkp = bufinp + LINESZ;
255 if (!fgets(bufinp, LINESZ, fp_inp)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c255 #define LINESZ 1024 macro
275 if ((linebuf = (char *)malloc(LINESZ)) == NULL) in i_getln_to_argv()
281 if (fgets(currp, STR_ADJ_SZ(LINESZ, linebuf, currp), fp) == NULL) in i_getln_to_argv()
/illumos-gate/usr/src/head/
H A Dlinenum.h54 #define LINESZ 6 /* sizeof(LINENO) */ macro
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h42 #define LINESZ 2048 macro
H A Dfs_dfstab.c210 char *arglist[LINESZ]; in dfstab_line_to_dfstab_entry()