/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | vbe.c | 191 biosvbe_palette_data(int mode, int reg, struct paletteentry *pe) in biosvbe_palette_data() argument 199 v86.es = VTOPSEG(pe); in biosvbe_palette_data() 200 v86.edi = VTOPOFF(pe); in biosvbe_palette_data() 366 struct paletteentry pe; in vbe_set_palette() local 380 pe.Blue = entry->Blue; in vbe_set_palette() 381 pe.Green = entry->Green; in vbe_set_palette() 382 pe.Red = entry->Red; in vbe_set_palette() 383 pe.Reserved = entry->Reserved; in vbe_set_palette() 390 ret = biosvbe_palette_data(mode, slot, &pe); in vbe_set_palette()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mevent.c | 591 mevent_handle_pe(port_event_t *pe) in mevent_handle_pe() argument 593 struct mevent *mevp = pe->portev_user; in mevent_handle_pe()
|
H A D | pci_emul.c | 516 struct pci_devemu *pe = pdi->pi_d; in pci_emul_io_handler() local 529 *eax = (*pe->pe_barread)(pdi, i, in pci_emul_io_handler() 532 (*pe->pe_barwrite)(pdi, i, offset, in pci_emul_io_handler() 545 struct pci_devemu *pe = pdi->pi_d; in pci_emul_mem_handler() local 608 struct pci_devemu *pe; in modify_bar_registration() local 613 pe = pi->pi_d; in modify_bar_registration() 652 if (pe->pe_baraddr != NULL) in modify_bar_registration() 2195 struct pci_devemu *pe; in pci_cfgrw() local 2236 pe = pi->pi_d; in pci_cfgrw() 2243 if (pe->pe_cfgread != NULL) { in pci_cfgrw() [all …]
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 163 static void pe(int lineno); 294 pe(lineno); in process() 301 pe(lineno); in process() 339 pe(lineno); in process() 356 pe(lineno); in process() 382 pe(stk[i].lno); in complain() 474 pe(stk[j+1].lno); in nomatch() 487 pe(lineno); in nomatch() 500 pe(int lineno) in pe() function 518 pe(lineno); in checkknown() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 299 register char *pe, *pm, *pl; in execbrc() local 310 for (pe = ++p; *pe; pe += len) { in execbrc() 311 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 314 switch (*pe) { in execbrc() 327 for (pe++; *pe && *pe != ']'; pe += len) { in execbrc() 328 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 337 for (pl = pm = p; pm <= pe; pm += len) { in execbrc() 362 (void) strcat(restbuf, pe + 1); in execbrc()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | expand.c | 345 register char *pe, *pm, *pl; local 355 for (pe = ++p; *pe; pe++) 356 switch (*pe) { 369 for (pe++; *pe && *pe != ']'; pe++) 371 if (!*pe) 376 if (brclev || !*pe) { 380 for (pl = pm = p; pm <= pe; pm++) 400 if (lm + strlen(pl) + strlen(pe + 1) >= 406 strcat(restbuf, pe + 1);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 625 struct errmsg *pe; in nak() local 630 for (pe = errmsgs; pe->e_code >= 0; pe++) in nak() 631 if (pe->e_code == error) in nak() 633 if (pe->e_code < 0) { in nak() 634 pe->e_msg = strerror(error - 100); in nak() 637 (void) strlcpy(tp->th_msg, pe->e_msg, in nak() 639 length = strlen(pe->e_msg) + 4; in nak()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_rules.c | 260 struct protoent *pe; in proto2str() local 262 pe = getprotobynumber((int)proto); in proto2str() 263 if (pe != NULL) in proto2str() 264 (void) snprintf(buf, sz, "protocol=%s", pe->p_name); in proto2str()
|
H A D | ilbadm_subr.c | 839 struct protoent *pe; in i_store_val() local 1000 pe = getprotobyname(val); in i_store_val() 1001 if (pe == NULL) in i_store_val() 1004 rd->r_proto = pe->p_proto; in i_store_val()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 1355 struct errmsg *pe; in nak() local 1361 for (pe = errmsgs; pe->e_code >= 0; pe++) in nak() 1362 if (pe->e_code == error) in nak() 1364 if (pe->e_code < 0) { in nak() 1365 pe->e_msg = strerror(error - 100); in nak() 1368 (void) strlcpy(tp->th_msg, (pe->e_msg != NULL) ? pe->e_msg : "UNKNOWN", in nak()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 1750 struct protoent *pe; in print_ulp() local 1756 pe = NULL; in print_ulp() 1758 pe = getprotobynumber(proto); in print_ulp() 1760 if (pe != NULL) in print_ulp() 1761 (void) printf("%s ", pe->p_name); in print_ulp()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 329 volatile char *pe = bufstop < pstop ? bufstop : pstop; in corrupt() local 334 for (pp = pktp; pp < pe; pp += li) { in corrupt() 335 c = ((pe - pp) < li ? pe - pp : li); in corrupt()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 1241 struct protoent *pe; in setup_socket() local 1248 if ((pe = getprotobyname(pr->icmp)) == NULL) { in setup_socket() 1256 if ((rsock = socket(pr->family, SOCK_RAW, pe->p_proto)) < 0) { in setup_socket()
|
H A D | traceroute_aux.c | 148 struct protoent *pe; in set_IPv4opt_sourcerouting() local 154 if ((pe = getprotobyname("ip")) == NULL) { in set_IPv4opt_sourcerouting() 181 if (setsockopt(sndsock, pe->p_proto, IP_OPTIONS, (const char *)optlist, in set_IPv4opt_sourcerouting()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.glob.c | 288 tchar *pe, *pm, *pl; in execbrc() local 298 for (pe = ++p; *pe; pe++) in execbrc() 299 switch (*pe) { in execbrc() 312 for (pe++; *pe && *pe != ']'; pe++) in execbrc() 314 if (!*pe) in execbrc() 319 if (brclev || !*pe) in execbrc() 321 for (pl = pm = p; pm <= pe; pm++) in execbrc() 342 (void) strcat_(restbuf, pe + 1); in execbrc()
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 376 port_event_t pe; in main() local 378 if (port_get(port_fd, &pe, NULL) == -1) { in main() 383 w = pe.portev_user; in main() 384 while (get_event(pe.portev_object, w->wf_type, opt_verbose)) in main() 386 if (port_associate(port_fd, PORT_SOURCE_FD, pe.portev_object, in main() 387 POLLIN, pe.portev_user) == -1) in main()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | sharetab.c | 170 char *p, *pe; in getshareopt() local 182 if ((pe = strchr(p, '=')) != NULL) { in getshareopt() 183 *pe = '\0'; in getshareopt() 185 val = strdup(pe + 1); in getshareopt()
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 560 char *pe; in prog_path_expand() local 574 pe = strchr(p, ':'); in prog_path_expand() 575 dir_len = ((NULL == pe) ? strlen(p) : (pe - p)); in prog_path_expand() 588 p = ((NULL == pe) ? NULL : (pe + 1)); in prog_path_expand()
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | osspec.c | 204 port_event_t pe; in mnttab_event() local 215 (void) port_get(mnttab_port, &pe, &timeout); in mnttab_event()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.c | 1314 port_event_t pe; in wait_for_event() local 1316 (void) memset(&pe, 0, sizeof (pe)); in wait_for_event() 1317 if (port_get(idmapd_ev_port, &pe, timeoutp) != 0) { in wait_for_event() 1334 switch (pe.portev_source) { in wait_for_event() 1344 switch (pe.portev_events) { in wait_for_event() 1355 if (pe.portev_object == rt_sock) { in wait_for_event()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ratoi.c | 17 char *pe; local 19 i = (int)strtol(ps, &pe, 0); 20 if (*pe != '\0' || i < min || i > max)
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | idtest.c | 32 PE pe; in main() local 63 while ( (pe = ps2pe( psin )) != NULLPE ) { in main() 64 pe2pl( pserr, pe ); in main() 65 pe2ps( psout, pe ); in main()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 38 register char *ptr, *pe; in shortenReason() local 47 pe = "PrinterError:"; in shortenReason() 48 peLen = strlen(pe); in shortenReason() 55 pe = reason + strlen(reason) -1; in shortenReason() 56 pe = reason; in shortenReason() 57 while (pe = strchr(pe,'\n')) in shortenReason() 58 *pe = ' '; in shortenReason() 60 pe = reason + strlen(reason) -1; in shortenReason() 61 while ((pe > reason) && (*pe == ' ')) { in shortenReason() 62 *pe = 0; in shortenReason() [all …]
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 73 #define FIELD(up, pe, type) (*(type *)((char *)(up) + (pe)->off)) argument 169 const parsent_t *pe; in getusrdef() local 191 pe = scan(&ptr); in getusrdef() 193 if (pe != NULL) { in getusrdef() 194 switch (pe->type) { in getusrdef() 196 FIELD(&defaults, pe, int) = in getusrdef() 200 FIELD(&defaults, pe, projid_t) = in getusrdef() 204 FIELD(&defaults, pe, char *) = dup_to_nl(ptr); in getusrdef()
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 780 pool_elem_t *pe; in parser_conf_info() local 875 pool_elem_t *pe; in parser_conf_create() local 890 prop_list_walk(cmd, pe); in parser_conf_create() 947 pool_elem_t *pe; in parser_conf_rename() local 956 parser_rename(cmd, pe, SYSTEM_NAME); in parser_conf_rename() 1040 pool_elem_t *pe; in parser_conf_modify() local 1049 prop_list_walk(cmd, pe); in parser_conf_modify() 1323 pool_elem_t *pe; in check_conf_name() local 1369 prop_list_walk(cmd_t *cmd, pool_elem_t *pe) in prop_list_walk() argument 1590 (void) pool_put_property(conf, pe, in process_min_max() [all …]
|