Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 25 of 25) sorted by relevance

/f-stack/freebsd/security/audit/
H A Daudit_bsm.c111 rec->len += tok->len; in kau_write()
173 struct au_token *tok; in kau_free() local
329 struct au_token *tok; in audit_sys_auditon() local
332 kau_write(rec, tok); in audit_sys_auditon()
345 kau_write(rec, tok); in audit_sys_auditon()
351 kau_write(rec, tok); in audit_sys_auditon()
354 kau_write(rec, tok); in audit_sys_auditon()
381 kau_write(rec, tok); in audit_sys_auditon()
384 kau_write(rec, tok); in audit_sys_auditon()
387 kau_write(rec, tok); in audit_sys_auditon()
[all …]
/f-stack/freebsd/kern/
H A Dvfs_mountroot.c497 *tok = NULL; in parse_token()
505 bcopy(p, *tok, len); in parse_token()
579 char *path, *tok; in parse_dir_md() local
588 len = strlen(tok); in parse_dir_md()
592 free(tok, M_TEMP); in parse_dir_md()
675 char *tok, *endtok; in parse_dir_timeout() local
687 free(tok, M_TEMP); in parse_dir_timeout()
745 fs = tok; in parse_mount()
753 dev = tok; in parse_mount()
758 if (tok != NULL) in parse_mount()
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_string_fns.c17 int i, tok = 0; in rte_strsplit() local
24 if (string[i] == '\0' || tok >= maxtokens) in rte_strsplit()
28 tokens[tok++] = &string[i]; in rte_strsplit()
35 return tok; in rte_strsplit()
/f-stack/freebsd/libkern/
H A Dstrsep.c58 char *tok; in strsep() local
62 for (tok = s;;) { in strsep()
72 return (tok); in strsep()
/f-stack/dpdk/app/test-bbdev/
H A Dtest_bbdev_vector.c65 if (tok == NULL) in parse_values()
73 while (tok != NULL) { in parse_values()
99 if (tok == NULL) in parse_values()
264 char *tok = NULL; in parse_turbo_flags() local
268 if (tok == NULL) in parse_turbo_flags()
272 trim_space(tok); in parse_turbo_flags()
294 if (tok == NULL) in parse_turbo_flags()
328 char *tok = NULL; in parse_expected_status() local
332 if (tok == NULL) in parse_expected_status()
336 trim_space(tok); in parse_expected_status()
[all …]
/f-stack/tools/ifconfig/
H A Diflagg.c164 char *str, *tmp, *tok; in setlagghash() local
169 while ((tok = strsep(&tmp, ",")) != NULL) { in setlagghash()
170 if (strcmp(tok, "l2") == 0) in setlagghash()
172 else if (strcmp(tok, "l3") == 0) in setlagghash()
174 else if (strcmp(tok, "l4") == 0) in setlagghash()
177 errx(1, "Invalid lagghash option: %s", tok); in setlagghash()
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_vector_parsing.c219 char *tok, *error = NULL; in parse_values() local
221 tok = strtok(tokens, CPERF_VALUE_DELIMITER); in parse_values()
222 if (tok == NULL) in parse_values()
230 while (tok != NULL) { in parse_values()
245 values[n_tokens] = (uint8_t) strtoul(tok, &error, 0); in parse_values()
247 printf("Failed with convert '%s'\n", tok); in parse_values()
252 tok = strtok(NULL, CPERF_VALUE_DELIMITER); in parse_values()
253 if (tok == NULL) in parse_values()
/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_cpp_pcie_ops.c134 uint64_t *bar_base, int tgt, int act, int tok, in nfp_compute_bar() argument
173 newcfg |= NFP_PCIE_BAR_PCIE2CPP_TOKEN_BASEADDRESS(tok); in nfp_compute_bar()
189 printf("\t%d:%d:%d:0x%#llx-0x%#llx>\n", tgt, act, tok, in nfp_compute_bar()
204 newcfg |= NFP_PCIE_BAR_PCIE2CPP_TOKEN_BASEADDRESS(tok); in nfp_compute_bar()
211 printf("\ttarget=%d, token=%d\n", tgt, tok); in nfp_compute_bar()
224 bar->index, tgt, tok, (unsigned long long)offset, in nfp_compute_bar()
232 printf("BAR%d: Too small for %d:%d:%d\n", bar->index, tgt, tok, in nfp_compute_bar()
275 int act, int tok, uint64_t offset, size_t size, int width) in nfp_reconfigure_bar() argument
281 err = nfp_compute_bar(bar, &newcfg, &newbase, tgt, act, tok, offset, in nfp_reconfigure_bar()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_vdevs.ksh97 for tok in ${disks[$1]}; do
98 filedev="$FILEDEV_PREFIX-$tok"
/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_parse.c206 int tok; in cmdline_parse() local
256 tok = match_inst(inst, buf, 0, result_buf, in cmdline_parse()
259 if (tok > 0) /* we matched at least one token */ in cmdline_parse()
262 else if (!tok) { in cmdline_parse()
/f-stack/tools/ipfw/
H A Ddummynet.c1041 int tok = match_token(aqm_params, *av); in process_extra_parms() local
1043 switch(tok) { in process_extra_parms()
1121 int tok = match_token(aqm_params, *av); in process_extra_parms() local
1123 switch(tok) { in process_extra_parms()
1401 int tok = match_token(dummynet_params, *av); in ipfw_config_pipe() local
1404 switch(tok) { in ipfw_config_pipe()
1464 tok = match_token(dummynet_params, *av); in ipfw_config_pipe()
1466 switch(tok) { in ipfw_config_pipe()
1578 process_extra_parms(&ac, av, aqm_extra, tok); in ipfw_config_pipe()
1590 process_extra_parms(&ac, av, sch_extra, tok); in ipfw_config_pipe()
[all …]
H A Dipv6.c223 int tok; in fill_ext6hdr() local
229 tok = match_token(ext6hdrcodes, av); in fill_ext6hdr()
230 switch (tok) { in fill_ext6hdr()
H A Dnat.c772 int i, off, tok, ac1; in ipfw_config_nat() local
794 tok = match_token(nat_params, *av1); in ipfw_config_nat()
797 switch (tok) { in ipfw_config_nat()
871 tok = match_token(nat_params, *av); in ipfw_config_nat()
874 switch (tok) { in ipfw_config_nat()
925 switch (tok) { in ipfw_config_nat()
H A Dipfw2.c103 #define GET_UINT_ARG(arg, min, max, tok, s_x) do { \ argument
105 errx(EX_USAGE, "%s: missing argument", match_value(s_x, tok)); \
119 match_value(s_x, tok), *av); \
123 match_value(s_x, tok), min, max, *av); \
127 match_value(s_x, tok), *av); \
/f-stack/lib/
H A Dff_config.c268 char *tok = tokens[i]; in __parse_config_list() local
269 char *middle = strchr(tok, '-'); in __parse_config_list()
271 tok = __strstrip(tok); in __parse_config_list()
272 long v = strtol(tok, &endptr, 10); in __parse_config_list()
274 fprintf(stderr, "%s is not a integer.", tok); in __parse_config_list()
284 char *lbound = __strstrip(tok); in __parse_config_list()
/f-stack/dpdk/drivers/event/octeontx2/
H A Dotx2_tim_evdev.c588 char *tok = strtok(value, "-"); in tim_parse_ring_param() local
597 while (tok != NULL) { in tim_parse_ring_param()
598 *val = atoi(tok); in tim_parse_ring_param()
599 tok = strtok(NULL, "-"); in tim_parse_ring_param()
H A Dotx2_evdev.c1636 char *tok = strtok(value, "-"); in parse_queue_param() local
1642 while (tok != NULL) { in parse_queue_param()
1643 *val = atoi(tok); in parse_queue_param()
1644 tok = strtok(NULL, "-"); in parse_queue_param()
/f-stack/freebsd/netgraph/
H A Dng_parse.c1225 enum ng_parse_token tok; in ng_parse_composite() local
1228 tok = ng_parse_get_token(s, off, &len); in ng_parse_composite()
1229 if (tok == (ctype == CT_STRUCT ? T_RBRACE : T_RBRACKET)) { in ng_parse_composite()
1243 if (tok == T_LBRACE || tok == T_LBRACKET) { in ng_parse_composite()
1249 if (tok != T_WORD) { in ng_parse_composite()
1275 if (tok != T_WORD) { in ng_parse_composite()
H A Dng_ksocket.c206 enum ng_parse_token tok; in ng_ksocket_sockaddr_parse() local
212 if ((tok = ng_parse_get_token(s, off, &len)) == T_LBRACE) { in ng_ksocket_sockaddr_parse()
/f-stack/dpdk/drivers/bus/fslmc/qbman/include/
H A Dfsl_qbman_portal.h216 uint8_t tok; member
313 uint8_t tok; member
/f-stack/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.c1850 d->pull.tok = token; in qbman_pull_desc_set_token()
1899 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_direct()
1924 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_cinh_direct()
1948 d->pull.tok = s->sys.idx + 1; in qbman_swp_pull_mem_back()
2226 if (dq->dq.tok == 0) in qbman_result_has_new_result()
2234 ((struct qbman_result *)dq)->dq.tok = 0; in qbman_result_has_new_result()
2253 if (dq->dq.tok == 0) in qbman_check_new_result()
2261 ((struct qbman_result *)dq)->dq.tok = 0; in qbman_check_new_result()
2270 if (dq->dq.tok == 0) in qbman_check_command_complete()
2273 s = portal_idx_map[dq->dq.tok - 1]; in qbman_check_command_complete()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_vfio.c1275 char *tok[16], *group_tok, *end; in rte_vfio_get_group_num() local
1292 tok, RTE_DIM(tok), '/'); in rte_vfio_get_group_num()
1301 group_tok = tok[ret - 1]; in rte_vfio_get_group_num()
/f-stack/freebsd/bsm/
H A Daudit_record.h206 int au_close_token(token_t *tok, u_char *buffer, size_t *buflen);
/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h439 volatile uint8_t tok; member
/f-stack/dpdk/drivers/bus/dpaa/include/
H A Dfsl_qman.h311 u8 tok; member