Home
last modified time | relevance | path

Searched refs:snp (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/kernel/rcu/
Dsrcutree.c171 struct srcu_node *snp; in init_srcu_struct_nodes() local
187 srcu_for_each_node_breadth_first(ssp, snp) { in init_srcu_struct_nodes()
188 spin_lock_init(&ACCESS_PRIVATE(snp, lock)); in init_srcu_struct_nodes()
189 WARN_ON_ONCE(ARRAY_SIZE(snp->srcu_have_cbs) != in init_srcu_struct_nodes()
190 ARRAY_SIZE(snp->srcu_data_have_cbs)); in init_srcu_struct_nodes()
191 for (i = 0; i < ARRAY_SIZE(snp->srcu_have_cbs); i++) { in init_srcu_struct_nodes()
192 snp->srcu_have_cbs[i] = SRCU_SNP_INIT_SEQ; in init_srcu_struct_nodes()
193 snp->srcu_data_have_cbs[i] = 0; in init_srcu_struct_nodes()
195 snp->srcu_gp_seq_needed_exp = SRCU_SNP_INIT_SEQ; in init_srcu_struct_nodes()
196 snp->grplo = -1; in init_srcu_struct_nodes()
[all …]
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_eeprom.c244 char *snp = dd->serial; in qib_get_eeprom_info() local
250 memcpy(snp, ifp->if_sprefix, sizeof(ifp->if_sprefix)); in qib_get_eeprom_info()
251 snp[sizeof(ifp->if_sprefix)] = '\0'; in qib_get_eeprom_info()
252 len = strlen(snp); in qib_get_eeprom_info()
253 snp += len; in qib_get_eeprom_info()
257 memcpy(snp, ifp->if_serial, len); in qib_get_eeprom_info()
/linux-6.6.21/security/smack/
Dsmackfs.c1158 struct smk_net4addr *snp; in smk_write_net4addr() local
1249 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) { in smk_write_net4addr()
1250 if (snp->smk_host.s_addr == nsa && snp->smk_masks == masks) { in smk_write_net4addr()
1258 snp = kzalloc(sizeof(*snp), GFP_KERNEL); in smk_write_net4addr()
1259 if (snp == NULL) in smk_write_net4addr()
1263 snp->smk_host.s_addr = newname.sin_addr.s_addr; in smk_write_net4addr()
1264 snp->smk_mask.s_addr = mask.s_addr; in smk_write_net4addr()
1265 snp->smk_label = skp; in smk_write_net4addr()
1266 snp->smk_masks = masks; in smk_write_net4addr()
1267 smk_net4addr_insert(snp); in smk_write_net4addr()
[all …]
Dsmack_lsm.c2459 struct smk_net4addr *snp; in smack_ipv4host_label() local
2465 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) in smack_ipv4host_label()
2471 if (snp->smk_host.s_addr == in smack_ipv4host_label()
2472 (siap->s_addr & snp->smk_mask.s_addr)) in smack_ipv4host_label()
2473 return snp->smk_label; in smack_ipv4host_label()
2509 struct smk_net6addr *snp; in smack_ipv6host_label() local
2520 list_for_each_entry_rcu(snp, &smk_net6addr_list, list) { in smack_ipv6host_label()
2525 if (snp->smk_label == NULL) in smack_ipv6host_label()
2533 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label()
2534 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()
[all …]
/linux-6.6.21/arch/x86/boot/compressed/
Dsev.c447 bool snp; in sev_enable() local
473 snp = snp_init(bp); in sev_enable()
479 if (snp) in sev_enable()
507 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sev_enable()
/linux-6.6.21/arch/x86/mm/
Dmem_encrypt_identity.c513 bool snp; in sme_enable() local
516 snp = snp_init(bp); in sme_enable()
550 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sme_enable()
/linux-6.6.21/Documentation/virt/coco/
Dsev-guest.rst73 :Technology: sev-snp
88 :Technology: sev-snp
107 :Technology: sev-snp