/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 854 int tmp; local 872 if (convert_int(&tmp, optarg) != 0 || tmp < 1) { 878 listen_backlog = tmp; 1135 int tmp; local 1140 if (!rpc_control(RPC_SVC_THRMAX_GET, &tmp)) 1143 if (tmp != max_threads) { 1145 "using %d worker threads", max_threads, tmp); 1146 max_threads = tmp;
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_main.c | 474 char *filename, *guard, *tmp; local 485 for (tmp = guard; *tmp; tmp++) { 486 if (!isalpha(*tmp) && !isdigit(*tmp)) { 487 *tmp = '_'; 490 if (islower(*tmp)) 491 *tmp = toupper(*tmp); [all...] |
/illumos-gate/usr/src/cmd/sa/ |
H A D | sar.c | 1244 long tmp; local 1247 tmp = strtol(val, &end, 10); 1250 return ((int)tmp);
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 461 int tmp; local 467 tmp = strtol(defval, (char **)NULL, 10); 469 max_conns_allowed = tmp; 474 tmp = strtol(defval, (char **)NULL, 10); 476 listen_backlog = tmp;
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 633 char *tmp; local 639 val = strtol(value, &tmp, 0); 640 if (strcmp(value, tmp) == 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 48 FILE *tmp_nlst = NULL; /* tmp file; holds NLST results for mget, etc */ 2163 char *tmp; local 2195 tmp = macros[macnum].mac_start; 2196 while (tmp != macbuf+4096) { 2202 if ((*tmp = c) == '\n') { 2203 if (tmp == macros[macnum].mac_start) { 2204 macros[macnum++].mac_end = tmp; 2208 if (*(tmp-1) == '\0') { 2209 macros[macnum++].mac_end = tmp - 1; 2213 *tmp [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dump.c | 497 char tmp[256] = { 0 }; local 539 tmp[j++] = *cmd ++; 541 tmp[j] = 0; 544 argv[(*argc)++] = atoi(tmp); 555 tmp[j++] = *cmd ++; 557 tmp[j] = 0; 560 argv[(*argc)++] = atoi(tmp); 573 tmp[j++] = *cmd ++; 575 tmp[j] = 0; 578 argv[(*argc)++] = atoi(tmp); [all...] |
H A D | qry.c | 1211 isns_tlv_t *tmp = tlv; local 1216 tmp->attr_len = 0; 1217 NEXT_TLV(tmp, tmp_len);
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 1294 char *tmp = NULL; local 1303 tmp = di_driver_name(phci_node); 1304 if (tmp != NULL) { 1305 (void) strncpy(*driver_name, tmp, 10);
|
/illumos-gate/usr/src/cmd/su/ |
H A D | su.c | 749 struct tm *tmp; local 758 tmp = localtime(&now); 764 tmp->tm_mon + 1, tmp->tm_mday, tmp->tm_hour, tmp->tm_min,
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 241 void *tmp; 251 if (!ADD(udp_port_data, s_port, tmp)) 259 void *tmp; 269 if (!ADD(tcp_port_data, s_port, tmp)) 292 void *tmp; 301 if (!ADD(connections, newconn, tmp)) { 953 SOCKET_WRITEV_TEMP tmp; 956 tmp); 239 void *tmp; local 257 void *tmp; local 289 void *tmp; local 949 SOCKET_WRITEV_TEMP tmp; local
|
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 1234 static const char tmp[] = ".temp"; local 1354 strlen(tmp) + 1)) == NULL) { 1360 strcat(temp_file_name, tmp);
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | stat.c | 531 char tmp[64]; local 532 (void) snprintf(tmp, sizeof (tmp), "Syscall: %s", tag); 533 tag_cause_id = lt_table_cause_from_name(tmp, 1, 0);
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 1491 ns_ldap_attr_t *tmp; local 1493 tmp = malloc(sizeof (*tmp)); 1494 if (tmp != NULL) { 1495 tmp->attrname = name; 1496 tmp->attrvalue = (char **)calloc(2, sizeof (char *)); 1497 if (tmp->attrvalue == NULL) { 1498 free(tmp); 1501 tmp->attrvalue[0] = value; 1502 tmp [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | listen.c | 1346 pid_t tmp; local 1362 if ((tmp = fork()) < 0) { 1366 if (tmp) 1680 struct callsave *tmp; local 1746 if ((tmp = (struct callsave *) malloc(sizeof(struct callsave))) == NULL) { 1749 if ((tmp->c_cp = (struct t_call *) t_alloc(bindfd, T_CALL, 1753 queue(Free_call_p, tmp); 1876 struct callsave *tmp; local 1891 while ((tmp = dequeue(q)) != NULL) { 1893 call = tmp [all...] |
/illumos-gate/usr/src/cmd/locale/ |
H A D | locale.c | 530 char **tmp; local 532 tmp = realloc(entries, sizeof (char *) * num_of_entries); 533 if (tmp == NULL) { 540 entries = tmp;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 542 char *tmp = safe_strdup(inst->ri_common_name); local 544 inst->ri_common_name = tmp; 548 char *tmp = safe_strdup(inst->ri_C_common_name); local 550 inst->ri_C_common_name = tmp;
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 2079 const char *tmp; local 2092 if ((tmp = strstr(*ms, milestone)) != NULL) { 2101 if ((tmp == *ms || tmp[-1] == '/') && 2102 (tmp[len] == '\0' || tmp[len] == ':'))
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 528 char *MODULES_TMPFILE = "/tmp/sysdef.sort.XXXXXX"; 627 * file in /tmp is used to store output from sort before 640 "sysdef: cannot create unique tmp file name\n"); 658 char *tmp; local 670 tmp = strtok(&path[1], ":"); 671 if ((tmp == NULL) || (tmp[0] == '\n')) { 679 tmp = strtok(NULL, "\n"); 683 if (strstr(tmp, ".conf")) { 691 tmp1, pathptr, tmp); [all...] |
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 823 struct event_dispatchq *newq, *tmp; local 872 tmp = scp->eventq; 873 while (tmp->next != NULL) 874 tmp = tmp->next; 875 tmp->next = newq; 1015 struct ev_completion *ev_comp, *tmp; local 1154 tmp = event_compq; 1155 while (tmp->next != NULL) 1156 tmp 1241 char *tmp, modpath[MAXPATHLEN]; local [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt.c | 1155 pg_t *tmp; local 1165 tmp = h[i]; 1167 (PG_NUM_CPUS(h[j - inc]) > PG_NUM_CPUS(tmp))) { 1171 h[j] = tmp; 1198 tmp = h[i]; 1201 (pg_cmt_t *)tmp) == hier[j]) { 1205 h[j + 1] = tmp;
|
H A D | thread.c | 821 kthread_t *tmp, *list = NULL; local 827 tmp = *tp; 828 *tp = tmp->t_forw; 829 tmp->t_forw = list; 830 list = tmp;
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 2092 char *tmp = buf; local 2097 for (i = 0; i < PCLF_FIRSTNAMESIZE; i += 2, tmp += 2) { 2098 *tmp = ep->pcdl_firstfilename[i]; 2099 *(tmp + 1) = ep->pcdl_firstfilename[i + 1]; 2101 if ((*tmp == '\0') && (*(tmp+1) == '\0')) 2102 return (tmp - buf); 2104 for (i = 0; i < PCLF_SECONDNAMESIZE; i += 2, tmp += 2) { 2105 *tmp = ep->pcdl_secondfilename[i]; 2106 *(tmp [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 104 nsc_buf_t *tmp; local 125 tmp = NULL; 130 rc = nsc_alloc_buf(fd, fba_pos, fba_len, flag, &tmp); 132 if (tmp) { 133 (void) nsc_free_buf(tmp); 145 rc = nsc_read(tmp, fba_pos+FBA_NUM(io_len), 1, 0); 147 (void) nsc_free_buf(tmp); 152 vecp = tmp->sb_vec; 186 rc = nsc_write(tmp, tmp [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 484 int tmp; local 486 tmp = ipflog_clear(IPL_LOGSTATE, ifs); 487 error = BCOPYOUT((char *)&tmp, data, sizeof(tmp));
|