Home
last modified time | relevance | path

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

12345678910

/linux-2.6.39/net/rxrpc/
Dar-key.c87 struct rxrpc_key_token *token, **pptoken; in rxrpc_instantiate_xdr_rxkad() local
105 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_instantiate_xdr_rxkad()
110 plen -= sizeof(*token); in rxrpc_instantiate_xdr_rxkad()
111 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_instantiate_xdr_rxkad()
112 if (!token) in rxrpc_instantiate_xdr_rxkad()
115 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_instantiate_xdr_rxkad()
116 if (!token->kad) { in rxrpc_instantiate_xdr_rxkad()
117 kfree(token); in rxrpc_instantiate_xdr_rxkad()
121 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_instantiate_xdr_rxkad()
122 token->kad->ticket_len = tktlen; in rxrpc_instantiate_xdr_rxkad()
[all …]
/linux-2.6.39/scripts/genksyms/
Dparse.y56 %token ASM_KEYW
57 %token ATTRIBUTE_KEYW
58 %token AUTO_KEYW
59 %token BOOL_KEYW
60 %token CHAR_KEYW
61 %token CONST_KEYW
62 %token DOUBLE_KEYW
63 %token ENUM_KEYW
64 %token EXTERN_KEYW
65 %token EXTENSION_KEYW
[all …]
Dlex.l139 int token, count = 0;
150 token = yylex1();
152 if (token == 0)
154 else if (token == FILENAME)
175 switch (token)
183 switch (token = r->token)
208 token = TYPE;
241 switch (token)
250 token = ATTRIBUTE_PHRASE;
261 switch (token)
[all …]
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Ddbdcd.c552 char *token = NULL; in dcd_get_objects() local
608 while ((token = strsep(&psz_cur, seps)) && *token != '\0') { in dcd_get_objects()
610 uuid_uuid_from_string(token, &dsp_uuid_obj); in dcd_get_objects()
613 token = strsep(&psz_cur, seps); in dcd_get_objects()
616 object_type = atoi(token); in dcd_get_objects()
1051 char *token; in get_attrs_from_buf() local
1071 token = strsep(&psz_cur, seps); in get_attrs_from_buf()
1075 (u32) atoi(token); in get_attrs_from_buf()
1076 token = strsep(&psz_cur, seps); in get_attrs_from_buf()
1079 uuid_uuid_from_string(token, in get_attrs_from_buf()
[all …]
/linux-2.6.39/tools/perf/util/
Dtrace-event-parse.c633 static int __test_type_token(enum event_type type, char *token, in __test_type_token() argument
644 if (strcmp(token, expect_tok) != 0) { in __test_type_token()
647 expect_tok, token); in __test_type_token()
653 static int test_type_token(enum event_type type, char *token, in test_type_token() argument
656 return __test_type_token(type, token, expect, expect_tok, true); in test_type_token()
679 char *token; in __read_expected() local
683 type = read_token(&token); in __read_expected()
685 type = read_token_item(&token); in __read_expected()
687 ret = __test_type_token(type, token, expect, str, warn); in __read_expected()
689 free_token(token); in __read_expected()
[all …]
/linux-2.6.39/fs/ncpfs/
Dgetopt.c29 char *token; in ncp_getopt() local
33 if ((token = strsep(options, ",")) == NULL) in ncp_getopt()
35 } while (*token == '\0'); in ncp_getopt()
37 *optopt = token; in ncp_getopt()
39 if ((val = strchr (token, '=')) != NULL) { in ncp_getopt()
44 if (!strcmp(opts->name, token)) { in ncp_getopt()
50 caller, token); in ncp_getopt()
61 caller, token, val); in ncp_getopt()
68 caller, val, token); in ncp_getopt()
72 printk(KERN_INFO "%s: Unrecognized mount option %s\n", caller, token); in ncp_getopt()
/linux-2.6.39/drivers/usb/host/
Duhci-hcd.h215 #define td_token(td) le32_to_cpu((td)->token)
226 #define uhci_expected_length(token) ((((token) >> TD_TOKEN_EXPLEN_SHIFT) + \ argument
228 #define uhci_toggle(token) (((token) >> TD_TOKEN_TOGGLE_SHIFT) & 1) argument
229 #define uhci_endpoint(token) (((token) >> 15) & 0xf) argument
230 #define uhci_devaddr(token) (((token) >> TD_TOKEN_DEVADDR_SHIFT) & 0x7f) argument
231 #define uhci_devep(token) (((token) >> TD_TOKEN_DEVADDR_SHIFT) & 0x7ff) argument
232 #define uhci_packetid(token) ((token) & TD_TOKEN_PID_MASK) argument
233 #define uhci_packetout(token) (uhci_packetid(token) != USB_PID_IN) argument
234 #define uhci_packetin(token) (uhci_packetid(token) == USB_PID_IN) argument
250 __le32 token; member
Dehci-q.c47 size_t len, int token, int maxpacket) in qtd_fill() argument
79 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token); in qtd_fill()
162 struct urb *urb, u32 token) in ehci_clear_tt_buffer() argument
177 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer()
197 u32 token in qtd_copy_status() argument
203 if (likely (QTD_PID (token) != 2)) in qtd_copy_status()
204 urb->actual_length += length - QTD_LENGTH (token); in qtd_copy_status()
211 if (unlikely (IS_SHORT_READ (token))) in qtd_copy_status()
215 if (token & QTD_STS_HALT) { in qtd_copy_status()
216 if (token & QTD_STS_BABBLE) { in qtd_copy_status()
[all …]
/linux-2.6.39/drivers/staging/cxt1e1/
Dsbecom_inline_linux.h168 OS_mem_token_free (void *token) in OS_mem_token_free() argument
170 dev_kfree_skb_any (token); in OS_mem_token_free()
175 OS_mem_token_free_irq (void *token) in OS_mem_token_free_irq() argument
177 dev_kfree_skb_irq (token); in OS_mem_token_free_irq()
182 OS_mem_token_data (void *token) in OS_mem_token_data() argument
184 return ((struct sk_buff *) token)->data; in OS_mem_token_data()
189 OS_mem_token_next (void *token) in OS_mem_token_next() argument
196 OS_mem_token_len (void *token) in OS_mem_token_len() argument
198 return ((struct sk_buff *) token)->len; in OS_mem_token_len()
203 OS_mem_token_tlen (void *token) in OS_mem_token_tlen() argument
[all …]
/linux-2.6.39/net/sunrpc/auth_gss/
Dgss_krb5_seal.c74 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 = (__be16 *)token->data; in setup_token()
95 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument
107 krb5_hdr = ptr = (__be16 *)token->data; in setup_token_v2()
117 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2()
123 struct xdr_netobj *token) in gss_get_mic_v1() argument
138 ptr = setup_token(ctx, token); in gss_get_mic_v1()
164 struct xdr_netobj *token) in gss_get_mic_v2() argument
177 krb5_hdr = setup_token_v2(ctx, token); in gss_get_mic_v2()
[all …]
/linux-2.6.39/scripts/kconfig/
Dzconf.y51 %token <id>T_MAINMENU
52 %token <id>T_MENU
53 %token <id>T_ENDMENU
54 %token <id>T_SOURCE
55 %token <id>T_CHOICE
56 %token <id>T_ENDCHOICE
57 %token <id>T_COMMENT
58 %token <id>T_CONFIG
59 %token <id>T_MENUCONFIG
60 %token <id>T_HELP
[all …]
/linux-2.6.39/drivers/scsi/aic94xx/
Daic94xx_hwi.h254 static inline void asd_dmatok_free(struct asd_dma_tok *token) in asd_dmatok_free() argument
256 kmem_cache_free(asd_dma_token_cache, token); in asd_dmatok_free()
263 struct asd_dma_tok *token = asd_dmatok_alloc(flags); in asd_alloc_coherent() local
264 if (token) { in asd_alloc_coherent()
265 token->size = size; in asd_alloc_coherent()
266 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
267 token->size, in asd_alloc_coherent()
268 &token->dma_handle, in asd_alloc_coherent()
270 if (!token->vaddr) { in asd_alloc_coherent()
271 asd_dmatok_free(token); in asd_alloc_coherent()
[all …]
/linux-2.6.39/security/apparmor/
Dcontext.c99 cxt->token = 0; in aa_replace_current_profile()
145 int aa_set_current_hat(struct aa_profile *profile, u64 token) in aa_set_current_hat() argument
157 cxt->token = token; in aa_set_current_hat()
158 } else if (cxt->token == token) { in aa_set_current_hat()
183 int aa_restore_previous_profile(u64 token) in aa_restore_previous_profile() argument
191 if (cxt->token != token) { in aa_restore_previous_profile()
210 cxt->token = 0; in aa_restore_previous_profile()
Dprocattr.c89 static char *split_token_from_name(int op, char *args, u64 * token) in split_token_from_name() argument
93 *token = simple_strtoull(args, &name, 16); in split_token_from_name()
116 u64 token; in aa_setprocattr_changehat() local
120 hat = split_token_from_name(OP_CHANGE_HAT, args, &token); in aa_setprocattr_changehat()
124 if (!hat && !token) { in aa_setprocattr_changehat()
145 __func__, token, hat ? hat : NULL); in aa_setprocattr_changehat()
147 return aa_change_hat(hats, count, token, test); in aa_setprocattr_changehat()
/linux-2.6.39/drivers/message/i2o/
Di2o_proc.c727 int token; in i2o_seq_show_hw() local
741 token = in i2o_seq_show_hw()
744 if (token < 0) { in i2o_seq_show_hw()
745 i2o_report_query_status(seq, token, "0x0000 IOP Hardware"); in i2o_seq_show_hw()
781 int token; in i2o_seq_show_ddm_table() local
812 token = i2o_parm_table_get(c->exec, I2O_PARAMS_TABLE_GET, 0x0003, -1, in i2o_seq_show_ddm_table()
815 if (token < 0) { in i2o_seq_show_ddm_table()
816 i2o_report_query_status(seq, token, in i2o_seq_show_ddm_table()
858 int token; in i2o_seq_show_driver_store() local
860 token = in i2o_seq_show_driver_store()
[all …]
/linux-2.6.39/arch/powerpc/kernel/
Drtas.c102 args->token = 10; in call_rtas_display_status()
382 err_args.token = rtas_last_error_token; in __fetch_rtas_last_error()
420 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
429 if (!rtas.entry || token == RTAS_UNKNOWN_SERVICE) in rtas_call()
435 rtas_args->token = token; in rtas_call()
535 int token = rtas_token("get-power-level"); in rtas_get_power_level() local
538 if (token == RTAS_UNKNOWN_SERVICE) in rtas_get_power_level()
541 while ((rc = rtas_call(token, 1, 2, level, powerdomain)) == RTAS_BUSY) in rtas_get_power_level()
552 int token = rtas_token("set-power-level"); in rtas_set_power_level() local
555 if (token == RTAS_UNKNOWN_SERVICE) in rtas_set_power_level()
[all …]
/linux-2.6.39/sound/core/
Dmemalloc.c412 char *token, *p; in snd_mem_proc_write() local
421 token = gettoken(&p); in snd_mem_proc_write()
422 if (! token || *token == '#') in snd_mem_proc_write()
424 if (strcmp(token, "add") == 0) { in snd_mem_proc_write()
431 if ((token = gettoken(&p)) == NULL || in snd_mem_proc_write()
432 (vendor = simple_strtol(token, NULL, 0)) <= 0 || in snd_mem_proc_write()
433 (token = gettoken(&p)) == NULL || in snd_mem_proc_write()
434 (device = simple_strtol(token, NULL, 0)) <= 0 || in snd_mem_proc_write()
435 (token = gettoken(&p)) == NULL || in snd_mem_proc_write()
436 (mask = simple_strtol(token, NULL, 0)) < 0 || in snd_mem_proc_write()
[all …]
/linux-2.6.39/scripts/dtc/
Ddtc-parser.y56 %token DT_V1
57 %token DT_MEMRESERVE
58 %token <propnodename> DT_PROPNODENAME
59 %token <literal> DT_LITERAL
60 %token <cbase> DT_BASE
61 %token <byte> DT_BYTE
62 %token <data> DT_STRING
63 %token <labelref> DT_LABEL
64 %token <labelref> DT_REF
65 %token DT_INCBIN
/linux-2.6.39/arch/powerpc/sysdev/
Ddcr.c194 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
206 ret.token = ioremap(addr, dcr_c * ret.stride); in dcr_map_mmio()
207 if (ret.token == NULL) in dcr_map_mmio()
210 ret.token, ret.token - dcr_n * ret.stride); in dcr_map_mmio()
211 ret.token -= dcr_n * ret.stride; in dcr_map_mmio()
220 if (h.token == NULL) in dcr_unmap_mmio()
222 h.token += host.base * h.stride; in dcr_unmap_mmio()
223 iounmap(h.token); in dcr_unmap_mmio()
224 h.token = NULL; in dcr_unmap_mmio()
/linux-2.6.39/drivers/xen/xenfs/
Dxenbus.c218 char *token; member
224 kfree(watch->token); in free_watch_adapter()
229 const char *token) in alloc_watch_adapter() argument
241 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter()
242 if (watch->token == NULL) in alloc_watch_adapter()
260 const char *path, *token; in watch_fired() local
268 token = adap->token; in watch_fired()
271 tok_len = strlen(token) + 1; in watch_fired()
285 ret = queue_reply(&staging_q, token, tok_len); in watch_fired()
357 char *path, *token; in xenbus_write_watch() local
[all …]
/linux-2.6.39/drivers/mtd/devices/
Dphram.c190 static int parse_num32(uint32_t *num32, const char *token) in parse_num32() argument
195 n = ustrtoul(token, &endp, 0); in parse_num32()
203 static int parse_name(char **pname, const char *token) in parse_name() argument
208 len = strlen(token) + 1; in parse_name()
216 strcpy(name, token); in parse_name()
239 char *token[3]; in phram_setup() local
252 token[i] = strsep(&str, ","); in phram_setup()
257 if (!token[2]) in phram_setup()
260 ret = parse_name(&name, token[0]); in phram_setup()
264 ret = parse_num32(&start, token[1]); in phram_setup()
[all …]
/linux-2.6.39/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y124 %token T_REGISTER
126 %token <value> T_CONST
128 %token T_EXPORT
130 %token T_DOWNLOAD
132 %token T_SCB
134 %token T_SRAM
136 %token T_ALIAS
138 %token T_SIZE
140 %token T_EXPR_LSHIFT
142 %token T_EXPR_RSHIFT
[all …]
/linux-2.6.39/Documentation/networking/
Dlapb-module.txt38 void (*connect_confirmation)(int token, int reason);
39 void (*connect_indication)(int token, int reason);
40 void (*disconnect_confirmation)(int token, int reason);
41 void (*disconnect_indication)(int token, int reason);
42 int (*data_indication)(int token, struct sk_buff *skb);
43 void (*data_transmit)(int token, struct sk_buff *skb);
103 int lapb_register(void *token, struct lapb_register_struct);
106 successful then LAPB_OK is returned. The token must be a unique identifier
119 int lapb_unregister(void *token);
123 this call, the value of token is no longer valid for any calls to the LAPB
[all …]
/linux-2.6.39/arch/x86/kernel/
Dkvm.c80 u32 token; member
92 u32 token) in _find_apf_task() argument
99 if (n->token == token) in _find_apf_task()
106 void kvm_async_pf_task_wait(u32 token) in kvm_async_pf_task_wait() argument
108 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wait()
119 e = _find_apf_task(b, token); in kvm_async_pf_task_wait()
128 n.token = token; in kvm_async_pf_task_wait()
192 void kvm_async_pf_task_wake(u32 token) in kvm_async_pf_task_wake() argument
194 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
198 if (token == ~0) { in kvm_async_pf_task_wake()
[all …]
/linux-2.6.39/drivers/misc/iwmc3200top/
Dlog.c209 char *token, *str_buf = NULL; in store_iwmct_log_level() local
227 while ((token = strsep(&str_buf, ",")) != NULL) { in store_iwmct_log_level()
228 while (isspace(*token)) in store_iwmct_log_level()
229 ++token; in store_iwmct_log_level()
230 if (strict_strtol(token, HEXADECIMAL_RADIX, &val)) { in store_iwmct_log_level()
233 token); in store_iwmct_log_level()
284 char *token, *str_buf = NULL; in store_iwmct_log_level_fw() local
308 for (i = 0; ((token = strsep(&str_buf, ",")) != NULL) && in store_iwmct_log_level_fw()
311 while (isspace(*token)) in store_iwmct_log_level_fw()
312 ++token; in store_iwmct_log_level_fw()
[all …]

12345678910