Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-async.c48 int i, token = -EBUSY; in __opal_async_get_token() local
55 token = i; in __opal_async_get_token()
61 return token; in __opal_async_get_token()
72 int token; in opal_async_get_token_interruptible() local
78 token = __opal_async_get_token(); in opal_async_get_token_interruptible()
79 if (token < 0) in opal_async_get_token_interruptible()
82 return token; in opal_async_get_token_interruptible()
86 static int __opal_async_release_token(int token) in __opal_async_release_token() argument
91 if (token < 0 || token >= opal_max_async_tokens) { in __opal_async_release_token()
93 __func__, token); in __opal_async_release_token()
[all …]
Dopal-sensor.c33 int ret, token; in opal_get_sensor_data() local
37 token = opal_async_get_token_interruptible(); in opal_get_sensor_data()
38 if (token < 0) in opal_get_sensor_data()
39 return token; in opal_get_sensor_data()
41 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data()
44 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data()
70 opal_async_release_token(token); in opal_get_sensor_data()
77 int ret, token; in opal_get_sensor_data_u64() local
90 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64()
91 if (token < 0) in opal_get_sensor_data_u64()
[all …]
Dopal-psr.c34 int psr, ret, token; in psr_show() local
36 token = opal_async_get_token_interruptible(); in psr_show()
37 if (token < 0) { in psr_show()
39 return token; in psr_show()
46 ret = opal_get_power_shift_ratio(psr_attr->handle, token, in psr_show()
50 ret = opal_async_wait_response(token, &msg); in psr_show()
75 opal_async_release_token(token); in psr_show()
84 int psr, ret, token; in psr_store() local
90 token = opal_async_get_token_interruptible(); in psr_store()
91 if (token < 0) { in psr_store()
[all …]
Dopal-sysparam.c46 int token; in opal_get_sys_param() local
48 token = opal_async_get_token_interruptible(); in opal_get_sys_param()
49 if (token < 0) { in opal_get_sys_param()
50 if (token != -ERESTARTSYS) in opal_get_sys_param()
53 ret = token; in opal_get_sys_param()
57 ret = opal_get_param(token, param_id, (u64)buffer, length); in opal_get_sys_param()
63 ret = opal_async_wait_response(token, &msg); in opal_get_sys_param()
73 opal_async_release_token(token); in opal_get_sys_param()
81 int ret, token; in opal_set_sys_param() local
83 token = opal_async_get_token_interruptible(); in opal_set_sys_param()
[all …]
/Linux-v4.19/net/rxrpc/
Dkey.c94 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local
112 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad()
115 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad()
116 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad()
117 if (!token) in rxrpc_preparse_xdr_rxkad()
120 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad()
121 if (!token->kad) { in rxrpc_preparse_xdr_rxkad()
122 kfree(token); in rxrpc_preparse_xdr_rxkad()
126 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad()
127 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad()
[all …]
/Linux-v4.19/scripts/genksyms/
Dparse.y75 %token ASM_KEYW
76 %token ATTRIBUTE_KEYW
77 %token AUTO_KEYW
78 %token BOOL_KEYW
79 %token CHAR_KEYW
80 %token CONST_KEYW
81 %token DOUBLE_KEYW
82 %token ENUM_KEYW
83 %token EXTERN_KEYW
84 %token EXTENSION_KEYW
[all …]
Dlex.l141 int token, count = 0;
152 token = yylex1();
154 if (token == 0)
156 else if (token == FILENAME)
184 switch (token)
192 switch (token = r)
221 token = TYPE;
254 switch (token)
263 token = ATTRIBUTE_PHRASE;
274 switch (token)
[all …]
/Linux-v4.19/fs/btrfs/
Dstruct-funcs.c41 struct btrfs_map_token *token) \
53 if (token && token->kaddr && token->offset <= offset && \
54 token->eb == eb && \
55 (token->offset + PAGE_SIZE >= offset + size)) { \
56 kaddr = token->kaddr; \
57 p = kaddr + part_offset - token->offset; \
71 if (token) { \
72 token->kaddr = kaddr; \
73 token->offset = map_start; \
74 token->eb = eb; \
[all …]
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Ddpni.h81 u16 *token);
85 u16 token);
107 u16 token,
112 u16 token);
116 u16 token);
120 u16 token,
125 u16 token);
142 u16 token,
148 u16 token,
154 u16 token,
[all …]
Ddpni.c95 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 …]
/Linux-v4.19/tools/perf/pmu-events/
Djsmn.c47 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-v4.19/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw.h33 u16 *token);
37 u16 token);
111 u16 token);
115 u16 token);
119 u16 token);
147 u16 token,
153 u16 token,
159 u16 token,
165 u16 token,
206 u16 token,
[all …]
Ddpsw.c44 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-v4.19/drivers/staging/fsl-dpaa2/rtc/
Ddprtc.h38 u16 *token);
42 u16 token);
65 u16 token);
69 u16 token);
73 u16 token,
78 u16 token);
82 u16 token,
87 u16 token,
92 u16 token,
97 u16 token,
[all …]
Ddprtc.c32 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()
159 u16 token) in dprtc_enable() argument
164 token); in dprtc_enable()
179 u16 token) in dprtc_disable() argument
185 token); in dprtc_disable()
201 u16 token, in dprtc_is_enabled() argument
209 token); in dprtc_is_enabled()
[all …]
/Linux-v4.19/virt/lib/
Dirqbypass.c92 if (!producer->token) in irq_bypass_register_producer()
103 if (tmp->token == producer->token) { in irq_bypass_register_producer()
111 if (consumer->token == producer->token) { in irq_bypass_register_producer()
142 if (!producer->token) in irq_bypass_unregister_producer()
153 if (tmp->token != producer->token) in irq_bypass_unregister_producer()
157 if (consumer->token == producer->token) { in irq_bypass_unregister_producer()
186 if (!consumer->token || in irq_bypass_register_consumer()
198 if (tmp->token == consumer->token || tmp == consumer) { in irq_bypass_register_consumer()
206 if (producer->token == consumer->token) { in irq_bypass_register_consumer()
237 if (!consumer->token) in irq_bypass_unregister_consumer()
[all …]
/Linux-v4.19/drivers/bus/fsl-mc/
Ddpcon.c32 u16 *token) in dpcon_open() argument
51 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open()
70 u16 token) in dpcon_close() argument
77 token); in dpcon_close()
94 u16 token) in dpcon_enable() argument
101 token); in dpcon_enable()
118 u16 token) in dpcon_disable() argument
125 token); in dpcon_disable()
142 u16 token) in dpcon_reset() argument
148 cmd_flags, token); in dpcon_reset()
[all …]
Ddpbp.c32 u16 *token) in dpbp_open() argument
50 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
69 u16 token) in dpbp_close() argument
75 token); in dpbp_close()
92 u16 token) in dpbp_enable() argument
98 token); in dpbp_enable()
115 u16 token) in dpbp_disable() argument
121 cmd_flags, token); in dpbp_disable()
138 u16 token) in dpbp_reset() argument
144 cmd_flags, token); in dpbp_reset()
[all …]
Ddprc.c25 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-v4.19/scripts/kconfig/
Dzconf.y47 %token <id>T_MAINMENU
48 %token <id>T_MENU
49 %token <id>T_ENDMENU
50 %token <id>T_SOURCE
51 %token <id>T_CHOICE
52 %token <id>T_ENDCHOICE
53 %token <id>T_COMMENT
54 %token <id>T_CONFIG
55 %token <id>T_MENUCONFIG
56 %token <id>T_HELP
[all …]
/Linux-v4.19/tools/lib/traceevent/
Devent-parse.c1163 void tep_free_token(char *token) in tep_free_token() argument
1165 free_token(token); in tep_free_token()
1196 static int test_type_token(enum event_type type, const char *token, in test_type_token() argument
1205 if (strcmp(token, expect_tok) != 0) { in test_type_token()
1207 expect_tok, token); in test_type_token()
1233 char *token; in __read_expected() local
1237 type = read_token(&token); in __read_expected()
1239 type = read_token_item(&token); in __read_expected()
1241 ret = test_type_token(type, token, expect, str); in __read_expected()
1243 free_token(token); in __read_expected()
[all …]
/Linux-v4.19/include/linux/fsl/
Dmc.h208 __le16 token; member
243 u16 token) in mc_encode_cmd_header() argument
249 hdr->token = cpu_to_le16(token); in mc_encode_cmd_header()
262 u16 token = le16_to_cpu(hdr->token); in mc_cmd_hdr_read_token() local
264 return token; in mc_cmd_hdr_read_token()
462 u16 *token);
466 u16 token);
470 u16 token);
474 u16 token);
478 u16 token);
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Ddebug.c1082 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, &reg_addr)) in ath6kl_regwrite_write()
1398 char *sptr, *token; in ath6kl_create_qos_write() local
1413 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1414 if (!token) in ath6kl_create_qos_write()
1416 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1419 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1420 if (!token) in ath6kl_create_qos_write()
[all …]
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_krb5_seal.c74 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token() argument
80 token->len = g_token_size(&ctx->mech_used, body_size); in setup_token()
82 ptr = (u16 *)token->data; in setup_token()
100 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument
113 krb5_hdr = ptr = (u16 *)token->data; in setup_token_v2()
123 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2()
129 struct xdr_netobj *token) in gss_get_mic_v1() argument
144 ptr = setup_token(ctx, token); in gss_get_mic_v1()
170 struct xdr_netobj *token) in gss_get_mic_v2() argument
184 krb5_hdr = setup_token_v2(ctx, token); in gss_get_mic_v2()
[all …]
/Linux-v4.19/drivers/soc/fsl/dpio/
Ddpio.c38 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()

12345678910>>...18