| /freebsd-13.1/sys/contrib/device-tree/Bindings/nvmem/ |
| H A D | allwinner,sun4i-a10-sid.yaml | 19 - const: allwinner,sun4i-a10-sid 20 - const: allwinner,sun7i-a20-sid 21 - const: allwinner,sun8i-a83t-sid 22 - const: allwinner,sun8i-h3-sid 23 - const: allwinner,sun50i-a64-sid 25 - const: allwinner,sun50i-a100-sid 26 - const: allwinner,sun50i-a64-sid 27 - const: allwinner,sun50i-h5-sid 28 - const: allwinner,sun50i-h6-sid 42 compatible = "allwinner,sun4i-a10-sid"; [all …]
|
| /freebsd-13.1/usr.bin/gcore/ |
| H A D | elf32core.c | 78 bzero(sid, sizeof(*sid)); in elf_convert_siginfo() 79 sid->si_signo = sis->si_signo; in elf_convert_siginfo() 80 sid->si_errno = sis->si_errno; in elf_convert_siginfo() 81 sid->si_code = sis->si_code; in elf_convert_siginfo() 82 sid->si_pid = sis->si_pid; in elf_convert_siginfo() 83 sid->si_uid = sis->si_uid; in elf_convert_siginfo() 84 sid->si_status = sis->si_status; in elf_convert_siginfo() 85 sid->si_addr = (uintptr_t)sis->si_addr; in elf_convert_siginfo() 91 sid->si_value.sival_int = sis->si_value.sival_int; in elf_convert_siginfo() 92 sid->si_timerid = sis->si_timerid; in elf_convert_siginfo() [all …]
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | scope6.c | 99 struct scope6_id *sid; in scope6_ifattach() local 101 sid = malloc(sizeof(*sid), M_IFADDR, M_WAITOK | M_ZERO); in scope6_ifattach() 108 return (sid); in scope6_ifattach() 115 free(sid, M_IFADDR); in scope6_ifdetach() 150 sid = SID(ifp); in scope6_set() 152 if (!sid) { /* paranoid? */ in scope6_set() 209 struct scope6_id *sid; in scope6_get() local 213 sid = SID(ifp); in scope6_get() 219 *idlist = *sid; in scope6_get() 397 struct scope6_id *sid; in in6_setscope() local [all …]
|
| /freebsd-13.1/sys/dev/bhnd/siba/ |
| H A D | siba_erom.c | 107 struct siba_core_id sid; in siba_erom_probe() local 242 struct siba_core_id *sid) in siba_eio_read_core_id() argument 319 *sid = (struct siba_core_id) { in siba_eio_read_core_id() 356 struct siba_core_id sid; in siba_erom_get_core_id() local 373 sid.core_info.unit++; in siba_erom_get_core_id() 376 *result = sid; in siba_erom_get_core_id() 461 struct siba_core_id sid; in siba_erom_lookup_core() local 468 ci = sid.core_info; in siba_erom_lookup_core() 506 struct siba_core_id sid; in siba_erom_lookup_core_addr() local 633 struct siba_core_id sid; in siba_erom_get_core_table() local [all …]
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | svc_auth_des.c | 123 short sid = 0; in _svcauth_des() local 198 if (sid < 0 || sid >= AUTHDES_CACHESZ) { in _svcauth_des() 253 if (sid < 0) { in _svcauth_des() 322 entry = &authdes_cache[sid]; in _svcauth_des() 324 cache_ref(sid); in _svcauth_des() 390 cache_ref(short sid) in cache_ref() argument 397 authdes_lru[0] = sid; in cache_ref() 398 for (i = 1; prev != sid; i++) { in cache_ref() 463 unsigned sid; in authdes_getucred() local 470 sid = adc->adc_nickname; in authdes_getucred() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_getsid.c | 50 pid_t sid; in ATF_TC_BODY() local 52 sid = getsid(0); in ATF_TC_BODY() 53 ATF_REQUIRE(sid != -1); in ATF_TC_BODY() 55 if (sid != getsid(getpid())) in ATF_TC_BODY() 82 pid_t csid, pid, ppid, sid; in ATF_TC_BODY() local 85 sid = getsid(0); in ATF_TC_BODY() 89 ATF_REQUIRE(sid != -1); in ATF_TC_BODY() 96 if (sid != csid) in ATF_TC_BODY()
|
| /freebsd-13.1/sys/arm64/iommu/ |
| H A D | smmu.c | 434 int sid; in smmu_print_event() local 448 sid = evt[1]; in smmu_print_event() 465 sid, input_addr); in smmu_print_event() 470 smmu_dump_ste(sc, sid); in smmu_print_event() 614 cmd.cfgi.sid = sid; in smmu_sync_cd() 677 cmd.cfgi.sid = sid; in smmu_invalidate_sid() 688 cmd.prefetch.sid = sid; in smmu_prefetch_sid() 1764 u_int xref, sid; in smmu_ctx_alloc() local 1787 ctx->sid = sid; in smmu_ctx_alloc() 1843 if (ctx->sid == sid) in smmu_ctx_lookup_by_sid() [all …]
|
| H A D | smmuvar.h | 68 int sid; member 109 uint32_t sid; member 114 uint32_t sid; member 184 struct smmu_ctx *smmu_ctx_lookup_by_sid(device_t dev, u_int sid); 185 bool smmu_quirks_check(device_t dev, u_int sid, uint8_t event_id,
|
| /freebsd-13.1/tools/bus_space/Python/ |
| H A D | lang.c | 329 int error, mdid, sid, what; in busdma_md_first_seg() local 333 sid = bd_md_first_seg(mdid, what); in busdma_md_first_seg() 334 if (sid == -1) in busdma_md_first_seg() 336 return (Py_BuildValue("i", sid)); in busdma_md_first_seg() 342 int error, mdid, sid; in busdma_md_next_seg() local 346 sid = bd_md_next_seg(mdid, sid); in busdma_md_next_seg() 347 if (sid == -1) in busdma_md_next_seg() 349 return (Py_BuildValue("i", sid)); in busdma_md_next_seg() 356 int error, sid; in busdma_seg_get_addr() local 360 error = bd_seg_get_addr(sid, &addr); in busdma_seg_get_addr() [all …]
|
| /freebsd-13.1/contrib/openbsm/sys/bsm/ |
| H A D | audit_record.h | 243 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 245 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 247 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 249 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 251 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, 254 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 266 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 268 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 270 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 272 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); [all …]
|
| /freebsd-13.1/sys/bsm/ |
| H A D | audit_record.h | 250 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 252 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 254 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 256 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 258 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, 261 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 274 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 276 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 278 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 280 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); [all …]
|
| /freebsd-13.1/sys/xen/interface/xsm/ |
| H A D | flask_op.h | 43 uint32_t sid; member 138 uint32_t sid; member 146 uint32_t sid; member 152 uint32_t sid; member 157 uint32_t sid; member
|
| /freebsd-13.1/crypto/openssl/crypto/cms/ |
| H A D | cms_sd.c | 98 if (si->sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) { in cms_sd_set_version() 190 sid->type = type; in cms_set1_SignerIdentifier() 200 if (sid->type == CMS_SIGNERINFO_ISSUER_SERIAL) { in cms_SignerIdentifier_get0_signer_id() 202 *issuer = sid->d.issuerAndSerialNumber->issuer; in cms_SignerIdentifier_get0_signer_id() 204 *sno = sid->d.issuerAndSerialNumber->serialNumber; in cms_SignerIdentifier_get0_signer_id() 205 } else if (sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) { in cms_SignerIdentifier_get0_signer_id() 207 *keyid = sid->d.subjectKeyIdentifier; in cms_SignerIdentifier_get0_signer_id() 215 if (sid->type == CMS_SIGNERINFO_ISSUER_SERIAL) in cms_SignerIdentifier_cert_cmp() 217 else if (sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) in cms_SignerIdentifier_cert_cmp() 286 if (!cms_set1_SignerIdentifier(si->sid, signer, type)) in CMS_add1_signer() [all …]
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | cdf.c | 550 if (sid == CDF_SECID_END_OF_CHAIN) { in cdf_count_chain() 557 DPRINTF((" %d", sid)); in cdf_count_chain() 562 if (sid >= maxsector) { in cdf_count_chain() 566 sid = CDF_TOLE4(CAST(uint32_t, sat->sat_tab[sid])); in cdf_count_chain() 613 sid)) != CAST(ssize_t, ss)) { in cdf_read_long_sector_chain() 621 sid = CDF_TOLE4(CAST(uint32_t, sat->sat_tab[sid])); in cdf_read_long_sector_chain() 659 sid) != CAST(ssize_t, ss)) { in cdf_read_short_sector_chain() 663 sid = CDF_TOLE4(CAST(uint32_t, ssat->sat_tab[sid])); in cdf_read_short_sector_chain() 693 ns = cdf_count_chain(sat, sid, ss); in cdf_read_dir() 724 sid = CDF_TOLE4(CAST(uint32_t, sat->sat_tab[sid])); in cdf_read_dir() [all …]
|
| /freebsd-13.1/sys/dev/ofw/ |
| H A D | openfirmio.c | 84 openfirm_checkid(phandle_t sid, phandle_t tid) in openfirm_checkid() argument 87 for (; sid != 0; sid = OF_peer(sid)) in openfirm_checkid() 88 if (sid == tid || openfirm_checkid(OF_child(sid), tid)) in openfirm_checkid()
|
| /freebsd-13.1/sys/x86/iommu/ |
| H A D | intel_fault.c | 195 int sid, bus, slot, func, faultp; in dmar_fault_task() local 209 sid = DMAR_FRCD2_SID(fault_rec[1]); in dmar_fault_task() 212 ctx = dmar_find_ctx_locked(unit, sid); in dmar_fault_task() 221 bus = PCI_RID2BUS(sid); in dmar_fault_task() 222 slot = PCI_RID2SLOT(sid); in dmar_fault_task() 223 func = PCI_RID2FUNC(sid); in dmar_fault_task() 237 bus, slot, func, sid, DMAR_FRCD2_T(fault_rec[1]), in dmar_fault_task()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/ |
| H A D | tst.sid.ksh | 54 /\$sid != \$1/ 60 /\$sid == \$1/ 72 sessionid=`ps -x -o pid,sid | grep "$$ " | awk '{print $2}' 2>/dev/null`
|
| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli_crypto.c | 66 crypto_session_t sid; in g_eli_crypto_cipher() local 78 error = crypto_newsession(&sid, &csp, CRYPTOCAP_F_SOFTWARE); in g_eli_crypto_cipher() 81 crp = crypto_getreq(sid, M_NOWAIT); in g_eli_crypto_cipher() 83 crypto_freesession(sid); in g_eli_crypto_cipher() 105 crypto_freesession(sid); in g_eli_crypto_cipher()
|
| /freebsd-13.1/sys/dev/isp/ |
| H A D | isp_target.c | 360 uint32_t sid, did; in isp_got_tmf_24xx() local 385 if (isp_find_pdb_by_portid(isp, chan, sid, &lp)) in isp_got_tmf_24xx() 389 notify.nt_sid = sid; in isp_got_tmf_24xx() 393 isp_prt(isp, ISP_LOGINFO, f1, "QUERY TASK SET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx() 405 isp_prt(isp, ISP_LOGINFO, f1, "LUN RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx() 408 isp_prt(isp, ISP_LOGINFO, f1, "TARGET RESET", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx() 411 isp_prt(isp, ISP_LOGINFO, f1, "CLEAR ACA", sid, notify.nt_lun, aep->at_rxid); in isp_got_tmf_24xx() 533 uint32_t sid, did; in isp_handle_abts() local 536 sid = (abts->abts_sid_hi << 16) | abts->abts_sid_lo; in isp_handle_abts() 542 nt->nt_sid = sid; in isp_handle_abts() [all …]
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | wpas_kay.c | 267 const u8 *addr, u8 *sid, size_t *len) in ieee802_1x_auth_get_session_id() argument 285 os_memcpy(sid, session_id, need_len); in ieee802_1x_auth_get_session_id() 324 u8 *sid; in ieee802_1x_notify_create_actor() local 339 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor() 342 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor() 351 if (ieee802_1x_auth_get_session_id(wpa_s, wpa_s->bssid, sid, &sid_len)) in ieee802_1x_notify_create_actor() 371 peer_addr, sid, sid_len, ckn->name)) { in ieee802_1x_notify_create_actor() 386 os_free(sid); in ieee802_1x_notify_create_actor()
|
| /freebsd-13.1/tools/bus_space/ |
| H A D | busdma.h | 49 int bd_md_next_seg(int mdid, int sid); 51 int bd_seg_get_addr(int sid, u_long *); 52 int bd_seg_get_size(int sid, u_long *);
|
| /freebsd-13.1/contrib/openbsm/libbsm/ |
| H A D | bsm_token.c | 749 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process32() argument 765 ADD_U_INT32(dptr, sid); in au_to_process32() 781 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process64() argument 798 ADD_U_INT32(dptr, sid); in au_to_process64() 814 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process() argument 862 ADD_U_INT32(dptr, sid); in au_to_process32_ex() 904 ADD_U_INT32(dptr, sid); in au_to_process64_ex() 1176 ADD_U_INT32(dptr, sid); in au_to_subject32() 1202 ADD_U_INT32(dptr, sid); in au_to_subject64() 1259 ADD_U_INT32(dptr, sid); in au_to_subject32_ex() [all …]
|
| /freebsd-13.1/sys/security/audit/ |
| H A D | bsm_token.c | 670 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process32() argument 684 ADD_U_INT32(dptr, sid); in au_to_process32() 700 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process64() argument 715 ADD_U_INT32(dptr, sid); in au_to_process64() 731 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process() argument 775 ADD_U_INT32(dptr, sid); in au_to_process32_ex() 814 ADD_U_INT32(dptr, sid); in au_to_process64_ex() 1113 ADD_U_INT32(dptr, sid); in au_to_subject32() 1137 ADD_U_INT32(dptr, sid); in au_to_subject64() 1191 ADD_U_INT32(dptr, sid); in au_to_subject32_ex() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/icp/api/ |
| H A D | kcf_cipher.c | 129 if ((ctx = kcf_new_ctx(crq, real_provider, sid)) == NULL) { in crypto_cipher_init_prov() 193 KCF_WRAP_ENCRYPT_OPS_PARAMS(¶ms, KCF_OP_INIT, sid, in crypto_cipher_init_prov() 197 KCF_WRAP_DECRYPT_OPS_PARAMS(¶ms, KCF_OP_INIT, sid, in crypto_cipher_init_prov() 313 crypto_encrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_encrypt_prov() argument 334 KCF_WRAP_ENCRYPT_OPS_PARAMS(¶ms, KCF_OP_ATOMIC, sid, mech, key, in crypto_encrypt_prov() 426 crypto_encrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, in crypto_encrypt_init_prov() argument 431 return (crypto_cipher_init_prov(pd, sid, mech, key, tmpl, ctxp, crq, in crypto_encrypt_init_prov() 595 crypto_decrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_decrypt_prov() argument 616 KCF_WRAP_DECRYPT_OPS_PARAMS(¶ms, KCF_OP_ATOMIC, sid, mech, key, in crypto_decrypt_prov() 709 crypto_decrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, in crypto_decrypt_init_prov() argument [all …]
|
| /freebsd-13.1/usr.sbin/fwcontrol/ |
| H A D | fwcontrol.c | 519 union fw_self_id sid; in show_topology_map() local 537 sid = tmap->self_id[i]; in show_topology_map() 538 if (sid.p0.sequel) { in show_topology_map() 544 sid.p0.phy_id, in show_topology_map() 545 sid.p0.link_active, in show_topology_map() 546 sid.p0.gap_count, in show_topology_map() 547 speed[sid.p0.phy_speed], in show_topology_map() 548 sid.p0.contender, in show_topology_map() 550 port_status[sid.p0.port0], in show_topology_map() 553 sid.p0.initiated_reset, in show_topology_map() [all …]
|