Searched refs:snp (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/kernel/rcu/ |
D | srcutree.c | 90 struct srcu_node *snp; in init_srcu_struct_nodes() local 100 srcu_for_each_node_breadth_first(ssp, snp) { in init_srcu_struct_nodes() 101 spin_lock_init(&ACCESS_PRIVATE(snp, lock)); in init_srcu_struct_nodes() 102 WARN_ON_ONCE(ARRAY_SIZE(snp->srcu_have_cbs) != in init_srcu_struct_nodes() 103 ARRAY_SIZE(snp->srcu_data_have_cbs)); in init_srcu_struct_nodes() 104 for (i = 0; i < ARRAY_SIZE(snp->srcu_have_cbs); i++) { in init_srcu_struct_nodes() 105 snp->srcu_have_cbs[i] = 0; in init_srcu_struct_nodes() 106 snp->srcu_data_have_cbs[i] = 0; in init_srcu_struct_nodes() 108 snp->srcu_gp_seq_needed_exp = 0; in init_srcu_struct_nodes() 109 snp->grplo = -1; in init_srcu_struct_nodes() [all …]
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_eeprom.c | 244 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-v5.10/security/smack/ |
D | smackfs.c | 1143 struct smk_net4addr *snp; in smk_write_net4addr() local 1235 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) { in smk_write_net4addr() 1236 if (snp->smk_host.s_addr == nsa && snp->smk_masks == masks) { in smk_write_net4addr() 1244 snp = kzalloc(sizeof(*snp), GFP_KERNEL); in smk_write_net4addr() 1245 if (snp == NULL) in smk_write_net4addr() 1249 snp->smk_host.s_addr = newname.sin_addr.s_addr; in smk_write_net4addr() 1250 snp->smk_mask.s_addr = mask.s_addr; in smk_write_net4addr() 1251 snp->smk_label = skp; in smk_write_net4addr() 1252 snp->smk_masks = masks; in smk_write_net4addr() 1253 smk_net4addr_insert(snp); in smk_write_net4addr() [all …]
|
D | smack_lsm.c | 2298 struct smk_net4addr *snp; in smack_ipv4host_label() local 2304 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) in smack_ipv4host_label() 2310 if (snp->smk_host.s_addr == in smack_ipv4host_label() 2311 (siap->s_addr & snp->smk_mask.s_addr)) in smack_ipv4host_label() 2312 return snp->smk_label; in smack_ipv4host_label() 2348 struct smk_net6addr *snp; in smack_ipv6host_label() local 2359 list_for_each_entry_rcu(snp, &smk_net6addr_list, list) { in smack_ipv6host_label() 2364 if (snp->smk_label == NULL) in smack_ipv6host_label() 2372 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label() 2373 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label() [all …]
|