/Linux-v5.15/net/rxrpc/ |
D | key.c | 56 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local 74 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 77 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad() 78 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 79 if (!token) in rxrpc_preparse_xdr_rxkad() 82 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 83 if (!token->kad) { in rxrpc_preparse_xdr_rxkad() 84 kfree(token); in rxrpc_preparse_xdr_rxkad() 88 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad() 89 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad() [all …]
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 44 int i, token = -EBUSY; in __opal_async_get_token() local 51 token = i; in __opal_async_get_token() 57 return token; in __opal_async_get_token() 68 int token; in opal_async_get_token_interruptible() local 74 token = __opal_async_get_token(); in opal_async_get_token_interruptible() 75 if (token < 0) in opal_async_get_token_interruptible() 78 return token; in opal_async_get_token_interruptible() 82 static int __opal_async_release_token(int token) in __opal_async_release_token() argument 87 if (token < 0 || token >= opal_max_async_tokens) { in __opal_async_release_token() 89 __func__, token); in __opal_async_release_token() [all …]
|
D | opal-sensor.c | 20 int ret, token; in opal_get_sensor_data() local 24 token = opal_async_get_token_interruptible(); in opal_get_sensor_data() 25 if (token < 0) in opal_get_sensor_data() 26 return token; in opal_get_sensor_data() 28 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data() 31 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data() 57 opal_async_release_token(token); in opal_get_sensor_data() 64 int ret, token; in opal_get_sensor_data_u64() local 77 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64() 78 if (token < 0) in opal_get_sensor_data_u64() [all …]
|
D | opal-psr.c | 30 int psr, ret, token; in psr_show() local 32 token = opal_async_get_token_interruptible(); in psr_show() 33 if (token < 0) { in psr_show() 35 return token; in psr_show() 42 ret = opal_get_power_shift_ratio(psr_attr->handle, token, in psr_show() 46 ret = opal_async_wait_response(token, &msg); in psr_show() 71 opal_async_release_token(token); in psr_show() 80 int psr, ret, token; in psr_store() local 86 token = opal_async_get_token_interruptible(); in psr_store() 87 if (token < 0) { in psr_store() [all …]
|
/Linux-v5.15/scripts/genksyms/ |
D | parse.y | 63 %token ASM_KEYW 64 %token ATTRIBUTE_KEYW 65 %token AUTO_KEYW 66 %token BOOL_KEYW 67 %token BUILTIN_INT_KEYW 68 %token CHAR_KEYW 69 %token CONST_KEYW 70 %token DOUBLE_KEYW 71 %token ENUM_KEYW 72 %token EXTERN_KEYW [all …]
|
D | lex.l | 128 int token, count = 0; 139 token = yylex1(); 141 if (token == 0) 143 else if (token == FILENAME) 171 switch (token) 179 switch (token = r) 213 token = TYPE; 245 switch (token) 254 token = ATTRIBUTE_PHRASE; 265 switch (token) [all …]
|
/Linux-v5.15/net/mptcp/ |
D | token.c | 48 static struct token_bucket *token_bucket(u32 token) in token_bucket() argument 50 return &token_hash[token & token_mask]; in token_bucket() 55 __token_lookup_req(struct token_bucket *t, u32 token) in __token_lookup_req() argument 61 if (req->token == token) in __token_lookup_req() 68 __token_lookup_msk(struct token_bucket *t, u32 token) in __token_lookup_msk() argument 74 if (mptcp_sk(sk)->token == token) in __token_lookup_msk() 79 static bool __token_bucket_busy(struct token_bucket *t, u32 token) in __token_bucket_busy() argument 81 return !token || t->chain_len >= TOKEN_MAX_CHAIN_LEN || in __token_bucket_busy() 82 __token_lookup_req(t, token) || __token_lookup_msk(t, token); in __token_bucket_busy() 85 static void mptcp_crypto_key_gen_sha(u64 *key, u32 *token, u64 *idsn) in mptcp_crypto_key_gen_sha() argument [all …]
|
/Linux-v5.15/fs/btrfs/ |
D | struct-funcs.c | 56 u##bits btrfs_get_token_##bits(struct btrfs_map_token *token, \ 61 const unsigned long oip = get_eb_offset_in_page(token->eb, \ 67 ASSERT(token); \ 68 ASSERT(token->kaddr); \ 69 ASSERT(check_setget_bounds(token->eb, ptr, off, size)); \ 70 if (token->offset <= member_offset && \ 71 member_offset + size <= token->offset + PAGE_SIZE) { \ 72 return get_unaligned_le##bits(token->kaddr + oip); \ 74 token->kaddr = page_address(token->eb->pages[idx]); \ 75 token->offset = idx << PAGE_SHIFT; \ [all …]
|
/Linux-v5.15/drivers/bus/fsl-mc/ |
D | fsl-mc-uapi.c | 25 bool token; member 84 .token = true, 90 .token = true, 96 .token = false, 102 .token = true, 109 .token = true, 116 .token = true, 123 .token = true, 130 .token = true, 136 .token = true, [all …]
|
D | dpcon.c | 31 u16 *token) in dpcon_open() argument 50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open() 69 u16 token) in dpcon_close() argument 76 token); in dpcon_close() 93 u16 token) in dpcon_enable() argument 100 token); in dpcon_enable() 117 u16 token) in dpcon_disable() argument 124 token); in dpcon_disable() 141 u16 token) in dpcon_reset() argument 147 cmd_flags, token); in dpcon_reset() [all …]
|
D | dpbp.c | 31 u16 *token) in dpbp_open() argument 49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open() 68 u16 token) in dpbp_close() argument 74 token); in dpbp_close() 91 u16 token) in dpbp_enable() argument 97 token); in dpbp_enable() 114 u16 token) in dpbp_disable() argument 120 cmd_flags, token); in dpbp_disable() 137 u16 token) in dpbp_reset() argument 143 cmd_flags, token); in dpbp_reset() [all …]
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpni.h | 89 u16 *token); 93 u16 token); 115 u16 token, 120 u16 token); 124 u16 token); 128 u16 token, 133 u16 token); 147 u16 token, 153 u16 token, 159 u16 token, [all …]
|
D | dpsw.h | 23 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token); 25 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 85 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 87 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 89 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 118 int dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 121 int dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 124 int dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 127 int dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 169 int dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, [all …]
|
D | dpni.c | 98 u16 *token) in dpni_open() argument 118 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 136 u16 token) in dpni_close() argument 143 token); in dpni_close() 163 u16 token, in dpni_set_pools() argument 173 token); in dpni_set_pools() 198 u16 token) in dpni_enable() argument 205 token); in dpni_enable() 221 u16 token) in dpni_disable() argument 228 token); in dpni_disable() [all …]
|
D | dpsw.c | 39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) in dpsw_open() argument 58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument 81 token); in dpsw_close() 95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_enable() argument 102 token); in dpsw_enable() 116 int dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_disable() argument 123 token); in dpsw_disable() 137 int dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_reset() argument 144 token); in dpsw_reset() [all …]
|
D | dprtc.c | 32 u16 *token) in dprtc_open() argument 48 *token = mc_cmd_hdr_read_token(&cmd); in dprtc_open() 66 u16 token) in dprtc_close() argument 71 token); in dprtc_close() 93 u16 token, in dprtc_set_irq_enable() argument 102 token); in dprtc_set_irq_enable() 122 u16 token, in dprtc_get_irq_enable() argument 133 token); in dprtc_get_irq_enable() 165 u16 token, in dprtc_set_irq_mask() argument 174 token); in dprtc_set_irq_mask() [all …]
|
/Linux-v5.15/tools/perf/pmu-events/ |
D | jsmn.c | 47 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument 50 token->type = type; in jsmn_fill_token() 51 token->start = start; in jsmn_fill_token() 52 token->end = end; in jsmn_fill_token() 53 token->size = 0; in jsmn_fill_token() 63 jsmntok_t *token; in jsmn_parse_primitive() local 103 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive() 104 if (token == NULL) { in jsmn_parse_primitive() 108 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive() 120 jsmntok_t *token; in jsmn_parse_string() local [all …]
|
/Linux-v5.15/virt/lib/ |
D | irqbypass.c | 90 if (!producer->token) in irq_bypass_register_producer() 101 if (tmp->token == producer->token) { in irq_bypass_register_producer() 108 if (consumer->token == producer->token) { in irq_bypass_register_producer() 140 if (!producer->token) in irq_bypass_unregister_producer() 151 if (tmp->token != producer->token) in irq_bypass_unregister_producer() 155 if (consumer->token == producer->token) { in irq_bypass_unregister_producer() 185 if (!consumer->token || in irq_bypass_register_consumer() 197 if (tmp->token == consumer->token || tmp == consumer) { in irq_bypass_register_consumer() 204 if (producer->token == consumer->token) { in irq_bypass_register_consumer() 236 if (!consumer->token) in irq_bypass_unregister_consumer() [all …]
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | rtas.c | 385 err_args.token = cpu_to_be32(rtas_last_error_token); in __fetch_rtas_last_error() 425 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument 430 args->token = cpu_to_be32(token); in va_rtas_call_unlocked() 444 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument 449 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked() 453 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 462 if (!rtas.entry || token == RTAS_UNKNOWN_SERVICE) in rtas_call() 471 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call() 561 int token = rtas_token("get-power-level"); in rtas_get_power_level() local 564 if (token == RTAS_UNKNOWN_SERVICE) in rtas_get_power_level() [all …]
|
/Linux-v5.15/drivers/dma/fsl-dpaa2-qdma/ |
D | dpdmai.c | 69 int dpdmai_id, u16 *token) in dpdmai_open() argument 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_close() argument 111 cmd_flags, token); in dpdmai_close() 141 const struct dpdmai_cfg *cfg, u16 *token) in dpdmai_create() argument 157 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_create() 170 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_destroy() argument 176 cmd_flags, token); in dpdmai_destroy() 191 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_enable() argument 197 cmd_flags, token); in dpdmai_enable() [all …]
|
/Linux-v5.15/drivers/soc/fsl/dpio/ |
D | dpio.c | 38 u16 *token) in dpio_open() argument 56 *token = mc_cmd_hdr_read_token(&cmd); in dpio_open() 71 u16 token) in dpio_close() argument 78 token); in dpio_close() 93 u16 token) in dpio_enable() argument 100 token); in dpio_enable() 115 u16 token) in dpio_disable() argument 122 token); in dpio_disable() 138 u16 token, in dpio_get_attributes() argument 148 token); in dpio_get_attributes() [all …]
|
/Linux-v5.15/tools/lib/traceevent/ |
D | event-parse.c | 1247 static int test_type_token(enum tep_event_type type, const char *token, in test_type_token() argument 1256 if (strcmp(token, expect_tok) != 0) { in test_type_token() 1258 expect_tok, token); in test_type_token() 1284 char *token; in __read_expected() local 1288 type = read_token(&token); in __read_expected() 1290 type = read_token_item(&token); in __read_expected() 1292 ret = test_type_token(type, token, expect, str); in __read_expected() 1294 free_token(token); in __read_expected() 1311 char *token; in event_read_name() local 1319 if (read_expect_type(TEP_EVENT_ITEM, &token) < 0) in event_read_name() [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
D | inputfifo.c | 95 _sh_css_fifo_snd(unsigned int token) in _sh_css_fifo_snd() argument 99 event_send_token(STR2MIPI_EVENT_ID, token); in _sh_css_fifo_snd() 107 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data_a() local 109 _sh_css_fifo_snd(token); in inputfifo_send_data_a() 117 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_B_BIT) | in inputfifo_send_data_b() local 119 _sh_css_fifo_snd(token); in inputfifo_send_data_b() 128 unsigned int token = ((1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data() local 132 _sh_css_fifo_snd(token); in inputfifo_send_data() 139 hrt_data token = inputfifo_wrap_marker( in inputfifo_send_sol() local 142 _sh_css_fifo_snd(token); in inputfifo_send_sol() [all …]
|
/Linux-v5.15/mm/kasan/ |
D | report_generic.c | 133 char *token, size_t max_tok_len, in tokenize_frame_descr() argument 141 if (token != NULL) { in tokenize_frame_descr() 151 strscpy(token, *frame_descr, tok_len + 1); in tokenize_frame_descr() 157 if (value != NULL && kstrtoul(token, 10, value)) { in tokenize_frame_descr() 158 pr_err("KASAN internal error: not a valid number: %s\n", token); in tokenize_frame_descr() 175 char token[64]; in print_decoded_frame_descr() local 178 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 191 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 195 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 202 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() [all …]
|
/Linux-v5.15/scripts/kconfig/ |
D | parser.y | 46 %token <string> T_HELPTEXT 47 %token <string> T_WORD 48 %token <string> T_WORD_QUOTE 49 %token T_BOOL 50 %token T_CHOICE 51 %token T_CLOSE_PAREN 52 %token T_COLON_EQUAL 53 %token T_COMMENT 54 %token T_CONFIG 55 %token T_DEFAULT [all …]
|