Searched refs:end (Results 1 - 25 of 88) sorted by relevance

1234

/deb_dpdk/lib/librte_cmdline/
H A Dcmdline_parse_portlist.c93 char *end; local
102 ps = strtoul(first, &end, 10);
103 if (errno != 0 || end == first ||
104 (end[0] != '-' && end[0] != 0 && end != last))
108 if (end[0] == '-') {
110 first = end + 1;
111 pe = strtoul(first, &end, 10);
112 if (errno != 0 || end
[all...]
H A Dcmdline_cirbuf.c76 cbuf->end = start;
124 if (n < cbuf->maxlen - cbuf->end - 1 + e) {
125 dprintf("s[%d] -> d[%d] (%d)\n", 0, cbuf->end + !e, n);
126 memcpy(cbuf->buf + cbuf->end + !e, c, n);
129 dprintf("s[%d] -> d[%d] (%d)\n", cbuf->end + !e, 0,
130 cbuf->maxlen - cbuf->end - 1 + e);
131 dprintf("s[%d] -> d[%d] (%d)\n", cbuf->maxlen - cbuf->end - 1 +
132 e, 0, n - cbuf->maxlen + cbuf->end + 1 - e);
133 memcpy(cbuf->buf + cbuf->end + !e, c, cbuf->maxlen -
134 cbuf->end
[all...]
H A Dcmdline_parse_etheraddr.c99 char *end; local
106 o[i] = strtoul(a, &end, 16);
107 if (errno != 0 || end == a || (end[0] != ':' && end[0] != 0))
109 a = end + 1;
110 } while (++i != sizeof (o) / sizeof (o[0]) && end[0] != 0);
112 /* Junk at the end of line */
113 if (end[0] != 0)
/deb_dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dargs.c75 char *end = NULL; local
83 pm = strtoul(portmask, &end, 16);
84 if (end == NULL || *end != '\0' || pm == 0)
110 char *end = NULL; local
116 temp = strtoul(clients, &end, 10);
117 if (end == NULL || *end != '\0' || temp == 0)
/deb_dpdk/lib/librte_eal/common/
H A Deal_common_options.c343 char *end = NULL; local
370 idx = strtoul(corelist, &end, 10);
371 if (errno || end == NULL)
373 while (isblank(*end))
374 end++;
375 if (*end == '-') {
377 } else if ((*end == ',') || (*end == '\0')) {
391 corelist = end + 1;
392 } while (*end !
433 char *end = NULL; local
590 const char *end = NULL; local
743 char *end; local
[all...]
/deb_dpdk/drivers/net/mlx5/
H A Dmlx5_mr.c59 char *end; member in struct:mlx5_check_mempool_data
77 if (data->start == NULL && data->end == NULL) {
79 data->end = data->start + memhdr->len;
82 if (data->end == memhdr->addr) {
83 data->end += memhdr->len;
101 * @param[out] end
102 * Pointer to the end address of the mempool virtual memory area
108 uintptr_t *end)
115 *end = (uintptr_t)data.end;
107 mlx5_check_mempool(struct rte_mempool *mp, uintptr_t *start, uintptr_t *end) argument
136 uintptr_t end; local
[all...]
/deb_dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_common.h49 struct rte_mbuf *end = rxq->pkt_last_seg; local
53 if (end != NULL) {
55 end->next = rx_bufs[buf_idx];
60 end = end->next;
64 start->hash = end->hash;
65 start->ol_flags = end->ol_flags;
68 if (end->data_len > rxq->crc_len) {
69 end->data_len -= rxq->crc_len;
75 while (secondlast->next != end)
[all...]
/deb_dpdk/examples/l2fwd-cat/
H A Dcat.c89 char *end = NULL; local
105 idx = strtoul(str, &end, 10);
107 if (errno || end == NULL || idx >= num)
110 while (isblank(*end))
111 end++;
115 if (*end == '-') {
117 end++;
118 while (isblank(*end))
119 end++;
120 if (!isdigit(*end))
244 const char *end = NULL; local
[all...]
/deb_dpdk/drivers/net/virtio/
H A Dvirtqueue.c63 uint16_t start, end; local
72 end = (vq->vq_avail_idx + vq->vq_free_cnt) & (vq->vq_nentries - 1);
76 if (start <= end && idx >= start && idx < end)
78 if (start > end && (idx >= start || idx < end))
H A Dvirtio_user_ethdev.c354 goto end;
360 goto end;
368 goto end;
373 goto end;
381 goto end;
390 goto end;
399 goto end;
408 goto end;
416 goto end;
423 goto end;
[all...]
/deb_dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_common.h48 struct rte_mbuf *end = rxq->pkt_last_seg; local
52 if (end != NULL) {
54 end->next = rx_bufs[buf_idx];
59 end = end->next;
63 start->hash = end->hash;
64 start->ol_flags = end->ol_flags;
67 if (end->data_len > rxq->crc_len)
68 end->data_len -= rxq->crc_len;
74 while (secondlast->next != end)
[all...]
/deb_dpdk/app/test/
H A Dtest_table.c164 goto end;
174 goto end;
185 goto end;
196 goto end;
204 goto end;
208 end:
H A Dresource.h64 const char *end; /**< End of resource data */ member in struct:resource
122 * Definition of a resource described by its name, and pointers begin, end.
128 .end = e, \
H A Dtest_distributor_perf.c149 * to the distributor and verifies at the end that we got them all in the worker
156 uint64_t start, end; local
171 end = rte_rdtsc();
179 printf("Time per burst: %"PRIu64"\n", (end - start) >> ITER_POWER);
181 ((end - start) >> ITER_POWER)/BURST);
/deb_dpdk/app/test-pmd/
H A Dparameters.c239 char *end; local
243 end = NULL;
244 cm = strtoull(coremask, &end, 16);
245 if ((coremask[0] == '\0') || (end == NULL) || (*end != '\0'))
258 char *end; local
262 end = NULL;
263 pm = strtoull(portmask, &end, 16);
264 if ((portmask[0] == '\0') || (end == NULL) || (*end !
276 char *end; local
362 char *end; local
416 char *end; local
870 char *end = NULL; local
[all...]
/deb_dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/
H A Dkcompat.c53 static char * number(char * buf, char * end, long long num, int base, int size, int precision, int type) argument
97 if (buf <= end)
103 if (buf <= end)
109 if (buf <= end)
113 if (buf <= end)
116 if (buf <= end)
123 if (buf <= end)
129 if (buf <= end)
134 if (buf <= end)
139 if (buf <= end)
151 char *str, *end, c; local
[all...]
/deb_dpdk/examples/l2fwd/
H A Dmain.c347 char *end = NULL; local
351 pm = strtoul(portmask, &end, 16);
352 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0'))
364 char *end = NULL; local
368 n = strtoul(q_arg, &end, 10);
369 if ((q_arg[0] == '\0') || (end == NULL) || (*end != '\0'))
382 char *end = NULL; local
386 n = strtol(q_arg, &end, 1
[all...]
/deb_dpdk/examples/link_status_interrupt/
H A Dmain.c343 char *end = NULL; local
347 pm = strtoul(portmask, &end, 16);
348 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0'))
360 char *end = NULL; local
364 n = strtoul(q_arg, &end, 10);
365 if ((q_arg[0] == '\0') || (end == NULL) || (*end != '\0'))
378 char *end = NULL; local
382 n = strtol(q_arg, &end, 1
[all...]
/deb_dpdk/examples/vmdq_dcb/
H A Dmain.c367 char *end = NULL; local
371 n = strtol(q_arg, &end, 10);
372 if ((q_arg[0] == '\0') || (end == NULL) || (*end != '\0'))
388 char *end = NULL; local
392 n = strtol(q_arg, &end, 10);
393 if ((q_arg[0] == '\0') || (end == NULL) || (*end != '\0'))
409 char *end = NULL; local
413 pm = strtoul(portmask, &end, 1
[all...]
/deb_dpdk/examples/l2fwd-keepalive/
H A Dmain.c329 char *end = NULL; local
333 pm = strtoul(portmask, &end, 16);
334 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0'))
346 char *end = NULL; local
350 n = strtoul(q_arg, &end, 10);
351 if ((q_arg[0] == '\0') || (end == NULL) || (*end != '\0'))
364 char *end = NULL; local
368 n = strtol(q_arg, &end, 1
380 char *end = NULL; local
[all...]
/deb_dpdk/app/test-pipeline/
H A Dconfig.c89 char *end = NULL; local
96 port_mask = strtoul(arg, &end, 16);
97 if ((end == NULL) || (*end != '\0'))
/deb_dpdk/examples/ip_pipeline/config/
H A Dpipeline-to-core-mapping.py91 print('1', end='')
94 print('0', end='')
138 print('c0.cores(n_pipelines) = [ ', end='')
140 print(self.cores[cores_count].n_pipelines, end=' ')
148 print('c0.ctx1 = ', end='')
154 print('c0.ctx2 = ', end='')
212 print('STAGE0: ', end='')
217 self.cores[cores_count].n_pipelines), end='')
220 # end for
254 print('ctx1.cores(pipelines,n_pipelines) = [ ', end
[all...]
/deb_dpdk/examples/l3fwd/
H A Dmain.c345 char *end = NULL; local
349 len = strtoul(pktlen, &end, 10);
350 if ((pktlen[0] == '\0') || (end == NULL) || (*end != '\0'))
362 char *end = NULL; local
366 pm = strtoul(portmask, &end, 16);
367 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0'))
379 char *end = NULL; local
382 hash_en = strtoul(hash_entry_num, &end, 1
397 char *end; local
[all...]
/deb_dpdk/examples/vhost_xen/
H A Dxenstore_parse.c232 char *end; local
256 gnt[i].gref = strtol(gref_list[i], &end, 0);
257 if (errno != 0 || end == NULL || end == gref_list[i] ||
258 (*end != '\0' && *end != XEN_GREF_SPLITTOKEN)) {
393 char *end; local
403 mempool->gva = (void *)strtoul(buf, &end, 16);
404 if (errno != 0 || end == NULL || end
534 char *end; local
[all...]
/deb_dpdk/lib/librte_eal/linuxapp/eal/
H A Deal.c136 char *end = NULL; local
150 *val = strtoul(buf, &end, 0);
151 if ((buf[0] == '\0') || (end == NULL) || (*end != '\n')) {
382 char *end; local
409 end = NULL;
410 internal_config.socket_mem[i] = strtoull(arg[i], &end, 10);
414 (arg[i][0] == '\0') || (end == NULL) || (*end != '\0'))
431 char *end; local
[all...]

Completed in 23 milliseconds

1234