Home
last modified time | relevance | path

Searched refs:token (Results 1 – 200 of 341) sorted by relevance

12

/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-async.c39 int token; in __opal_async_get_token() local
42 token = find_first_bit(opal_async_complete_map, opal_max_async_tokens); in __opal_async_get_token()
43 if (token >= opal_max_async_tokens) { in __opal_async_get_token()
44 token = -EBUSY; in __opal_async_get_token()
48 if (__test_and_set_bit(token, opal_async_token_map)) { in __opal_async_get_token()
49 token = -EBUSY; in __opal_async_get_token()
53 __clear_bit(token, opal_async_complete_map); in __opal_async_get_token()
57 return token; in __opal_async_get_token()
62 int token; in opal_async_get_token_interruptible() local
68 token = __opal_async_get_token(); in opal_async_get_token_interruptible()
[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 …]
Dopal-sensor.c36 int ret, token; in opal_get_sensor_data() local
40 token = opal_async_get_token_interruptible(); in opal_get_sensor_data()
41 if (token < 0) { in opal_get_sensor_data()
43 ret = token; in opal_get_sensor_data()
48 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data()
51 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data()
74 opal_async_release_token(token); in opal_get_sensor_data()
Dopal-wrappers.S59 #define OPAL_CALL(name, token) \ argument
63 li r0,token; \
/linux-4.4.14/net/rxrpc/
Dar-key.c92 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local
109 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad()
112 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad()
113 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad()
114 if (!token) in rxrpc_preparse_xdr_rxkad()
117 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad()
118 if (!token->kad) { in rxrpc_preparse_xdr_rxkad()
119 kfree(token); in rxrpc_preparse_xdr_rxkad()
123 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad()
124 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad()
[all …]
Drxkad.c65 struct rxrpc_key_token *token; in rxkad_init_connection_security() local
70 token = conn->key->payload.data[0]; in rxkad_init_connection_security()
71 conn->security_ix = token->security_index; in rxkad_init_connection_security()
80 if (crypto_blkcipher_setkey(ci, token->kad->session_key, in rxkad_init_connection_security()
81 sizeof(token->kad->session_key)) < 0) in rxkad_init_connection_security()
115 struct rxrpc_key_token *token; in rxkad_prime_packet_security() local
128 token = conn->key->payload.data[0]; in rxkad_prime_packet_security()
129 memcpy(&iv, token->kad->session_key, sizeof(iv)); in rxkad_prime_packet_security()
202 const struct rxrpc_key_token *token; in rxkad_secure_packet_encrypt() local
224 token = call->conn->key->payload.data[0]; in rxkad_secure_packet_encrypt()
[all …]
Dar-security.c126 struct rxrpc_key_token *token; in rxrpc_init_client_conn_security() local
140 token = key->payload.data[0]; in rxrpc_init_client_conn_security()
141 if (!token) in rxrpc_init_client_conn_security()
144 sec = rxrpc_security_lookup(token->security_index); in rxrpc_init_client_conn_security()
/linux-4.4.14/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->token)
221 token = TYPE;
254 switch (token)
263 token = ATTRIBUTE_PHRASE;
274 switch (token)
[all …]
Dlex.lex.c_shipped1035 } /* end of scanning one token */
1304 * token and flags that we need to
1305 * try matching the token before
1755 /** Get the length of the current token.
1763 /** Get the current token.
1913 * We mark any token, that that equals to a known enumerator, as
1950 int token, count = 0;
1961 token = yylex1();
1963 if (token == 0)
1965 else if (token == FILENAME)
[all …]
Dparse.tab.c_shipped614 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
615 token YYLEX-NUM. */
738 positive, shift that token. If negative, reduce the rule which
928 /* Error token number */
1024 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1231 about the unexpected token YYTOKEN for the state stack whose top is
1265 that there is no unexpected or expected token to report. In that
1271 - Of course, the expected token list depends on states to have
1276 token list. However, the list is correct for canonical LR with
1277 one exception: it will still contain any token that will not be
[all …]
Dkeywords.gperf8 struct resword { const char *name; int token; }
/linux-4.4.14/fs/btrfs/
Dstruct-funcs.c55 struct btrfs_map_token *token) \
67 if (token && token->kaddr && token->offset <= offset && \
68 token->eb == eb && \
69 (token->offset + PAGE_CACHE_SIZE >= offset + size)) { \
70 kaddr = token->kaddr; \
71 p = kaddr + part_offset - token->offset; \
85 if (token) { \
86 token->kaddr = kaddr; \
87 token->offset = map_start; \
88 token->eb = eb; \
[all …]
Dtree-log.c500 struct btrfs_map_token token; in overwrite_item() local
502 btrfs_init_map_token(&token); in overwrite_item()
504 ino_size, &token); in overwrite_item()
3524 struct btrfs_map_token token; in fill_inode_item() local
3526 btrfs_init_map_token(&token); in fill_inode_item()
3534 btrfs_set_token_inode_generation(leaf, item, 0, &token); in fill_inode_item()
3535 btrfs_set_token_inode_size(leaf, item, logged_isize, &token); in fill_inode_item()
3539 &token); in fill_inode_item()
3540 btrfs_set_token_inode_size(leaf, item, inode->i_size, &token); in fill_inode_item()
3543 btrfs_set_token_inode_uid(leaf, item, i_uid_read(inode), &token); in fill_inode_item()
[all …]
Dctree.c3550 struct btrfs_map_token token; in leaf_space_used() local
3557 btrfs_init_map_token(&token); in leaf_space_used()
3560 data_len = btrfs_token_item_offset(l, start_item, &token) + in leaf_space_used()
3561 btrfs_token_item_size(l, start_item, &token); in leaf_space_used()
3562 data_len = data_len - btrfs_token_item_offset(l, end_item, &token); in leaf_space_used()
3602 struct btrfs_map_token token; in __push_leaf_right() local
3614 btrfs_init_map_token(&token); in __push_leaf_right()
3692 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
3693 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
3836 struct btrfs_map_token token; in __push_leaf_left() local
[all …]
Dsuper.c403 int token; in btrfs_parse_options() local
407 token = match_token(p, tokens, args); in btrfs_parse_options()
408 switch (token) { in btrfs_parse_options()
461 if (token == Opt_compress || in btrfs_parse_options()
462 token == Opt_compress_force || in btrfs_parse_options()
791 int token; in btrfs_parse_early_options() local
795 token = match_token(p, tokens, args); in btrfs_parse_early_options()
796 switch (token) { in btrfs_parse_early_options()
/linux-4.4.14/drivers/staging/fsl-mc/include/
Ddprc.h60 u16 *token);
64 u16 token);
126 u16 token,
133 u16 token,
138 u16 token,
186 u16 token,
192 u16 token,
199 u16 token,
205 u16 token,
211 u16 token,
[all …]
Ddpbp.h44 u16 *token);
48 u16 token);
61 u16 *token);
65 u16 token);
69 u16 token);
73 u16 token);
77 u16 token,
82 u16 token);
98 u16 token,
104 u16 token,
[all …]
Dmc-cmd.h117 u16 token) in mc_encode_cmd_header() argument
124 hdr |= mc_enc(MC_CMD_HDR_TOKEN_O, MC_CMD_HDR_TOKEN_S, token); in mc_encode_cmd_header()
/linux-4.4.14/drivers/staging/fsl-mc/bus/
Ddpbp.c57 u16 *token) in dpbp_open() argument
73 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_open()
92 u16 token) in dpbp_close() argument
98 token); in dpbp_close()
129 u16 *token) in dpbp_create() argument
146 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_create()
161 u16 token) in dpbp_destroy() argument
167 cmd_flags, token); in dpbp_destroy()
183 u16 token) in dpbp_enable() argument
189 token); in dpbp_enable()
[all …]
Ddpmcp.c57 u16 *token) in dpmcp_open() argument
73 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmcp_open()
91 u16 token) in dpmcp_close() argument
97 cmd_flags, token); in dpmcp_close()
127 u16 *token) in dpmcp_create() argument
143 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmcp_create()
158 u16 token) in dpmcp_destroy() argument
164 cmd_flags, token); in dpmcp_destroy()
180 u16 token) in dpmcp_reset() argument
186 cmd_flags, token); in dpmcp_reset()
[all …]
Ddpmcp.h44 uint16_t *token);
51 uint16_t token);
65 uint16_t *token);
69 uint16_t token);
73 uint16_t token);
95 uint16_t token,
101 uint16_t token,
108 uint16_t token,
114 uint16_t token,
120 uint16_t token,
[all …]
Ddprc.c51 u16 *token) in dprc_open() argument
67 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open()
86 u16 token) in dprc_close() argument
92 token); in dprc_close()
112 u16 token, in dprc_create_container() argument
142 cmd_flags, token); in dprc_create_container()
180 u16 token, in dprc_destroy_container() argument
187 cmd_flags, token); in dprc_destroy_container()
218 u16 token, in dprc_reset_container() argument
225 cmd_flags, token); in dprc_reset_container()
[all …]
/linux-4.4.14/fs/ncpfs/
Dgetopt.c31 char *token; in ncp_getopt() local
35 if ((token = strsep(options, ",")) == NULL) in ncp_getopt()
37 } while (*token == '\0'); in ncp_getopt()
39 *optopt = token; in ncp_getopt()
41 if ((val = strchr (token, '=')) != NULL) { in ncp_getopt()
46 if (!strcmp(opts->name, token)) { in ncp_getopt()
52 caller, token); in ncp_getopt()
60 caller, token, val); in ncp_getopt()
69 caller, val, token); in ncp_getopt()
73 pr_info("%s: Unrecognized mount option %s\n", caller, token); in ncp_getopt()
/linux-4.4.14/tools/lib/traceevent/
Devent-parse.c1173 void pevent_free_token(char *token) in pevent_free_token() argument
1175 free_token(token); in pevent_free_token()
1206 static int test_type_token(enum event_type type, const char *token, in test_type_token() argument
1215 if (strcmp(token, expect_tok) != 0) { in test_type_token()
1217 expect_tok, token); in test_type_token()
1243 char *token; in __read_expected() local
1247 type = read_token(&token); in __read_expected()
1249 type = read_token_item(&token); in __read_expected()
1251 ret = test_type_token(type, token, expect, str); in __read_expected()
1253 free_token(token); in __read_expected()
[all …]
Dparse-filter.c68 static void free_token(char *token) in free_token() argument
70 pevent_free_token(token); in free_token()
76 char *token = NULL; in read_token() local
79 free_token(token); in read_token()
80 type = pevent_read_token(&token); in read_token()
84 if (token && in read_token()
85 (strcmp(token, "=") == 0 || strcmp(token, "!") == 0) && in read_token()
90 free_token(token); in read_token()
93 sprintf(*tok, "%c%c", *token, '~'); in read_token()
94 free_token(token); in read_token()
[all …]
/linux-4.4.14/virt/lib/
Dirqbypass.c100 if (tmp->token == producer->token) { in irq_bypass_register_producer()
108 if (consumer->token == producer->token) { in irq_bypass_register_producer()
147 if (tmp->token != producer->token) in irq_bypass_unregister_producer()
151 if (consumer->token == producer->token) { in irq_bypass_unregister_producer()
191 if (tmp->token == consumer->token) { in irq_bypass_register_consumer()
199 if (producer->token == consumer->token) { in irq_bypass_register_consumer()
238 if (tmp->token != consumer->token) in irq_bypass_unregister_consumer()
242 if (producer->token == consumer->token) { in irq_bypass_unregister_consumer()
/linux-4.4.14/scripts/kconfig/
Dzconf.y46 %token <id>T_MAINMENU
47 %token <id>T_MENU
48 %token <id>T_ENDMENU
49 %token <id>T_SOURCE
50 %token <id>T_CHOICE
51 %token <id>T_ENDCHOICE
52 %token <id>T_COMMENT
53 %token <id>T_CONFIG
54 %token <id>T_MENUCONFIG
55 %token <id>T_HELP
[all …]
Dzconf.tab.c_shipped132 /* Enabling the token table. */
210 /* Include zconf.hash.c here so it can see the token constants. */
593 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
594 token YYLEX-NUM. */
715 positive, shift that token. If negative, reduce the rule which
986 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1193 about the unexpected token YYTOKEN for the state stack whose top is
1228 that there is no unexpected or expected token to report. In that
1234 - Of course, the expected token list depends on states to have
1239 token list. However, the list is correct for canonical LR with
[all …]
Dlkc.h66 int token; member
109 void menu_add_option(int token, char *arg);
Dzconf.l110 return id->token;
146 return id->token;
/linux-4.4.14/drivers/rtc/
Drtc-opal.c113 int rc, token; in opal_get_tpo_time() local
117 token = opal_async_get_token_interruptible(); in opal_get_tpo_time()
118 if (token < 0) { in opal_get_tpo_time()
119 if (token != -ERESTARTSYS) in opal_get_tpo_time()
122 return token; in opal_get_tpo_time()
125 rc = opal_tpo_read(token, &__y_m_d, &__h_m); in opal_get_tpo_time()
131 rc = opal_async_wait_response(token, &msg); in opal_get_tpo_time()
148 opal_async_release_token(token); in opal_get_tpo_time()
158 int token, rc; in opal_set_tpo_time() local
162 token = opal_async_get_token_interruptible(); in opal_set_tpo_time()
[all …]
/linux-4.4.14/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
183 krb5_hdr = setup_token_v2(ctx, token); in gss_get_mic_v2()
[all …]
/linux-4.4.14/drivers/usb/host/
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()
161 struct urb *urb, u32 token) in ehci_clear_tt_buffer() argument
176 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer()
196 u32 token in qtd_copy_status() argument
202 if (likely (QTD_PID (token) != 2)) in qtd_copy_status()
203 urb->actual_length += length - QTD_LENGTH (token); in qtd_copy_status()
210 if (unlikely (IS_SHORT_READ (token))) in qtd_copy_status()
214 if (token & QTD_STS_HALT) { in qtd_copy_status()
215 if (token & QTD_STS_BABBLE) { in qtd_copy_status()
[all …]
Duhci-hcd.h223 #define td_token(uhci, td) hc32_to_cpu((uhci), (td)->token)
234 #define uhci_expected_length(token) ((((token) >> TD_TOKEN_EXPLEN_SHIFT) + \ argument
236 #define uhci_toggle(token) (((token) >> TD_TOKEN_TOGGLE_SHIFT) & 1) argument
237 #define uhci_endpoint(token) (((token) >> 15) & 0xf) argument
238 #define uhci_devaddr(token) (((token) >> TD_TOKEN_DEVADDR_SHIFT) & 0x7f) argument
239 #define uhci_devep(token) (((token) >> TD_TOKEN_DEVADDR_SHIFT) & 0x7ff) argument
240 #define uhci_packetid(token) ((token) & TD_TOKEN_PID_MASK) argument
241 #define uhci_packetout(token) (uhci_packetid(token) != USB_PID_IN) argument
242 #define uhci_packetin(token) (uhci_packetid(token) == USB_PID_IN) argument
258 __hc32 token; member
Doxu210hp-hcd.c783 int token, int maxpacket) in qtd_fill() argument
814 qtd->hw_token = cpu_to_le32((count << 16) | token); in qtd_fill()
873 size_t length, u32 token) in qtd_copy_status() argument
876 if (likely(QTD_PID(token) != 2)) in qtd_copy_status()
877 urb->actual_length += length - QTD_LENGTH(token); in qtd_copy_status()
884 if (unlikely(IS_SHORT_READ(token))) in qtd_copy_status()
888 if (token & QTD_STS_HALT) { in qtd_copy_status()
889 if (token & QTD_STS_BABBLE) { in qtd_copy_status()
892 } else if (token & QTD_STS_MMF) { in qtd_copy_status()
895 } else if (token & QTD_STS_DBE) { in qtd_copy_status()
[all …]
Duhci-debug.c47 u32 status, token; in uhci_show_td() local
68 token = td_token(uhci, td); in uhci_show_td()
69 switch (uhci_packetid(token)) { in uhci_show_td()
85 token >> 21, in uhci_show_td()
86 ((token >> 19) & 1), in uhci_show_td()
87 (token >> 15) & 15, in uhci_show_td()
88 (token >> 8) & 127, in uhci_show_td()
89 (token & 0xff), in uhci_show_td()
Dfotg210-hcd.c350 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token) in token_mark() argument
352 __u32 v = hc32_to_cpu(fotg210, token); in token_mark()
2018 dma_addr_t buf, size_t len, int token, int maxpacket) in qtd_fill() argument
2050 qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token); in qtd_fill()
2134 struct fotg210_qh *qh, struct urb *urb, u32 token) in fotg210_clear_tt_buffer() argument
2149 usb_pipeendpoint(urb->pipe), token); in fotg210_clear_tt_buffer()
2160 size_t length, u32 token) in qtd_copy_status() argument
2165 if (likely(QTD_PID(token) != 2)) in qtd_copy_status()
2166 urb->actual_length += length - QTD_LENGTH(token); in qtd_copy_status()
2173 if (unlikely(IS_SHORT_READ(token))) in qtd_copy_status()
[all …]
Doxu210hp.h240 #define IS_SHORT_READ(token) (QTD_LENGTH(token) != 0 && QTD_PID(token) == 1) argument
Dfotg210.h352 #define IS_SHORT_READ(token) (QTD_LENGTH(token) != 0 && QTD_PID(token) == 1) argument
Dehci.h332 #define IS_SHORT_READ(token) (QTD_LENGTH (token) != 0 && QTD_PID (token) == 1) argument
/linux-4.4.14/drivers/mtd/devices/
Dphram.c144 static int parse_num64(uint64_t *num64, char *token) in parse_num64() argument
150 len = strlen(token); in parse_num64()
153 if (token[len - 1] == 'i') { in parse_num64()
154 switch (token[len - 2]) { in parse_num64()
161 token[len - 2] = 0; in parse_num64()
169 ret = kstrtou64(token, 0, num64); in parse_num64()
175 static int parse_name(char **pname, const char *token) in parse_name() argument
180 len = strlen(token) + 1; in parse_name()
184 name = kstrdup(token, GFP_KERNEL); in parse_name()
223 char *token[3]; in phram_setup() local
[all …]
Dpowernv_flash.c55 int token; in powernv_flash_async_op() local
62 token = opal_async_get_token_interruptible(); in powernv_flash_async_op()
63 if (token < 0) { in powernv_flash_async_op()
64 if (token != -ERESTARTSYS) in powernv_flash_async_op()
67 return token; in powernv_flash_async_op()
72 rc = opal_flash_read(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
75 rc = opal_flash_write(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
78 rc = opal_flash_erase(info->id, offset, len, token); in powernv_flash_async_op()
87 opal_async_release_token(token); in powernv_flash_async_op()
91 rc = opal_async_wait_response(token, &msg); in powernv_flash_async_op()
[all …]
Dblock2mtd.c354 static int parse_num(size_t *num, const char *token) in parse_num() argument
359 n = (size_t) ustrtoul(token, &endp, 0); in parse_num()
387 char *token[2]; in block2mtd_setup2() local
402 token[i] = strsep(&str, ","); in block2mtd_setup2()
409 if (!token[0]) { in block2mtd_setup2()
414 name = token[0]; in block2mtd_setup2()
420 if (token[1]) { in block2mtd_setup2()
421 ret = parse_num(&erase_size, token[1]); in block2mtd_setup2()
/linux-4.4.14/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-4.4.14/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 …]
Daic94xx_seq.c295 struct asd_dma_tok *token; in asd_download_seq() local
314 token = asd_alloc_coherent(asd_ha, MAX_DMA_OVLY_COUNT, GFP_KERNEL); in asd_download_seq()
315 if (!token) { in asd_download_seq()
327 memcpy(token->vaddr, prog + page*MAX_DMA_OVLY_COUNT, left); in asd_download_seq()
328 asd_write_reg_addr(asd_ha, OVLYDMAADR, token->dma_handle); in asd_download_seq()
352 asd_free_coherent(asd_ha, token); in asd_download_seq()
/linux-4.4.14/security/keys/encrypted-keys/
Decryptfs_format.c23 return auth_tok->token.password.session_key_encryption_key; in ecryptfs_get_auth_tok_key()
59 strncpy((char *)auth_tok->token.password.signature, key_desc, in ecryptfs_fill_auth_tok()
61 auth_tok->token.password.session_key_encryption_key_bytes = in ecryptfs_fill_auth_tok()
69 auth_tok->token.password.flags |= in ecryptfs_fill_auth_tok()
75 auth_tok->token.password.hash_algo = PGP_DIGEST_ALGO_SHA512; in ecryptfs_fill_auth_tok()
76 auth_tok->token.password.flags &= ~(ECRYPTFS_PERSISTENT_PASSWORD); in ecryptfs_fill_auth_tok()
/linux-4.4.14/arch/powerpc/kernel/
Drtas.c103 args->token = cpu_to_be32(10); in call_rtas_display_status()
383 err_args.token = cpu_to_be32(rtas_last_error_token); in __fetch_rtas_last_error()
421 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
430 if (!rtas.entry || token == RTAS_UNKNOWN_SERVICE) in rtas_call()
436 rtas_args->token = cpu_to_be32(token); in rtas_call()
537 int token = rtas_token("get-power-level"); in rtas_get_power_level() local
540 if (token == RTAS_UNKNOWN_SERVICE) in rtas_get_power_level()
543 while ((rc = rtas_call(token, 1, 2, level, powerdomain)) == RTAS_BUSY) in rtas_get_power_level()
554 int token = rtas_token("set-power-level"); in rtas_set_power_level() local
557 if (token == RTAS_UNKNOWN_SERVICE) in rtas_set_power_level()
[all …]
Dio-workarounds.c61 int token; in iowa_mem_find_bus() local
63 token = PCI_GET_ADDR_TOKEN(addr); in iowa_mem_find_bus()
65 if (token && token <= iowa_bus_count) in iowa_mem_find_bus()
66 bus = &iowa_busses[token - 1]; in iowa_mem_find_bus()
Drtas-proc.c117 unsigned int token; member
433 sprintf (rstr, SENSOR_PREFIX"%04d", p->token); in ppc_rtas_sensors_show()
439 p->token, j); in ppc_rtas_sensors_show()
470 sensors.sensor[i].token = *utmp++; in ppc_rtas_find_all_sensors()
542 switch (s->token) { in ppc_rtas_process_sensor()
647 s->token); in ppc_rtas_process_sensor()
Drtas_flash.c451 int token = rtas_token("ibm,validate-flash-image"); in validate_flash() local
459 rc = rtas_call(token, 2, 2, &update_results, in validate_flash()
728 int token; in rtas_flash_init() local
737 token = rtas_token(f->rtas_call_name); in rtas_flash_init()
738 if (token == RTAS_UNKNOWN_SERVICE) in rtas_flash_init()
Deeh.c343 static inline unsigned long eeh_token_to_phys(unsigned long token) in eeh_token_to_phys() argument
354 ptep = __find_linux_pte_or_hugepte(init_mm.pgd, token, in eeh_token_to_phys()
357 return token; in eeh_token_to_phys()
361 return pa | (token & (PAGE_SIZE-1)); in eeh_token_to_phys()
597 int eeh_check_failure(const volatile void __iomem *token) in eeh_check_failure() argument
603 addr = eeh_token_to_phys((unsigned long __force) token); in eeh_check_failure()
/linux-4.4.14/drivers/pinctrl/
Dpinconf.c482 char *token; in pinconf_dbg_config_write() local
497 token = strsep(&b, " "); in pinconf_dbg_config_write()
498 if (!token) in pinconf_dbg_config_write()
500 if (strcmp(token, "modify")) in pinconf_dbg_config_write()
507 token = strsep(&b, " "); in pinconf_dbg_config_write()
508 if (!token) in pinconf_dbg_config_write()
510 if (!strcmp(token, "config_pin")) in pinconf_dbg_config_write()
512 else if (!strcmp(token, "config_group")) in pinconf_dbg_config_write()
518 token = strsep(&b, " "); in pinconf_dbg_config_write()
519 if (token == NULL) in pinconf_dbg_config_write()
[all …]
/linux-4.4.14/security/apparmor/
Dcontext.c158 int aa_set_current_hat(struct aa_profile *profile, u64 token) in aa_set_current_hat() argument
170 cxt->token = token; in aa_set_current_hat()
171 } else if (cxt->token == token) { in aa_set_current_hat()
196 int aa_restore_previous_profile(u64 token) in aa_restore_previous_profile() argument
204 if (cxt->token != token) { in aa_restore_previous_profile()
Dprocattr.c90 static char *split_token_from_name(int op, char *args, u64 * token) in split_token_from_name() argument
94 *token = simple_strtoull(args, &name, 16); in split_token_from_name()
117 u64 token; in aa_setprocattr_changehat() local
121 hat = split_token_from_name(OP_CHANGE_HAT, args, &token); in aa_setprocattr_changehat()
125 if (!hat && !token) { in aa_setprocattr_changehat()
146 __func__, token, hat ? hat : NULL); in aa_setprocattr_changehat()
148 return aa_change_hat(hats, count, token, test); in aa_setprocattr_changehat()
Ddomain.c604 int aa_change_hat(const char *hats[], int count, u64 token, bool permtest) in aa_change_hat() argument
695 error = aa_set_current_hat(hat, token); in aa_change_hat()
708 error = aa_restore_previous_profile(token); in aa_change_hat()
/linux-4.4.14/scripts/dtc/
Ddtc-parser.y57 %token DT_V1
58 %token DT_MEMRESERVE
59 %token DT_LSHIFT DT_RSHIFT DT_LE DT_GE DT_EQ DT_NE DT_AND DT_OR
60 %token DT_BITS
61 %token DT_DEL_PROP
62 %token DT_DEL_NODE
63 %token <propnodename> DT_PROPNODENAME
64 %token <integer> DT_LITERAL
65 %token <integer> DT_CHAR_LITERAL
66 %token <byte> DT_BYTE
[all …]
Ddtc-parser.tab.c_shipped530 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
531 (internal) symbol number NUM (which must be that of a token). */
612 positive, shift that token. If negative, reduce the rule whose
729 /* Error token number */
860 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
1037 about the unexpected token YYTOKEN for the state stack whose top is
1067 that there is no unexpected or expected token to report. In that
1073 - Of course, the expected token list depends on states to have
1078 token list. However, the list is correct for canonical LR with
1079 one exception: it will still contain any token that will not be
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_usif.c49 u64 token; member
84 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
102 rep->token = ntfy->token; in usif_notify()
149 ntfy->token = req->v0.token; in usif_notify_new()
151 req->v0.token = (unsigned long)(void *)ntfy; in usif_notify_new()
153 req->v0.token = ntfy->token; in usif_notify_new()
254 u64 token; member
281 object->token = args->v0.token; in usif_object_new()
283 args->v0.token = (unsigned long)(void *)object; in usif_object_new()
285 args->v0.token = object->token; in usif_object_new()
[all …]
/linux-4.4.14/lib/lz4/
Dlz4_compress.c93 u8 *token; in lz4_compressctx() local
119 token = op++; in lz4_compressctx()
127 *token = (RUN_MASK << ML_BITS); in lz4_compressctx()
133 *token = (length << ML_BITS); in lz4_compressctx()
179 *token += ML_MASK; in lz4_compressctx()
191 *token += length; in lz4_compressctx()
206 token = op++; in lz4_compressctx()
207 *token = 0; in lz4_compressctx()
274 u8 *token; in lz4_compress64kctx() local
300 token = op++; in lz4_compress64kctx()
[all …]
Dlz4_decompress.c62 unsigned token; in lz4_uncompress() local
68 token = *ip++; in lz4_uncompress()
69 length = (token >> ML_BITS); in lz4_uncompress()
108 length = token & ML_MASK; in lz4_uncompress()
188 unsigned token; in lz4_uncompress_unknownoutputsize() local
192 token = *ip++; in lz4_uncompress_unknownoutputsize()
193 length = (token >> ML_BITS); in lz4_uncompress_unknownoutputsize()
236 length = (token & ML_MASK); in lz4_uncompress_unknownoutputsize()
Dlz4hc_compress.c273 u8 *token; in lz4_encodesequence() local
277 token = (*op)++; in lz4_encodesequence()
279 *token = (RUN_MASK << ML_BITS); in lz4_encodesequence()
285 *token = (length << ML_BITS); in lz4_encodesequence()
296 *token += ML_MASK; in lz4_encodesequence()
308 *token += len; in lz4_encodesequence()
/linux-4.4.14/drivers/leds/
Ddell-led.c118 struct dell_bios_data_token *token; in find_micmute_tokens() local
126 token = &calling_interface->damap[i]; in find_micmute_tokens()
127 while (token->tokenid != 0xffff) { in find_micmute_tokens()
128 if (token->tokenid == GLOBAL_MIC_MUTE_DISABLE) in find_micmute_tokens()
129 memcpy(&dell_mic_tokens[0], token, token_size); in find_micmute_tokens()
130 else if (token->tokenid == GLOBAL_MIC_MUTE_ENABLE) in find_micmute_tokens()
131 memcpy(&dell_mic_tokens[1], token, token_size); in find_micmute_tokens()
134 token = &calling_interface->damap[i]; in find_micmute_tokens()
142 struct dell_bios_data_token *token; in dell_micmute_led_set() local
148 token = &dell_mic_tokens[state]; in dell_micmute_led_set()
[all …]
Dleds-powernv.c83 int rc, token; in powernv_led_set() local
97 token = opal_async_get_token_interruptible(); in powernv_led_set()
98 if (token < 0) { in powernv_led_set()
99 if (token != -ERESTARTSYS) in powernv_led_set()
105 rc = opal_leds_set_ind(token, powernv_led->loc_code, in powernv_led_set()
113 rc = opal_async_wait_response(token, &msg); in powernv_led_set()
127 opal_async_release_token(token); in powernv_led_set()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_dev_frontend.c224 char *token; member
230 kfree(watch->token); in free_watch_adapter()
235 const char *token) in alloc_watch_adapter() argument
247 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter()
248 if (watch->token == NULL) in alloc_watch_adapter()
266 const char *path, *token; in watch_fired() local
274 token = adap->token; in watch_fired()
277 tok_len = strlen(token) + 1; in watch_fired()
291 ret = queue_reply(&staging_q, token, tok_len); in watch_fired()
366 char *path, *token; in xenbus_write_watch() local
[all …]
Dxenbus_xs.c620 static int xs_watch(const char *path, const char *token) in xs_watch() argument
626 iov[1].iov_base = (void *)token; in xs_watch()
627 iov[1].iov_len = strlen(token) + 1; in xs_watch()
633 static int xs_unwatch(const char *path, const char *token) in xs_unwatch() argument
639 iov[1].iov_base = (char *)token; in xs_unwatch()
640 iov[1].iov_len = strlen(token) + 1; in xs_unwatch()
646 static struct xenbus_watch *find_watch(const char *token) in find_watch() argument
650 cmp = (void *)simple_strtoul(token, NULL, 16); in find_watch()
702 char token[sizeof(watch) * 2 + 1]; in register_xenbus_watch() local
705 sprintf(token, "%lX", (long)watch); in register_xenbus_watch()
[all …]
/linux-4.4.14/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 …]
Daicasm_macro_gram.y79 %token <str> T_ARG
81 %token <sym> T_SYMBOL
/linux-4.4.14/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-4.4.14/arch/powerpc/sysdev/
Ddcr.c195 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
207 ret.token = ioremap(addr, dcr_c * ret.stride); in dcr_map_mmio()
208 if (ret.token == NULL) in dcr_map_mmio()
211 ret.token, ret.token - dcr_n * ret.stride); in dcr_map_mmio()
212 ret.token -= dcr_n * ret.stride; in dcr_map_mmio()
221 if (h.token == NULL) in dcr_unmap_mmio()
223 h.token += host.base * h.stride; in dcr_unmap_mmio()
224 iounmap(h.token); in dcr_unmap_mmio()
225 h.token = NULL; in dcr_unmap_mmio()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_rtas.c123 u64 token; member
150 static int rtas_token_define(struct kvm *kvm, char *name, u64 token) in rtas_token_define() argument
160 if (d->token == token) in rtas_token_define()
181 d->token = token; in rtas_token_define()
198 if (args.token) in kvm_vm_ioctl_rtas_define_token()
199 rc = rtas_token_define(kvm, args.name, args.token); in kvm_vm_ioctl_rtas_define_token()
239 if (d->token == be32_to_cpu(args.token)) { in kvmppc_rtas_hcall()
/linux-4.4.14/arch/powerpc/include/asm/
Ddcr-mmio.h27 void __iomem *token; member
34 return host.token != NULL; in dcr_map_ok_mmio()
44 return in_be32(host.token + ((host.base + dcr_n) * host.stride)); in dcr_read_mmio()
51 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); in dcr_write_mmio()
Dspinlock.h72 unsigned long tmp, token; in __arch_spin_trylock() local
74 token = LOCK_TOKEN; in __arch_spin_trylock()
84 : "r" (token), "r" (&lock->slock) in __arch_spin_trylock()
224 long tmp, token; in __arch_write_trylock() local
226 token = WRLOCK_TOKEN; in __arch_write_trylock()
236 : "r" (token), "r" (&rw->lock) in __arch_write_trylock()
Dopal.h43 int64_t opal_tpo_read(uint64_t token, __be32 *year_mon_day, __be32 *hour_min);
44 int64_t opal_tpo_write(uint64_t token, uint32_t year_mon_day,
153 int64_t opal_check_token(uint64_t token);
181 int64_t opal_check_completion(uint64_t buffer, uint64_t size, uint64_t token);
183 int64_t opal_get_param(uint64_t token, uint32_t param_id, uint64_t buffer,
185 int64_t opal_set_param(uint64_t token, uint32_t param_id, uint64_t buffer,
187 int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data);
203 int64_t opal_leds_set_ind(uint64_t token, char *loc_code, const u64 led_mask,
207 uint64_t size, uint64_t token);
209 uint64_t size, uint64_t token);
[all …]
Drtas.h51 __be32 token; member
70 int token; /* ibm,suspend-me */ member
340 extern int rtas_call(int token, int, int, int *, ...);
349 extern bool rtas_indicator_present(int token, int *maxindex);
Deeh.h277 int eeh_check_failure(const volatile void __iomem *token);
332 static inline int eeh_check_failure(const volatile void __iomem *token) in eeh_check_failure() argument
/linux-4.4.14/scripts/
Dasn1_compiler.c304 struct token { struct
313 static struct token *token_list; argument
323 const struct token *token = _key; in directive_compare() local
329 clen = (dlen < token->size) ? dlen : token->size; in directive_compare()
333 val = memcmp(token->content, dir, clen); in directive_compare()
339 if (dlen == token->size) { in directive_compare()
344 return dlen - token->size; /* shorter -> negative */ in directive_compare()
352 struct token *tokens; in tokenise()
359 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
687 struct token *name;
[all …]
Dkallsyms.c460 static void *find_token(unsigned char *str, int len, unsigned char *token) in find_token() argument
465 if (str[i] == token[0] && str[i+1] == token[1]) in find_token()
/linux-4.4.14/include/linux/wimax/
Ddebug.h493 char submodule[130], *params, *params_orig, *token, *colon; in d_parse_params() local
501 token = strsep(&params, " "); in d_parse_params()
502 if (token == NULL) in d_parse_params()
504 if (*token == '\0') /* eat joint spaces */ in d_parse_params()
509 colon = strchr(token, ':'); in d_parse_params()
512 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params()
521 tag, token, tokens); in d_parse_params()
/linux-4.4.14/arch/x86/kernel/
Dkvm.c95 u32 token; member
106 u32 token) in _find_apf_task() argument
113 if (n->token == token) in _find_apf_task()
120 void kvm_async_pf_task_wait(u32 token) in kvm_async_pf_task_wait() argument
122 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wait()
130 e = _find_apf_task(b, token); in kvm_async_pf_task_wait()
141 n.token = token; in kvm_async_pf_task_wait()
203 void kvm_async_pf_task_wake(u32 token) in kvm_async_pf_task_wake() argument
205 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
209 if (token == ~0) { in kvm_async_pf_task_wake()
[all …]
/linux-4.4.14/tools/perf/util/
Dcgroup.c15 char *token, *saved_ptr = NULL; in cgroupfs_find_mountpoint() local
33 token = strtok_r(tokens, ",", &saved_ptr); in cgroupfs_find_mountpoint()
35 while (token != NULL) { in cgroupfs_find_mountpoint()
36 if (!strcmp(token, "perf_event")) { in cgroupfs_find_mountpoint()
40 token = strtok_r(NULL, ",", &saved_ptr); in cgroupfs_find_mountpoint()
Dparse-events.y41 %token PE_START_EVENTS PE_START_TERMS
42 %token PE_VALUE PE_VALUE_SYM_HW PE_VALUE_SYM_SW PE_RAW PE_TERM
43 %token PE_EVENT_NAME
44 %token PE_NAME
45 %token PE_BPF_OBJECT PE_BPF_SOURCE
46 %token PE_MODIFIER_EVENT PE_MODIFIER_BP
47 %token PE_NAME_CACHE_TYPE PE_NAME_CACHE_OP_RESULT
48 %token PE_PREFIX_MEM PE_PREFIX_RAW PE_PREFIX_GROUP
49 %token PE_ERROR
50 %token PE_PMU_EVENT_PRE PE_PMU_EVENT_SUF PE_KERNEL_PMU_EVENT
Dpmu.y23 %token PP_CONFIG PP_CONFIG1 PP_CONFIG2
24 %token PP_VALUE PP_ERROR
Dparse-events.l18 static int __value(YYSTYPE *yylval, char *str, int base, int token) in __value() argument
28 return token; in __value()
47 static int str(yyscan_t scanner, int token) in str() argument
53 return token; in str()
/linux-4.4.14/fs/hfsplus/
Doptions.c75 int token; in hfsplus_parse_options_remount() local
84 token = match_token(p, tokens, args); in hfsplus_parse_options_remount()
85 switch (token) { in hfsplus_parse_options_remount()
103 int tmp, token; in hfsplus_parse_options() local
112 token = match_token(p, tokens, args); in hfsplus_parse_options()
113 switch (token) { in hfsplus_parse_options()
/linux-4.4.14/drivers/i2c/busses/
Di2c-opal.c54 int token, rc; in i2c_opal_send_request() local
56 token = opal_async_get_token_interruptible(); in i2c_opal_send_request()
57 if (token < 0) { in i2c_opal_send_request()
58 if (token != -ERESTARTSYS) in i2c_opal_send_request()
61 return token; in i2c_opal_send_request()
64 rc = opal_i2c_request(token, bus_id, req); in i2c_opal_send_request()
70 rc = opal_async_wait_response(token, &msg); in i2c_opal_send_request()
81 opal_async_release_token(token); in i2c_opal_send_request()
Di2c-meson.c119 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token() argument
122 i2c->tokens[0] |= (token & 0xf) << (i2c->num_tokens * 4); in meson_i2c_add_token()
124 i2c->tokens[1] |= (token & 0xf) << ((i2c->num_tokens % 8) * 4); in meson_i2c_add_token()
294 int token; in meson_i2c_do_start() local
296 token = (msg->flags & I2C_M_RD) ? TOKEN_SLAVE_ADDR_READ : in meson_i2c_do_start()
301 meson_i2c_add_token(i2c, token); in meson_i2c_do_start()
/linux-4.4.14/include/trace/events/
Dkvm.h308 TP_PROTO(u64 token, u64 gva),
310 TP_ARGS(token, gva),
313 __field(__u64, token)
318 __entry->token = token;
322 TP_printk("token %#llx gva %#llx", __entry->token, __entry->gva)
328 TP_PROTO(u64 token, u64 gva),
330 TP_ARGS(token, gva)
335 TP_PROTO(u64 token, u64 gva),
337 TP_ARGS(token, gva)
/linux-4.4.14/drivers/net/fddi/skfp/
Dqueue.c58 void timer_event(struct s_smc *smc, u_long token) in timer_event() argument
61 EV_T_CLASS(token), in timer_event()
62 EV_T_EVENT(token)) ; in timer_event()
63 queue_event(smc,EV_T_CLASS(token),EV_T_EVENT(token)); in timer_event()
Dsmttimer.c63 u_long token) in smt_timer_start() argument
74 timer->tm_token = token ; in smt_timer_start()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_aux.c90 char *token; in zfcp_init_device_setup() local
101 token = strsep(&str, ","); in zfcp_init_device_setup()
102 if (!token || strlen(token) >= ZFCP_BUS_ID_SIZE) in zfcp_init_device_setup()
104 strncpy(busid, token, ZFCP_BUS_ID_SIZE); in zfcp_init_device_setup()
106 token = strsep(&str, ","); in zfcp_init_device_setup()
107 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
110 token = strsep(&str, ","); in zfcp_init_device_setup()
111 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dconfig.c598 lnet_parse_priority(char *str, unsigned int *priority, char **token) in lnet_parse_priority() argument
614 *token += sep - str + 1; in lnet_parse_priority()
642 char *token = str; in lnet_parse_route() local
668 token = sep++; in lnet_parse_route()
679 lnet_parse_hops(token, &hops)) { in lnet_parse_route()
686 ltb = lnet_new_text_buf(strlen(token)); in lnet_parse_route()
690 strcpy(ltb->ltb_text, token); in lnet_parse_route()
717 &priority, &token); in lnet_parse_route()
765 lnet_syntax("routes", cmd, (int)(token - str), strlen(token)); in lnet_parse_route()
814 lnet_match_network_token(char *token, int len, __u32 *ipaddrs, int nip) in lnet_match_network_token() argument
[all …]
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_auth.c76 char *tmp, *orig, *token; in chap_check_algorithm() local
85 token = strsep(&tmp, "="); in chap_check_algorithm()
86 if (!token) in chap_check_algorithm()
89 if (strcmp(token, "CHAP_A")) { in chap_check_algorithm()
93 while (token) { in chap_check_algorithm()
94 token = strsep(&tmp, ","); in chap_check_algorithm()
95 if (!token) in chap_check_algorithm()
98 if (!strncmp(token, "5", 1)) { in chap_check_algorithm()
/linux-4.4.14/net/ceph/
Dceph_common.c375 int token, intval, ret; in ceph_parse_options() local
379 token = match_token((char *)c, opt_tokens, argstr); in ceph_parse_options()
380 if (token < 0 && parse_extra_token) { in ceph_parse_options()
389 if (token < Opt_last_int) { in ceph_parse_options()
396 dout("got int token %d val %d\n", token, intval); in ceph_parse_options()
397 } else if (token > Opt_last_int && token < Opt_last_string) { in ceph_parse_options()
398 dout("got string token %d val %s\n", token, in ceph_parse_options()
401 dout("got token %d\n", token); in ceph_parse_options()
403 switch (token) { in ceph_parse_options()
513 BUG_ON(token); in ceph_parse_options()
/linux-4.4.14/fs/ecryptfs/
Ddebug.c43 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
47 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok()
51 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
Dkeystore.c743 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
744 s->auth_tok->token.password.session_key_encryption_key_bytes); in ecryptfs_write_tag_70_packet()
764 s->auth_tok->token.password.session_key_encryption_key_bytes); in ecryptfs_write_tag_70_packet()
841 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
849 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1049 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1057 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1123 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1126 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1313 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
[all …]
Dmain.c272 int token; in ecryptfs_parse_options() local
294 token = match_token(p, tokens, args); in ecryptfs_parse_options()
295 switch (token) { in ecryptfs_parse_options()
/linux-4.4.14/security/apparmor/include/
Dcontext.h75 u64 token; member
84 int aa_set_current_hat(struct aa_profile *profile, u64 token);
175 cxt->token = 0; in aa_clear_task_cxt_trans()
Ddomain.h32 int aa_change_hat(const char *hats[], int count, u64 token, bool permtest);
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c219 char *tmp = param, *token; in parse_monitor_param() local
224 token = strtok(tmp, ","); in parse_monitor_param()
225 if (token == NULL) in parse_monitor_param()
227 if (strlen(token) >= MONITOR_NAME_LEN) { in parse_monitor_param()
229 " (%d) exceeded\n"), token, MONITOR_NAME_LEN); in parse_monitor_param()
234 if (!strcmp(monitors[num]->name, token)) { in parse_monitor_param()
235 dprint("Found requested monitor: %s\n", token); in parse_monitor_param()
/linux-4.4.14/include/linux/
Dirqbypass.h50 void *token; member
76 void *token; member
Dof_irq.h52 enum irq_domain_bus_token token);
82 enum irq_domain_bus_token token) in of_msi_get_domain() argument
Dauto_dev-ioctl.h47 __u32 token; member
51 __u32 token; member
Dparser.h13 int token; member
Decryptfs.h102 } token; member
Diommu.h225 iommu_fault_handler_t handler, void *token);
407 iommu_fault_handler_t handler, void *token) in iommu_set_fault_handler() argument
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Ddebug.c374 const char *token; in libcfs_debug_mask2str() local
386 token = fn(i); in libcfs_debug_mask2str()
387 if (token == NULL) /* unused bit */ in libcfs_debug_mask2str()
396 while (*token != 0) { in libcfs_debug_mask2str()
398 str[len] = *token; in libcfs_debug_mask2str()
399 token++; in libcfs_debug_mask2str()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_irq.c210 u32 token = EHCA_BMASK_GET(EQE_QP_TOKEN, eqe); in qp_event_callback() local
213 qp = idr_find(&ehca_qp_idr, token); in qp_event_callback()
244 u32 token = EHCA_BMASK_GET(EQE_CQ_TOKEN, eqe); in cq_event_callback() local
247 cq = idr_find(&ehca_cq_idr, token); in cq_event_callback()
516 u32 token; in process_eqe() local
523 token = EHCA_BMASK_GET(EQE_CQ_TOKEN, eqe_value); in process_eqe()
525 cq = idr_find(&ehca_cq_idr, token); in process_eqe()
532 token); in process_eqe()
576 u32 token; in ehca_process_eq() local
582 token = EHCA_BMASK_GET(EQE_CQ_TOKEN, eqe_value); in ehca_process_eq()
[all …]
Dehca_classes.h200 u32 token; member
243 u32 token; member
400 u32 token; member
408 u32 token; member
465 u32 token; member
Dehca_cq.c183 my_cq->token = rc; in ehca_create_cq()
282 resp.token = my_cq->token; in ehca_create_cq()
310 idr_remove(&ehca_cq_idr, my_cq->token); in ehca_create_cq()
344 idr_remove(&ehca_cq_idr, my_cq->token); in ehca_destroy_cq()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Devent.h10 __u64 token; /* must be unique */ member
18 __u64 token; member
Dioctl.h29 __u64 token; member
55 __u64 token; member
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Diwl-spectrum.h76 u8 token; member
84 u8 token; member
/linux-4.4.14/net/ipv4/
Dinetpeer.c495 unsigned long now, token; in inet_peer_xrlim_allow() local
501 token = peer->rate_tokens; in inet_peer_xrlim_allow()
503 token += now - peer->rate_last; in inet_peer_xrlim_allow()
505 if (token > XRLIM_BURST_FACTOR * timeout) in inet_peer_xrlim_allow()
506 token = XRLIM_BURST_FACTOR * timeout; in inet_peer_xrlim_allow()
507 if (token >= timeout) { in inet_peer_xrlim_allow()
508 token -= timeout; in inet_peer_xrlim_allow()
511 peer->rate_tokens = token; in inet_peer_xrlim_allow()
/linux-4.4.14/fs/autofs4/
Ddev-ioctl.c316 autofs_wqt_t token; in autofs_dev_ioctl_ready() local
318 token = (autofs_wqt_t) param->ready.token; in autofs_dev_ioctl_ready()
319 return autofs4_wait_release(sbi, token, 0); in autofs_dev_ioctl_ready()
330 autofs_wqt_t token; in autofs_dev_ioctl_fail() local
333 token = (autofs_wqt_t) param->fail.token; in autofs_dev_ioctl_fail()
335 return autofs4_wait_release(sbi, token, status); in autofs_dev_ioctl_fail()
Dinode.c149 int token; in parse_options() local
153 token = match_token(p, tokens, args); in parse_options()
154 switch (token) { in parse_options()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dioctl.c96 args->v0.route, args->v0.token, args->v0.object); in nvkm_ioctl_new()
129 object->token = args->v0.token; in nvkm_ioctl_new()
387 void *data, u32 size, u8 owner, u8 *route, u64 *token) in nvkm_ioctl_path() argument
406 *token = object->token; in nvkm_ioctl_path()
436 &args->v0.route, &args->v0.token); in nvkm_ioctl()
Dclient.c117 req->v0.reply, req->v0.route, req->v0.token); in nvkm_client_notify_new()
122 notify->rep.v0.token = req->v0.token; in nvkm_client_notify_new()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2800pci.c60 static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token) in rt2800pci_mcu_status() argument
74 if ((rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD0) == token) || in rt2800pci_mcu_status()
75 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD1) == token) || in rt2800pci_mcu_status()
76 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD2) == token) || in rt2800pci_mcu_status()
77 (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD3) == token)) in rt2800pci_mcu_status()
/linux-4.4.14/arch/x86/include/asm/
Dkvm_para.h98 void kvm_async_pf_task_wait(u32 token);
99 void kvm_async_pf_task_wake(u32 token);
/linux-4.4.14/fs/ceph/
Dsuper.c183 int token, intval, ret; in parse_fsopt_token() local
185 token = match_token((char *)c, fsopt_tokens, argstr); in parse_fsopt_token()
186 if (token < 0) in parse_fsopt_token()
189 if (token < Opt_last_int) { in parse_fsopt_token()
196 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
197 } else if (token > Opt_last_int && token < Opt_last_string) { in parse_fsopt_token()
198 dout("got string token %d val %s\n", token, in parse_fsopt_token()
201 dout("got token %d\n", token); in parse_fsopt_token()
204 switch (token) { in parse_fsopt_token()
291 BUG_ON(token); in parse_fsopt_token()
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c2981 int token; in srp_parse_options() local
2994 token = match_token(p, srp_opt_tokens, args); in srp_parse_options()
2995 opt_mask |= token; in srp_parse_options()
2997 switch (token) { in srp_parse_options()
3043 if (match_hex(args, &token)) { in srp_parse_options()
3047 target->pkey = cpu_to_be16(token); in srp_parse_options()
3061 if (match_int(args, &token)) { in srp_parse_options()
3065 target->scsi_host->max_sectors = token; in srp_parse_options()
3069 if (match_int(args, &token) || token < 1) { in srp_parse_options()
3073 target->scsi_host->can_queue = token; in srp_parse_options()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c106 u8 token; in alloc_token() local
109 cmd->token++; in alloc_token()
110 if (cmd->token == 0) in alloc_token()
111 cmd->token++; in alloc_token()
112 token = cmd->token; in alloc_token()
115 return token; in alloc_token()
169 static void calc_block_sig(struct mlx5_cmd_prot_block *block, u8 token, in calc_block_sig() argument
172 block->token = token; in calc_block_sig()
180 static void calc_chain_sig(struct mlx5_cmd_msg *msg, u8 token, int csum) in calc_chain_sig() argument
185 calc_block_sig(next->buf, token, csum); in calc_chain_sig()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c371 u32 token; in brcmf_fw_nvram_strip() local
399 token = *new_length / 4; in brcmf_fw_nvram_strip()
400 token = (~token << 16) | (token & 0x0000FFFF); in brcmf_fw_nvram_strip()
401 token_le = cpu_to_le32(token); in brcmf_fw_nvram_strip()
/linux-4.4.14/drivers/s390/cio/
Dscm.c225 u64 token = 0; in scm_update_information() local
234 ret = chsc_scm_info(scm_info, token); in scm_update_information()
247 token = scm_info->restok; in scm_update_information()
248 } while (token); in scm_update_information()
Dqdio.h87 static inline int do_sqbs(u64 token, unsigned char state, int queue, in do_sqbs() argument
91 register unsigned long _token asm ("1") = token; in do_sqbs()
105 static inline int do_eqbs(u64 token, unsigned char *state, int queue, in do_eqbs() argument
109 register unsigned long _token asm ("1") = token; in do_eqbs()
/linux-4.4.14/drivers/mtd/ubi/
Dbuild.c1386 char *tokens[MTD_PARAM_MAX_COUNT], *token; in ubi_mtd_param_parse() local
1426 token = tokens[1]; in ubi_mtd_param_parse()
1427 if (token) { in ubi_mtd_param_parse()
1428 p->vid_hdr_offs = bytes_str_to_int(token); in ubi_mtd_param_parse()
1434 token = tokens[2]; in ubi_mtd_param_parse()
1435 if (token) { in ubi_mtd_param_parse()
1436 int err = kstrtoint(token, 10, &p->max_beb_per1024); in ubi_mtd_param_parse()
1440 token); in ubi_mtd_param_parse()
1445 token = tokens[3]; in ubi_mtd_param_parse()
1446 if (token) { in ubi_mtd_param_parse()
[all …]
/linux-4.4.14/fs/proc/
Droot.c61 int token; in proc_parse_options() local
66 token = match_token(p, tokens, args); in proc_parse_options()
67 switch (token) { in proc_parse_options()
/linux-4.4.14/fs/ramfs/
Dinode.c179 int token; in ramfs_parse_options() local
188 token = match_token(p, tokens, args); in ramfs_parse_options()
189 switch (token) { in ramfs_parse_options()
/linux-4.4.14/drivers/net/ethernet/ti/
Ddavinci_cpdma.h74 typedef void (*cpdma_handler_fn)(void *token, int len, int status);
91 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data,
Ddavinci_cpdma.c661 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, in cpdma_chan_submit() argument
705 desc_write(desc, sw_token, token); in cpdma_chan_submit()
753 void *token; in __cpdma_chan_free() local
755 token = (void *)desc_read(desc, sw_token); in __cpdma_chan_free()
761 (*chan->handler)(token, outlen, status); in __cpdma_chan_free()
/linux-4.4.14/drivers/of/
Dirq.c691 enum irq_domain_bus_token token) in __of_get_msi_domain() argument
695 d = irq_find_matching_host(np, token); in __of_get_msi_domain()
733 enum irq_domain_bus_token token) in of_msi_get_domain() argument
741 d = __of_get_msi_domain(msi_np, token); in of_msi_get_domain()
747 if (token == DOMAIN_BUS_PLATFORM_MSI) { in of_msi_get_domain()
755 d = __of_get_msi_domain(args.np, token); in of_msi_get_domain()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_plain.c124 struct plain_bulk_token *token) in plain_generate_bulk_csum() argument
129 memset(token->pbt_hash, 0, sizeof(token->pbt_hash)); in plain_generate_bulk_csum()
130 return sptlrpc_get_bulk_checksum(desc, hash_alg, token->pbt_hash, in plain_generate_bulk_csum()
131 sizeof(token->pbt_hash)); in plain_generate_bulk_csum()
293 struct plain_bulk_token *token; in plain_cli_wrap_bulk() local
300 token = (struct plain_bulk_token *) bsd->bsd_data; in plain_cli_wrap_bulk()
314 token); in plain_cli_wrap_bulk()
324 token->pbt_hash[0] ^= 0x1; in plain_cli_wrap_bulk()
/linux-4.4.14/include/drm/
Ddrm_legacy.h194 unsigned int token) in drm_legacy_findmap() argument
198 if (_entry->user_token == token) in drm_legacy_findmap()
/linux-4.4.14/Documentation/security/
Dkeys-ecryptfs.txt15 FEK decryption is called authentication token and, currently, can be stored in a
23 authentication token in its payload with a FEFEK randomly generated by the
28 authentication token, which content is well known, but only the FEFEK in
/linux-4.4.14/drivers/parport/
Dprobe.c16 const char *token; member
94 for (i = 0; classes[i].token; i++) { in parse_data()
95 if (!strcmp(classes[i].token, sep)) { in parse_data()
/linux-4.4.14/tools/net/
Dbpf_exp.y53 %token OP_LDB OP_LDH OP_LD OP_LDX OP_ST OP_STX OP_JMP OP_JEQ OP_JGT OP_JGE
54 %token OP_JSET OP_ADD OP_SUB OP_MUL OP_DIV OP_AND OP_OR OP_XOR OP_LSH OP_RSH
55 %token OP_RET OP_TAX OP_TXA OP_LDXB OP_MOD OP_NEG OP_JNEQ OP_JLT OP_JLE OP_LDI
56 %token OP_LDXI
58 %token K_PKT_LEN K_PROTO K_TYPE K_NLATTR K_NLATTR_NEST K_MARK K_QUEUE K_HATYPE
59 %token K_RXHASH K_CPU K_IFIDX K_VLAN_TCI K_VLAN_AVAIL K_VLAN_TPID K_POFF K_RAND
61 %token ':' ',' '[' ']' '(' ')' 'x' 'a' '+' 'M' '*' '&' '#' '%'
63 %token number label
Dbpf_dbg.c1006 char sp, *token, separator = ','; in cmd_load_bpf() local
1019 token = bpf_string; in cmd_load_bpf()
1020 while ((token = strchr(token, separator)) && (++token)[0]) { in cmd_load_bpf()
1026 if (sscanf(token, "%hu %hhu %hhu %u,", in cmd_load_bpf()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dobject.h19 u64 token; member
82 u64 token; member
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dsuspend.c271 suspend_data.token = rtas_token("ibm,suspend-me"); in pseries_suspend_init()
272 if (suspend_data.token == RTAS_UNKNOWN_SERVICE) in pseries_suspend_init()
Dmobility.c43 static int mobility_rtas_call(int token, char *buf, s32 scope) in mobility_rtas_call() argument
50 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call()
/linux-4.4.14/drivers/platform/x86/
Ddell-laptop.c1008 int token; in dell_send_intensity() local
1011 token = find_token_location(BRIGHTNESS_TOKEN); in dell_send_intensity()
1012 if (token == -1) in dell_send_intensity()
1016 buffer->input[0] = token; in dell_send_intensity()
1032 int token; in dell_get_intensity() local
1035 token = find_token_location(BRIGHTNESS_TOKEN); in dell_get_intensity()
1036 if (token == -1) in dell_get_intensity()
1040 buffer->input[0] = token; in dell_get_intensity()
2115 int token; in dell_init() local
2174 token = find_token_location(BRIGHTNESS_TOKEN); in dell_init()
[all …]
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_cca_key.h285 struct cca_token_hdr token; in zcrypt_type6_crt_key() member
310 key->token.token_identifier = CCA_TKN_HDR_ID_EXT; in zcrypt_type6_crt_key()
311 key->token.token_length = size - 6; in zcrypt_type6_crt_key()
/linux-4.4.14/arch/s390/include/uapi/asm/
Dkvm_virtio.h41 __u64 token; member
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dcmtdef.h179 #define EV_T_CLASS(token) ((int)((token)>>16)&0xffff) argument
180 #define EV_T_EVENT(token) ((int)(token)&0xffff) argument
504 u_long token);
556 void timer_event(struct s_smc *smc, u_long token);
/linux-4.4.14/drivers/firmware/
Darm_scpi.c56 #define ADD_SCPI_TOKEN(cmd, token) \ argument
57 ((cmd) |= (((token) & CMD_TOKEN_ID_MASK) << CMD_TOKEN_ID_SHIFT))
157 u8 token; member
313 if (!(++ch->token)) in scpi_tx_prepare()
314 ++ch->token; in scpi_tx_prepare()
315 ADD_SCPI_TOKEN(t->cmd, ch->token); in scpi_tx_prepare()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_cmd.c183 u16 token; member
204 u16 token) in mthca_cmd_post_dbell() argument
219 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); in mthca_cmd_post_dbell()
236 u16 token, in mthca_cmd_post_hcr() argument
262 __raw_writel((__force u32) cpu_to_be32(token << 16), dev->hcr + 5 * 4); in mthca_cmd_post_hcr()
281 u16 token, in mthca_cmd_post() argument
290 op_modifier, op, token); in mthca_cmd_post()
293 op_modifier, op, token, event); in mthca_cmd_post()
390 u16 token, in mthca_cmd_event() argument
395 &dev->cmd.context[token & dev->cmd.token_mask]; in mthca_cmd_event()
[all …]
/linux-4.4.14/fs/ext4/
Dsuper.c1365 int token; member
1451 static int handle_mount_opt(struct super_block *sb, char *opt, int token, in handle_mount_opt() argument
1462 if (token == Opt_usrjquota) in handle_mount_opt()
1464 else if (token == Opt_grpjquota) in handle_mount_opt()
1466 else if (token == Opt_offusrjquota) in handle_mount_opt()
1468 else if (token == Opt_offgrpjquota) in handle_mount_opt()
1471 switch (token) { in handle_mount_opt()
1495 for (m = ext4_mount_opts; m->token != Opt_err; m++) in handle_mount_opt()
1496 if (token == m->token) in handle_mount_opt()
1499 if (m->token == Opt_err) { in handle_mount_opt()
[all …]
/linux-4.4.14/fs/jffs2/
Dsuper.c188 int token; in jffs2_parse_options() local
193 token = match_token(p, tokens, args); in jffs2_parse_options()
194 switch (token) { in jffs2_parse_options()
/linux-4.4.14/arch/powerpc/mm/
Dpgtable_64.c304 void __iounmap(volatile void __iomem *token) in __iounmap() argument
312 PCI_FIX_ADDR(token) & PAGE_MASK); in __iounmap()
321 void iounmap(volatile void __iomem *token) in iounmap() argument
324 ppc_md.iounmap(token); in iounmap()
326 __iounmap(token); in iounmap()
/linux-4.4.14/net/9p/
Dtrans_rdma.c195 int token; in parse_opts() local
199 token = match_token(p, tokens, args); in parse_opts()
200 if ((token != Opt_err) && (token != Opt_privport)) { in parse_opts()
208 switch (token) { in parse_opts()
Dtrans_fd.c751 int token; in parse_opts() local
755 token = match_token(p, tokens, args); in parse_opts()
756 if ((token != Opt_err) && (token != Opt_privport)) { in parse_opts()
764 switch (token) { in parse_opts()
/linux-4.4.14/drivers/media/usb/as102/
Das102_drv.h46 } token; member
Das102_usb_drv.c380 as102_dev->bus_adap.cmd = &as102_dev->bus_adap.token.usb.c; in as102_usb_probe()
381 as102_dev->bus_adap.rsp = &as102_dev->bus_adap.token.usb.r; in as102_usb_probe()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/
Dnotify.c123 notify = (void *)(unsigned long)args->v0.token; in nvif_notify()
201 args->req.token = (unsigned long)(void *)notify; in nvif_notify_init()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-tx.h620 u8 token; member
640 u8 token; member
Dfw-api-tof.h352 u8 token; member
/linux-4.4.14/drivers/s390/net/
Dqeth_core_mpc.h390 __u8 token[16]; member
568 struct net_if_token token; member
579 struct net_if_token token; member
627 struct net_if_token token; member
Dqeth_core_main.c1754 card->token.issuer_rm_w = 0x00010103UL; in qeth_init_tokens()
1755 card->token.cm_filter_w = 0x00010108UL; in qeth_init_tokens()
1756 card->token.cm_connection_w = 0x0001010aUL; in qeth_init_tokens()
1757 card->token.ulp_filter_w = 0x0001010bUL; in qeth_init_tokens()
1758 card->token.ulp_connection_w = 0x0001010dUL; in qeth_init_tokens()
1859 &card->token.issuer_rm_w, QETH_MPC_TOKEN_LENGTH); in qeth_idx_activate_channel()
1993 memcpy(&card->token.issuer_rm_r, in qeth_idx_read_cb()
2156 memcpy(&card->token.cm_filter_r, in qeth_cm_enable_cb()
2173 &card->token.issuer_rm_r, QETH_MPC_TOKEN_LENGTH); in qeth_cm_enable()
2175 &card->token.cm_filter_w, QETH_MPC_TOKEN_LENGTH); in qeth_cm_enable()
[all …]
/linux-4.4.14/drivers/usb/chipidea/
Dudc.h29 u32 token; member
Dudc.c360 node->ptr->token = cpu_to_le32(length << __ffs(TD_TOTAL_BYTES)); in add_td_to_list()
361 node->ptr->token &= cpu_to_le32(TD_TOTAL_BYTES); in add_td_to_list()
362 node->ptr->token |= cpu_to_le32(TD_STATUS_ACTIVE); in add_td_to_list()
369 node->ptr->token |= mul << __ffs(TD_MULTO); in add_td_to_list()
459 lastnode->ptr->token |= cpu_to_le32(TD_IOC); in _hardware_enqueue()
490 hwep->qh.ptr->td.token &= in _hardware_enqueue()
527 hwep->qh.ptr->td.token &= in reprime_dtd()
558 tmptoken = le32_to_cpu(node->ptr->token); in _hardware_dequeue()
/linux-4.4.14/net/mac80211/
Dspectmgmt.c220 msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; in ieee80211_send_refuse_measurement_request()
/linux-4.4.14/sound/soc/samsung/
Didma.c53 void *token; member
78 prtd->token = (void *) substream; in idma_enqueue()
282 prtd->cb(prtd->token, prtd->period); in iis_irq()
/linux-4.4.14/fs/pstore/
Dinode.c258 int token; in parse_options() local
263 token = match_token(p, tokens, args); in parse_options()
264 switch (token) { in parse_options()
/linux-4.4.14/security/integrity/ima/
Dima_policy.c513 int token; in ima_parse_rule() local
520 token = match_token(p, policy_tokens, args); in ima_parse_rule()
521 switch (token) { in ima_parse_rule()
640 if (token == Opt_euid) in ima_parse_rule()
656 entry->flags |= (token == Opt_uid) in ima_parse_rule()
/linux-4.4.14/fs/afs/
Dsuper.c149 int token; in afs_parse_options() local
159 token = match_token(p, afs_options_list, args); in afs_parse_options()
160 switch (token) { in afs_parse_options()
/linux-4.4.14/fs/hfs/
Dsuper.c234 int tmp, token; in parse_options() local
253 token = match_token(p, tokens, args); in parse_options()
254 switch (token) { in parse_options()
/linux-4.4.14/fs/9p/
Dv9fs.c141 int token, r; in v9fs_parse_options() local
144 token = match_token(p, tokens, args); in v9fs_parse_options()
145 switch (token) { in v9fs_parse_options()
/linux-4.4.14/fs/ntfs/
Dcompress.c196 int token; /* Loop counter for the eight tokens in tag. */ in ntfs_decompress() local
351 for (token = 0; token < 8; token++, tag >>= 1) { in ntfs_decompress()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.c65 cmdq->token = 0; in cmdq_sm_stopped_entry()
278 cmdq->token = 0; in bfa_msgq_cmdq_copy_req()
294 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp()
300 cmdq->token++; in bfa_msgq_cmdq_copy_rsp()
Dbfa_msgq.h76 u16 token; member
/linux-4.4.14/arch/arm/mm/
Dpageattr.c24 static int change_page_range(pte_t *ptep, pgtable_t token, unsigned long addr, in change_page_range() argument
/linux-4.4.14/arch/arm64/mm/
Dpageattr.c26 static int change_page_range(pte_t *ptep, pgtable_t token, unsigned long addr, in change_page_range() argument
/linux-4.4.14/fs/tracefs/
Dinode.c169 int token; in tracefs_parse_options() local
180 token = match_token(p, tokens, args); in tracefs_parse_options()
181 switch (token) { in tracefs_parse_options()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c226 int token, option; in hypfs_parse_options() local
231 token = match_token(str, hypfs_tokens, args); in hypfs_parse_options()
232 switch (token) { in hypfs_parse_options()
/linux-4.4.14/fs/ufs/
Dsuper.c392 int token; in ufs_parse_options() local
396 token = match_token(p, tokens, args); in ufs_parse_options()
397 switch (token) { in ufs_parse_options()
1343 while (tp->token != Opt_onerror_panic && tp->token != mval) in ufs_show_options()
1345 BUG_ON(tp->token == Opt_onerror_panic); in ufs_show_options()
1349 while (tp->token != Opt_err && tp->token != mval) in ufs_show_options()
1351 BUG_ON(tp->token == Opt_err); in ufs_show_options()
/linux-4.4.14/drivers/media/i2c/
Dtvp514x_regs.h282 u8 token; member
/linux-4.4.14/fs/debugfs/
Dinode.c75 int token; in debugfs_parse_options() local
86 token = match_token(p, tokens, args); in debugfs_parse_options()
87 switch (token) { in debugfs_parse_options()
/linux-4.4.14/drivers/net/usb/
Dpegasus.c1293 char *token, *name = NULL; in parse_id() local
1295 if ((token = strsep(&id, ":")) != NULL) in parse_id()
1296 name = token; in parse_id()
1298 if ((token = strsep(&id, ":")) != NULL) in parse_id()
1299 vendor_id = simple_strtoul(token, NULL, 16); in parse_id()
1300 if ((token = strsep(&id, ":")) != NULL) in parse_id()
1301 device_id = simple_strtoul(token, NULL, 16); in parse_id()
/linux-4.4.14/kernel/
Dcgroup.c1620 char *token, *o = data; in parse_cgroupfs_options() local
1633 while ((token = strsep(&o, ",")) != NULL) { in parse_cgroupfs_options()
1636 if (!*token) in parse_cgroupfs_options()
1638 if (!strcmp(token, "none")) { in parse_cgroupfs_options()
1643 if (!strcmp(token, "all")) { in parse_cgroupfs_options()
1650 if (!strcmp(token, "__DEVEL__sane_behavior")) { in parse_cgroupfs_options()
1654 if (!strcmp(token, "noprefix")) { in parse_cgroupfs_options()
1658 if (!strcmp(token, "clone_children")) { in parse_cgroupfs_options()
1662 if (!strcmp(token, "xattr")) { in parse_cgroupfs_options()
1666 if (!strncmp(token, "release_agent=", 14)) { in parse_cgroupfs_options()
[all …]
/linux-4.4.14/fs/adfs/
Dsuper.c169 int token; in parse_options() local
173 token = match_token(p, tokens, args); in parse_options()
174 switch (token) { in parse_options()
/linux-4.4.14/fs/devpts/
Dinode.c182 int token; in parse_mount_options() local
188 token = match_token(p, tokens, args); in parse_mount_options()
189 switch (token) { in parse_mount_options()
/linux-4.4.14/fs/nilfs2/
Dsuper.c751 int token; in parse_options() local
755 token = match_token(p, tokens, args); in parse_options()
756 switch (token) { in parse_options()
1229 int token; in nilfs_identify() local
1235 token = match_token(p, tokens, args); in nilfs_identify()
1236 if (token == Opt_snapshot) { in nilfs_identify()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c131 u16 token; member
351 context->token += cmd->token_mask + 1; in mlx4_comm_cmd_wait()
433 u32 in_modifier, u8 op_modifier, u16 op, u16 token, in mlx4_cmd_post() argument
487 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); in mlx4_cmd_post()
531 vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); in mlx4_slave_cmd()
666 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param) in mlx4_cmd_event() argument
670 &priv->cmd.context[token & priv->cmd.token_mask]; in mlx4_cmd_event()
673 if (token != context->token) in mlx4_cmd_event()
697 context->token += cmd->token_mask + 1; in mlx4_cmd_wait()
711 in_modifier, op_modifier, op, context->token, 1); in mlx4_cmd_wait()
[all …]
/linux-4.4.14/fs/nfs/
Dsuper.c1227 int token; in nfs_parse_mount_options() local
1234 token = match_token(p, nfs_mount_option_tokens, args); in nfs_parse_mount_options()
1235 switch (token) { in nfs_parse_mount_options()
1442 token = match_token(string, in nfs_parse_mount_options()
1446 switch (token) { in nfs_parse_mount_options()
1477 token = match_token(string, in nfs_parse_mount_options()
1482 switch (token) { in nfs_parse_mount_options()
1539 token = match_token(string, in nfs_parse_mount_options()
1542 switch (token) { in nfs_parse_mount_options()
1568 token = match_token(string, nfs_local_lock_tokens, in nfs_parse_mount_options()
[all …]
Dnfs4idmap.c500 int token, ret; in nfs_idmap_prepare_message() local
503 token = match_token(desc, nfs_idmap_tokens, &substr); in nfs_idmap_prepare_message()
505 switch (token) { in nfs_idmap_prepare_message()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c1319 if (rg->token == NULL) in omapfb_free_fbmem()
1334 dma_free_attrs(fbdev->dev, rg->size, rg->token, rg->dma_handle, in omapfb_free_fbmem()
1337 rg->token = NULL; in omapfb_free_fbmem()
1372 void *token; in omapfb_alloc_fbmem() local
1396 token = dma_alloc_attrs(fbdev->dev, size, &dma_handle, in omapfb_alloc_fbmem()
1399 if (token == NULL) { in omapfb_alloc_fbmem()
1405 (unsigned long)dma_handle, token); in omapfb_alloc_fbmem()
1410 dma_free_attrs(fbdev->dev, size, token, dma_handle, in omapfb_alloc_fbmem()
1418 rg->token = token; in omapfb_alloc_fbmem()
1422 rg->vaddr = (void __iomem *)token; in omapfb_alloc_fbmem()
Domapfb.h55 void *token; member
/linux-4.4.14/drivers/target/
Dtarget_core_rd.c573 int ret = 0, arg, token; in rd_set_configfs_dev_params() local
585 token = match_token(ptr, tokens, args); in rd_set_configfs_dev_params()
586 switch (token) { in rd_set_configfs_dev_params()
Dtarget_core_file.c620 int ret = 0, arg, token; in fd_set_configfs_dev_params() local
632 token = match_token(ptr, tokens, args); in fd_set_configfs_dev_params()
633 switch (token) { in fd_set_configfs_dev_params()
Dtarget_core_iblock.c502 int ret = 0, token; in iblock_set_configfs_dev_params() local
515 token = match_token(ptr, tokens, args); in iblock_set_configfs_dev_params()
516 switch (token) { in iblock_set_configfs_dev_params()
/linux-4.4.14/fs/omfs/
Dinode.c385 int token; in parse_options() local
389 token = match_token(p, tokens, args); in parse_options()
390 switch (token) { in parse_options()
/linux-4.4.14/fs/affs/
Dsuper.c211 int token, n, option; in parse_options() local
215 token = match_token(p, tokens, args); in parse_options()
216 switch (token) { in parse_options()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c166 #define HFI1_MMAP_TOKEN_GET(field, token) \ argument
167 (((token) >> HFI1_MMAP_##field##_SHIFT) & HFI1_MMAP_##field##_MASK)
191 static inline int is_valid_mmap(u64 token) in is_valid_mmap() argument
193 return (HFI1_MMAP_TOKEN_GET(MAGIC, token) == HFI1_MMAP_MAGIC); in is_valid_mmap()
488 u64 token = vma->vm_pgoff << PAGE_SHIFT, in hfi1_file_mmap() local
496 if (!is_valid_mmap(token) || !uctxt || in hfi1_file_mmap()
502 ctxt = HFI1_MMAP_TOKEN_GET(CTXT, token); in hfi1_file_mmap()
503 subctxt = HFI1_MMAP_TOKEN_GET(SUBCTXT, token); in hfi1_file_mmap()
504 type = HFI1_MMAP_TOKEN_GET(TYPE, token); in hfi1_file_mmap()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dfw.c315 char *options = NULL, *options_orig, *token; in i2400m_barker_db_init() local
335 while ((token = strsep(&options, ",")) != NULL) { in i2400m_barker_db_init()
336 if (*token == '\0') /* eat joint commas */ in i2400m_barker_db_init()
338 if (sscanf(token, "%x", &barker) != 1 in i2400m_barker_db_init()
343 __func__, token); in i2400m_barker_db_init()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dinode.c613 int token, option; in spufs_parse_options() local
618 token = match_token(p, spufs_tokens, args); in spufs_parse_options()
619 switch (token) { in spufs_parse_options()
/linux-4.4.14/fs/qnx6/
Dinode.c241 int token; in qnx6_parse_options() local
245 token = match_token(p, tokens, args); in qnx6_parse_options()
246 switch (token) { in qnx6_parse_options()
/linux-4.4.14/fs/hpfs/
Dsuper.c334 int token; in parse_opts() local
338 token = match_token(p, tokens, args); in parse_opts()
339 switch (token) { in parse_opts()
/linux-4.4.14/lib/
Dparser.c114 return p->token; in match_token()

12