| /OK3568_Linux_fs/kernel/net/rxrpc/ |
| H A D | key.c | 92 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local 110 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 113 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad() 114 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 115 if (!token) in rxrpc_preparse_xdr_rxkad() 118 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 119 if (!token->kad) { in rxrpc_preparse_xdr_rxkad() 120 kfree(token); in rxrpc_preparse_xdr_rxkad() 124 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad() 125 token->kad->ticket_len = tktlen; in rxrpc_preparse_xdr_rxkad() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/ |
| H A D | dpni.c | 34 uint16_t *token) in dpni_open() argument 51 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_open() 58 uint16_t token) in dpni_close() argument 65 token); in dpni_close() 74 uint16_t *token) in dpni_create() argument 91 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_create() 98 uint16_t token) in dpni_destroy() argument 105 token); in dpni_destroy() 113 uint16_t token, in dpni_set_pools() argument 121 token); in dpni_set_pools() [all …]
|
| H A D | dprc.c | 40 uint16_t *token) in dprc_open() argument 56 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open() 63 uint16_t token) in dprc_close() argument 69 token); in dprc_close() 77 uint16_t token, in dprc_create_container() argument 90 token); in dprc_create_container() 106 uint16_t token, in dprc_destroy_container() argument 114 token); in dprc_destroy_container() 123 uint16_t token, in dprc_reset_container() argument 131 token); in dprc_reset_container() [all …]
|
| H A D | dpmac.c | 17 uint16_t *token) in dpmac_open() argument 34 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmac_open() 41 uint16_t token) in dpmac_close() argument 47 token); in dpmac_close() 56 uint16_t *token) in dpmac_create() argument 73 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmac_create() 80 uint16_t token) in dpmac_destroy() argument 87 token); in dpmac_destroy() 95 uint16_t token, in dpmac_get_attributes() argument 104 token); in dpmac_get_attributes() [all …]
|
| H A D | dpbp.c | 16 uint16_t *token) in dpbp_open() argument 33 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_open() 40 uint16_t token) in dpbp_close() argument 46 token); in dpbp_close() 55 uint16_t *token) in dpbp_create() argument 73 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpbp_create() 80 uint16_t token) in dpbp_destroy() argument 87 token); in dpbp_destroy() 95 uint16_t token) in dpbp_enable() argument 101 token); in dpbp_enable() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | opal-async.c | 44 int i, token = -EBUSY; in __opal_async_get_token() local 51 token = i; in __opal_async_get_token() 57 return token; in __opal_async_get_token() 68 int token; in opal_async_get_token_interruptible() local 74 token = __opal_async_get_token(); in opal_async_get_token_interruptible() 75 if (token < 0) in opal_async_get_token_interruptible() 78 return token; in opal_async_get_token_interruptible() 82 static int __opal_async_release_token(int token) in __opal_async_release_token() argument 87 if (token < 0 || token >= opal_max_async_tokens) { in __opal_async_release_token() 89 __func__, token); in __opal_async_release_token() [all …]
|
| H A D | opal-sensor.c | 20 int ret, token; in opal_get_sensor_data() local 24 token = opal_async_get_token_interruptible(); in opal_get_sensor_data() 25 if (token < 0) in opal_get_sensor_data() 26 return token; in opal_get_sensor_data() 28 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data() 31 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data() 57 opal_async_release_token(token); in opal_get_sensor_data() 64 int ret, token; in opal_get_sensor_data_u64() local 77 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64() 78 if (token < 0) in opal_get_sensor_data_u64() [all …]
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | token.c | 49 static struct token_bucket *token_bucket(u32 token) in token_bucket() argument 51 return &token_hash[token & token_mask]; in token_bucket() 56 __token_lookup_req(struct token_bucket *t, u32 token) in __token_lookup_req() argument 62 if (req->token == token) in __token_lookup_req() 69 __token_lookup_msk(struct token_bucket *t, u32 token) in __token_lookup_msk() argument 75 if (mptcp_sk(sk)->token == token) in __token_lookup_msk() 80 static bool __token_bucket_busy(struct token_bucket *t, u32 token) in __token_bucket_busy() argument 82 return !token || t->chain_len >= TOKEN_MAX_CHAIN_LEN || in __token_bucket_busy() 83 __token_lookup_req(t, token) || __token_lookup_msk(t, token); in __token_bucket_busy() 86 static void mptcp_crypto_key_gen_sha(u64 *key, u32 *token, u64 *idsn) in mptcp_crypto_key_gen_sha() argument [all …]
|
| /OK3568_Linux_fs/kernel/scripts/genksyms/ |
| H A D | parse.y | 63 %token ASM_KEYW 64 %token ATTRIBUTE_KEYW 65 %token AUTO_KEYW 66 %token BOOL_KEYW 67 %token BUILTIN_INT_KEYW 68 %token CHAR_KEYW 69 %token CONST_KEYW 70 %token DOUBLE_KEYW 71 %token ENUM_KEYW 72 %token EXTERN_KEYW [all …]
|
| H A D | lex.l | 129 int token, count = 0; 140 token = yylex1(); 142 if (token == 0) 144 else if (token == FILENAME) 172 switch (token) 180 switch (token = r) 209 token = TYPE; 242 switch (token) 251 token = ATTRIBUTE_PHRASE; 262 switch (token) [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | struct-funcs.c | 56 u##bits btrfs_get_token_##bits(struct btrfs_map_token *token, \ 66 ASSERT(token); \ 67 ASSERT(token->kaddr); \ 68 ASSERT(check_setget_bounds(token->eb, ptr, off, size)); \ 69 if (token->offset <= member_offset && \ 70 member_offset + size <= token->offset + PAGE_SIZE) { \ 71 return get_unaligned_le##bits(token->kaddr + oip); \ 73 token->kaddr = page_address(token->eb->pages[idx]); \ 74 token->offset = idx << PAGE_SHIFT; \ 76 return get_unaligned_le##bits(token->kaddr + oip); \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpni.h | 86 u16 *token); 90 u16 token); 112 u16 token, 117 u16 token); 121 u16 token); 125 u16 token, 130 u16 token); 150 u16 token, 156 u16 token, 162 u16 token, [all …]
|
| H A D | dpni.c | 96 u16 *token) in dpni_open() argument 116 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 134 u16 token) in dpni_close() argument 141 token); in dpni_close() 161 u16 token, in dpni_set_pools() argument 171 token); in dpni_set_pools() 196 u16 token) in dpni_enable() argument 203 token); in dpni_enable() 219 u16 token) in dpni_disable() argument 226 token); in dpni_disable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/ |
| H A D | dpsw.h | 33 u16 *token); 37 u16 token); 80 u16 token); 84 u16 token); 88 u16 token); 116 u16 token, 122 u16 token, 128 u16 token, 134 u16 token, 175 u16 token, [all …]
|
| H A D | dpsw.c | 44 u16 *token) in dpsw_open() argument 63 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 81 u16 token) in dpsw_close() argument 88 token); in dpsw_close() 104 u16 token) in dpsw_enable() argument 111 token); in dpsw_enable() 127 u16 token) in dpsw_disable() argument 134 token); in dpsw_disable() 150 u16 token) in dpsw_reset() argument 157 token); in dpsw_reset() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/ |
| H A D | jsmn.c | 47 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument 50 token->type = type; in jsmn_fill_token() 51 token->start = start; in jsmn_fill_token() 52 token->end = end; in jsmn_fill_token() 53 token->size = 0; in jsmn_fill_token() 63 jsmntok_t *token; in jsmn_parse_primitive() local 103 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive() 104 if (token == NULL) { in jsmn_parse_primitive() 108 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive() 120 jsmntok_t *token; in jsmn_parse_string() local [all …]
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | ublimage.c | 48 static uint32_t get_cfg_value(char *token, char *name, int linenr) in get_cfg_value() argument 54 value = strtoul(token, &endptr, 16); in get_cfg_value() 55 if (errno || (token == endptr)) { in get_cfg_value() 57 name, linenr, token); in get_cfg_value() 73 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument 81 "ublimage special boot mode", token); in parse_cfg_cmd() 84 "(%s)\n", name, lineno, token); in parse_cfg_cmd() 92 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 95 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd() 98 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/dpio/ |
| H A D | dpio.c | 14 uint16_t *token) in dpio_open() argument 31 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpio_open() 38 uint16_t token) in dpio_close() argument 45 token); in dpio_close() 54 uint16_t *token) in dpio_create() argument 71 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpio_create() 78 uint16_t token) in dpio_destroy() argument 85 token); in dpio_destroy() 93 uint16_t token) in dpio_enable() argument 100 token); in dpio_enable() [all …]
|
| /OK3568_Linux_fs/kernel/virt/lib/ |
| H A D | irqbypass.c | 90 if (!producer->token) in irq_bypass_register_producer() 101 if (tmp->token == producer->token) { in irq_bypass_register_producer() 108 if (consumer->token == producer->token) { in irq_bypass_register_producer() 140 if (!producer->token) in irq_bypass_unregister_producer() 151 if (tmp->token != producer->token) in irq_bypass_unregister_producer() 155 if (consumer->token == producer->token) { in irq_bypass_unregister_producer() 185 if (!consumer->token || in irq_bypass_register_consumer() 197 if (tmp->token == consumer->token || tmp == consumer) { in irq_bypass_register_consumer() 204 if (producer->token == consumer->token) { in irq_bypass_register_consumer() 236 if (!consumer->token) in irq_bypass_unregister_consumer() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/kconfig/ |
| H A D | parser.y | 45 %token <string> T_HELPTEXT 46 %token <string> T_WORD 47 %token <string> T_WORD_QUOTE 48 %token T_ALLNOCONFIG_Y 49 %token T_BOOL 50 %token T_CHOICE 51 %token T_CLOSE_PAREN 52 %token T_COLON_EQUAL 53 %token T_COMMENT 54 %token T_CONFIG [all …]
|
| /OK3568_Linux_fs/kernel/tools/lib/traceevent/ |
| H A D | event-parse.c | 1247 static int test_type_token(enum tep_event_type type, const char *token, in test_type_token() argument 1256 if (strcmp(token, expect_tok) != 0) { in test_type_token() 1258 expect_tok, token); in test_type_token() 1284 char *token; in __read_expected() local 1288 type = read_token(&token); in __read_expected() 1290 type = read_token_item(&token); in __read_expected() 1292 ret = test_type_token(type, token, expect, str); in __read_expected() 1294 free_token(token); in __read_expected() 1311 char *token; in event_read_name() local 1319 if (read_expect_type(TEP_EVENT_ITEM, &token) < 0) in event_read_name() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/config/ |
| H A D | parser.c | 172 DMXConfigTokenPtr token; member 1284 …) = dmxConfigCreateVirtual((yyvsp[-3].token), NULL, NULL, (yyvsp[-2].token), (yyvsp[-1].subentry),… in yyparse() 1290 …xConfigCreateVirtual((yyvsp[-4].token), NULL, (yyvsp[-3].pair), (yyvsp[-2].token), (yyvsp[-1].sube… in yyparse() 1296 …ConfigCreateVirtual((yyvsp[-4].token), (yyvsp[-3].string), NULL, (yyvsp[-2].token), (yyvsp[-1].sub… in yyparse() 1302 …CreateVirtual((yyvsp[-5].token), (yyvsp[-4].string), (yyvsp[-3].pair), (yyvsp[-2].token), (yyvsp[-… in yyparse() 1344 …{ (yyval.option) = dmxConfigCreateOption((yyvsp[-2].token), (yyvsp[-1].string), (yyvsp[0].token));… in yyparse() 1350 … (yyval.param) = dmxConfigCreateParam((yyvsp[-2].token), NULL, (yyvsp[-1].string), NULL, (yyvsp[0]… in yyparse() 1356 …{ (yyval.param) = dmxConfigCreateParam((yyvsp[-3].token), (yyvsp[-2].token), NULL, (yyvsp[0].token… in yyparse() 1370 … { (yyval.param) = dmxConfigCreateParam(NULL, NULL, (yyvsp[-1].string), NULL, (yyvsp[0].token)); } in yyparse() 1412 … = dmxConfigCreateDisplay((yyvsp[-4].token), (yyvsp[-3].string), (yyvsp[-2].fdim), (yyvsp[-1].pair… in yyparse() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winprefsyacc.y | 96 %token NEWLINE 97 %token MENU 98 %token LB 99 %token RB 100 %token ICONDIRECTORY 101 %token DEFAULTICON 102 %token ICONS 103 %token STYLES 104 %token TOPMOST 105 %token MAXIMIZE [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/fsl-dpaa2-qdma/ |
| H A D | dpdmai.c | 69 int dpdmai_id, u16 *token) in dpdmai_open() argument 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_close() argument 111 cmd_flags, token); in dpdmai_close() 141 const struct dpdmai_cfg *cfg, u16 *token) in dpdmai_create() argument 157 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_create() 170 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_destroy() argument 176 cmd_flags, token); in dpdmai_destroy() 191 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_enable() argument 197 cmd_flags, token); in dpdmai_enable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bus/fsl-mc/ |
| H A D | dprc.c | 33 u16 *token) in dprc_open() argument 51 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 70 u16 token) in dprc_close() argument 76 token); in dprc_close() 114 u16 token, in dprc_reset_container() argument 144 cmd.header = mc_encode_cmd_header(cmdid, cmd_flags, token); in dprc_reset_container() 166 u16 token, in dprc_set_irq() argument 176 token); in dprc_set_irq() 204 u16 token, in dprc_set_irq_enable() argument 213 cmd_flags, token); in dprc_set_irq_enable() [all …]
|