/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/net/ |
H A D | netevent.h | 48 struct notifier_block *nb; local 50 nb = arg; 51 nb->notifier_call(nb, NETEVENT_NEIGH_UPDATE, lle); 55 register_netevent_notifier(struct notifier_block *nb) argument 57 nb->tags[NETEVENT_NEIGH_UPDATE] = EVENTHANDLER_REGISTER( 58 lle_event, _handle_arp_update_event, nb, 0); 63 unregister_netevent_notifier(struct notifier_block *nb) argument 66 EVENTHANDLER_DEREGISTER(lle_event, nb->tags[NETEVENT_NEIGH_UPDATE]);
|
/barrelfish-2018-10-04/lib/libc/locale/ |
H A D | wcsnrtombs.c | 69 size_t nb; local 76 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) 80 return (nbytes + nb - 1); 82 nbytes += nb; 90 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) { 103 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) { 107 if (nb > (int)len) { 112 memcpy(dst, buf, nb); 116 return (nbytes + nb - 1); 119 dst += nb; [all...] |
H A D | mbsnrtowcs.c | 67 size_t nb; local 74 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1) 77 else if (nb == 0 || nb == (size_t)-2) 79 s += nb; 80 nms -= nb; 87 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) { 90 } else if (nb == (size_t)-2) { 93 } else if (nb == 0) { 97 s += nb; [all...] |
H A D | utf8.c | 217 size_t nb; local 240 nb = 1; 241 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) == 245 else if (nb == 0 || nb == (size_t)-2) 247 s += nb; 248 nms -= nb; 270 nb = 1; 271 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) == 275 } else if (nb 360 size_t nb; local [all...] |
/barrelfish-2018-10-04/lib/net/ |
H A D | netbufs.c | 141 struct net_buf_p *nb = ®->netbufs[i]; local 143 nb->offset = offset; 144 nb->vbase = reg->vbase + offset; 145 nb->region = reg; 146 nb->pbuf.custom_free_function = net_buf_free; 148 nb->allocated = 0; 149 nb->enqueued = 0; 150 nb->flags = 0; 151 nb->magic = 0xdeadbeefcafebabe; 154 nb 219 struct net_buf_p *nb = (struct net_buf_p *)bp->pbufs; local 264 struct net_buf_p *nb = (struct net_buf_p *)p; local 297 struct net_buf_p *nb = reg->netbufs + (offset / reg->buffer_size); local [all...] |
H A D | netif.c | 254 struct net_buf_p *nb = (struct net_buf_p *)pbuf; local 257 pbuf, nb->region->regionid, nb->offset); 260 assert(nb->magic == 0xdeadbeefcafebabe); 261 assert(nb->allocated == 1); 262 assert(nb->enqueued == 0); 263 assert(nb->flags == 0); 264 nb->enqueued = 1; 265 nb->flags = NETIF_RXFLAG; 273 err = devq_enqueue(st->queue, nb 314 struct net_buf_p *nb = (struct net_buf_p *)tmpp; local 462 struct net_buf_p *nb = (struct net_buf_p *)p; local [all...] |
/barrelfish-2018-10-04/lib/libc/sys/barrelfish/ |
H A D | oldsys_morecore.c | 46 size_t nb = nu * sizeof(Header); local 50 up = (Header *)sys_morecore_alloc(nb, &nb); 54 assert(nb % sizeof(Header) == 0); 55 up->s.size = nb / sizeof(Header);
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/asm/ |
H A D | co-586.pl | 18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 65 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb); 75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 101 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb); 159 $nb [all...] |
H A D | ppc64-mont.pl | 132 $na="f4"; $nb="f5"; $nc="f6"; $nd="f7"; 277 lfd $nb,`$FRAME+40`($sp) 293 fcfid $nb,$nb 343 fmadd $T1b,$N1,$nb,$T1b 345 fmadd $T2b,$N2,$nb,$T2b 347 fmadd $T3b,$N3,$nb,$T3b 349 fmadd $T0b,$N0,$nb,$T0b 455 fmadd $T1b,$N1,$nb,$T1b 458 fmadd $T2b,$N2,$nb, [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/asm/x86/ |
H A D | comba.pl | 6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 53 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb); 63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 89 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb); 147 $nb [all...] |
/barrelfish-2018-10-04/lib/libc/db/btree/ |
H A D | bt_overflow.c | 82 size_t nb, plen; local 106 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { 110 nb = MIN(sz, plen); 111 memmove(p, (char *)h + BTDATAOFF, nb); local 114 if ((sz -= nb) == 0) 137 size_t nb, plen; local 155 nb = MIN(sz, plen); 156 memmove((char *)h + BTDATAOFF, p, nb); 164 if ((sz -= nb) == 0) {
|
/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/ |
H A D | pppos.c | 75 static err_t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs); 76 static err_t pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs); 203 struct pbuf *nb; local 210 nb = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); 211 if (nb == NULL) { 224 err = pppos_output_append(pppos, err, nb, PPP_FLAG, 0, NULL); 232 err = pppos_output_append(pppos, err, nb, *s++, 1, &fcs_out); 235 err = pppos_output_last(pppos, err, nb, &fcs_out); 250 struct pbuf *nb, *p; local 256 nb 803 pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs) argument 837 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) argument [all...] |
H A D | vj.c | 154 * packet. This assumes that nb and comp are not null and that the first 464 vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp) argument 470 ip = (struct ip_hdr *)nb->payload; 473 || hlen + sizeof(struct tcp_hdr) > nb->len 475 > nb->len 478 IPH_PROTO(ip), hlen, nb->len)); 501 vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp) argument 507 struct pbuf *n0 = *nb; 685 *nb = n0;
|
/barrelfish-2018-10-04/include/lwip2/netif/ppp/ |
H A D | pppos.c | 75 static err_t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs); 76 static err_t pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs); 203 struct pbuf *nb; local 210 nb = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); 211 if (nb == NULL) { 224 err = pppos_output_append(pppos, err, nb, PPP_FLAG, 0, NULL); 232 err = pppos_output_append(pppos, err, nb, *s++, 1, &fcs_out); 235 err = pppos_output_last(pppos, err, nb, &fcs_out); 250 struct pbuf *nb, *p; local 256 nb 803 pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs) argument 837 pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs) argument [all...] |
H A D | vj.h | 156 extern int vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp); 157 extern int vj_uncompress_tcp (struct pbuf **nb, struct vjcompress *comp);
|
H A D | vj.c | 154 * packet. This assumes that nb and comp are not null and that the first 464 vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp) argument 470 ip = (struct ip_hdr *)nb->payload; 473 || hlen + sizeof(struct tcp_hdr) > nb->len 475 > nb->len 478 IPH_PROTO(ip), hlen, nb->len)); 501 vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp) argument 507 struct pbuf *n0 = *nb; 685 *nb = n0;
|
/barrelfish-2018-10-04/usr/net_socket_server/ |
H A D | net_sockets_server.c | 156 struct net_buffer *nb = buffer; local 158 nb->size = length; 159 nb->descriptor = connection->descriptor; 160 nb->host_address.s_addr = addr->addr; 161 nb->port = port; 162 // debug_printf("%s(%d): %p -> %p %p %d\n", __func__, connection->descriptor, buffer, nb->user_callback, nb->user_state, nb->size); 195 struct net_buffer *nb = buffer; local 209 nb 265 struct net_buffer *nb = buffer; local 373 struct net_buffer *nb = buffer; local 581 struct net_buffer *nb; local 660 struct net_buffer *nb = buffer; local [all...] |
/barrelfish-2018-10-04/lib/net_sockets/ |
H A D | net_sockets.c | 152 struct net_buffer *nb = net_alloc(0) - sizeof(struct net_buffer); local 153 nb->descriptor = socket->descriptor; 155 // debug_printf_to_log("%s(%d): enqueue %lx:%ld", __func__, socket->descriptor, (void *)nb - buffer_start, sizeof(struct net_buffer)); 156 err = devq_enqueue((struct devq *)descq_queue, regionid, (void *)nb - buffer_start, sizeof(struct net_buffer), 227 struct net_buffer *nb = buffer; local 233 nb->size = size; 234 nb->descriptor = socket->descriptor; 235 nb->host_address.s_addr = INADDR_NONE; 236 nb->port = 0; 253 struct net_buffer *nb local 376 struct net_buffer *nb = buffer; local [all...] |
/barrelfish-2018-10-04/usr/boot_perfmon/ |
H A D | tests.c | 58 struct boot_perfmon_binding *nb; local 59 err = relations_get(rel, id, &nb); 65 err = boot_perfmon_ping__tx(nb, NOP_CONT, bench_tsc());
|
/barrelfish-2018-10-04/lib/gdtoa/ |
H A D | strtoIg.c | 42 int i, nb, nw, nw1, rv, rv1, swap; local 56 nb = fpi->nbits; 57 nb1 = nb & 31; 92 b1 = set_ones(b1, nb);
|
/barrelfish-2018-10-04/lib/lwip/src/core/ |
H A D | init.c | 255 struct netbench_details *nb = NULL; variable in typeref:struct:netbench_details 266 nb = netbench_alloc("app", RECORDED_EVENTS_COUNT); 580 netbench_record_event_simple(nb, event_type, ts); 586 netbench_print_event_stat(nb, RPC_CALL_T, "U: RPC_CALL_T", 1); 587 netbench_print_event_stat(nb, NFS_READCB_T, "U: NFS_READCB_T", 1); 588 netbench_print_event_stat(nb, NFS_READ_T, "U: NFS_READ_T", 1); 589 netbench_print_event_stat(nb, NFS_READ_1_T, "U: NFS_READ_1_T", 1); 590 netbench_print_event_stat(nb, NFS_READ_w_T, "U: NFS_READ_w_T", 1); 592 netbench_print_event_stat(nb, RPC_RECV_T, "U: RPC_RECV_T", 1); 593 netbench_print_event_stat(nb, RPC_CALLBACK_ [all...] |
/barrelfish-2018-10-04/lib/dmalloc/ |
H A D | dmalloc.c | 1708 static void *bf_dmalloc_morecore(intptr_t nb) argument 1712 if (nb > 0) { 1713 size_t snb = (size_t)nb; 1718 DEBUG_ERR(LIB_ERR_MALLOC_FAIL, "sys_morecore_alloc(%d, %d) returned NULL\n", nb, snb); 1724 } else if (nb == 0) { 1726 } else if (nb < 0) { 1728 nb = -nb; 1732 void *p = end_brk - nb; 1734 sys_morecore_free(p, nb); 3886 mmap_alloc(mstate m, size_t nb) argument 3918 mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) argument 4000 prepend_alloc(mstate m, char* newbase, char* oldbase, size_t nb) argument 4097 sys_alloc(mstate m, size_t nb) argument 4494 tmalloc_large(mstate m, size_t nb) argument 4565 tmalloc_small(mstate m, size_t nb) argument 4634 size_t nb; local 4871 try_realloc_chunk(mstate m, mchunkptr p, size_t nb, int can_move) argument 4965 size_t nb = request2size(bytes); local 5259 size_t nb = request2size(bytes); local 5297 size_t nb = request2size(bytes); local 5568 size_t nb; local 5809 size_t nb = request2size(bytes); local 5847 size_t nb = request2size(bytes); local [all...] |
/barrelfish-2018-10-04/lib/pci/ |
H A D | pci_client.c | 254 for (int nb = 0; nb < nbars; nb++) { 255 struct device_mem *bar = &bars[nb]; 262 err = pci_client->rpc_tx_vtbl.get_bar_cap(pci_client, nb, &msgerr, &cap, 268 DEBUG_ERR(err, "requesting cap for BAR %d of device", nb); 346 for (int nb = 0; nb < nbars; nb++) { 347 struct device_mem *bar = &bars[nb]; [all...] |
/barrelfish-2018-10-04/lib/barrelfish/ |
H A D | heap.c | 149 size_t nb = ROUND_UP(nu * sizeof(union heap_header), local 153 up = (union heap_header*)pages_alloc(nb / BASE_PAGE_SIZE); 154 up->s.size = nb / sizeof(union heap_header);
|
/barrelfish-2018-10-04/include/lwip/lwip/ |
H A D | init.h | 143 extern struct netbench_details *nb;
|