| /linux/drivers/nvme/target/ |
| H A D | fc.c | 35 struct nvmet_fc_tgt_assoc *assoc; member 144 struct nvmet_fc_tgt_assoc *assoc; member 190 nvmet_fc_makeconnid(struct nvmet_fc_tgt_assoc *assoc, u16 qid) in nvmet_fc_makeconnid() argument 192 return (assoc->association_id | qid); in nvmet_fc_makeconnid() 233 static void nvmet_fc_tgt_a_put(struct nvmet_fc_tgt_assoc *assoc); 234 static int nvmet_fc_tgt_a_get(struct nvmet_fc_tgt_assoc *assoc); 249 static void nvmet_fc_delete_target_assoc(struct nvmet_fc_tgt_assoc *assoc); 472 nvmet_fc_xmt_disconnect_assoc(struct nvmet_fc_tgt_assoc *assoc) in nvmet_fc_xmt_disconnect_assoc() argument 474 struct nvmet_fc_tgtport *tgtport = assoc->tgtport; in nvmet_fc_xmt_disconnect_assoc() 486 if (!tgtport->ops->ls_req || assoc->hostport->invalid) in nvmet_fc_xmt_disconnect_assoc() [all …]
|
| /linux/net/sctp/ |
| H A D | proc.c | 113 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs() argument 119 primary = &assoc->peer.primary_addr; in sctp_seq_dump_remote_addrs() 120 list_for_each_entry_rcu(transport, &assoc->peer.transport_addr_list, in sctp_seq_dump_remote_addrs() 244 struct sctp_association *assoc; in sctp_assocs_seq_show() local 258 assoc = transport->asoc; in sctp_assocs_seq_show() 259 epb = &assoc->base; in sctp_assocs_seq_show() 265 assoc, sk, sctp_sk(sk)->type, sk->sk_state, in sctp_assocs_seq_show() 266 assoc->state, 0, in sctp_assocs_seq_show() 267 assoc->assoc_id, in sctp_assocs_seq_show() 268 assoc->sndbuf_used, in sctp_assocs_seq_show() [all …]
|
| H A D | diag.c | 255 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one() local 269 rep = nlmsg_new(inet_assoc_attr_size(sk, assoc), GFP_KERNEL); in sctp_sock_dump_one() 275 if (ep != assoc->ep) { in sctp_sock_dump_one() 280 err = inet_sctp_diag_fill(sk, assoc, rep, req, sk_user_ns(NETLINK_CB(skb).sk), in sctp_sock_dump_one() 304 struct sctp_association *assoc; in sctp_sock_dump() local 310 list_for_each_entry(assoc, &ep->asocs, asocs) { in sctp_sock_dump() 314 if (r->id.idiag_sport != htons(assoc->base.bind_addr.port) && in sctp_sock_dump() 317 if (r->id.idiag_dport != htons(assoc->peer.port) && in sctp_sock_dump() 333 if (inet_sctp_diag_fill(sk, assoc, skb, r, in sctp_sock_dump()
|
| H A D | objcnt.c | 34 SCTP_DBG_OBJCNT(assoc); 48 SCTP_DBG_OBJCNT_ENTRY(assoc),
|
| /linux/crypto/ |
| H A D | testmgr.h | 109 const char *assoc; member 12666 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF" 12738 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 12768 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 12992 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF" 13013 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07", 13030 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1" 13055 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1" 13070 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88" 13093 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88" [all …]
|
| H A D | essiv.c | 62 u8 *assoc; member 177 kfree(rctx->assoc); in essiv_aead_done() 204 rctx->assoc = NULL; in essiv_aead_crypt() 224 rctx->assoc = kmalloc(ssize, GFP_ATOMIC); in essiv_aead_crypt() 225 if (!rctx->assoc) in essiv_aead_crypt() 228 scatterwalk_map_and_copy(rctx->assoc, req->src, 0, in essiv_aead_crypt() 230 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt() 253 if (rctx->assoc && err != -EINPROGRESS && err != -EBUSY) in essiv_aead_crypt() 254 kfree(rctx->assoc); in essiv_aead_crypt()
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 318 uint64_t assoc = cvmx_l2c_get_num_assoc(); in cvmx_l2c_lock_line() local 327 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line() 337 if (way >= assoc) { in cvmx_l2c_lock_line() 433 uint64_t assoc, set; in cvmx_l2c_flush() local 446 for (assoc = 0; assoc < n_assoc; assoc++) { in cvmx_l2c_flush() 448 (assoc << assoc_shift) | (set << set_shift)); in cvmx_l2c_flush() 454 for (assoc = 0; assoc < n_assoc; assoc++) in cvmx_l2c_flush() 455 cvmx_l2c_flush_line(assoc, set); in cvmx_l2c_flush() 464 int assoc; in cvmx_l2c_unlock_line() local 477 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line() [all …]
|
| /linux/lib/crypto/ |
| H A D | aesgcm.c | 89 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument 95 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac() 148 int crypt_len, const u8 *assoc, int assoc_len, in aesgcm_encrypt() argument 156 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt() 178 const u8 *src, int crypt_len, const u8 *assoc, in aesgcm_decrypt() argument 187 aesgcm_mac(ctx, src, crypt_len, assoc, assoc_len, ctr, tagbuf); in aesgcm_decrypt() 563 u8 assoc[20] __nonstring; member 598 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 657 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 672 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 104 unsigned assoc :8; member 114 unsigned assoc :4; member 124 unsigned assoc :4; member 154 unsigned int dummy, line_size, lines_per_tag, assoc, size_in_kb; in legacy_amd_cpuid4() local 175 assoc = (l1->assoc == 0xff) ? AMD_CPUID4_FULLY_ASSOCIATIVE : l1->assoc; in legacy_amd_cpuid4() 181 if (!l2.assoc || l2.assoc == AMD_L2_L3_INVALID_ASSOC) in legacy_amd_cpuid4() 185 assoc = assocs[l2.assoc]; in legacy_amd_cpuid4() 191 if (!l3.assoc || l3.assoc == AMD_L2_L3_INVALID_ASSOC) in legacy_amd_cpuid4() 194 assoc = assocs[l3.assoc]; in legacy_amd_cpuid4() 200 assoc = assoc >> 1; in legacy_amd_cpuid4() [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 216 assoc = cfg.pspnl.rx_assoc({"version": 0, 219 ksft_eq(assoc['dev-id'], cfg.psp_dev_id) 220 ksft_gt(assoc['rx-key']['spi'], 0) 221 ksft_eq(len(assoc['rx-key']['key']), 16) 223 assoc = cfg.pspnl.tx_assoc({"dev-id": cfg.psp_dev_id, 225 "tx-key": assoc['rx-key'], 227 ksft_eq(len(assoc), 0) 248 assoc = cfg.pspnl.rx_assoc({"version": 0, 250 ksft_eq(assoc['dev-id'], cfg.psp_dev_id) 252 "tx-key": assoc['rx-key'], [all …]
|
| /linux/tools/testing/selftests/powerpc/cache_shape/ |
| H A D | cache_shape.c | 38 uint16_t assoc; in print_geo() local 42 assoc = val >> 16; in print_geo() 43 if (assoc) in print_geo() 44 printf("%u-way", assoc); in print_geo()
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 281 avf->assoc = vif->cfg.assoc; in ath5k_bss_info_changed() 282 if (vif->cfg.assoc) in ath5k_bss_info_changed() 283 ah->assoc = vif->cfg.assoc; in ath5k_bss_info_changed() 285 ah->assoc = ath5k_any_vif_assoc(ah); in ath5k_bss_info_changed() 288 ath5k_set_beacon_filter(hw, ah->assoc); in ath5k_bss_info_changed() 289 ath5k_hw_set_ledstate(ah, ah->assoc ? in ath5k_bss_info_changed() 291 if (vif->cfg.assoc) { in ath5k_bss_info_changed() 433 if (ah->assoc) in ath5k_configure_filter() 541 if (!ah->assoc) in ath5k_sw_scan_start() 550 ath5k_hw_set_ledstate(ah, ah->assoc ? in ath5k_sw_scan_complete()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mcc.c | 236 bool *assoc = data; in iwl_mld_find_assoc_vif_iterator() local 239 vif->cfg.assoc) in iwl_mld_find_assoc_vif_iterator() 240 *assoc = true; in iwl_mld_find_assoc_vif_iterator() 245 bool assoc = false; in iwl_mld_is_a_vif_assoc() local 250 &assoc); in iwl_mld_is_a_vif_assoc() 251 return assoc; in iwl_mld_is_a_vif_assoc()
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi6220-coresight.dtsi | 388 arm,cs-dev-assoc = <&etm0>; 401 arm,cs-dev-assoc = <&etm1>; 414 arm,cs-dev-assoc = <&etm2>; 427 arm,cs-dev-assoc = <&etm3>; 440 arm,cs-dev-assoc = <&etm4>; 453 arm,cs-dev-assoc = <&etm5>; 466 arm,cs-dev-assoc = <&etm6>; 479 arm,cs-dev-assoc = <&etm7>;
|
| /linux/arch/mips/mm/ |
| H A D | sc-mips.c | 153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local 168 assoc = cfg & CM_GCR_L2_CONFIG_ASSOC; in mips_sc_probe_cm3() 169 assoc >>= __ffs(CM_GCR_L2_CONFIG_ASSOC); in mips_sc_probe_cm3() 170 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-gcm-p10-glue.c | 121 struct Hash_ctx *hash, u8 *assoc, unsigned int assoclen) in gcmp10_init() argument 145 set_aad(gctx, hash, assoc, assoclen); in gcmp10_init() 219 u8 *assoc; in p10_aes_gcm_crypt() local 236 assoc = sg_virt(req->src); /* ppc64 is !HIGHMEM */ in p10_aes_gcm_crypt() 245 assoc = assocmem; in p10_aes_gcm_crypt() 247 scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0); in p10_aes_gcm_crypt() 251 gcmp10_init(gctx, iv, (unsigned char *) &ctx->enc_key, hash, assoc, assoclen); in p10_aes_gcm_crypt()
|
| /linux/arch/arc/mm/ |
| H A D | cache.c | 104 int vipt, assoc; in arc_cache_mumbojumbo() local 113 assoc = 2; /* Fixed to 2w set assoc */ in arc_cache_mumbojumbo() 115 assoc = 1 << ibcr.config; /* 1,2,4,8 */ in arc_cache_mumbojumbo() 120 p_ic->colors = p_ic->sz_k/assoc/TO_KB(PAGE_SIZE); in arc_cache_mumbojumbo() 124 p_ic->sz_k, assoc, p_ic->line_len, in arc_cache_mumbojumbo() 136 assoc = 4; /* Fixed to 4w set assoc */ in arc_cache_mumbojumbo() 137 p_dc->colors = p_dc->sz_k/assoc/TO_KB(PAGE_SIZE); in arc_cache_mumbojumbo() 140 assoc = 1 << dbcr.config; /* 1,2,4,8 */ in arc_cache_mumbojumbo() 149 p_dc->sz_k, assoc, p_dc->line_len, in arc_cache_mumbojumbo()
|
| /linux/include/crypto/ |
| H A D | gcm.h | 77 int crypt_len, const u8 *assoc, int assoc_len, 81 const u8 *src, int crypt_len, const u8 *assoc,
|
| /linux/drivers/net/netdevsim/ |
| H A D | psp.c | 130 struct psp_key_parsed *assoc, in nsim_rx_spi_alloc() argument 141 assoc->spi = cpu_to_be32(new); in nsim_rx_spi_alloc() 142 assoc->key[0] = psd->generation; in nsim_rx_spi_alloc() 144 assoc->key[i] = ns->psp.spi + i; in nsim_rx_spi_alloc()
|
| /linux/Documentation/networking/ |
| H A D | psp.rst | 76 Rx and Tx keys are allocated separately. First the ``rx-assoc`` 82 Tx keys are installed using the ``tx-assoc`` Netlink command. 87 There is an intermediate period after ``tx-assoc`` successfully 91 even if not PSP authenticated. During the ``tx-assoc`` call, the TCP 96 other end of the connection must have executed the ``tx-assoc`` 121 To ensure that any data read from the socket after the ``tx-assoc`` 123 receive and ofo queues of the socket at ``tx-assoc`` time. If any 133 special "start of PSP" message should be exchanged after ``tx-assoc``.
|
| /linux/sound/hda/common/ |
| H A D | auto_parser.c | 198 short assoc, loc, conn, dev; in snd_hda_parse_pin_defcfg() local 227 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 232 if (!assoc) in snd_hda_parse_pin_defcfg() 235 assoc_line_out = assoc; in snd_hda_parse_pin_defcfg() 236 else if (assoc_line_out != assoc) { in snd_hda_parse_pin_defcfg() 239 nid, assoc, assoc_line_out); in snd_hda_parse_pin_defcfg() 254 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 262 speaker_out[cfg->speaker_outs].seq = (assoc << 4) | seq; in snd_hda_parse_pin_defcfg() 267 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 275 hp_out[cfg->hp_outs].seq = (assoc << 4) | seq; in snd_hda_parse_pin_defcfg()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_buffer_mgr.c | 518 sg_virt(req->src), areq_ctx->src.nents, areq_ctx->assoc.nents, in cc_unmap_aead_request() 601 areq_ctx->assoc.nents = 0; in cc_aead_chain_assoc() 602 areq_ctx->assoc.mlli_nents = 0; in cc_aead_chain_assoc() 605 areq_ctx->assoc.nents); in cc_aead_chain_assoc() 618 areq_ctx->assoc.nents = mapped_nents; in cc_aead_chain_assoc() 626 (areq_ctx->assoc.nents + 1), in cc_aead_chain_assoc() 641 areq_ctx->assoc.nents); in cc_aead_chain_assoc() 642 cc_add_sg_entry(dev, sg_data, areq_ctx->assoc.nents, req->src, in cc_aead_chain_assoc() 644 &areq_ctx->assoc.mlli_nents); in cc_aead_chain_assoc() 902 areq_ctx->assoc.sram_addr = drvdata->mlli_sram_addr; in cc_update_aead_mlli_nents() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | join.c | 379 struct host_cmd_ds_802_11_associate *assoc = &cmd->params.associate; in mwifiex_cmd_802_11_associate() local 394 pos = (u8 *) assoc; in mwifiex_cmd_802_11_associate() 401 memcpy(assoc->peer_sta_addr, in mwifiex_cmd_802_11_associate() 402 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate() 403 pos += sizeof(assoc->peer_sta_addr); in mwifiex_cmd_802_11_associate() 406 assoc->listen_interval = cpu_to_le16(priv->listen_interval); in mwifiex_cmd_802_11_associate() 408 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate() 410 pos += sizeof(assoc->cap_info_bitmap); in mwifiex_cmd_802_11_associate() 411 pos += sizeof(assoc->listen_interval); in mwifiex_cmd_802_11_associate() 412 pos += sizeof(assoc->beacon_period); in mwifiex_cmd_802_11_associate() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | link.c | 53 vif->cfg.assoc = false; in fake_ieee80211_connection_loss() 94 KUNIT_ASSERT_NE(test, vif->cfg.assoc, test_param->output.disconnected); in test_missed_beacon()
|
| /linux/net/mac80211/tests/ |
| H A D | mfp.c | 16 bool sta, mfp, decrypted, unicast, assoc; member 195 .assoc = true, 238 if (params->assoc) in accept_mfp()
|