| /kernel/linux/linux-6.6/net/mptcp/ |
| D | token.c | 2 /* Multipath TCP token management 48 static struct token_bucket *token_bucket(u32 token) in token_bucket() argument 50 return &token_hash[token & token_mask]; in token_bucket() 55 __token_lookup_req(struct token_bucket *t, u32 token) in __token_lookup_req() argument 61 if (req->token == token) in __token_lookup_req() 68 __token_lookup_msk(struct token_bucket *t, u32 token) in __token_lookup_msk() argument 74 if (mptcp_sk(sk)->token == token) in __token_lookup_msk() 79 static bool __token_bucket_busy(struct token_bucket *t, u32 token) in __token_bucket_busy() argument 81 return !token || t->chain_len >= TOKEN_MAX_CHAIN_LEN || in __token_bucket_busy() 82 __token_lookup_req(t, token) || __token_lookup_msk(t, token); in __token_bucket_busy() [all …]
|
| /kernel/linux/linux-5.10/net/mptcp/ |
| D | token.c | 2 /* Multipath TCP token management 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() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| 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() 61 * Note: If the returned token is used in an opal call and opal returns 68 int token; in opal_async_get_token_interruptible() local 70 /* Wait until a token is available */ in opal_async_get_token_interruptible() 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 [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| 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() 61 * Note: If the returned token is used in an opal call and opal returns 68 int token; in opal_async_get_token_interruptible() local 70 /* Wait until a token is available */ in opal_async_get_token_interruptible() 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 [all …]
|
| /kernel/linux/linux-6.6/net/rxrpc/ |
| D | key.c | 49 * parse an RxKAD type XDR format token 56 struct rxrpc_key_token *token, **pptoken; in rxrpc_preparse_xdr_rxkad() local 74 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 77 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad() 78 token = kzalloc(sizeof(*token), GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 79 if (!token) in rxrpc_preparse_xdr_rxkad() 82 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 83 if (!token->kad) { in rxrpc_preparse_xdr_rxkad() 84 kfree(token); in rxrpc_preparse_xdr_rxkad() 88 token->security_index = RXRPC_SECURITY_RXKAD; in rxrpc_preparse_xdr_rxkad() [all …]
|
| /kernel/linux/linux-5.10/net/rxrpc/ |
| D | key.c | 85 * parse an RxKAD type XDR format token 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
| D | dpsw.c | 29 * @token: Returned token; use in subsequent API calls 34 * This function returns a unique authentication token, 36 * portal; this token must be used in all subsequent commands for 44 u16 *token) in dpsw_open() argument 63 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 72 * @token: Token of DPSW object 81 u16 token) in dpsw_close() argument 88 token); in dpsw_close() 98 * @token: Token of DPSW object 104 u16 token) in dpsw_enable() argument [all …]
|
| /kernel/linux/linux-6.6/fs/btrfs/ |
| D | accessors.c | 27 void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb) in btrfs_init_map_token() argument 29 token->eb = eb; in btrfs_init_map_token() 30 token->kaddr = page_address(eb->pages[0]); in btrfs_init_map_token() 31 token->offset = 0; in btrfs_init_map_token() 43 * Generic helpers with a token (cached address of the most recently accessed 59 u##bits btrfs_get_token_##bits(struct btrfs_map_token *token, \ 64 const unsigned long oip = get_eb_offset_in_page(token->eb, \ 70 ASSERT(token); \ 71 ASSERT(token->kaddr); \ 72 ASSERT(check_setget_bounds(token->eb, ptr, off, size)); \ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpsw.c | 27 * @token: Returned token; use in subsequent API calls 32 * This function returns a unique authentication token, 34 * portal; this token must be used in all subsequent commands for 39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) in dpsw_open() argument 58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open() 67 * @token: Token of DPSW object 74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument 81 token); in dpsw_close() 91 * @token: Token of DPSW object 95 int dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_enable() argument [all …]
|
| D | dpni.c | 83 * @token: Returned token; use in subsequent API calls 88 * This function returns a unique authentication token, 90 * portal; this token must be used in all subsequent commands for 98 u16 *token) in dpni_open() argument 118 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 127 * @token: Token of DPNI object 136 u16 token) in dpni_close() argument 143 token); in dpni_close() 153 * @token: Token of DPNI object 163 u16 token, in dpni_set_pools() argument [all …]
|
| D | dprtc.c | 17 * @token: Returned token; use in subsequent API calls 22 * This function returns a unique authentication token, 24 * portal; this token must be used in all subsequent commands for 32 u16 *token) in dprtc_open() argument 48 *token = mc_cmd_hdr_read_token(&cmd); in dprtc_open() 57 * @token: Token of DPRTC object 66 u16 token) in dprtc_close() argument 71 token); in dprtc_close() 80 * @token: Token of DPRTC object 93 u16 token, in dprtc_set_irq_enable() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpni.c | 81 * @token: Returned token; use in subsequent API calls 86 * This function returns a unique authentication token, 88 * portal; this token must be used in all subsequent commands for 96 u16 *token) in dpni_open() argument 116 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open() 125 * @token: Token of DPNI object 134 u16 token) in dpni_close() argument 141 token); in dpni_close() 151 * @token: Token of DPNI object 161 u16 token, in dpni_set_pools() argument [all …]
|
| D | dprtc.c | 17 * @token: Returned token; use in subsequent API calls 22 * This function returns a unique authentication token, 24 * portal; this token must be used in all subsequent commands for 32 u16 *token) in dprtc_open() argument 48 *token = mc_cmd_hdr_read_token(&cmd); in dprtc_open() 57 * @token: Token of DPRTC object 66 u16 token) in dprtc_close() argument 71 token); in dprtc_close() 80 * @token: Token of DPRTC object 93 u16 token, in dprtc_set_irq_enable() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/ |
| D | dpdmai.c | 56 * @token: Returned token; use in subsequent API calls 61 * This function returns a unique authentication token, 63 * portal; this token must be used in all subsequent commands for 69 int dpdmai_id, u16 *token) in dpdmai_open() argument 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 98 * @token: Token of DPDMAI object 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() 123 * @token: Returned token; use in subsequent API calls 131 * This function returns a unique authentication token, [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/ |
| D | dpdmai.c | 56 * @token: Returned token; use in subsequent API calls 61 * This function returns a unique authentication token, 63 * portal; this token must be used in all subsequent commands for 69 int dpdmai_id, u16 *token) in dpdmai_open() argument 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 98 * @token: Token of DPDMAI object 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() 123 * @token: Returned token; use in subsequent API calls 131 * This function returns a unique authentication token, [all …]
|
| /kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
| D | dpcon.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, 23 * portal; this token must be used in all subsequent commands for 31 u16 *token) in dpcon_open() argument 50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open() 60 * @token: Token of DPCON object 69 u16 token) in dpcon_close() argument 76 token); in dpcon_close() 87 * @token: Token of DPCON object 93 u16 token) in dpcon_enable() argument [all …]
|
| D | dpbp.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, 23 * portal; this token must be used in all subsequent commands for 31 u16 *token) in dpbp_open() argument 49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open() 59 * @token: Token of DPBP object 68 u16 token) in dpbp_close() argument 74 token); in dpbp_close() 85 * @token: Token of DPBP object 91 u16 token) in dpbp_enable() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/bus/fsl-mc/ |
| D | dpcon.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, 23 * portal; this token must be used in all subsequent commands for 31 u16 *token) in dpcon_open() argument 50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open() 60 * @token: Token of DPCON object 69 u16 token) in dpcon_close() argument 76 token); in dpcon_close() 87 * @token: Token of DPCON object 93 u16 token) in dpcon_enable() argument [all …]
|
| D | dpbp.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, 23 * portal; this token must be used in all subsequent commands for 31 u16 *token) in dpbp_open() argument 49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open() 59 * @token: Token of DPBP object 68 u16 token) in dpbp_close() argument 74 token); in dpbp_close() 85 * @token: Token of DPBP object 91 u16 token) in dpbp_enable() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/caam/ |
| D | dpseci.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, associated with the 22 * specific object ID and the specific MC portal; this token must be used in all 28 u16 *token) in dpseci_open() argument 43 *token = mc_cmd_hdr_read_token(&cmd); in dpseci_open() 52 * @token: Token of DPSECI object 59 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_close() argument 65 token); in dpseci_close() 73 * @token: Token of DPSECI object 77 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_enable() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/caam/ |
| D | dpseci.c | 16 * @token: Returned token; use in subsequent API calls 21 * This function returns a unique authentication token, associated with the 22 * specific object ID and the specific MC portal; this token must be used in all 28 u16 *token) in dpseci_open() argument 43 *token = mc_cmd_hdr_read_token(&cmd); in dpseci_open() 52 * @token: Token of DPSECI object 59 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_close() argument 65 token); in dpseci_close() 73 * @token: Token of DPSECI object 77 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpseci_enable() argument [all …]
|
| /kernel/linux/linux-6.6/scripts/genksyms/ |
| 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 …]
|
| /kernel/linux/linux-5.10/fs/btrfs/ |
| D | struct-funcs.c | 40 * Generic helpers with a token (cached address of the most recently accessed 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; \ [all …]
|
| /kernel/linux/linux-5.10/scripts/genksyms/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/dpio/ |
| D | dpio.c | 23 * @token: Returned token; use in subsequent API calls 28 * This function returns a unique authentication token, 30 * portal; this token must be used in all subsequent commands for 38 u16 *token) in dpio_open() argument 56 *token = mc_cmd_hdr_read_token(&cmd); in dpio_open() 65 * @token: Token of DPIO object 71 u16 token) in dpio_close() argument 78 token); in dpio_close() 87 * @token: Token of DPIO object 93 u16 token) in dpio_enable() argument [all …]
|