/barrelfish-master/usr/net_socket_server/ |
H A D | netss.h | 22 #define BUFFER_SIZE 16384 macro
|
H A D | net_sockets_server.c | 140 assert(p->tot_len + sizeof(struct net_buffer) <= BUFFER_SIZE); 154 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE); 234 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE); 295 // assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE); 383 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE);
|
H A D | lib_netss.c | 146 assert(p->tot_len + sizeof(struct net_buffer) <= BUFFER_SIZE); 160 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE); 235 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE); 350 assert(sizeof(struct net_buffer) + length <= BUFFER_SIZE);
|
/barrelfish-master/usr/drivers/ioat_dma/ |
H A D | mod_ioat.c | 106 #define BUFFER_SIZE (1UL << 20) macro 124 // assert(memcmp(arg, arg + BUFFER_SIZE, BUFFER_SIZE) == 0); 188 err = driverkit_iommu_mmap_cl(cl, 2 * BUFFER_SIZE, VREGION_FLAGS_READ_WRITE, 194 cpumemcpy(mem.vbase, mem.vbase + BUFFER_SIZE, BUFFER_SIZE); 196 dmamemcpy(mem.devaddr, mem.devaddr + BUFFER_SIZE, BUFFER_SIZE); 207 #define BUFFER_SIZE (1<<20) macro 214 assert(memcmp(arg, arg + BUFFER_SIZE, BUFFER_SIZ [all...] |
/barrelfish-master/usr/device_managers/dma/ |
H A D | dma_mgr.c | 20 #define BUFFER_SIZE (1<<22) macro
|
/barrelfish-master/usr/tests/terminalio/ |
H A D | pty-test.c | 24 #define BUFFER_SIZE 128 macro 113 char buffer[BUFFER_SIZE + 1]; 117 r = read(ptm, buffer, BUFFER_SIZE);
|
/barrelfish-master/lib/net_interfaces/ |
H A D | interface_raw.c | 29 #define BUFFER_SIZE 2048 macro 30 #define BUFFER_COUNT ((128*1024*1024) / BUFFER_SIZE) 57 offset += idx * BUFFER_SIZE; 78 offset = idx * BUFFER_SIZE; 79 err = devq_enqueue(devq, regid, offset, BUFFER_SIZE, 80 0, BUFFER_SIZE, flags); 116 alloc_mem(&buffer_frame, &buffer_base, BUFFER_SIZE * count); 155 size_t idx = offset / BUFFER_SIZE; 205 size_t idx = offset / BUFFER_SIZE;
|
/barrelfish-master/lib/skb/ |
H A D | skb_functions.c | 26 #define BUFFER_SIZE skb__run_call_input_MAX_ARGUMENT_SIZE macro 82 int len = skb_vsnprintf(buffer, BUFFER_SIZE, fmt, va_l); 85 if (len >= BUFFER_SIZE) { 95 int assert_len = snprintf(buffer + len, BUFFER_SIZE - len, 97 if (assert_len >= BUFFER_SIZE - len) { 112 int len = skb_vsnprintf(buffer, BUFFER_SIZE, fmt, va_l); 117 char* buffer2 = malloc(BUFFER_SIZE+1); 118 len = vsnprintf(buffer2, BUFFER_SIZE, fmt, va_l); 129 if (len >= BUFFER_SIZE) {
|
/barrelfish-master/usr/tests/net_tests/posix-sockets/ |
H A D | main.c | 6 * The server waits until it receives BUFFER_SIZE characters from the client 44 #define BUFFER_SIZE 32 macro 61 char buffer[BUFFER_SIZE + 1]; 154 BUFFER_SIZE - client->buffer_index); 159 if (client->buffer_index == BUFFER_SIZE) { 160 client->buffer[BUFFER_SIZE] = '\0'; 174 (BUFFER_SIZE + 1) - client->buffer_index); 179 if (client->buffer_index == BUFFER_SIZE + 1) { 182 memset(client->buffer, '\0', BUFFER_SIZE + 1);
|
/barrelfish-master/usr/bench/net_latency/elb/ |
H A D | interface_app.c | 19 #define BUFFER_SIZE 2048 macro 49 .offset = idx * BUFFER_SIZE, 67 idx * BUFFER_SIZE, 68 BUFFER_SIZE, 1, idx + 1, 0); 142 alloc_mem(&buffer_frame, &buffer_base, BUFFER_SIZE * count);
|
H A D | interface_lib.c | 16 #define BUFFER_SIZE 2048 macro 17 #define BUF_COUNT ((128*1024*1024) / BUFFER_SIZE)
|
/barrelfish-master/lib/net_sockets/ |
H A D | net_sockets.c | 35 #define BUFFER_SIZE 16384 macro 218 assert(size < (BUFFER_SIZE - sizeof(struct net_buffer))); 479 alloc_mem(&buffer_frame, &buffer_start, 2 * BUFFER_SIZE * NO_OF_BUFFERS); 518 err = devq_enqueue((struct devq *)descq_queue, regionid, i * BUFFER_SIZE, BUFFER_SIZE, 523 buffers[i] = i * BUFFER_SIZE + buffer_start + BUFFER_SIZE * NO_OF_BUFFERS;
|
/barrelfish-master/lib/acpica/source/tools/acpibin/ |
H A D | abcompare.c | 123 #define BUFFER_SIZE 256 macro 124 char Buffer[BUFFER_SIZE];
|
/barrelfish-master/usr/skb/programs/ |
H A D | decoding_net2.pl | 817 BUFFER_SIZE = 1024, 820 common_free_buffer_existing(BUFFER_SIZE, Proc, Pci, Resolved). 1322 BUFFER_SIZE = [memory, [1024]], 1327 common_free_buffer(BUFFER_SIZE, Proc, Pci, Resolved, Route),
|
H A D | decoding_net3.pl | 1210 BUFFER_SIZE = 1024, 1213 common_free_buffer_existing(BUFFER_SIZE, Proc, Pci, Resolved).
|
H A D | decoding_net3_multid.pl | 1132 BUFFER_SIZE = 1024, 1135 common_free_buffer_existing(BUFFER_SIZE, Proc, Pci, Resolved).
|