Searched refs:ptr (Results 1 - 25 of 1320) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Darp.c165 void *ptr; local
172 ptr = NULL;
173 n = readether(d, &ptr, (void **)&ah, tleft, &etype);
180 free(ptr);
189 free(ptr);
202 free(ptr);
212 free(ptr);
221 free(ptr);
231 free(ptr);
241 *pkt = ptr;
[all...]
H A Dbootp.c286 void *ptr; local
293 ptr = NULL;
294 n = readudp(d, &ptr, (void **)&bp, tleft);
342 *pkt = ptr;
346 free(ptr);
H A Dether.c93 void *ptr; local
100 ptr = NULL;
101 n = netif_get(d, &ptr, tleft);
103 free(ptr);
107 eh = (struct ether_header *)((uintptr_t)ptr + ETHER_ALIGN);
116 free(ptr);
120 *pkt = ptr;
H A Dip.c189 char *ptr; local
199 ptr = NULL;
200 n = readether(d, (void **)&ptr, (void **)&ip, tleft, &etype);
202 free(ptr);
215 free(ptr);
225 free(ptr);
238 free(ptr);
249 free(ptr);
258 free(ptr);
268 free(ptr);
[all...]
H A Drarp.c150 void *ptr = NULL; local
158 n = readether(d, &ptr, (void **)&ap, tleft, &etype);
165 free(ptr);
174 free(ptr);
187 free(ptr);
196 free(ptr);
206 free(ptr);
215 *pkt = ptr;
H A Drpc.c118 void *ptr; local
166 ptr = NULL;
169 recvrpc, &ptr, (void **)&reply, NULL);
180 free(ptr);
196 free(ptr);
203 free(ptr);
209 *pkt = ptr;
222 void *ptr; local
233 ptr = NULL;
234 n = readudp(d, &ptr, (voi
[all...]
H A Dtftp.c187 void *ptr = NULL; local
194 len = readudp(d, &ptr, (void **)&t, tleft);
197 free(ptr);
211 free(ptr);
218 free(ptr);
230 *pkt = ptr;
244 free(ptr);
255 free(ptr);
271 free(ptr);
274 *pkt = ptr;
[all...]
H A Dudp.c113 void *ptr; local
121 ptr = NULL;
122 n = readip(d, &ptr, (void **)&uh, tleft, IPPROTO_UDP);
124 free(ptr);
134 free(ptr);
163 free(ptr);
175 free(ptr);
181 *pkt = ptr;
H A Dzalloc.c113 char *ptr = (char *)mn; local
118 dptr = (uintptr_t)(ptr + MALLOCALIGN); /* pointer to data */
120 extra = aligned - ptr;
153 mn->mr_Next = ((MemNode *)ptr)->mr_Next;
154 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes;
158 return (ptr);
173 zfree(MemPool *mp, void *ptr, uintptr_t bytes) argument
191 if ((char *)ptr < (char *)mp->mp_Base ||
192 (char *)ptr + bytes > (char *)mp->mp_End ||
193 ((uintptr_t)ptr
[all...]
H A Dzalloc_malloc.c106 Free(void *ptr, const char *file, int line) argument
110 if (ptr != NULL) {
111 Guard *res = (void *)((char *)ptr - MALLOCALIGN);
118 ptr, file, line);
123 ptr, file, line);
129 ptr, file, line);
134 ptr, res->ga_Bytes - MALLOCALIGN, file, line);
169 Realloc(void *ptr, size_t size, const char *file, int line) argument
175 if (ptr != NULL) {
176 Guard *g = (Guard *)((char *)ptr
201 Reallocf(void *ptr, size_t size, const char *file, int line) argument
[all...]
H A Dzalloc_protos.h34 Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes);
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c969 char *ptr = zio.io_data; local
972 ptr + is->is_split_offset, is->is_target_offset,
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddev_net.c384 char *ptr, *val; local
396 ptr = rootpath;
403 (void) strsep(&ptr, ":");
404 if (ptr != NULL) {
406 bcopy(ptr, rootpath, strlen(ptr) + 1);
410 ptr += strlen(uri_schemes[i].scheme);
411 if (*ptr == '/') {
413 ptr++;
419 val = strchr(ptr, '/');
[all...]
H A Dmodule.c274 void *ptr = PTOV(fp->f_addr); local
277 sha1(ptr, fp->f_size, (uint8_t *)lbuf);
1016 #define INT_ALIGN(base, ptr) ptr = \
1017 (base) + (((ptr) - (base) + sizeof (int) - 1) & ~(sizeof (int) - 1))
H A Dmultiboot2.c656 vm_offset_t ptr = last_addr; local
658 return (ptr);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Definet.c170 char *buf, *ptr; local
181 ptr = buf + ETHER_ALIGN;
185 status = net->Receive(net, NULL, &bufsz, ptr, NULL, NULL, NULL);
H A Defipart.c601 pdinfo_t *parent, *ptr; local
613 ptr = STAILQ_LAST(&parent->pd_part, pdinfo, pd_link);
614 if (ptr != NULL)
615 hd->pd_unit = ptr->pd_unit + 1;
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dcopy.c204 efi_translate(vm_offset_t ptr) argument
206 return ((void *)ptr);
H A Dmain.c464 void *ptr; local
562 CHAR16 *ptr; local
563 ptr = &argv[i + 1][0];
564 cpy16to8(ptr, var,
703 if ((ptr = efi_get_table(&smbios3)) == NULL)
704 ptr = efi_get_table(&smbios);
705 smbios_detect(ptr);
1087 char *ptr = argv[i]; local
1088 while (*ptr)
1089 *(argp++) = *(ptr
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/btx/btx/
H A Dbtx.S501 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/sys/boot/i386/libi386/
H A Dbio.c46 char *ptr; local
48 ptr = bio_buffer_ptr;
49 if (ptr + size > bio_buffer_end)
53 return (ptr);
57 bio_free(void *ptr, size_t size) argument
60 if (ptr == NULL)
64 if (bio_buffer_ptr != ptr)
H A Dlibi386.h124 void bio_free(void *ptr, size_t size);
H A Dmultiboot.c223 vm_offset_t ptr = last_addr; local
224 if (ptr + n >= high_heap_base)
227 return (ptr);
H A Dpxe.c62 static void (*pxe_call)(int func, void *ptr);
63 static void pxenv_call(int func, void *ptr);
64 static void bangpxe_call(int func, void *ptr);
310 pxenv_call(int func, void *ptr) argument
323 v86.es = VTOPSEG(ptr);
324 v86.edi = VTOPOFF(ptr);
332 bangpxe_call(int func, void *ptr) argument
345 v86.edx = VTOPSEG(ptr);
346 v86.eax = VTOPOFF(ptr);
447 char *buf, *ptr, *fram local
493 bcopy(PTOV(frame), ptr, isr->BufferLength); local
521 void *ptr; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/libcrypto/
H A Ddigest.c21 void *ptr; local
33 ptr = (void *)(uintptr_t)strtol(argv[1], NULL, 0);
35 sha1(ptr, size, resultbuf);

Completed in 81 milliseconds

1234567891011>>