Searched refs:lens (Results 1 - 9 of 9) sorted by relevance

/seL4-camkes-master/projects/musllibc/src/network/
H A Ddn_comp.c24 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 Dmisc_test.c92 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 Dethdriver.c205 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 Dlwip.c99 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 Dpico_dev_eth.c175 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 Draw.h96 * @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 Dvirtio_net_emul.c41 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 Dserver.c87 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 Dethdriver.c100 static void eth_rx_complete(void *iface, unsigned int num_bufs, void **cookies, unsigned int *lens) argument
110 curr_buf->len = lens[0];

Completed in 140 milliseconds