/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_mitigations.c | 33 char *str, *sep, *tok; local 43 for (sep = str; (tok = strsep(&sep, ","));) { 48 tok = strim(tok); 53 if (!strcmp(tok, "auto")) 57 if (!strcmp(tok, "off")) 61 if (*tok == '!') { 63 tok++; 66 if (!strncmp(tok, "no", 2)) { 68 tok [all...] |
/linux-master/drivers/dma-buf/ |
H A D | selftest.c | 49 char *filter, *sep, *tok; local 53 for (sep = filter; (tok = strsep(&sep, ","));) { 57 if (*tok == '!') { 59 tok++; 62 if (*tok == '\0') 65 sl = strchr(tok, '/'); 68 if (strcmp(tok, caller)) { 73 tok = sl; 76 if (strcmp(tok, name)) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_dev_bound_only.c | 27 struct nstoken *tok = NULL; local 33 tok = open_netns(LOCAL_NETNS); 34 if (!ASSERT_OK_PTR(tok, "open_netns")) 56 close_netns(tok);
|
H A D | empty_skb.c | 11 struct nstoken *tok = NULL; local 96 tok = open_netns("empty_skb"); 146 if (tok) 147 close_netns(tok);
|
H A D | xdp_metadata.c | 353 static void switch_ns_to_rx(struct nstoken **tok) argument 355 close_netns(*tok); 356 *tok = open_netns(RX_NETNS_NAME); 359 static void switch_ns_to_tx(struct nstoken **tok) argument 361 close_netns(*tok); 362 *tok = open_netns(TX_NETNS_NAME); 370 struct nstoken *tok = NULL; local 386 tok = open_netns(TX_NETNS_NAME); 402 switch_ns_to_rx(&tok); 451 switch_ns_to_tx(&tok); [all...] |
H A D | assign_reuse.c | 176 struct nstoken *tok = NULL; local 181 tok = open_netns(NS_TEST); 182 if (!ASSERT_OK_PTR(tok, "netns token")) 195 close_netns(tok);
|
/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_hwec.c | 54 char *dup, *tok, *name, *val; local 61 while ((tok = strsep(&dup, ","))) { 62 if (!strlen(tok)) 64 name = strsep(&tok, "="); 65 val = tok;
|
H A D | dsp_pipeline.c | 200 char *dup, *next, *tok, *name, *args; local 214 while ((tok = strsep(&next, "|"))) { 215 if (!strlen(tok)) 217 name = strsep(&tok, "("); 218 args = strsep(&tok, ")");
|
/linux-master/scripts/ |
H A D | spdxcheck.py | 16 def __init__(self, tok, txt): 17 self.tok = tok 130 def validate(self, tok): 131 id = tok.value.upper() 132 if tok.type == 'ID': 134 raise ParserException(tok, 'Invalid License ID') 136 elif tok.type == 'EXC': 138 raise ParserException(tok, 'Invalid Exception ID') 140 raise ParserException(tok, 'Exceptio [all...] |
/linux-master/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 7 char *endptr, *tok, *name; local 13 tok = strchr(ops->raw, ','); 14 if (!tok) 17 ops->target.addr = strtoull(tok + 1, &endptr, 16); 29 tok = strchr(name, '>'); 30 if (tok == NULL) 33 *tok = '\0'; 35 *tok = '>';
|
/linux-master/include/linux/usb/ |
H A D | ehci-dbgp.h | 39 #define DBGP_PID_SET(data, tok) (((data)<<8)|(tok))
|
/linux-master/tools/perf/arch/loongarch/annotate/ |
H A D | instructions.c | 10 char *c, *endptr, *tok, *name; local 29 tok = strchr(name, '>'); 30 if (tok == NULL) 33 *tok = '\0'; 35 *tok = '>';
|
/linux-master/drivers/parisc/ |
H A D | lba_pci.c | 145 #define LBA_CFG_BUS(tok) ((u8) ((tok)>>16)) 146 #define LBA_CFG_DEV(tok) ((u8) ((tok)>>11) & 0x1f) 147 #define LBA_CFG_FUNC(tok) ((u8) ((tok)>>8 ) & 0x7) 205 #define LBA_CFG_SETUP(d, tok) { \ 232 #define LBA_CFG_PROBE(d, tok) { \ 237 WRITE_REG32(tok | PCI_VENDOR_ID, (d)->hba.base_addr + LBA_PCI_CFG_ADDR);\ 283 #define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, erro 337 lba_rd_cfg(struct lba_device *d, u32 tok, u8 reg, u32 size) argument 367 u32 tok = LBA_CFG_TOK(local_bus, devfn); local 405 lba_wr_cfg(struct lba_device *d, u32 tok, u8 reg, u32 data, u32 size) argument 434 u32 tok = LBA_CFG_TOK(local_bus,devfn); local 484 u32 tok = LBA_CFG_TOK(local_bus, devfn); local 517 u32 tok = LBA_CFG_TOK(local_bus,devfn); local [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_selftest.c | 277 char *filter, *sep, *tok; local 281 for (sep = filter; (tok = strsep(&sep, ","));) { 285 if (*tok == '!') { 287 tok++; 290 if (*tok == '\0') 293 sl = strchr(tok, '/'); 296 if (strcmp(tok, caller)) { 301 tok = sl; 304 if (strcmp(tok, name)) {
|
/linux-master/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 324 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) 326 #define QTD_CERR(tok) (((tok)>>10) & 0x3) 327 #define QTD_PID(tok) (((tok)>>8) & 0x3) 549 #define FOTG210_ITD_LENGTH(tok) (((tok)>>16) & 0x0fff)
|
/linux-master/block/ |
H A D | sed-opal.c | 712 static void add_token_u8(int *err, struct opal_dev *cmd, u8 tok) argument 717 cmd->cmd[cmd->pos++] = tok; 895 const struct opal_resp_tok *tok; local 908 tok = &resp->toks[n]; 909 if (tok->len == 0) { 914 return tok; 917 static ssize_t response_parse_tiny(struct opal_resp_tok *tok, argument 920 tok->pos = pos; 921 tok->len = 1; 922 tok 934 response_parse_short(struct opal_resp_tok *tok, const u8 *pos) argument 964 response_parse_medium(struct opal_resp_tok *tok, const u8 *pos) argument 981 response_parse_long(struct opal_resp_tok *tok, const u8 *pos) argument 998 response_parse_token(struct opal_resp_tok *tok, const u8 *pos) argument 1084 const struct opal_resp_tok *tok; local 1119 const struct opal_resp_tok *tok; local 1149 const struct opal_resp_tok *tok; local 1574 const struct opal_resp_tok *tok; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 196 int tgt, int act, int tok, u64 offset, size_t size, int width) 229 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Token_BaseAddress(tok); 243 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Token_BaseAddress(tok); 290 int tgt, int act, int tok, u64 offset, size_t size, int width) 297 tgt, act, tok, offset, size, width); 307 static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok, argument 356 (bartok < 0 || bartok == tok) && 368 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) 375 if (matching_bar(bar, tgt, act, tok, offset, size, width)) 385 int tgt, int act, int tok, 194 compute_bar(const struct nfp6000_pcie *nfp, const struct nfp_bar *bar, u32 *bar_config, u64 *bar_base, int tgt, int act, int tok, u64 offset, size_t size, int width) argument 289 reconfigure_bar(struct nfp6000_pcie *nfp, struct nfp_bar *bar, int tgt, int act, int tok, u64 offset, size_t size, int width) argument 367 find_matching_bar(struct nfp6000_pcie *nfp, u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) argument 384 find_unused_bar_noblock(const struct nfp6000_pcie *nfp, int tgt, int act, int tok, u64 offset, size_t size, int width) argument 417 find_unused_bar_and_lock(struct nfp6000_pcie *nfp, int tgt, int act, int tok, u64 offset, size_t size, int width) argument 447 nfp_wait_for_bar(struct nfp6000_pcie *nfp, int *barnum, u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) argument 457 nfp_alloc_bar(struct nfp6000_pcie *nfp, u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width, int nonblocking) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | callchain.c | 172 char *tok; local 184 while ((tok = strtok_r((char *)arg, ",", &saveptr)) != NULL) { 185 if (!strncmp(tok, "none", strlen(tok))) { 192 if (!parse_callchain_mode(tok) || 193 !parse_callchain_order(tok) || 194 !parse_callchain_sort_key(tok) || 195 !parse_callchain_value(tok)) { 200 if (parse_callchain_record(tok, &callchain_param)) 215 if (get_stack_size(tok, 254 char *tok, *name, *saveptr = NULL; local [all...] |
/linux-master/drivers/usb/host/ |
H A D | ehci.h | 297 #define QTD_LENGTH(tok) (((tok)>>16) & 0x7fff) 299 #define QTD_CERR(tok) (((tok)>>10) & 0x3) 300 #define QTD_PID(tok) (((tok)>>8) & 0x3) 520 #define EHCI_ITD_LENGTH(tok) (((tok)>>16) & 0x0fff)
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | ctrlmondata.c | 363 static int rdtgroup_parse_resource(char *resname, char *tok, argument 370 return parse_line(tok, s, rdtgrp); 382 char *tok, *resname; local 409 while ((tok = strsep(&buf, "\n")) != NULL) { 410 resname = strim(strsep(&tok, ":")); 411 if (!tok) { 416 if (tok[0] == '\0') { 421 ret = rdtgroup_parse_resource(resname, tok, rdtgrp);
|
/linux-master/include/soc/fsl/ |
H A D | dpaa2-global.h | 26 u8 tok; member in struct:dpaa2_dq::__anon12452::dq
|
/linux-master/include/linux/ |
H A D | ism.h | 53 u64 tok; member in struct:ism_event
|
/linux-master/net/core/ |
H A D | utils.c | 188 const char *s, *tok = NULL; local 244 tok = s + 1; 249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, &s);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | iostat.c | 251 char *tok, *tmp, *filter_copy = NULL; local 265 for (tok = strtok_r(filter_copy, ",", &tmp); tok; 266 tok = strtok_r(NULL, ",", &tmp)) { 267 if (!iio_root_port_parse_str(&domain, &bus, tok)) {
|
/linux-master/tools/perf/bench/ |
H A D | numa.c | 557 char *tok, *tok_end, *tok_step, *tok_len, *tok_mul; local 562 tok = strsep(&str, ","); 563 if (!tok) 566 tok_end = strstr(tok, "-"); 568 dprintf("\ntoken: {%s}, end: {%s}\n", tok, tok_end); 571 bind_cpu_0 = bind_cpu_1 = atol(tok); 574 bind_cpu_0 = atol(tok); 579 tok_step = strstr(tok, "#"); 591 tok_len = strstr(tok, "_"); 599 tok_mul = strstr(tok, " 705 char *tok, *tok_end, *tok_step, *tok_mul; local [all...] |