Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/security/smack/
Dsmackfs.c1147 struct smk_net4addr *snp; in smk_write_net4addr() local
1238 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) { in smk_write_net4addr()
1239 if (snp->smk_host.s_addr == nsa && snp->smk_masks == masks) { in smk_write_net4addr()
1247 snp = kzalloc(sizeof(*snp), GFP_KERNEL); in smk_write_net4addr()
1248 if (snp == NULL) in smk_write_net4addr()
1252 snp->smk_host.s_addr = newname.sin_addr.s_addr; in smk_write_net4addr()
1253 snp->smk_mask.s_addr = mask.s_addr; in smk_write_net4addr()
1254 snp->smk_label = skp; in smk_write_net4addr()
1255 snp->smk_masks = masks; in smk_write_net4addr()
1256 smk_net4addr_insert(snp); in smk_write_net4addr()
[all …]
Dsmack_lsm.c2309 struct smk_net4addr *snp; in smack_ipv4host_label() local
2315 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) in smack_ipv4host_label()
2321 if (snp->smk_host.s_addr == in smack_ipv4host_label()
2322 (siap->s_addr & snp->smk_mask.s_addr)) in smack_ipv4host_label()
2323 return snp->smk_label; in smack_ipv4host_label()
2359 struct smk_net6addr *snp; in smack_ipv6host_label() local
2370 list_for_each_entry_rcu(snp, &smk_net6addr_list, list) { in smack_ipv6host_label()
2375 if (snp->smk_label == NULL) in smack_ipv6host_label()
2383 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label()
2384 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()
[all …]
/Linux-v6.1/arch/x86/boot/compressed/
Dsev.c277 bool snp; in sev_enable() local
291 snp = snp_init(bp); in sev_enable()
313 if (snp) in sev_enable()
341 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sev_enable()
/Linux-v6.1/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-v6.1/Documentation/virt/coco/
Dsev-guest.rst67 :Technology: sev-snp
82 :Technology: sev-snp
101 :Technology: sev-snp