/seL4-camkes-master/projects/musllibc/src/network/ |
H A D | dn_comp.c | 24 static int getlens(unsigned char *lens, const char *s, int l) argument 30 lens[i++] = j-k; 38 const char *end, const unsigned char *lens, int nlen) 45 l = lens[--nlen]; 61 unsigned char lens[127]; local 72 n = getlens(lens, src, l); 77 m = match(&offset, *dnptrs, *p, end, lens, n); 89 for (i=j=0; i<l-bestlen; i+=lens[j++]+1) 90 dst[i] = lens[j]; 37 match(int *offset, const unsigned char *base, const unsigned char *dn, const char *end, const unsigned char *lens, int nlen) argument
|
/seL4-camkes-master/tools/rumprun/tests/basic/ |
H A D | misc_test.c | 92 size_t lens[] = {4096, 6000, 8192, 12000, 12288, 65000}; local 98 for (i = 0; i < __arraycount(lens); i++) { 99 if ((rv = dommap(lens[i], 0)) != 0) 101 if ((rv = dommap(lens[i], 1)) != 0)
|
/seL4-camkes-master/projects/global-components/components/Ethdriver/src/ |
H A D | ethdriver.c | 205 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 212 client_t *client = detect_client(curr_buf->buf, lens[0]); 214 if (is_broadcast(curr_buf->buf, lens[0]) || is_multicast(curr_buf->buf, lens[0])) { 221 uintptr_t phys = eth_allocate_rx_buf(iface, lens[0], &cookie); 224 memcpy(new_buf->buf, curr_buf->buf, lens[0]); 225 give_client_buf(client, new_buf, lens[0]); 237 give_client_buf(client, curr_buf, lens[0]);
|
/seL4-camkes-master/projects/util_libs/libethdrivers/src/ |
H A D | lwip.c | 99 static void lwip_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 107 ps_dma_cache_invalidate(&lwip_iface->dma_man, ((dma_addr_t *)cookies[i])->virt, lens[i]); 108 len += lens[i]; 134 unsigned int next = MIN(q->len - pbuf_done, lens[buf] - buf_done); 139 if (buf_done == lens[buf]) { 291 static void lwip_pbuf_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 302 ps_dma_cache_invalidate(&lwip_iface->dma_man, q->payload, lens[i]); 303 pbuf_realloc(q, lens[i]);
|
H A D | pico_dev_eth.c | 175 static void pico_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 190 pico_iface->rx_lens[buf_no] = lens[0];
|
/seL4-camkes-master/projects/util_libs/libethdrivers/include/ethdrivers/ |
H A D | raw.h | 96 * @param lens Array of size 'num_bufs' containing how much 100 typedef void (*ethif_raw_rx_complete)(void *cb_cookie, unsigned int num_bufs, void **cookies, unsigned int *lens);
|
/seL4-camkes-master/projects/seL4_projects_libs/libsel4vmmplatsupport/src/drivers/ |
H A D | virtio_net_emul.c | 41 static void emul_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 76 copy = lens[current_buf] - buf_written; 101 if (buf_written == lens[current_buf]) {
|
/seL4-camkes-master/projects/global-components/remote-drivers/picotcp-ethernet-async/ |
H A D | server.c | 87 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 107 if (!virtqueue_add_used_buf(&state->rx_virtqueue, &handle, lens[0])) {
|
/seL4-camkes-master/projects/camkes/apps/picotcp_single_component/src/ |
H A D | ethdriver.c | 100 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument 110 curr_buf->len = lens[0];
|