spl
struct spl *p;
omgpio_intr_establish(struct omgpio_softc *sc, unsigned int gpio, int level, int spl,
void *omgpio_intr_establish(unsigned int gpio, int level, int spl,
if ((is_psp_fw_valid(psp->spl)) &&
psp->spl.fw_version = le32_to_cpu(desc->fw_version);
psp->spl.feature_version = le32_to_cpu(desc->fw_version);
psp->spl.size_bytes = le32_to_cpu(desc->size_bytes);
psp->spl.start_addr = ucode_start_addr;
adev->psp.spl.size_bytes = le32_to_cpu(sos_hdr_v1_3->spl.size_bytes);
adev->psp.spl.start_addr = ucode_array_start_addr +
le32_to_cpu(sos_hdr_v1_3->spl.offset_bytes);
struct psp_bin_desc spl;
le32_to_cpu(psp_hdr_v1_3->spl.fw_version));
le32_to_cpu(psp_hdr_v1_3->spl.offset_bytes));
le32_to_cpu(psp_hdr_v1_3->spl.size_bytes));
struct psp_fw_legacy_bin_desc spl;
return psp_v11_0_bootloader_load_component(psp, &psp->spl, PSP_BL__LOAD_TOS_SPL_TABLE);
return psp_v14_0_bootloader_load_component(psp, &psp->spl, PSP_BL__LOAD_TOS_SPL_TABLE);
int error, spl;
spl = MUTEX_OLDIPL(mtx);
MUTEX_OLDIPL(mtx) = spl;
splx(spl);
void spl_buffer(struct ibuf *, const struct spl *);
void spl_free(struct spl *);
struct spl *spl_parse(struct cert **, const char *, int,
struct spl *spl_read(struct ibuf *);
void spl_insert_vsps(struct vsp_tree *, struct spl *,
int valid_spl(const char *, struct cert *, struct spl *);
void spl_print(const struct cert *, const struct spl *);
struct spl *spl = NULL;
spl = spl_parse(&cert, file, -1, buf, len);
if (spl == NULL)
expires = &spl->expires;
status = spl->valid;
spl_print(cert, spl);
struct spl *spl;
spl = spl_read(b);
if (spl->valid)
spl_insert_vsps(&vd->vsps, spl, rp);
spl_free(spl);
c = (spl != NULL);
if (spl != NULL)
spl_buffer(b, spl);
spl_free(spl);
static struct spl *
struct spl *spl;
if ((spl = spl_parse(&cert, file, entp->talid, der, len)) == NULL)
spl->talid = a->cert->talid;
spl->expires = x509_find_expires(cert->notafter, a, &crls);
return spl;
spl_free(spl);
struct spl *spl;
spl = proc_parser_spl(file, f, flen, entp, ctx);
if (spl != NULL)
mtime = spl->signtime;
spl = NULL;
spl_print(const struct cert *c, const struct spl *s)
spl_parse_econtent(const char *fn, struct spl *spl, const unsigned char *d,
if (!as_id_parse(spl_asn1->asid, &spl->asid)) {
if (spl->num_prefixes + num_prefixes >= MAX_IP_SIZE) {
spl->prefixes = recallocarray(spl->prefixes, spl->num_prefixes,
spl->num_prefixes + num_prefixes, sizeof(spl->prefixes[0]));
if (spl->prefixes == NULL)
prefix = &spl->prefixes[spl->num_prefixes++];
struct spl *
struct spl *spl;
if ((spl = calloc(1, sizeof(*spl))) == NULL)
spl->signtime = signtime;
if (!spl_parse_econtent(fn, spl, cms, cmsz))
spl->valid = valid_spl(fn, cert, spl);
spl_free(spl);
spl = NULL;
return spl;
spl_free(struct spl *s)
spl_buffer(struct ibuf *b, const struct spl *s)
struct spl *
struct spl *s;
if ((s = calloc(1, sizeof(struct spl))) == NULL)
spl_insert_vsps(struct vsp_tree *tree, struct spl *spl, struct repo *rp)
vsp->asid = spl->asid;
vsp->talid = spl->talid;
vsp->expires = spl->expires;
repo_stat_inc(rp, spl->talid, RTYPE_SPL, STYPE_TOTAL);
vsp->num_prefixes + spl->num_prefixes, sizeof(vsp->prefixes[0]));
for (i = 0, j = 0; i < spl->num_prefixes; ) {
(cmp = spl_pfx_cmp(&spl->prefixes[i],
insert_vsp(vsp, j, &spl->prefixes[i]);
valid_spl(const char *fn, struct cert *cert, struct spl *spl)
if (as_check_covered(spl->asid, spl->asid, cert->ases,
warnx("%s: SPL: uncovered ASID: %u", fn, spl->asid);
if ((snapend - p) < (hdr->spl + hdr->dpl))
ipaddr_string(p + hdr->spl));
ip6addr_string(p + hdr->spl));
p += hdr->spl + hdr->dpl;
u_int8_t spl; /* src proto len */