/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 846 char line[80]; local 856 sprintf(line, "\nFlattened device tree header (%p):\n", fdtp); 857 pager_output(line); 858 sprintf(line, " magic = 0x%08x\n", fdt_magic(fdtp)); 859 pager_output(line); 860 sprintf(line, " size = %d\n", fdt_totalsize(fdtp)); 861 pager_output(line); 862 sprintf(line, " off_dt_struct = 0x%08x\n", 864 pager_output(line); 865 sprintf(line, " off_dt_string 1171 char *line, *buf; local 1550 char line[FDT_CWD_LEN]; local 1564 char line[80]; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfsimpl.c | 782 char line[80]; local 786 vsnprintf(line, sizeof (line), fmt, args); 788 return (pager_output(line));
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 614 * "debug=..." argument on the command line. The command 615 * line setting overrides the environment variable. 620 /* First look for a command line argument */ 652 __dprintf(const char *file, const char *func, int line, const char *fmt, ...) argument 681 (void) printf("%s, line %d: ", newfile, line);
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 113 "ERROR on line %u:\n%s\n"), lineno, msgbuf); 525 * Slice an argv/argc vector from an interactive line or a read-file line. 653 * Get single input line, wrapping around interactive and non-interactive 659 char *line; local 670 line = gl_get_line(gl, prompt, NULL, -1); 679 if (line != NULL) { 680 if (strlcpy(ibuf, line, ibuf_size) >= ibuf_size) 684 line = ibuf; 688 return (line); 1069 kmc_parse_line(char *line, int *cookie, char **label) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 145 static char *line = NULL; variable 209 cp = line; 223 * For the shell escape, put the rest of the line, less 225 * the loop to prevent the rest of the line being split up 854 { " ", "", 0 }, /* empty line */ 1008 { "kill", "character to use to erase a line", 0, termKillCharp }, 1012 { "reprint", "character to use for line reprint", 0, termRprntCharp }, 1016 { "forw1", "alternate end of line character", 0, termForw1Charp }, 1017 { "forw2", "alternate end of line character", 0, termForw2Charp }, 1300 { "", "(or disable obsolete line [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 562 if (MINI_STR(line, "create ", word_end, 2) == 0) 563 return (add_stuff(cpl, line, global_create_cmds, 565 if (MINI_STR(line, "destroy ", word_end, 1) == 0) 566 return (add_stuff(cpl, line, global_destroy_cmds, 568 if (MINI_STR(line, "export ", word_end, 3) == 0) 569 return (add_stuff(cpl, line, global_export_cmds, 571 if (MINI_STR(line, "list ", word_end, 1) == 0) 572 return (add_stuff(cpl, line, global_list_cmds, 574 if (MINI_STR(line, "select ", word_end, 1) == 0) 575 return (add_stuff(cpl, line, global_select_cmd 868 char line[64]; /* should be enough to answer yes or no */ local 964 char *line; local 4022 char line[NWAM_MAX_VALUE_LEN]; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 829 static char line[MAXHOSTNAMELEN + 1]; local 849 (void) strcpy(line, "default"); 850 return (line); 872 (void) strncpy(line, cp, MAXHOSTNAMELEN); 873 line[MAXHOSTNAMELEN] = '\0'; 876 (void) sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24), 903 (void) strncpy(line, cp, MAXHOSTNAMELEN); 904 line[MAXHOSTNAMELEN] = '\0'; 906 (void) inet_ntop(AF_INET6, (void *)&in6, line, 918 cp = line 935 static char line[MAXHOSTNAMELEN + 1]; local [all...] |
H A D | in.telnetd.c | 250 static char *line; variable 2280 syslog(LOG_ERR, "telnetd: illegal cmd line option %c", 2778 line = slavename; 2884 * If the '-U' option was given on the cmd line, we must 3113 tt = open(line, O_RDWR); 3115 fatalperror(netfd, line, errno); 3143 (void) strncpy(ut.ut_line, line, sizeof (ut.ut_line)); 3483 * line.
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 2382 char line[RA_MAX_CONF_LINE]; local 2395 for (lineno = 1; fgets(line, sizeof (line), fp) != NULL; lineno++) { 2396 if (line[strlen(line) - 1] == '\n') 2397 line[strlen(line) - 1] = '\0'; 2399 cp = line; 2415 gettext("%1$s: %2$s: invalid entry on line %3$d\n"), 2433 "line [all...] |
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 61 "line out of range", /* 15 */ 73 "line too long", /* 27 */ 100 "end of line expected", /* 54 */ 177 static char line[70]; variable 178 static char *linp = line; 212 /* out. Retains last line changed as current line. */ 213 static int ocerr2; /* Flags if ANY line changed by substitute(). 0=nc. */ 566 /* line becomes the line afte 2815 fspec(char line[], struct Fspec *f, int up) argument 2947 expnd(char line[], char buf[], int *sz, struct Fspec *f) argument 2987 lenchk(char line[], struct Fspec *f) argument [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndradm.c | 2434 /* Check the length of entries from the command line */ 2545 * on the command line, setting the appropriate values 4841 * a simckd device or 0 otherwise. Any line preceeded by a '#' 4859 char line[1024], tmp_line[1024]; local 4882 while (fgets(line, sizeof (line), fp)) { 4883 if (line[0] == '#') /* this is a comment */ 4887 (void) strcpy(tmp_line, line); 4973 if (ret == 0) /* this is a blank line */ 4980 rdc_err(NULL, "%s", line); [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucp.h | 282 * CDEBUG is for communication line debugging 396 char *line; /* device name for outgoing line */ member in struct:call 401 /* structure of an Systems file line */ 402 #define F_MAX 50 /* max number of fields in Systems file line */ 410 /* structure of an Devices file line */ 417 #define D_MAX 50 /* max number of fields in Devices file line */ 519 EXTERN char Dc[]; /* line name */
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | uucp.h | 222 * CDEBUG is for communication line debugging 334 char *line; /* device name for outgoing line */ member in struct:call 339 /* structure of an Systems file line */ 340 #define F_MAX 50 /* max number of fields in Systems file line */ 348 /* structure of an Devices file line */ 355 #define D_MAX 50 /* max number of fields in Devices file line */ 456 EXTERN char Dc[]; /* line name */
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 3636 hme_check_acc_handle(char *file, uint_t line, struct hme *hmep, argument
|
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid.c | 43 * raid_line() - return the line # of this segment 119 /* writer line locks */ 122 int raid_full_line_writes = 0; /* total full line writes */ 128 /* read line locks */ 132 int raid_read_overlaps = 0; /* number of times 2 reads hit same line */ 1702 /* free buffers used for full line write */ 1736 * DESCRIPTION: RAID metadevice line reader and writer lock routines 1762 panic("md; raid line write lock held"); 1779 diskaddr_t line = (lastblk + 1) / un->un_segsize; local 1782 un->un_resync_line_index = line; 1983 diskaddr_t line; local 2000 diskaddr_t line; local 2021 diskaddr_t line; local 2145 diskaddr_t line; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.c | 505 char line[256]; local 511 while (fgets(line,sizeof(line),fp)) 514 line[255]='\0'; // just to be safe 515 if (sscanf(line,"%10s %15s", keyword, nameserver) != 2) continue; // it will skip whitespaces 960 // Use intfName instead of intf->intfName in the next line to avoid dereferencing NULL.
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc.h | 50 MANDOCERR_DT_NOTITLE, /* missing manual title, using UNTITLED: line */ 72 MANDOCERR_ND_EMPTY, /* missing description line, using "" */ 91 MANDOCERR_BLK_LINE, /* line scope broken: macro breaks macro */ 132 MANDOCERR_FI_BLANK, /* blank line in fill mode, using .sp */ 134 MANDOCERR_SPACE_EOL, /* whitespace at end of input line */ 140 MANDOCERR_TBLLAYOUT_SPAN, /* tbl line starts with span */ 212 int lvert; /* width of left vertical line */ 213 int rvert; /* width of right vertical line */ 234 int vert; /* width of subsequent vertical line */ 256 int vert; /* width of left vertical line */ 296 int line; /* parse line */ member in struct:tbl_span [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 556 * ^# comment till end of line 567 char *line; local 574 char *inputdev; /* these override the command line if serial ports */ 589 line = do_bsys_alloc(NULL, NULL, MMU_PAGESIZE, MMU_PAGESIZE); 593 * get a line 596 bytes_read = BRD_READ(bfs_ops, fd, line + c, 1); 602 if (line[c] == '\n') 605 line[c] = 0; 611 while (ISSPACE(line[c])) 613 if (line[ [all...] |
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 157 int line; /* Line number at which code begins */ member in struct:rule 562 void myassert(file,line) 564 int line; 566 fprintf(stderr,"Assertion failed on line %d of file \"%s\"\n",line,file); 1161 ErrorMsg(lemp->filename,rp->line,"Nonterminal \"%s\" has no rules.", 1261 ** of the line. 1264 #define LINEWIDTH 79 /* Max width of any output line */ 1265 #define PREFIXLIMIT 30 /* Max width of the prefix on each line */ 1276 /* Prepare a prefix to be prepended to every output line */ 2787 char line[LINESIZE]; local 3164 char line[LINESIZE]; local 3559 char line[LINESIZE]; local [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 265 static char *cte_lp; /* Next free line in cte_text */ 1116 static char line[CTLINESIZE]; /* holds a line from a crontab file */ variable 1117 static int cursor; /* cursor for the above line */ 1154 while (fgets(line, CTLINESIZE, cf) != NULL) { 1156 /* process a line of a crontab file */ 1161 while (line[cursor] == ' ' || line[cursor] == '\t') 1163 if (line[cursor] == '#' || line[curso [all...] |
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 37 * operations from a supplied menu or from the command line. Diagnostic 187 " Use fdisk_file to initialize on-line fdisk table.\n" 652 static int pars_fdisk(char *line, 761 * Process command-line options. 1326 char line[256]; local 1336 /* Read a line from the file */ 1337 while (fgets(line, sizeof (line) - 1, fp)) { 1338 if (line[0] == '\0' || line[ 1764 char line[256]; local 2568 pars_fdisk( char *line, int *id, int *act, int *bhead, int *bsect, int *bcyl, int *ehead, int *esect, int *ecyl, uint32_t *rsect, uint32_t *numsect) argument [all...] |
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 48 * line with a level name. init signals svc.startd via libscf and directs the 543 static char startd_cline[256] = ""; /* svc.startd's command line */ 1180 * Extract the svc.startd command line and whether to restart it from its 1189 /* Save the command line. */ 1204 "svc.startd command line too long. Ignoring.\n"); 1507 * getcmd() parses lines from inittab. Each time it finds a command line 1586 * Zero out the cmd itself before trying next line. 1591 * Read in lines of inittab, parsing at colons, until a line is 1596 * regardless of whether line terminates with a newline or EOF. 1611 /* the line, otherwis 1929 char line[MAXCMDL]; local 2050 char line[MAXCMDL]; local [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 47 * Each line may have a priority, signified as "<n>" as 48 * the first characters of the line. If this is 56 * MAXLINE -- the maximimum line length that can be handled. 890 "exceeds max line size\n", mythreadno); 1112 char line[MAXLINE + 1]; local 1159 (void) sprintf(line, "%.15s ", 1162 (void) sprintf(line, ""); 1165 linelen = strlen(line); 1166 q = line + linelen; 1185 (void) strlcpy(mp->msg, line, MAXLIN 1746 char line[MAXLINE*2]; local 1993 char line[512], dev[100]; local 2509 char line[MAXLINE+1]; local 3407 cfline(char *line, int lineno, struct filed *f) argument 4405 char line[MAXLINE+1]; local [all...] |
/illumos-gate/usr/src/cmd/troff/ |
H A D | tdef.h | 49 #define LL (unsigned) 65*INCH/10 /* line length; 39picas=6.5in */ 103 /* line: 'l' dx dy char */ 107 /* wiggly line '~' x y x y ... */ 170 #define LNSIZE 680 /* line buffer size */ 517 #define line env._line macro
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman.c | 230 void *man_dbg_kzalloc(int line, size_t size, int kmflags); 231 void man_dbg_kfree(int line, void *buf, size_t size); 8303 man_dbg_kzalloc(int line, size_t size, int kmflags) argument 8309 size, line)); 8316 man_dbg_kfree(int line, void *buf, size_t size) argument 8319 MAN_DBG(MAN_KMEM, ("0x%p %lu\tfree'd @ %d\n", (void *)buf, size, line));
|