Searched refs:BUFFER_SIZE (Results 1 - 16 of 16) sorted by relevance

/barrelfish-master/usr/net_socket_server/
H A Dnetss.h22 #define BUFFER_SIZE 16384 macro
H A Dnet_sockets_server.c140 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 Dlib_netss.c146 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 Dmod_ioat.c106 #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 Ddma_mgr.c20 #define BUFFER_SIZE (1<<22) macro
/barrelfish-master/usr/tests/terminalio/
H A Dpty-test.c24 #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 Dinterface_raw.c29 #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 Dskb_functions.c26 #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 Dmain.c6 * 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 Dinterface_app.c19 #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 Dinterface_lib.c16 #define BUFFER_SIZE 2048 macro
17 #define BUF_COUNT ((128*1024*1024) / BUFFER_SIZE)
/barrelfish-master/lib/net_sockets/
H A Dnet_sockets.c35 #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 Dabcompare.c123 #define BUFFER_SIZE 256 macro
124 char Buffer[BUFFER_SIZE];
/barrelfish-master/usr/skb/programs/
H A Ddecoding_net2.pl817 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 Ddecoding_net3.pl1210 BUFFER_SIZE = 1024,
1213 common_free_buffer_existing(BUFFER_SIZE, Proc, Pci, Resolved).
H A Ddecoding_net3_multid.pl1132 BUFFER_SIZE = 1024,
1135 common_free_buffer_existing(BUFFER_SIZE, Proc, Pci, Resolved).

Completed in 215 milliseconds