Lines Matching refs:snp
1161 struct smk_netlbladdr *snp; in smk_write_netlbladdr() local
1258 list_for_each_entry_rcu(snp, &smk_netlbladdr_list, list) { in smk_write_netlbladdr()
1259 if (snp->smk_host.sin_addr.s_addr == nsa && in smk_write_netlbladdr()
1260 snp->smk_mask.s_addr == mask.s_addr) { in smk_write_netlbladdr()
1268 snp = kzalloc(sizeof(*snp), GFP_KERNEL); in smk_write_netlbladdr()
1269 if (snp == NULL) in smk_write_netlbladdr()
1273 snp->smk_host.sin_addr.s_addr = newname.sin_addr.s_addr; in smk_write_netlbladdr()
1274 snp->smk_mask.s_addr = mask.s_addr; in smk_write_netlbladdr()
1275 snp->smk_label = skp; in smk_write_netlbladdr()
1276 smk_netlbladdr_insert(snp); in smk_write_netlbladdr()
1281 if (snp->smk_label != &smack_cipso_option) in smk_write_netlbladdr()
1283 &snp->smk_host.sin_addr, &snp->smk_mask, in smk_write_netlbladdr()
1287 snp->smk_label = skp; in smk_write_netlbladdr()
1297 &snp->smk_host.sin_addr, &snp->smk_mask, PF_INET, in smk_write_netlbladdr()
1298 snp->smk_label->smk_secid, &audit_info); in smk_write_netlbladdr()