Home
last modified time | relevance | path

Searched refs:assoc (Results 1 – 25 of 161) sorted by relevance

1234567

/openbmc/linux/drivers/nvme/target/
H A Dfc.c35 struct nvmet_fc_tgt_assoc *assoc; member
144 struct nvmet_fc_tgt_assoc *assoc; member
205 nvmet_fc_makeconnid(struct nvmet_fc_tgt_assoc *assoc, u16 qid) in nvmet_fc_makeconnid() argument
207 return (assoc->association_id | qid); in nvmet_fc_makeconnid()
248 static void nvmet_fc_tgt_a_put(struct nvmet_fc_tgt_assoc *assoc);
249 static int nvmet_fc_tgt_a_get(struct nvmet_fc_tgt_assoc *assoc);
263 static void nvmet_fc_delete_target_assoc(struct nvmet_fc_tgt_assoc *assoc);
487 nvmet_fc_xmt_disconnect_assoc(struct nvmet_fc_tgt_assoc *assoc) in nvmet_fc_xmt_disconnect_assoc() argument
489 struct nvmet_fc_tgtport *tgtport = assoc->tgtport; in nvmet_fc_xmt_disconnect_assoc()
501 if (!tgtport->ops->ls_req || !assoc->hostport || in nvmet_fc_xmt_disconnect_assoc()
[all …]
/openbmc/linux/net/sctp/
H A Dproc.c113 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 Ddiag.c247 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one() local
259 rep = nlmsg_new(inet_assoc_attr_size(assoc), GFP_KERNEL); in sctp_sock_dump_one()
264 if (ep != assoc->ep) { in sctp_sock_dump_one()
269 err = inet_sctp_diag_fill(sk, assoc, rep, req, sk_user_ns(NETLINK_CB(skb).sk), in sctp_sock_dump_one()
293 struct sctp_association *assoc; in sctp_sock_dump() local
299 list_for_each_entry(assoc, &ep->asocs, asocs) { in sctp_sock_dump()
303 if (r->id.idiag_sport != htons(assoc->base.bind_addr.port) && in sctp_sock_dump()
306 if (r->id.idiag_dport != htons(assoc->peer.port) && in sctp_sock_dump()
322 if (inet_sctp_diag_fill(sk, assoc, skb, r, in sctp_sock_dump()
H A Dobjcnt.c34 SCTP_DBG_OBJCNT(assoc);
48 SCTP_DBG_OBJCNT_ENTRY(assoc),
/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-l2c.c318 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 …]
/openbmc/linux/crypto/
H A Dtestmgr.h111 const char *assoc; member
15248 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15320 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15350 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15574 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15595 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
15612 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
15637 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
15652 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
15675 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
[all …]
H A Dessiv.c62 u8 *assoc; member
177 kfree(rctx->assoc); in essiv_aead_done()
199 rctx->assoc = NULL; in essiv_aead_crypt()
226 rctx->assoc = kmalloc(ssize, GFP_ATOMIC); in essiv_aead_crypt()
227 if (!rctx->assoc) in essiv_aead_crypt()
230 scatterwalk_map_and_copy(rctx->assoc, req->src, 0, in essiv_aead_crypt()
232 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt()
255 if (rctx->assoc && err != -EINPROGRESS && err != -EBUSY) in essiv_aead_crypt()
256 kfree(rctx->assoc); in essiv_aead_crypt()
/openbmc/linux/lib/crypto/
H A Daesgcm.c77 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument
83 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac()
136 int crypt_len, const u8 *assoc, int assoc_len, in aesgcm_encrypt() argument
144 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt()
166 const u8 *src, int crypt_len, const u8 *assoc, in aesgcm_decrypt() argument
175 aesgcm_mac(ctx, src, crypt_len, assoc, assoc_len, ctr, tagbuf); in aesgcm_decrypt()
551 u8 assoc[20]; member
586 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
645 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
660 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
[all …]
/openbmc/phosphor-objmgr/src/
H A Dassociations.cpp140 auto assoc = assocMaps.ifaces.find(assocPath); in removeAssociationEndpoints() local
141 if (assoc == assocMaps.ifaces.end()) in removeAssociationEndpoints()
146 auto& endpointsInDBus = std::get<endpointsPos>(assoc->second); in removeAssociationEndpoints()
318 Association assoc{type, endpointType, endpointPath}; in addPendingAssociation() local
324 ee.emplace_back(owner, std::move(assoc)); in addPendingAssociation()
334 [&assoc, &owner](const auto& endpoint) { in addPendingAssociation()
336 (std::get<assocPos>(endpoint) == assoc); in addPendingAssociation()
340 endpoints.emplace_back(owner, std::move(assoc)); in addPendingAssociation()
348 auto assoc = assocMaps.pending.begin(); in removeFromPendingAssociations() local
349 while (assoc != assocMaps.pending.end()) in removeFromPendingAssociations()
[all …]
/openbmc/dbus-sensors/src/tests/
H A Dtest_MCTPReactor.cpp61 reactor = std::make_shared<MCTPReactor>(assoc); in SetUp()
82 MockAssociationServer assoc; member in MCTPReactorFixture
111 EXPECT_CALL(assoc, in TEST_F()
115 assoc, in TEST_F()
140 EXPECT_CALL(assoc, in TEST_F()
144 assoc, in TEST_F()
172 EXPECT_CALL(assoc, in TEST_F()
177 assoc, in TEST_F()
204 MockAssociationServer assoc{}; in TEST() local
205 auto reactor = std::make_shared<MCTPReactor>(assoc); in TEST()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_sunoem.c454 struct sdr_record_entity_assoc *assoc; in ipmi_sunoem_led_get() local
565 assoc = a->record.entassoc; in ipmi_sunoem_led_get()
566 if (assoc == NULL) in ipmi_sunoem_led_get()
570 if (assoc->entity.id != sdr->record.genloc->entity.id in ipmi_sunoem_led_get()
571 || assoc->entity.instance in ipmi_sunoem_led_get()
575 if (assoc->flags.isrange) { in ipmi_sunoem_led_get()
584 if (assoc->entity_id_1 == assoc->entity_id_2) in ipmi_sunoem_led_get()
585 for (i = assoc->entity_inst_1; i <= assoc->entity_inst_2; i++) in ipmi_sunoem_led_get()
586 sunoem_led_get_byentity(intf, assoc->entity_id_1, i, in ipmi_sunoem_led_get()
590 if (assoc->entity_id_3 == assoc->entity_id_4) in ipmi_sunoem_led_get()
[all …]
/openbmc/qemu/contrib/plugins/
H A Dcache.c75 int assoc; member
145 cache->sets[i].lru_priorities = g_new0(uint64_t, cache->assoc); in lru_priorities_init()
164 for (i = 1; i < cache->assoc; i++) { in lru_get_lru_block()
233 static const char *cache_config_error(int blksize, int assoc, int cachesize) in cache_config_error() argument
237 } else if (cachesize % (blksize * assoc) != 0) { in cache_config_error()
244 static bool bad_cache_params(int blksize, int assoc, int cachesize) in bad_cache_params() argument
246 return (cachesize % blksize) != 0 || (cachesize % (blksize * assoc) != 0); in bad_cache_params()
249 static Cache *cache_init(int blksize, int assoc, int cachesize) in cache_init() argument
259 g_assert(!bad_cache_params(blksize, assoc, cachesize)); in cache_init()
262 cache->assoc = assoc; in cache_init()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/cache_shape/
H A Dcache_shape.c38 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()
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c114 struct Hash_ctx *hash, u8 *assoc, unsigned int assoclen) in gcmp10_init() argument
138 set_aad(gctx, hash, assoc, assoclen); in gcmp10_init()
212 u8 *assoc; in p10_aes_gcm_crypt() local
230 assoc = scatterwalk_map(&assoc_sg_walk); in p10_aes_gcm_crypt()
239 assoc = assocmem; in p10_aes_gcm_crypt()
241 scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0); in p10_aes_gcm_crypt()
245 gcmp10_init(gctx, iv, (unsigned char *) &ctx->enc_key, hash, assoc, assoclen); in p10_aes_gcm_crypt()
249 scatterwalk_unmap(assoc); in p10_aes_gcm_crypt()
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c281 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()
/openbmc/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi6220-coresight.dtsi388 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>;
/openbmc/linux/arch/mips/mm/
H A Dsc-mips.c153 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()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c193 unsigned assoc:8; member
203 unsigned assoc:4; member
213 unsigned assoc:4; member
250 unsigned line_size, lines_per_tag, assoc, size_in_kb; in amd_cpuid4() local
270 assoc = assocs[l1->assoc]; in amd_cpuid4()
278 assoc = assocs[l2.assoc]; in amd_cpuid4()
287 assoc = assocs[l3.assoc]; in amd_cpuid4()
293 assoc = assoc >> 1; in amd_cpuid4()
307 if (assoc == 0xffff) in amd_cpuid4()
310 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
/openbmc/phosphor-objmgr/src/test/
H A Dassociations.cpp374 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F() local
375 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
377 auto& endpoints = assoc->second; in TEST_F()
396 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F() local
397 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
399 auto& endpoints = assoc->second; in TEST_F()
441 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F() local
442 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
443 auto& endpoints = assoc->second; in TEST_F()
/openbmc/linux/include/crypto/
H A Dgcm.h77 int crypt_len, const u8 *assoc, int assoc_len,
81 const u8 *src, int crypt_len, const u8 *assoc,
/openbmc/linux/arch/arc/mm/
H A Dcache.c104 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()
/openbmc/phosphor-logging/
H A Delog_block.hpp48 AssociationList assoc{ in Block() local
51 associations(std::move(assoc)); in Block()
/openbmc/openpower-pnor-code-mgmt/
H A Dmsl_verify.cpp110 for (const auto& assoc : assocs) in getFunctionalVersion() local
112 if (std::get<0>(assoc).compare(FUNCTIONAL_FWD_ASSOCIATION) == 0) in getFunctionalVersion()
114 auto path = std::get<2>(assoc); in getFunctionalVersion()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c379 struct host_cmd_ds_802_11_associate *assoc = &cmd->params.associate; in mwifiex_cmd_802_11_associate() local
392 pos = (u8 *) assoc; in mwifiex_cmd_802_11_associate()
399 memcpy(assoc->peer_sta_addr, in mwifiex_cmd_802_11_associate()
400 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate()
401 pos += sizeof(assoc->peer_sta_addr); in mwifiex_cmd_802_11_associate()
404 assoc->listen_interval = cpu_to_le16(priv->listen_interval); in mwifiex_cmd_802_11_associate()
406 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate()
408 pos += sizeof(assoc->cap_info_bitmap); in mwifiex_cmd_802_11_associate()
409 pos += sizeof(assoc->listen_interval); in mwifiex_cmd_802_11_associate()
410 pos += sizeof(assoc->beacon_period); in mwifiex_cmd_802_11_associate()
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_auto_parser.c198 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()

1234567