Searched refs:token (Results 51 - 75 of 519) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh198 client_token=$(mptcp_lib_evts_get_info token "$client_evts")
201 server_token=$(mptcp_lib_evts_get_info token "$server_evts")
254 local token
260 token=$(mptcp_lib_evts_get_info token "$evt" $e_type)
270 check_expected "type" "token" "addr" "dport" "id"
280 # ADD_ADDR using an invalid token should result in no action
282 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token $invalid_token id\
287 print_test "ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token"
298 ./pm_nl_ctl ann 10.0.2.2 token "
[all...]
/linux-master/tools/wmi/
H A Ddell-smbios-example.c7 * - Simple activation of a token
53 static int find_token(__u16 token, __u16 *location, __u16 *value) argument
61 ret = sprintf(value_sysfs, "%s/%04x_value", token_sysfs, token);
75 ret = sprintf(location_sysfs, "%s/%04x_location", token_sysfs, token);
109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) argument
115 ret = find_token(token, &location, &value);
117 printf("unable to find token %04x\n", token);
124 __u16 token)
130 ret = find_token(token,
123 activate_token(struct dell_wmi_smbios_buffer *buffer, __u16 token) argument
[all...]
/linux-master/drivers/char/
H A Dpowernv-op-panel.c53 int rc, token; local
55 token = opal_async_get_token_interruptible();
56 if (token < 0) {
57 if (token != -ERESTARTSYS)
58 pr_debug("Couldn't get OPAL async token [token=%d]\n",
59 token);
60 return token;
63 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines);
66 rc = opal_async_wait_response(token,
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c34 int token, ret; local
36 token = opal_async_get_token_interruptible();
37 if (token < 0)
38 return token;
40 ret = opal_sensor_group_enable(handle, token, enable);
42 ret = opal_async_wait_response(token, &msg);
54 opal_async_release_token(token);
65 int ret, token; local
74 token = opal_async_get_token_interruptible();
75 if (token <
[all...]
H A Dopal-powercap.c37 int ret, token; local
39 token = opal_async_get_token_interruptible();
40 if (token < 0) {
41 pr_devel("Failed to get token\n");
42 return token;
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap));
52 ret = opal_async_wait_response(token, &msg);
77 opal_async_release_token(token);
89 int ret, token; local
95 token
[all...]
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h236 static inline void asd_dmatok_free(struct asd_dma_tok *token) argument
238 kmem_cache_free(asd_dma_token_cache, token);
245 struct asd_dma_tok *token = asd_dmatok_alloc(flags); local
246 if (token) {
247 token->size = size;
248 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev,
249 token->size,
250 &token->dma_handle,
252 if (!token->vaddr) {
253 asd_dmatok_free(token);
260 asd_free_coherent(struct asd_ha_struct *asd_ha, struct asd_dma_tok *token) argument
[all...]
/linux-master/arch/powerpc/kernel/
H A Drtas.c63 * @token: Value of @name if it exists under the /rtas node.
83 s32 token; member in struct:rtas_function
549 * rtas_function_token() - RTAS function token lookup.
553 * Return: the token value for the function if implemented by this platform,
564 * Various drivers attempt token lookups on non-RTAS
570 return rtas_function_table[index].token;
613 const s32 token = func->token; local
615 if (token == RTAS_UNKNOWN_SERVICE)
619 token, (voi
632 rtas_token_to_function_untrusted(s32 token) argument
643 rtas_token_to_function(s32 token) argument
1051 const s32 token = rtas_function_token(RTAS_FN_RTAS_LAST_ERROR); local
1104 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, va_list list) argument
1140 rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) argument
1149 token_is_restricted_errinjct(s32 token) argument
1213 rtas_call(int token, int nargs, int nret, int *outputs, ...) argument
1462 int token = rtas_function_token(RTAS_FN_GET_POWER_LEVEL); local
1479 int token = rtas_function_token(RTAS_FN_SET_POWER_LEVEL); local
1497 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); local
1515 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); local
1530 rtas_indicator_present(int token, int *maxindex) argument
1534 __be32 token; member in struct:indicator_elem
1557 int token = rtas_function_token(RTAS_FN_SET_INDICATOR); local
1578 int token = rtas_function_token(RTAS_FN_SET_INDICATOR); local
1621 int token = rtas_function_token(RTAS_FN_IBM_SUSPEND_ME); local
1688 s32 token = rtas_function_token(RTAS_FN_IBM_OS_TERM); local
1731 int token = rtas_function_token(RTAS_FN_IBM_ACTIVATE_FIRMWARE); local
1899 int nargs, nret, token; local
[all...]
/linux-master/net/mptcp/
H A Dsyncookies.c10 * the token to obtain the mptcp socket nor the server-generated nonce
17 * token matches a known mptcp connection that can still accept more subflows.
24 u32 token; member in struct:join_entry
62 entry->token = subflow_req->token;
86 * Look up the saved state based on skb hash & check token matches msk
111 msk = mptcp_token_get_sock(net, e->token);
121 subflow_req->token = e->token;
H A Dcrypto.c31 void mptcp_crypto_key_sha(u64 key, u32 *token, u64 *idsn) argument
38 if (token)
39 *token = be32_to_cpu(mptcp_hashed_key[0]);
/linux-master/arch/x86/include/asm/
H A Dkvm_para.h126 void kvm_async_pf_task_wait_schedule(u32 token);
127 void kvm_async_pf_task_wake(u32 token);
129 bool __kvm_handle_async_pf(struct pt_regs *regs, u32 token);
133 static __always_inline bool kvm_handle_async_pf(struct pt_regs *regs, u32 token) argument
136 return __kvm_handle_async_pf(regs, token);
173 static __always_inline bool kvm_handle_async_pf(struct pt_regs *regs, u32 token) argument
/linux-master/include/linux/fsl/
H A Dmc.h228 __le16 token; member in struct:mc_cmd_header
258 u16 token)
264 hdr->token = cpu_to_le16(token);
277 u16 token = le16_to_cpu(hdr->token); local
279 return token;
535 u16 token,
569 u16 *token);
573 u16 token);
256 mc_encode_cmd_header(u16 cmd_id, u32 cmd_flags, u16 token) argument
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dsimple_spinlock.h51 unsigned long tmp, token; local
54 token = LOCK_TOKEN;
64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh)
185 long tmp, token; local
188 token = WRLOCK_TOKEN;
197 : "r" (token), "r" (&rw->lock), [eh] "n" (eh)
/linux-master/sound/soc/intel/avs/
H A Dtopology.c29 * Scan provided block of tuples for the specified token. If found,
30 * @offset is updated with position at which first matching token is
37 u32 block_size, u32 token, u32 *offset)
49 if (le32_to_cpu(tuple->token) == token) {
68 * several vendor tuples and a specific token marks the beginning of
73 u32 block_size, u32 token, u32 *offset)
84 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset);
91 * Scan provided block of tuples for the specified token which marks
94 * matching token ha
36 avs_tplg_vendor_array_lookup(struct snd_soc_tplg_vendor_array *tuples, u32 block_size, u32 token, u32 *offset) argument
72 avs_tplg_vendor_array_lookup_next(struct snd_soc_tplg_vendor_array *tuples, u32 block_size, u32 token, u32 *offset) argument
124 enum avs_tplg_token token; member in struct:avs_tplg_token_parser
[all...]
/linux-master/drivers/media/cec/core/
H A Dcec-pin-error-inj.c79 char *token; local
89 token = strsep(&p, delims);
90 if (!strcmp(token, "clear")) {
99 if (!strcmp(token, "rx-clear")) {
105 if (!strcmp(token, "tx-clear")) {
115 if (!strcmp(token, "tx-ignore-nack-until-eom")) {
119 if (!strcmp(token, "tx-custom-pulse")) {
128 if (!strcmp(token, "tx-custom-low-usecs")) {
136 if (!strcmp(token, "tx-custom-high-usecs")) {
145 comma = strchr(token, ',');
[all...]
/linux-master/scripts/dtc/
H A Ddtc-parser.y54 %token DT_V1
55 %token DT_PLUGIN
56 %token DT_MEMRESERVE
57 %token DT_LSHIFT DT_RSHIFT DT_LE DT_GE DT_EQ DT_NE DT_AND DT_OR
58 %token DT_BITS
59 %token DT_DEL_PROP
60 %token DT_DEL_NODE
61 %token DT_OMIT_NO_REF
62 %token <propnodename> DT_PROPNODENAME
63 %token <intege
[all...]
/linux-master/drivers/mtd/devices/
H A Dphram.c181 static int parse_num64(uint64_t *num64, char *token) argument
187 len = strlen(token);
190 if (token[len - 1] == 'i') {
191 switch (token[len - 2]) {
200 token[len - 2] = 0;
208 ret = kstrtou64(token, 0, num64);
214 static int parse_name(char **pname, const char *token) argument
219 len = strlen(token) + 1;
223 name = kstrdup(token, GFP_KERNEL);
262 char *token[ local
[all...]
H A Dpowernv_flash.c42 * Don't return -ERESTARTSYS if we can't get a token, the MTD core
51 int token; local
58 token = opal_async_get_token_interruptible();
59 if (token < 0) {
60 if (token != -ERESTARTSYS)
61 dev_err(dev, "Failed to get an async token\n");
63 token = -EINTR;
64 return token;
69 rc = opal_flash_read(info->id, offset, __pa(buf), len, token);
72 rc = opal_flash_write(info->id, offset, __pa(buf), len, token);
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_cmd.c90 void hns_roce_cmd_event(struct hns_roce_dev *hr_dev, u16 token, u8 status, argument
94 &hr_dev->cmd.context[token % hr_dev->cmd.max_cmds];
96 if (unlikely(token != context->token)) {
98 "[cmd] invalid ae token 0x%x, context token is 0x%x.\n",
99 token, context->token);
125 context->token += cmd->max_cmds;
131 mbox_msg->token
[all...]
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1085 char *sptr, *token; local
1096 token = strsep(&sptr, "=");
1097 if (!token)
1100 if (kstrtou32(token, 0, &reg_addr))
1400 char *sptr, *token; local
1415 token = strsep(&sptr, " ");
1416 if (!token)
1418 if (kstrtou8(token, 0, &pstream.user_pri))
1421 token = strsep(&sptr, " ");
1422 if (!token)
1578 char *sptr, *token; local
1722 char *sptr, *token; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Diwl-spectrum.h61 u8 token; member in struct:ieee80211_measurement_request
69 u8 token; member in struct:ieee80211_measurement_report
/linux-master/scripts/genksyms/
H A Dkeywords.c4 int token; member in struct:resword
75 return r->token;
/linux-master/arch/powerpc/mm/
H A Dioremap_64.c50 void iounmap(volatile void __iomem *token) argument
55 generic_iounmap(PCI_FIX_ADDR(token));
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.c372 struct bnxt_hwrm_wait_token *token; local
374 token = kzalloc(sizeof(*token), GFP_KERNEL);
375 if (!token)
380 token->dst = dst;
381 token->state = BNXT_HWRM_PENDING;
383 token->seq_id = bp->hwrm_cmd_seq++;
384 hlist_add_head_rcu(&token->node, &bp->hwrm_pending_list);
386 token->seq_id = bp->hwrm_cmd_kong_seq++;
389 return token;
393 __hwrm_release_token(struct bnxt *bp, struct bnxt_hwrm_wait_token *token) argument
407 struct bnxt_hwrm_wait_token *token; local
464 struct bnxt_hwrm_wait_token *token = NULL; local
[all...]
/linux-master/drivers/xen/xenbus/
H A Dxenbus.h48 const char *path, const char *token);
50 const char *token);
66 const char *token; member in struct:xs_watch_event
126 const char *path, const char *token,
/linux-master/fs/ecryptfs/
H A Ddebug.c16 * token.
29 ecryptfs_to_hex(salt, auth_tok->token.password.salt,
33 if (auth_tok->token.password.flags &
37 memcpy(sig, auth_tok->token.password.signature,

Completed in 226 milliseconds

1234567891011>>