/Linux-v5.4/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 …]
|
D | opal-sysparam.c | 33 int token; in opal_get_sys_param() local 35 token = opal_async_get_token_interruptible(); in opal_get_sys_param() 36 if (token < 0) { in opal_get_sys_param() 37 if (token != -ERESTARTSYS) in opal_get_sys_param() 40 ret = token; in opal_get_sys_param() 44 ret = opal_get_param(token, param_id, (u64)buffer, length); in opal_get_sys_param() 50 ret = opal_async_wait_response(token, &msg); in opal_get_sys_param() 60 opal_async_release_token(token); in opal_get_sys_param() 68 int ret, token; in opal_set_sys_param() local 70 token = opal_async_get_token_interruptible(); in opal_set_sys_param() [all …]
|
/Linux-v5.4/net/rxrpc/ |
D | key.c | 92 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local 110 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 113 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad() 114 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 115 if (!token) in rxrpc_preparse_xdr_rxkad() 118 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 119 if (!token->kad) { in rxrpc_preparse_xdr_rxkad() 120 kfree(token); in rxrpc_preparse_xdr_rxkad() 124 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad() 125 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad() [all …]
|
/Linux-v5.4/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 | 129 int token, count = 0; 140 token = yylex1(); 142 if (token == 0) 144 else if (token == FILENAME) 172 switch (token) 180 switch (token = r) 209 token = TYPE; 242 switch (token) 251 token = ATTRIBUTE_PHRASE; 262 switch (token) [all …]
|
/Linux-v5.4/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.4/drivers/net/ethernet/freescale/dpaa2/ |
D | dpni.h | 81 u16 *token); 85 u16 token); 107 u16 token, 112 u16 token); 116 u16 token); 120 u16 token, 125 u16 token); 145 u16 token, 151 u16 token, 157 u16 token, [all …]
|
D | dpni.c | 95 u16 *token) in dpni_open() argument 115 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 133 u16 token) in dpni_close() argument 140 token); in dpni_close() 160 u16 token, in dpni_set_pools() argument 170 token); in dpni_set_pools() 195 u16 token) in dpni_enable() argument 202 token); in dpni_enable() 218 u16 token) in dpni_disable() argument 225 token); in dpni_disable() [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.4/drivers/staging/fsl-dpaa2/ethsw/ |
D | dpsw.h | 33 u16 *token); 37 u16 token); 80 u16 token); 84 u16 token); 88 u16 token); 116 u16 token, 122 u16 token, 128 u16 token, 134 u16 token, 175 u16 token, [all …]
|
D | dpsw.c | 44 u16 *token) in dpsw_open() argument 63 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 81 u16 token) in dpsw_close() argument 88 token); in dpsw_close() 104 u16 token) in dpsw_enable() argument 111 token); in dpsw_enable() 127 u16 token) in dpsw_disable() argument 134 token); in dpsw_disable() 150 u16 token) in dpsw_reset() argument 157 token); in dpsw_reset() [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | struct-funcs.c | 43 struct btrfs_map_token *token) \ 55 ASSERT(token); \ 56 ASSERT(token->eb == eb); \ 58 if (token->kaddr && token->offset <= offset && \ 59 (token->offset + PAGE_SIZE >= offset + size)) { \ 60 kaddr = token->kaddr; \ 61 p = kaddr + part_offset - token->offset; \ 75 token->kaddr = kaddr; \ 76 token->offset = map_start; \ 107 struct btrfs_map_token *token) \ [all …]
|
/Linux-v5.4/virt/lib/ |
D | irqbypass.c | 89 if (!producer->token) in irq_bypass_register_producer() 100 if (tmp->token == producer->token) { in irq_bypass_register_producer() 108 if (consumer->token == producer->token) { in irq_bypass_register_producer() 139 if (!producer->token) in irq_bypass_unregister_producer() 150 if (tmp->token != producer->token) in irq_bypass_unregister_producer() 154 if (consumer->token == producer->token) { in irq_bypass_unregister_producer() 183 if (!consumer->token || in irq_bypass_register_consumer() 195 if (tmp->token == consumer->token || tmp == consumer) { in irq_bypass_register_consumer() 203 if (producer->token == consumer->token) { in irq_bypass_register_consumer() 234 if (!consumer->token) in irq_bypass_unregister_consumer() [all …]
|
/Linux-v5.4/drivers/bus/fsl-mc/ |
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 …]
|
D | dprc.c | 25 u16 *token) in dprc_open() argument 43 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 62 u16 token) in dprc_close() argument 68 token); in dprc_close() 87 u16 token, in dprc_set_irq() argument 97 token); in dprc_set_irq() 125 u16 token, in dprc_set_irq_enable() argument 134 cmd_flags, token); in dprc_set_irq_enable() 161 u16 token, in dprc_set_irq_mask() argument 170 cmd_flags, token); in dprc_set_irq_mask() [all …]
|
/Linux-v5.4/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.4/scripts/kconfig/ |
D | parser.y | 45 %token <string> T_HELPTEXT 46 %token <string> T_WORD 47 %token <string> T_WORD_QUOTE 48 %token T_ALLNOCONFIG_Y 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 [all …]
|
/Linux-v5.4/tools/lib/traceevent/ |
D | event-parse.c | 1235 void tep_free_token(char *token) in tep_free_token() argument 1237 free_token(token); in tep_free_token() 1268 static int test_type_token(enum tep_event_type type, const char *token, in test_type_token() argument 1277 if (strcmp(token, expect_tok) != 0) { in test_type_token() 1279 expect_tok, token); in test_type_token() 1305 char *token; in __read_expected() local 1309 type = read_token(&token); in __read_expected() 1311 type = read_token_item(&token); in __read_expected() 1313 ret = test_type_token(type, token, expect, str); in __read_expected() 1315 free_token(token); in __read_expected() [all …]
|
/Linux-v5.4/drivers/crypto/caam/ |
D | dpseci.c | 28 u16 *token) in dpseci_open() argument 43 *token = mc_cmd_hdr_read_token(&cmd); in dpseci_open() 59 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_close() argument 65 token); in dpseci_close() 77 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_enable() argument 83 token); in dpseci_enable() 95 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_disable() argument 101 token); in dpseci_disable() 115 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpseci_is_enabled() argument 124 token); in dpseci_is_enabled() [all …]
|
D | dpseci.h | 31 u16 *token); 33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 62 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 80 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 153 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 172 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 185 int dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 248 int dpseci_get_sec_attr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 1082 char *sptr, *token; in ath6kl_regwrite_write() local 1093 token = strsep(&sptr, "="); in ath6kl_regwrite_write() 1094 if (!token) in ath6kl_regwrite_write() 1097 if (kstrtou32(token, 0, ®_addr)) in ath6kl_regwrite_write() 1397 char *sptr, *token; in ath6kl_create_qos_write() local 1412 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1413 if (!token) in ath6kl_create_qos_write() 1415 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write() 1418 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1419 if (!token) in ath6kl_create_qos_write() [all …]
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | gss_krb5_seal.c | 73 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token() argument 79 token->len = g_token_size(&ctx->mech_used, body_size); in setup_token() 81 ptr = (u16 *)token->data; in setup_token() 99 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument 112 krb5_hdr = ptr = (u16 *)token->data; in setup_token_v2() 122 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2() 128 struct xdr_netobj *token) in gss_get_mic_v1() argument 143 ptr = setup_token(ctx, token); in gss_get_mic_v1() 167 struct xdr_netobj *token) in gss_get_mic_v2() argument 180 krb5_hdr = setup_token_v2(ctx, token); in gss_get_mic_v2() [all …]
|