Home
last modified time | relevance | path

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

12345678910>>...23

/linux/kernel/bpf/
H A Dtoken.c22 userns = token ? token->userns : &init_user_ns; in bpf_token_capable()
25 if (token && security_bpf_token_capable(token, cap) < 0) in bpf_token_capable()
39 kfree(token); in bpf_token_free()
46 bpf_token_free(token); in bpf_token_put_deferred()
51 if (!token) in bpf_token_put()
65 bpf_token_put(token); in bpf_token_release()
192 token = kzalloc(sizeof(*token), GFP_USER); in bpf_token_create()
193 if (!token) { in bpf_token_create()
246 bpf_token_inc(token); in bpf_token_get_from_fd()
249 return token; in bpf_token_get_from_fd()
[all …]
/linux/net/rxrpc/
H A Dkey.c74 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; 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()
110 token->kad->ticket[0], token->kad->ticket[1], in rxrpc_preparse_xdr_rxkad()
111 token->kad->ticket[2], token->kad->ticket[3], in rxrpc_preparse_xdr_rxkad()
112 token->kad->ticket[4], token->kad->ticket[5], in rxrpc_preparse_xdr_rxkad()
346 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse()
387 for (; token; token = next) { in rxrpc_free_token_list()
429 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_describe()
587 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_read()
[all …]
/linux/fs/btrfs/
H A Daccessors.c30 token->eb = eb; in btrfs_init_map_token()
32 token->offset = 0; in btrfs_init_map_token()
73 ASSERT(token); \
74 ASSERT(token->kaddr); \
80 token->kaddr = folio_address(token->eb->folios[idx]); \
81 token->offset = idx << unit_shift; \
86 token->kaddr = folio_address(token->eb->folios[idx + 1]); \
127 ASSERT(token); \
128 ASSERT(token->kaddr); \
135 token->kaddr = folio_address(token->eb->folios[idx]); \
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-async.c44 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()
87 if (token < 0 || token >= opal_max_async_tokens) { in __opal_async_release_token()
89 __func__, token); in __opal_async_release_token()
218 uint64_t token; in opal_async_comp_event() local
[all …]
H A Dopal-sensor.c22 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()
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()
81 return token; in opal_get_sensor_data_u64()
[all …]
H A Dopal-psr.c30 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()
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()
89 return token; in psr_store()
[all …]
/linux/scripts/genksyms/
H A Dparse.y63 %token ASM_KEYW
76 %token INT_KEYW
103 %token CHAR
104 %token DOTS
105 %token IDENT
106 %token INT
107 %token REAL
108 %token STRING
109 %token TYPE
110 %token OTHER
[all …]
H A Dlex.l139 token = yylex1();
141 if (token == 0)
171 switch (token)
179 switch (token = r)
213 token = TYPE;
245 switch (token)
265 switch (token)
301 switch (token)
326 switch (token)
346 switch (token)
[all …]
/linux/net/mptcp/
H A Dtoken.c61 if (req->token == token) in __token_lookup_req()
74 if (mptcp_sk(sk)->token == token) in __token_lookup_msk()
82 __token_lookup_req(t, token) || __token_lookup_msk(t, token); in __token_bucket_busy()
112 u32 token; in mptcp_token_new_request() local
115 &subflow_req->token, in mptcp_token_new_request()
121 token = subflow_req->token; in mptcp_token_new_request()
175 WRITE_ONCE(msk->token, subflow->token); in mptcp_token_new_connect()
223 if (READ_ONCE(msk->token) == token) in mptcp_token_exists()
259 if (READ_ONCE(msk->token) != token || in mptcp_token_get_sock()
266 if (READ_ONCE(msk->token) != token || in mptcp_token_get_sock()
[all …]
/linux/drivers/bus/fsl-mc/
H A Dfsl-mc-uapi.c25 bool token; member
84 .token = true,
90 .token = true,
102 .token = true,
109 .token = true,
116 .token = true,
123 .token = true,
130 .token = true,
136 .token = true,
142 .token = true,
[all …]
H A Ddpcon.c31 u16 *token) in dpcon_open() argument
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
165 u16 token, in dpcon_get_attributes() argument
175 token); in dpcon_get_attributes()
[all …]
H A Ddpbp.c31 u16 *token) in dpbp_open() argument
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()
162 u16 token, in dpbp_get_attributes() argument
[all …]
H A Ddprc.c33 u16 *token) in dprc_open() argument
76 token); in dprc_close()
114 u16 token, in dprc_reset_container() argument
166 u16 token, in dprc_set_irq() argument
176 token); in dprc_set_irq()
204 u16 token, in dprc_set_irq_enable() argument
272 u16 token, in dprc_get_irq_status() argument
343 u16 token, in dprc_get_attributes() argument
422 u16 token, in dprc_get_obj() argument
513 u16 token, in dprc_get_obj_region() argument
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.h129 u16 token);
133 u16 token);
156 u16 token,
162 u16 token,
180 u16 token,
228 u16 token,
504 u16 token,
708 u16 token,
927 u16 token,
1033 u16 token,
[all …]
H A Ddpsw.h23 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,
185 u16 token, struct dpsw_ctrl_if_attr *attr);
433 int dpsw_vlan_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
647 int dpsw_acl_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all …]
H A Ddpni.c143 token); in dpni_close()
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()
259 token); in dpni_is_enabled()
313 u16 token, in dpni_set_irq_enable() argument
344 u16 token, in dpni_get_irq_enable() argument
467 u16 token, in dpni_get_irq_status() argument
[all …]
H A Ddpsw.c81 token); in dpsw_close()
102 token); in dpsw_enable()
123 token); in dpsw_disable()
144 token); in dpsw_reset()
174 token); in dpsw_set_irq_enable()
208 token); in dpsw_set_irq_mask()
240 token); in dpsw_get_irq_status()
278 token); in dpsw_clear_irq_status()
306 token); in dpsw_get_attributes()
352 token); in dpsw_if_set_link_cfg()
[all …]
H A Ddprtc.c66 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()
174 token); in dprtc_set_irq_mask()
208 token); in dprtc_get_irq_mask()
237 u16 token, in dprtc_get_irq_status() argument
248 token); in dprtc_get_irq_status()
[all …]
/linux/virt/lib/
H A Dirqbypass.c90 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/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh254 local token
260 token=$(mptcp_lib_evts_get_info token "$evt" $e_type)
362 local token
366 token=$(mptcp_lib_evts_get_info token "$evt" $e_type)
474 local token
503 token=$(mptcp_lib_evts_get_info token "$evt" $e_type)
617 $new4_port token "$server4_token"
631 $new4_port token "$server4_token"
656 $app4_port token "$client4_token"
669 $app4_port token "$client4_token"
[all …]
/linux/arch/powerpc/kernel/
H A Drtas.c83 s32 token; member
613 const s32 token = func->token; in rtas_token_to_function_xarray_init() local
647 if (WARN_ONCE(token < 0, "invalid token %d", token)) in rtas_token_to_function()
659 if (func->token == token) in rtas_token_to_function()
990 return func->token; in rtas_token()
1058 if (token == -1) in __fetch_rtas_last_error()
1063 err_args.token = cpu_to_be32(token); in __fetch_rtas_last_error()
1109 args->token = cpu_to_be32(token); in va_rtas_call_unlocked()
1534 __be32 token; in rtas_indicator_present() member
1545 if (__be32_to_cpu(indicators[i].token) != token) in rtas_indicator_present()
[all …]
/linux/drivers/soc/fsl/dpio/
H A Ddpio.c38 u16 *token) in dpio_open() argument
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()
172 u16 token, in dpio_set_stashing_destination() argument
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
H A Dinputfifo.c109 _sh_css_fifo_snd(token); in inputfifo_send_data_a()
119 _sh_css_fifo_snd(token); in inputfifo_send_data_b()
132 _sh_css_fifo_snd(token); in inputfifo_send_data()
142 _sh_css_fifo_snd(token); in inputfifo_send_sol()
151 _sh_css_fifo_snd(token); in inputfifo_send_eol()
161 _sh_css_fifo_snd(token); in inputfifo_send_sof()
170 _sh_css_fifo_snd(token); in inputfifo_send_eof()
180 hrt_data token; in inputfifo_send_ch_id_and_fmt_type() local
187 token = inputfifo_wrap_marker(0); in inputfifo_send_ch_id_and_fmt_type()
188 _sh_css_fifo_snd(token); in inputfifo_send_ch_id_and_fmt_type()
[all …]
/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.c74 int dpdmai_id, u16 *token) in dpdmai_open() argument
93 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open()
116 cmd_flags, token); in dpdmai_close()
139 cmd_flags, token); in dpdmai_destroy()
163 cmd_flags, token); in dpdmai_enable()
184 cmd_flags, token); in dpdmai_disable()
205 cmd_flags, token); in dpdmai_reset()
230 cmd_flags, token); in dpdmai_get_attributes()
269 cmd_flags, token); in dpdmai_set_rx_queue()
306 cmd_flags, token); in dpdmai_get_rx_queue()
[all …]
/linux/drivers/crypto/caam/
H A Ddpseci.c28 u16 *token) in dpseci_open() argument
65 token); in dpseci_close()
83 token); in dpseci_enable()
101 token); in dpseci_disable()
120 token); in dpseci_reset()
142 token); in dpseci_is_enabled()
171 token); in dpseci_get_attributes()
205 token); in dpseci_set_rx_queue()
240 token); in dpseci_get_rx_queue()
390 token); in dpseci_set_congestion_notification()
[all …]

12345678910>>...23