| /linux/net/rxrpc/ |
| H A 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/kernel/bpf/ |
| H A D | token.c | 16 bool bpf_token_capable(const struct bpf_token *token, int cap) in bpf_token_capable() argument 21 userns = token ? token->userns : &init_user_ns; in bpf_token_capable() 24 if (token && security_bpf_token_capable(token, cap) < 0) in bpf_token_capable() 29 void bpf_token_inc(struct bpf_token *token) in bpf_token_inc() argument 31 atomic64_inc(&token->refcnt); in bpf_token_inc() 34 static void bpf_token_free(struct bpf_token *token) in bpf_token_free() argument 36 security_bpf_token_free(token); in bpf_token_free() 37 put_user_ns(token->userns); in bpf_token_free() 38 kfree(token); in bpf_token_free() 43 struct bpf_token *token = container_of(work, struct bpf_token, work); in bpf_token_put_deferred() local [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A 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 …]
|
| H A D | opal-sensor.c | 22 int ret, token; in opal_get_sensor_data() local 26 token = opal_async_get_token_interruptible(); in opal_get_sensor_data() 27 if (token < 0) in opal_get_sensor_data() 28 return token; in opal_get_sensor_data() 30 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data() 33 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data() 59 opal_async_release_token(token); in opal_get_sensor_data() 66 int ret, token; in opal_get_sensor_data_u64() local 79 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64() 80 if (token < 0) in opal_get_sensor_data_u64() [all …]
|
| /linux/scripts/genksyms/ |
| H A D | parse.y | 64 %token ASM_KEYW 65 %token ATTRIBUTE_KEYW 66 %token AUTO_KEYW 67 %token BOOL_KEYW 68 %token BUILTIN_INT_KEYW 69 %token CHAR_KEYW 70 %token CONST_KEYW 71 %token DOUBLE_KEYW 72 %token ENUM_KEYW 73 %token EXTERN_KEYW [all …]
|
| H A D | lex.l | 136 int token, count = 0; 147 token = yylex1(); 149 if (token == 0) 151 else if (token == FILENAME) 180 switch (token) 187 switch (token = r) 221 token = TYPE; 249 switch (token) 258 token = ATTRIBUTE_PHRASE; 269 switch (token) [all …]
|
| /linux/net/mptcp/ |
| H A 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/drivers/bus/fsl-mc/ |
| H A D | fsl-mc-uapi.c | 25 bool token; member 85 .token = true, 91 .token = true, 97 .token = false, 103 .token = true, 110 .token = true, 117 .token = true, 124 .token = true, 131 .token = true, 137 .token = true, [all …]
|
| H A 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 …]
|
| H A D | dprc.c | 33 u16 *token) in dprc_open() argument 51 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 70 u16 token) in dprc_close() argument 76 token); in dprc_close() 114 u16 token, in dprc_reset_container() argument 144 cmd.header = mc_encode_cmd_header(cmdid, cmd_flags, token); in dprc_reset_container() 166 u16 token, in dprc_set_irq() argument 176 token); in dprc_set_irq() 204 u16 token, in dprc_set_irq_enable() argument 213 cmd_flags, token); in dprc_set_irq_enable() [all …]
|
| H A 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/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpni.h | 89 u16 *token); 93 u16 token); 124 u16 token, 129 u16 token); 133 u16 token); 137 u16 token, 142 u16 token); 156 u16 token, 162 u16 token, 168 u16 token, [all …]
|
| H A 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 …]
|
| H A 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() 202 u16 token) in dpni_enable() argument 209 token); in dpni_enable() 225 u16 token) in dpni_disable() argument 232 token); in dpni_disable() [all …]
|
| H A 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 …]
|
| H A 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/tools/tracing/rtla/src/ |
| H A D | actions.c | 133 const char *token; in actions_parse() local 143 token = strtok(trigger_c, ","); in actions_parse() 145 if (strcmp(token, "trace") == 0) in actions_parse() 147 else if (strcmp(token, "signal") == 0) in actions_parse() 149 else if (strcmp(token, "shell") == 0) in actions_parse() 151 else if (strcmp(token, "continue") == 0) in actions_parse() 157 token = strtok(NULL, ","); in actions_parse() 162 if (token == NULL) in actions_parse() 165 if (strlen(token) > 5 && strncmp(token, "file=", 5) == 0) { in actions_parse() 166 trace_output = token + 5; in actions_parse() [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | userspace_pm.sh | 234 client_token=$(mptcp_lib_evts_get_info token "$client_evts") 238 server_token=$(mptcp_lib_evts_get_info token "$server_evts") 294 local token 300 token=$(mptcp_lib_evts_get_info token "$evt" $e_type) 322 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token $invalid_token id\ 338 ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id $client_addr_id dev\ 348 dead:beef:2::2 token "$client6_token" id $client_addr_id dev ns2eth1 357 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id\ 368 ip netns exec "$ns1" ./pm_nl_ctl ann 10.0.2.1 token "$server4_token" id\ 377 ip netns exec "$ns1" ./pm_nl_ctl ann dead:beef:2::1 token "$server6_token" id\ [all …]
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-token.rst | 4 bpftool-token 17 **bpftool** [*OPTIONS*] **token** *COMMAND* 26 | **bpftool** **token** { **show** | **list** } 27 | **bpftool** **token help** 32 bpftool token { show | list } 33 List BPF token information for each *bpffs* mount point containing token 36 token. 48 | **# mkdir -p /sys/fs/bpf/token** 49 | **# mount -t bpf bpffs /sys/fs/bpf/token** \ 53 | **# bpftool token list** [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | rtas.c | 84 s32 token; member 595 return rtas_function_table[index].token; in rtas_function_token() 638 const s32 token = func->token; in rtas_token_to_function_xarray_init() local 640 if (token == RTAS_UNKNOWN_SERVICE) in rtas_token_to_function_xarray_init() 644 token, (void *)func, GFP_KERNEL)); in rtas_token_to_function_xarray_init() 657 static const struct rtas_function *rtas_token_to_function_untrusted(s32 token) in rtas_token_to_function_untrusted() argument 659 return xa_load(&rtas_token_to_function_xarray, token); in rtas_token_to_function_untrusted() 668 static const struct rtas_function *rtas_token_to_function(s32 token) in rtas_token_to_function() argument 672 if (WARN_ONCE(token < 0, "invalid token %d", token)) in rtas_token_to_function() 675 func = rtas_token_to_function_untrusted(token); in rtas_token_to_function() [all …]
|
| /linux/sound/soc/intel/avs/ |
| H A D | topology.c | 37 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup() argument 49 if (le32_to_cpu(tuple->token) == token) { in avs_tplg_vendor_array_lookup() 73 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup_next() argument 84 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset); in avs_tplg_vendor_array_lookup_next() 124 enum avs_tplg_token token; member 210 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_uuid_tokens() 236 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_string_tokens() 267 if (parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_word_tokens() 433 if (le32_to_cpu(tuple->token) != num_entries_token) { in parse_dictionary_header() 505 .token = AVS_TKN_LIBRARY_NAME_STRING, [all …]
|
| /linux/drivers/soc/fsl/dpio/ |
| H A 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/scripts/kconfig/ |
| H A D | parser.y | 45 %token <string> T_HELPTEXT 46 %token <string> T_WORD 47 %token <string> T_WORD_QUOTE 48 %token T_BOOL 49 %token T_CHOICE 50 %token T_CLOSE_PAREN 51 %token T_COLON_EQUAL 52 %token T_COMMENT 53 %token T_CONFIG 54 %token T_DEFAULT [all …]
|
| /linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
| H A D | inputfifo.c | 86 _sh_css_fifo_snd(unsigned int token) in _sh_css_fifo_snd() argument 90 event_send_token(STR2MIPI_EVENT_ID, token); in _sh_css_fifo_snd() 98 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data_a() local 100 _sh_css_fifo_snd(token); in inputfifo_send_data_a() 108 unsigned int token = (1 << HIVE_STR_TO_MIPI_VALID_B_BIT) | in inputfifo_send_data_b() local 110 _sh_css_fifo_snd(token); in inputfifo_send_data_b() 119 unsigned int token = ((1 << HIVE_STR_TO_MIPI_VALID_A_BIT) | in inputfifo_send_data() local 123 _sh_css_fifo_snd(token); in inputfifo_send_data() 130 hrt_data token = inputfifo_wrap_marker( in inputfifo_send_sol() local 133 _sh_css_fifo_snd(token); in inputfifo_send_sol() [all …]
|
| /linux/drivers/dma/fsl-dpaa2-qdma/ |
| H A 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() 127 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u32 dpdmai_id, u16 token) in dpdmai_destroy() argument 134 cmd_flags, token); in dpdmai_destroy() 152 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_enable() argument 158 cmd_flags, token); in dpdmai_enable() 173 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_disable() argument 179 cmd_flags, token); in dpdmai_disable() [all …]
|