Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 2349) sorted by path

12345678910>>...94

/illumos-gate/usr/src/boot/common/
H A Ddev_net.c389 char *ptr, *val; in net_parse_rootpath() local
426 val = strchr(ptr, '/'); in net_parse_rootpath()
427 if (val == NULL) { in net_parse_rootpath()
430 val = strchr(ptr, '/'); in net_parse_rootpath()
432 if (val != NULL) { in net_parse_rootpath()
434 (int)((uintptr_t)val - (uintptr_t)ptr), in net_parse_rootpath()
440 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath()
H A Dgfx_fb.c213 *val = ANSI_COLOR_BLACK; in color_name_to_ansi()
217 *val = ANSI_COLOR_RED; in color_name_to_ansi()
221 *val = ANSI_COLOR_GREEN; in color_name_to_ansi()
229 *val = ANSI_COLOR_BLUE; in color_name_to_ansi()
237 *val = ANSI_COLOR_CYAN; in color_name_to_ansi()
251 int val = 0, limit; in gfx_set_colors() local
277 if ((val < 0 || val > limit)) { in gfx_set_colors()
285 if (gfx_fg == val) in gfx_set_colors()
287 gfx_fg = val; in gfx_set_colors()
291 if (gfx_bg == val) in gfx_set_colors()
[all …]
H A Dinstall.c55 setpath(char **what, char *val) in setpath() argument
61 len = strlen(val) + 1; in setpath()
67 strcpy(path + rel, val); in setpath()
80 v = val; in setmultipath()
92 s = strchr(val, ','); in setmultipath()
98 val = s; in setmultipath()
108 char *p, *tag, *val; in read_metatags() local
130 val = strchr(tag, '='); in read_metatags()
131 if (val == NULL) { in read_metatags()
135 *val++ = '\0'; in read_metatags()
[all …]
H A Dinterp_backslash.c106 char val; in backslash() local
113 val = (DIGIT(*str) << 6) + in backslash()
121 new_str[i++] = val; in backslash()
135 val = DIGIT(*(str + 2)); in backslash()
137 val = (val << 4) + in backslash()
143 new_str[i++] = val; in backslash()
H A Dinterp_parse.c87 char *val, *p, *q, *copy = NULL; in parse() local
165 if ((val = variable_lookup(p)) != NULL) { in parse()
166 size_t len = strlen(val); in parse()
168 strncpy(buf + i, val, PARSE_BUFSIZE - (i + 1)); in parse()
H A Dload_elf.c1106 Elf_Addr p, void *val, size_t len) in __elfN()
1124 ef->off, p, val, len); in __elfN()
1132 ef->off, p, val, len); in __elfN()
H A Dload_elf_obj.c70 Elf_Addr p, void *val, size_t len);
462 void *val, size_t len) in __elfN()
495 &a, ELF_RELOC_RELA, base, off, val, len); in __elfN()
508 &r, ELF_RELOC_REL, base, off, val, len); in __elfN()
H A Dreloc_elf.c81 Elf64_Addr *where, val; in __elfN()
124 val = addr + addend; in __elfN()
125 *where = val; in __elfN()
129 val = addr; in __elfN()
130 *where = val; in __elfN()
139 Elf_Addr addend, addr, *where, val; in __elfN()
186 val = addr + addend; in __elfN()
187 *where = val; in __elfN()
/illumos-gate/usr/src/boot/efi/libefi/
H A Denv.c1321 char *uuid, *var, *val; in command_efi_set() local
1334 val = argv[3]; in command_efi_set()
1343 strlen(val) + 1, val); in command_efi_set()
1350 printf("would set %s %s = %s\n", uuid, var, val); in command_efi_set()
/illumos-gate/usr/src/boot/efi/loader/
H A Dmain.c491 setenv_int(const char *key, int val) in setenv_int() argument
495 (void) snprintf(buf, sizeof (buf), "%d", val); in setenv_int()
/illumos-gate/usr/src/boot/forth/
H A Dloader.4th573 : set-module-flag ( module_addr val -- ) \ set and print flag
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiospci.c377 biospci_write_config(uint32_t locator, int offset, int width, uint32_t val) in biospci_write_config() argument
384 v86.ecx = val; in biospci_write_config()
395 biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val) in biospci_read_config() argument
408 *val = v86.ecx; in biospci_read_config()
H A Dlibi386.h128 int biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val);
130 int biospci_write_config(uint32_t locator, int offset, int width, uint32_t val);
H A Dvidconsole.c254 uint16_t val; in vidc_text_cons_clear() local
257 val = (solaris_color_to_pc_color[ca->bg_color.four & 0xf] << 4) | in vidc_text_cons_clear()
259 val = (val << 8) | ' '; in vidc_text_cons_clear()
262 vgatext[i] = val; in vidc_text_cons_clear()
/illumos-gate/usr/src/boot/include/net/
H A Dif_arp.h125 #define ARPSTAT_ADD(name, val) \ argument
126 VNET_PCPUSTAT_ADD(struct arpstat, arpstat, name, (val))
127 #define ARPSTAT_SUB(name, val) ARPSTAT_ADD(name, -(val)) argument
/illumos-gate/usr/src/boot/include/netinet/
H A Din_pcb.h477 void inp_ip_tos_set(struct inpcb *inp, int val);
H A Dip_var.h141 #define IPSTAT_ADD(name, val) \ argument
142 VNET_PCPUSTAT_ADD(struct ipstat, ipstat, name, (val))
143 #define IPSTAT_SUB(name, val) IPSTAT_ADD(name, -(val)) argument
H A Dudp_var.h109 #define UDPSTAT_ADD(name, val) \ argument
110 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val))
/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c357 const char *val; in vend_rfc1048() local
387 if ((val = getenv("dhcp.root-path")) == NULL) in vend_rfc1048()
388 val = (const char *)cp; in vend_rfc1048()
389 strlcpy(rootpath, val, sizeof (rootpath)); in vend_rfc1048()
392 if ((val = getenv("dhcp.host-name")) == NULL) in vend_rfc1048()
393 val = (const char *)cp; in vend_rfc1048()
394 strlcpy(hostname, val, sizeof (hostname)); in vend_rfc1048()
398 if ((val = getenv("dhcp.interface-mtu")) != NULL) { in vend_rfc1048()
407 tmp = strtoul(val, &end, 0); in vend_rfc1048()
409 *val == '\0' || *end != '\0' || in vend_rfc1048()
[all …]
H A Dnet.c156 unsigned long val; in inet_addr() local
168 val = 0; in inet_addr()
171 val = (val * 10) + (c - '0'); in inet_addr()
184 if (pp >= parts + 3 || val > 0xff) in inet_addr()
186 *pp++ = val, cp++; in inet_addr()
207 if (val > 0xffffff) in inet_addr()
209 val |= parts[0] << 24; in inet_addr()
213 if (val > 0xffff) in inet_addr()
215 val |= (parts[0] << 24) | (parts[1] << 16); in inet_addr()
219 if (val > 0xff) in inet_addr()
[all …]
H A Dnetif.c110 int val; in netif_select() local
138 val = netif_match(&cur_if, machdep_hint); in netif_select()
141 printf(" [%d -> %d]", s, val); in netif_select()
143 if (val > best_val) { in netif_select()
144 best_val = val; in netif_select()
H A Dnfs.c66 uint32_t val[2]; member
711 uint32_t size = ntohl(d->fa.fa_size.val[1]); in nfs_seek()
749 sb->st_size = ntohl(fp->fa.fa_size.val[1]); in nfs_stat()
H A Dsmbios.c192 const char* val; in smbios_setenv() local
194 val = smbios_getstring(addr, offset); in smbios_setenv()
195 if (val != NULL) in smbios_setenv()
196 setenv(name, val, 1); in smbios_setenv()
H A Dtftp.c686 char *val = buf; in tftp_parse_oack() local
696 if (&buf[i] > val) { in tftp_parse_oack()
697 tftp_options[option_idx] = val; in tftp_parse_oack()
698 val = &buf[i] + 1; in tftp_parse_oack()
H A Duuid_to_string.c43 tohex(char **buf, int len, uint32_t val) in tohex() argument
50 walker[i] = hexstr[val & 0xf]; in tohex()
51 val >>= 4; in tohex()

12345678910>>...94