Searched refs:val (Results 1 - 25 of 1883) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/include/net/
H A Dif_arp.h125 #define ARPSTAT_ADD(name, val) \
126 VNET_PCPUSTAT_ADD(struct arpstat, arpstat, name, (val))
127 #define ARPSTAT_SUB(name, val) ARPSTAT_ADD(name, -(val))
/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) \
142 VNET_PCPUSTAT_ADD(struct ipstat, ipstat, name, (val))
143 #define IPSTAT_SUB(name, val) IPSTAT_ADD(name, -(val))
H A Dudp_var.h109 #define UDPSTAT_ADD(name, val) \
110 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val))
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootp.c357 const char *val; local
387 if ((val = getenv("dhcp.root-path")) == NULL)
388 val = (const char *)cp;
389 strlcpy(rootpath, val, sizeof(rootpath));
392 if ((val = getenv("dhcp.host-name")) == NULL)
393 val = (const char *)cp;
394 strlcpy(hostname, val, sizeof(hostname));
H A Dnet.c138 u_long val; local
150 val = 0;
153 val = (val * 10) + (c - '0');
166 if (pp >= parts + 3 || val > 0xff)
168 *pp++ = val, cp++;
189 if (val > 0xffffff)
191 val |= parts[0] << 24;
195 if (val > 0xffff)
197 val |
[all...]
H A Dnetif.c102 int val; local
132 val = netif_match(&cur_if, machdep_hint);
135 printf(" [%d -> %d]", s, val);
137 if (val > best_val) {
138 best_val = val;
H A Dnfs.c132 uint32_t val[2]; member in struct:__anon2
1355 uint32_t size = ntohl(d->fa.fa_size.val[1]);
1393 sb->st_size = ntohl(fp->fa.fa_size.val[1]);
H A Dtftp.c699 char *val = buf; local
709 if (&buf[i] > val) {
710 tftp_options[option_idx] = val;
711 val = &buf[i] + 1;
H A Duuid_to_string.c40 * Dump len characters into *buf from val as hex and update *buf
43 tohex(char **buf, int len, uint32_t val) argument
50 walker[i] = hexstr[val & 0xf];
51 val >>= 4;
/illumos-gate/usr/src/boot/lib/libz/
H A Ddeflate.c796 int val; local
806 val = 1;
810 val = s->gzhead->name[s->gzindex++];
811 put_byte(s, val);
812 } while (val != 0);
816 if (val == 0) {
827 int val; local
837 val = 1;
841 val = s->gzhead->comment[s->gzindex++];
842 put_byte(s, val);
[all...]
H A Dinfback.c405 if (here.val < 16) {
407 state->lens[state->have++] = here.val;
410 if (here.val == 16) {
422 else if (here.val == 17) {
501 here = state->lencode[last.val +
509 state->length = (unsigned)here.val;
513 Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?
515 "inflate: literal 0x%02x\n", here.val));
555 here = state->distcode[last.val
[all...]
H A Dinffast.c134 Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?
136 "inflate: literal 0x%02x\n", here.val));
137 PUP(out) = (unsigned char)(here.val);
140 len = (unsigned)(here.val);
165 dist = (unsigned)(here.val);
284 here = dcode[here.val + (hold & ((1U << op) - 1))];
294 here = lcode[here.val + (hold & ((1U << op) - 1))];
H A Dinflate.c346 state.lencode[low].bits, state.lencode[low].val);
357 state.distcode[low].val);
943 if (here.val < 16) {
945 state->lens[state->have++] = here.val;
948 if (here.val == 16) {
960 else if (here.val == 17) {
1039 here = state->lencode[last.val +
1049 state->length = (unsigned)here.val;
1051 Tracevv((stderr, here.val >= 0x20 && here.val <
[all...]
H A Dinftrees.c120 here.val = (unsigned short)0;
221 here.val = work[sym];
225 here.val = base[work[sym]];
229 here.val = 0;
288 (*table)[low].val = (unsigned short)(next - *table);
298 here.val = (unsigned short)0;
H A Dinftrees.h21 of the bit buffer. val is the actual byte to output in the case
27 unsigned short val; /* offset in table or code value */ member in struct:__anon109
H A Dtrees.c216 int val = value;\
217 s->bi_buf |= (ush)val << s->bi_valid;\
219 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c248 unsigned next, val; local
254 val = 1;
257 val = (val << 4) + *hex - '0';
259 val = (val << 4) + *hex - 'A' + 10;
261 val = (val << 4) + *hex - 'a' + 10;
262 else if (val != 1 && val < 3
[all...]
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h477 load_xcr(u_int reg, u_long val) argument
481 low = val;
482 high = val >> 32;
867 int rdmsr_safe(u_int msr, uint64_t *val);
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c105 * The idea is that the inner loop should take 1us, so val is the
109 DELAY(int val) argument
114 sub = val;
131 swap16(u_int16_t val) argument
133 return (val << 8) | (val >> 8);
146 uart_setreg(u_int8_t *bas, int off, u_int8_t val) argument
148 *((volatile u_int32_t *)(bas + (off << 2))) = (u_int32_t)val;
252 static void cfwrite8(u_int32_t off, u_int8_t val);
254 static void cfaltwrite8(u_int32_t off, u_int8_t val);
329 u_int32_t val; local
342 u_int32_t val; local
413 cfwrite8(u_int32_t off, u_int8_t val) argument
443 cfaltwrite8(u_int32_t off, u_int8_t val) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinstall.c55 setpath(char **what, char *val) argument
61 len = strlen(val) + 1;
62 rel = (val[0] != '/') ? 1 : 0;
67 strcpy(path + rel, val);
74 setmultipath(char ***what, char *val) argument
80 v = val;
92 s = strchr(val, ',');
95 error = setpath(*what + idx, val);
98 val = s;
108 char *p, *tag, *val; local
[all...]
H A Dload_elf.c78 Elf_Addr p, void *val, size_t len);
1043 * of the value and val/len is the value to be modified. This does NOT modify
1050 Elf_Addr p, void *val, size_t len)
1069 ef->off, p, val, len);
1077 ef->off, p, val, len);
1049 reloc_ptr(struct preloaded_file *mp, elf_file_t ef, Elf_Addr p, void *val, size_t len) argument
H A Dload_elf_obj.c70 Elf_Addr p, void *val, size_t len);
457 * of the value and val/len is the value to be modified. This does NOT modify
462 void *val, size_t len)
495 &a, ELF_RELOC_RELA, base, off, val, len);
508 &r, ELF_RELOC_REL, base, off, val, len);
461 obj_reloc_ptr(struct preloaded_file *mp, elf_file_t ef, Elf_Addr p, void *val, size_t len) argument
H A Dreloc_elf.c81 Elf64_Addr *where, val;
124 val = addr + addend;
125 *where = val;
129 val = addr;
130 *where = val;
139 Elf_Addr addend, addr, *where, val;
186 val = addr + addend;
187 *where = val;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiospci.c364 biospci_write_config(uint32_t locator, int offset, int width, uint32_t val) argument
371 v86.ecx = val;
382 biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val) argument
395 *val = v86.ecx;

Completed in 208 milliseconds

1234567891011>>