/illumos-gate/usr/src/boot/common/ |
H A D | dev_net.c | 389 char *ptr, *val; in net_parse_rootpath() local 401 ptr = rootpath; in net_parse_rootpath() 409 if (ptr != NULL) { in net_parse_rootpath() 411 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath() 416 if (*ptr == '/') { in net_parse_rootpath() 420 ptr++; in net_parse_rootpath() 426 val = strchr(ptr, '/'); in net_parse_rootpath() 430 val = strchr(ptr, '/'); in net_parse_rootpath() 435 ptr); in net_parse_rootpath() 443 ptr--; in net_parse_rootpath() [all …]
|
H A D | module.c | 281 void *ptr = PTOV(fp->f_addr); in command_lsmod() local 284 sha1(ptr, fp->f_size, (uint8_t *)lbuf); in command_lsmod() 1032 #define INT_ALIGN(base, ptr) ptr = \ argument 1033 (base) + (((ptr) - (base) + sizeof (int) - 1) & ~(sizeof (int) - 1))
|
H A D | multiboot2.c | 665 vm_offset_t ptr = last_addr; in mb_malloc() local 667 return (ptr); in mb_malloc()
|
H A D | nvstore.c | 123 nvstore_print(void *ptr) in nvstore_print() argument 125 nvstore_t *st = ptr; in nvstore_print() 133 nvstore_t *st = ptr; in nvstore_get_var() 139 nvstore_set_var(void *ptr, int type, const char *name, in nvstore_set_var() argument 142 nvstore_t *st = ptr; in nvstore_set_var() 151 nvstore_t *st = ptr; in nvstore_set_var_from_string() 157 nvstore_unset_var(void *ptr, const char *name) in nvstore_unset_var() argument 159 nvstore_t *st = ptr; in nvstore_unset_var() 291 char *ptr = NULL; in command_nvstore() local 293 if (nvstore_get_var(st, name, (void **)&ptr) == 0) in command_nvstore() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efinet.c | 178 char *buf, *ptr; in efinet_get() local 189 ptr = buf + ETHER_ALIGN; in efinet_get() 193 status = net->Receive(net, NULL, &bufsz, ptr, NULL, NULL, NULL); in efinet_get()
|
H A D | efipart.c | 593 pdinfo_t *parent, *ptr; in efipart_hdinfo_add_node() local 605 ptr = STAILQ_LAST(&parent->pd_part, pdinfo, pd_link); in efipart_hdinfo_add_node() 606 if (ptr != NULL) in efipart_hdinfo_add_node() 607 hd->pd_unit = ptr->pd_unit + 1; in efipart_hdinfo_add_node()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | copy.c | 212 efi_translate(vm_offset_t ptr) in efi_translate() argument 214 return ((void *)ptr); in efi_translate()
|
H A D | main.c | 684 void *ptr; in main() local 804 CHAR16 *ptr; in main() local 805 ptr = &argv[i + 1][0]; in main() 806 cpy16to8(ptr, var, in main() 946 if ((ptr = efi_get_table(&gEfiSmbios3TableGuid)) == NULL) in main() 947 ptr = efi_get_table(&gEfiSmbiosTableGuid); in main() 948 smbios_detect(ptr); in main() 1372 char *ptr = argv[i]; in command_chain() local 1373 while (*ptr) in command_chain() 1374 *(argp++) = *(ptr++); in command_chain()
|
/illumos-gate/usr/src/boot/forth/ |
H A D | pnp.4th | 30 ptr stqh_first \ type* 31 ptr stqh_last \ type** 35 ptr stqe_next \ type* 39 ptr pnph.name 40 ptr pnph.enumerate 44 ptr pnpid.ident \ char* 49 ptr pnpi.desc 51 ptr pnpi.module \ (char*) module args 53 ptr pnpi.argv 54 ptr pnpi.handler \ pnphandler
|
H A D | support.4th | 105 : ptr 1 cells member: ; 111 ptr .addr 133 ptr module.next 139 ptr pf.name 140 ptr pf.type 141 ptr pf.args 151 ptr km.name 152 ptr km.args 153 ptr km.fp \ preloaded_file 154 ptr km.next \ kernel_module [all …]
|
/illumos-gate/usr/src/boot/i386/btx/btx/ |
H A D | btx.S | 501 addl %ebp,%edx # Flatten btx_v86 ptr 502 movl %edx,MEM_ESPR-0x08 # Save btx_v86 ptr 520 movl %edx,MEM_ESPR-0x08 # NULL btx_v86 ptr 556 movl MEM_ESPR-0x08,%ecx # Get btx_v86 ptr 668 movl MEM_ESPR-0x08,%ecx # Get btx_v86 ptr 671 xchgl %ecx,%edx # Save btx_v86 ptr
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 159 char *ptr; in main() local 178 ptr = getenv("console"); in main() 179 if (ptr != NULL && strcmp(ptr, "text") != 0) { in main() 183 snprintf(mode, sizeof (mode), "%s-mode", ptr); in main() 185 switch (ptr[3]) { in main() 199 ptr = getenv(mode); in main() 200 if (ptr != NULL) { in main() 201 comspeed = strtoul(ptr, NULL, 0); in main()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bio.c | 46 char *ptr; in bio_alloc() local 48 ptr = bio_buffer_ptr; in bio_alloc() 49 if (ptr + size > bio_buffer_end) in bio_alloc() 53 return (ptr); in bio_alloc() 57 bio_free(void *ptr, size_t size) in bio_free() argument 60 if (ptr == NULL) in bio_free() 64 if (bio_buffer_ptr != ptr) in bio_free()
|
H A D | biosacpi.c | 59 void *ptr; in find_spcr() local 68 ptr = PTOV((uintptr_t)xsdt->TableOffsetEntry[i]); in find_spcr() 69 if (memcmp(ptr, ACPI_SIG_SPCR, in find_spcr() 71 return (ptr); in find_spcr() 81 ptr = PTOV(rsdt->TableOffsetEntry[i]); in find_spcr() 82 if (memcmp(ptr, ACPI_SIG_SPCR, in find_spcr() 84 return (ptr); in find_spcr()
|
H A D | libi386.h | 124 void bio_free(void *ptr, size_t size);
|
H A D | multiboot.c | 223 vm_offset_t ptr = last_addr; in mb_malloc() local 224 if (ptr + n >= high_heap_base) in mb_malloc() 227 return (ptr); in mb_malloc()
|
H A D | pxe.c | 312 pxenv_call(int func, void *ptr) in pxenv_call() argument 325 v86.es = VTOPSEG(ptr); in pxenv_call() 326 v86.edi = VTOPOFF(ptr); in pxenv_call() 334 bangpxe_call(int func, void *ptr) in bangpxe_call() argument 347 v86.edx = VTOPSEG(ptr); in bangpxe_call() 348 v86.eax = VTOPOFF(ptr); in bangpxe_call() 449 char *buf, *ptr, *frame; in pxe_netif_receive_isr() local 517 ptr = buf + ETHER_ALIGN; in pxe_netif_receive_isr() 523 ptr += isr->BufferLength; in pxe_netif_receive_isr() 590 void *ptr; in pxe_netif_get() local [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | arp.c | 165 void *ptr; in arprecv() local 172 ptr = NULL; in arprecv() 173 n = readether(d, &ptr, (void **)&ah, tleft, &etype); in arprecv() 180 free(ptr); in arprecv() 189 free(ptr); in arprecv() 202 free(ptr); in arprecv() 212 free(ptr); in arprecv() 221 free(ptr); in arprecv() 231 free(ptr); in arprecv() 241 *pkt = ptr; in arprecv()
|
H A D | bootp.c | 286 void *ptr; in bootprecv() local 293 ptr = NULL; in bootprecv() 294 n = readudp(d, &ptr, (void **)&bp, tleft); in bootprecv() 342 *pkt = ptr; in bootprecv() 346 free(ptr); in bootprecv()
|
H A D | ether.c | 93 void *ptr; in readether() local 100 ptr = NULL; in readether() 101 n = netif_get(d, &ptr, tleft); in readether() 103 free(ptr); in readether() 107 eh = (struct ether_header *)((uintptr_t)ptr + ETHER_ALIGN); in readether() 116 free(ptr); in readether() 120 *pkt = ptr; in readether()
|
H A D | ip.c | 189 char *ptr; in readipv4() local 199 ptr = NULL; in readipv4() 202 free(ptr); in readipv4() 215 free(ptr); in readipv4() 225 free(ptr); in readipv4() 238 free(ptr); in readipv4() 249 free(ptr); in readipv4() 258 free(ptr); in readipv4() 268 free(ptr); in readipv4() 285 *pkt = ptr; in readipv4() [all …]
|
H A D | open.c | 105 o_gethandle(struct open_file **ptr) in o_gethandle() argument 112 *ptr = f; in o_gethandle() 126 *ptr = f; in o_gethandle()
|
H A D | rarp.c | 150 void *ptr = NULL; in rarprecv() local 158 n = readether(d, &ptr, (void **)&ap, tleft, &etype); in rarprecv() 165 free(ptr); in rarprecv() 174 free(ptr); in rarprecv() 187 free(ptr); in rarprecv() 196 free(ptr); in rarprecv() 206 free(ptr); in rarprecv() 215 *pkt = ptr; in rarprecv()
|
H A D | rpc.c | 118 void *ptr; in rpc_call() local 166 ptr = NULL; in rpc_call() 180 free(ptr); in rpc_call() 196 free(ptr); in rpc_call() 203 free(ptr); in rpc_call() 209 *pkt = ptr; in rpc_call() 222 void *ptr; in recvrpc() local 233 ptr = NULL; in recvrpc() 236 free(ptr); in recvrpc() 246 free(ptr); in recvrpc() [all …]
|
/illumos-gate/usr/src/boot/libsa/crypto/ |
H A D | digest.c | 21 void *ptr; in command_sha1() local 33 ptr = (void *)(uintptr_t)strtol(argv[1], NULL, 0); in command_sha1() 35 sha1(ptr, size, resultbuf); in command_sha1()
|