/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_cms.in | 11 # 1. Redistributions of source code must retain the above copyright 40 stat="--statistic-file=${objdir}/statfile" 55 ${hxtool} cms-create-sd \ 56 --certificate=FILE:$srcdir/data/secp160r2TestClient.pem \ 58 sd.data > /dev/null || exit 1 61 ${hxtool} cms-verify-sd \ 62 --missing-revoke \ 63 --anchors=FILE:$srcdir/data/secp160r1TestCA.cert.pem \ 64 sd.data sd.data.out > /dev/null || exit 1 65 cmp "$srcdir/test_chain.in" sd.data.out || exit 1 [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 1 /*- 10 * 1. Redistributions of source code must retain the above copyright 39 * -------- 102 CLOCK_PULSE(sd,rdy) global() argument 112 send_seeprom_cmd(struct seeprom_descriptor * sd,struct seeprom_cmd * cmd) send_seeprom_cmd() argument 138 reset_seeprom(struct seeprom_descriptor * sd) reset_seeprom() argument 156 ahc_read_seeprom(struct seeprom_descriptor * sd,uint16_t * buf,u_int start_addr,u_int count) ahc_read_seeprom() argument 228 ahc_write_seeprom(struct seeprom_descriptor * sd,uint16_t * buf,u_int start_addr,u_int count) ahc_write_seeprom() argument [all...] |
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | smc93cx6.c | 15 * 1. Redistributions of source code must retain the above copyright 34 * ------------------------------------------------------------------- 35 * READ 1 10 A5 - A0 Reads data stored in memory, 37 * EWEN 1 00 11XXXX Write enable must precede 39 * ERASE 1 11 A5 - A0 Erase register A5A4A3A2A1A0 40 * WRITE 1 01 A5 - A0 D15 - D0 Writes register 41 * ERAL 1 00 10XXXX Erase all registers 42 * WRAL 1 00 01XXXX D15 - D0 Writes to all registers 43 * EWDS 1 00 00XXXX Disables all programming 52 * 1 usec, with the clock high and low a minimum of 750 and 250 nsec [all …]
|
H A D | smc93cx6var.h | 17 * 1. Redistributions of source code must retain the above copyright 73 * This function will read count 16-bit words from the serial EEPROM and 78 * CS - Chip select 79 * CK - Clock 80 * DO - Data out 81 * DI - Data in 82 * RDY - SEEPROM ready 83 * MS - Memory port mode select 85 * A failed read attempt returns 0, and a successful read returns 1. 88 #define SEEPROM_INB(sd) \ argument [all …]
|
/freebsd/sys/riscv/vmm/ |
H A D | vmm_switch.S | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 14 * 1. Redistributions of source code must retain the above copyright 42 sd ra, (HYP_H_RA)(a0) 43 sd sp, (HYP_H_SP)(a0) 44 sd tp, (HYP_H_TP)(a0) 45 sd gp, (HYP_H_GP)(a0) 46 sd s0, (HYP_H_S + 0 * 8)(a0) 47 sd s1, (HYP_H_S + 1 * 8)(a0) 48 sd s2, (HYP_H_S + 2 * 8)(a0) [all …]
|
/freebsd/sys/geom/raid/ |
H A D | tr_raid1e.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 49 #define RAID1E_REBUILD_SLAB (1 << 20) /* One transation in a rebuild */ 55 #define RAID1E_REBUILD_FAIR_IO 20 /* use 1/x of the available I/O */ 67 #define RAID1E_REBUILD_META_UPDATE 1024 /* update meta data every 1GB or so */ 76 #define TR_RAID1E_REBUILD 1 128 .trc_enable = 1, 130 .trc_accept_unmapped = 1 135 struct g_raid_subdisk *sd); [all …]
|
H A D | tr_raid1.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 47 #define RAID1_REBUILD_SLAB (1 << 20) /* One transation in a rebuild */ 53 #define RAID1_REBUILD_FAIR_IO 20 /* use 1/x of the available I/O */ 65 #define RAID1_REBUILD_META_UPDATE 1024 /* update meta data every 1GB or so */ 74 #define TR_RAID1_REBUILD 1 124 .trc_enable = 1, 126 .trc_accept_unmapped = 1 131 struct g_raid_subdisk *sd); [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | exception.S | 1 /*- 2 * Copyright (c) 2015-2018 Ruslan Bukin <br@bsdpad.com> 7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 16 * 1. Redistributions of source code must retain the above copyright 42 addi sp, sp, -(TF_SIZE) 44 sd ra, (TF_RA)(sp) 45 sd tp, (TF_TP)(sp) 46 sd gp, (TF_GP)(sp) 59 sd t0, (TF_T + 0 * 8)(sp) 60 sd t1, (TF_T + 1 * 8)(sp) [all …]
|
H A D | swtch.S | 1 /*- 2 * Copyright (c) 2015-2017 Ruslan Bukin <br@bsdpad.com> 7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 16 * 1. Redistributions of source code must retain the above copyright 52 sd t0, (PCB_FCSR)(\p) 54 fsd f1, (PCB_X + 1 * 16)(\p) 103 fld f1, (PCB_X + 1 * 16)(\p) 215 sd a0, PC_CURTHREAD(tp) 218 sd x13, PC_CURPCB(tp) 224 /* s[0-11] */ [all …]
|
/freebsd/sys/dev/mmc/ |
H A D | bridge.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * 1. Redistributions of source code must retain the above copyright 27 * the SD Simplified Specification. The following disclaimer may apply: 30 * specification ("Simplified Specification") by the SD Card Association and 31 * the SD Group. The Simplified Specification is a subset of the complete SD 32 * Specification which is owned by the SD Card Association and the SD 33 * Group. This Simplified Specification is provided on a non-confidential 35 * Simplified Specification may require a license from the SD Card 36 * Association, SD Group, SD-3C LLC or other third parties. [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMInstrVFP.td | 1 //===-- ARMInstrVFP.td - VFP support for ARM ---------------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 13 def SDT_CMPFP0 : SDTypeProfile<0, 1, [SDTCisFP<0>]>; 14 def SDT_VMOVDRR : SDTypeProfile<1, 2, [SDTCisVT<0, f64>, SDTCisVT<1, i32>, 15 SDTCisSameAs<1, 2>]>; 16 def SDT_VMOVRRD : SDTypeProfile<2, 1, [SDTCisVT<0, i32>, SDTCisSameAs<0, 1>, 19 def SDT_VMOVSR : SDTypeProfile<1, 1, [SDTCisVT<0, f32>, SDTCisVT<1, i32>]>; 30 def SDT_VMOVhr : SDTypeProfile<1, 1, [SDTCisFP<0>, SDTCisVT<1, i32>] >; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/ |
H A D | specfs.c | 47 if (mdb_readvar(&stablesz, "stablesz") == -1) { in snode_walk_init() 55 if (mdb_lookup_by_name("stable", &sym) == -1) { in snode_walk_init() 62 if (mdb_vread(&sp, sizeof (sp), stable) == -1) { in snode_walk_init() 68 sw->sw_stablesz = stablesz; in snode_walk_init() 69 sw->sw_stable = stable; in snode_walk_init() 71 wsp->walk_addr = sp; in snode_walk_init() 72 wsp->walk_data = sw; in snode_walk_init() 80 uintptr_t addr = wsp->walk_addr; in snode_walk_step() 81 snode_walk_data_t *sw = wsp->walk_data; in snode_walk_step() 86 if (--sw->sw_stablesz == 0) in snode_walk_step() [all …]
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 29 * (To/from NT/ZFS-style ACLs.) 64 #define NT_SD_REVISION 1 97 sz = I_SID_SIZE(sid->sid_subauthcount); in ifree_sid() 121 sid->sid_revision = revision; in md_get_sid() 122 sid->sid_subauthcount = subauthcount; in md_get_sid() 123 ERRCHK(md_get_mem(mdp, sid->sid_authority, 6, MB_MSYSTEM)); in md_get_sid() 125 subauthp = &sid->sid_subauthvec[0]; in md_get_sid() 149 ERRCHK(mb_put_uint8(mbp, sid->sid_revision)); in mb_put_sid() 150 ERRCHK(mb_put_uint8(mbp, sid->sid_subauthcount)); in mb_put_sid() 151 ERRCHK(mb_put_mem(mbp, sid->sid_authority, 6, MB_MSYSTEM)); in mb_put_sid() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | tpgs.c | 30 * NOTE: for non-sequential devices only. 47 #define STD_FO_CMD_RETRY_DELAY 1000000 /* 1 seconds */ 59 std_device_probe(struct scsi_device *sd, struct scsi_inquiry *inq, in std_device_probe() argument 65 inq->inq_vid)); in std_device_probe() 67 if (inq->inq_tpgs == TPGS_FAILOVER_NONE) { in std_device_probe() 73 if (inq->inq_dtype == DTYPE_SEQUENTIAL) { in std_device_probe() 81 if (vhci_tpgs_get_target_fo_mode(sd, &mode, &state, &xlf, &preferred)) { in std_device_probe() 83 "mode: sd(%p)", (void *) sd)); in std_device_probe() 87 if (inq->inq_tpgs == TPGS_FAILOVER_IMPLICIT) { in std_device_probe() 88 VHCI_DEBUG(1, (CE_NOTE, NULL, in std_device_probe() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | socionext,uniphier-sd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/socionext,uniphier-sd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UniPhier SD/SDIO/eMMC controller 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 14 description: version 2.91, 3.1, 3.1.1, respectively 16 - socionext,uniphier-sd-v2.91 17 - socionext,uniphier-sd-v3.1 18 - socionext,uniphier-sd-v3.1.1 [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 39 * macro for filling in lun value for scsi-1 support 42 #define FILL_SCSI1_LUN(sd, pkt) \ argument 43 if ((sd->sd_address.a_lun > 0) && \ 44 (sd->sd_inq->inq_ansi == 0x1)) { \ 45 ((union scsi_cdb *)(pkt)->pkt_cdbp)->scc_lun = \ 46 sd->sd_address.a_lun; \ 91 static int check_vpd_page_support8083(struct scsi_device *sd, 93 static int send_scsi_INQUIRY(struct scsi_device *sd, 99 * this int-array HBA-node property keeps track of strictly SCSI-2 102 #define SS2_LUN0_TGT_LIST_PROP "ss2-targets" [all …]
|
/freebsd/lib/libc/riscv/gen/ |
H A D | setjmp.S | 1 /*- 2 * Copyright (c) 2015-2016 Ruslan Bukin <br@bsdpad.com> 7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 16 * 1. Redistributions of source code must retain the above copyright 39 addi sp, sp, -(2 * 8) 40 sd a0, 0(sp) 41 sd ra, 8(sp) 46 li a0, 1 /* SIG_BLOCK */ 55 sd t0, (0 * 8)(a0) 56 sd sp, (1 * 8)(a0) [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | suspend_on_probe_errors.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 35 # 1. Disable ZED -- this test is focused on vdev_probe errors 51 if [[ "$(cat /sys/block/$sd/device/state)" == "offline" ]]; then 52 log_must eval "echo running > /sys/block/$sd/device/state" 55 rm -f $DATA_FILE 56 for i in {0..$((FILE_VDEV_CNT - 1))}; do 57 log_must rm -f "$TEST_BASE_DIR/dev-$i" 69 zpool events -c [all …]
|
/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_sd.c | 2 * Copyright 2008-2023 The OpenSSL Project Authors. All Rights Reserved. 29 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_signed) { in cms_get0_signed() 33 return cms->d.signedData; in cms_get0_signed() 38 if (cms->d.other == NULL) { in cms_signed_data_init() 39 cms->d.signedData = M_ASN1_new_of(CMS_SignedData); in cms_signed_data_init() 40 if (!cms->d.signedData) { in cms_signed_data_init() 44 cms->d.signedData->version = 1; in cms_signed_data_init() 45 cms->d.signedData->encapContentInfo->eContentType = in cms_signed_data_init() 47 cms->d.signedData->encapContentInfo->partial = 1; in cms_signed_data_init() 48 ASN1_OBJECT_free(cms->contentType); in cms_signed_data_init() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 23 * Copyright (c) 1997-2001 by Sun Microsystems, Inc. 30 * Simple backend to provide the ability to perform i/o reads from an in-memory 31 * string. This allows us to mdb_eval() a string -- by creating an i/o object 49 str_data_t *sd = io->io_data; in strio_read() local 50 size_t left = sd->str_base + sd->str_len - sd->str_ptr; in strio_read() 54 (void) strncpy(buf, sd->str_ptr, obytes); in strio_read() 55 sd->str_ptr += obytes; in strio_read() 65 str_data_t *sd = io->io_data; in strio_seek() local 68 if (io->io_next != NULL) in strio_seek() 69 return (IOP_SEEK(io->io_next, offset, whence)); in strio_seek() [all …]
|
/freebsd/sys/dev/sdio/ |
H A D | sdio_subr.c | 1 /*- 3 * Copyright (c) 2018-2019 The FreeBSD Foundation 11 * 1. Redistributions of source code must retain the above copyright 30 * the SD Simplified Specification. The following disclaimer may apply: 33 * specification ("Simplified Specification") by the SD Card Association and 34 * the SD Group. The Simplified Specification is a subset of the complete SD 35 * Specification which is owned by the SD Card Association and the SD 36 * Group. This Simplified Specification is provided on a non-confidential 38 * Simplified Specification may require a license from the SD Card 39 * Association, SD Group, SD-3C LLC or other third parties. [all …]
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | acl_api.c | 61 /* Sanity check SD sizes */ 70 * Get/set a Windows security descriptor (SD) 72 * Note: Get allocates mbp->mb_top 87 m = mbp->mb_top; in smbfs_acl_iocget() 90 iocb.alloc = m->m_maxlen; in smbfs_acl_iocget() 102 m->m_len = iocb.used; in smbfs_acl_iocget() 119 error = m_lineup(mbp->mb_top, &m); in smbfs_acl_iocset() 123 if (mbp->mb_top != m) in smbfs_acl_iocset() 128 iocb.alloc = m->m_maxlen; in smbfs_acl_iocset() 129 iocb.used = m->m_len; in smbfs_acl_iocset() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | unix_socket_detach2.sh | 10 # 1. Redistributions of source code must retain the above copyright 32 # "panic: __rw_wlock_hard: recursing but non-recursive rw unp_link_rwlock @ 62 done_testing = 1; 68 int one, sd; 71 sd = socket(PF_LOCAL, SOCK_STREAM, 0); 72 if (sd < 0) 73 err(1, "socket"); 74 one = 1; 75 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one, 77 err(1, "setsockopt"); [all …]
|
H A D | unix_socket_detach.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 11 # 1. Redistributions of source code must retain the above copyright 33 # "panic: __rw_wlock_hard: recursing but non-recursive rw unp_link_rwlock @ 65 int sd, flags, one; 76 err(1, "fork"); 80 sd = socket(PF_LOCAL, SOCK_STREAM, 0); 81 if (sd < 0) 82 err(1, "socket"); 83 one = 1; 84 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one, [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2014-2016 Ilya Bakulin. All rights reserved. 9 * 1. Redistributions of source code must retain the above copyright 27 * the SD Simplified Specification. The following disclaimer may apply: 30 * specification ("Simplified Specification") by the SD Card Association and 31 * the SD Group. The Simplified Specification is a subset of the complete SD 32 * Specification which is owned by the SD Card Association and the SD 33 * Group. This Simplified Specification is provided on a non-confidential 35 * Simplified Specification may require a license from the SD Card [all …]
|