/freebsd-current/tests/sys/cddl/zfs/tests/reservation/ |
H A D | reservation_008_pos.ksh | 85 # hence num=1 rather than zero below. 87 typeset -i num=1 88 while (( $num < $RESV_NUM_FS )); do 89 log_must $ZFS set reservation=$resv_size_set $TESTPOOL/$TESTFS$num 90 (( num = num + 1 )) 100 num=0 101 log_note "Writing to $TESTDIR$num/$TESTFILE1" 103 $FILE_WRITE -o create -f $TESTDIR$num/$TESTFILE1 -b $BLOCK_SIZE \ 112 num [all...] |
/freebsd-current/sys/kern/ |
H A D | posix4_mib.c | 58 #define P1B_SYSCTL(num, name) \ 59 SYSCTL_INT(_p1003_1b, num, name, CTLFLAG_RD | CTLFLAG_CAPRD, \ 60 facility + num - 1, 0, ""); 61 #define P1B_SYSCTL_RW(num, name) \ 62 SYSCTL_PROC(_p1003_1b, num, name, \ 63 CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, NULL, num, \ 70 #define P1B_SYSCTL(num, name) \ 72 facility + num - 1, 0, ""); 73 #define P1B_SYSCTL_RW(num, name) \ 75 num, p31b_sysctl_pro 111 int error, num, val; local 126 p31b_setcfg(int num, int value) argument 136 p31b_unsetcfg(int num) argument 144 p31b_getcfg(int num) argument 153 p31b_iscfg(int num) argument [all...] |
/freebsd-current/contrib/ntp/include/ |
H A D | refidsmear.h | 3 extern uint32_t convertLFPToRefID(l_fp num);
|
/freebsd-current/sys/contrib/device-tree/include/dt-bindings/interrupt-controller/ |
H A D | arm-gic.h | 21 #define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | syscall6.sh | 41 num=`grep SYS_$i /usr/include/sys/syscall.h | tail -1 | awk '{print $NF}'` 42 [ -z "$num" ] && { echo "Unknown syscall $i"; continue; } 43 echo "Testing $i ($num)" 44 USE_ROOT=1 sleeptime=18 ../misc/syscall4.sh $num
|
H A D | sigreturn2.sh | 56 num=`awk '/SYS_sigreturn/ {print $NF}' < $inc` 59 num="$num $old" 63 for i in $num; do
|
/freebsd-current/lib/libc/db/hash/ |
H A D | hash_log2.c | 41 __log2(u_int32_t num) argument 46 for (i = 0; limit < num; limit = limit << 1, i++);
|
/freebsd-current/contrib/ldns/compat/ |
H A D | calloc.c | 15 calloc(size_t num, size_t size) argument 17 void *new = malloc(num * size); 21 bzero(new, num * size);
|
/freebsd-current/contrib/bearssl/src/x509/ |
H A D | encode_rsa_rawder.c | 53 br_asn1_uint num[9]; local 60 num[0] = br_asn1_uint_prepare(NULL, 0); 61 num[1] = br_asn1_uint_prepare(pk->n, pk->nlen); 62 num[2] = br_asn1_uint_prepare(pk->e, pk->elen); 63 num[3] = br_asn1_uint_prepare(d, dlen); 64 num[4] = br_asn1_uint_prepare(sk->p, sk->plen); 65 num[5] = br_asn1_uint_prepare(sk->q, sk->qlen); 66 num[6] = br_asn1_uint_prepare(sk->dp, sk->dplen); 67 num[7] = br_asn1_uint_prepare(sk->dq, sk->dqlen); 68 num[ [all...] |
/freebsd-current/sys/dev/virtio/ |
H A D | virtio_ring.h | 86 unsigned int num; member in struct:vring 101 * looks like this. We assume num is a power of 2. 105 * struct vring_desc desc[num]; 110 * __u16 available[num]; 119 * struct vring_used_elem used[num]; 130 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 131 #define vring_avail_event(vr) (*(uint16_t *)&(vr)->used->ring[(vr)->num]) 134 vring_size(unsigned int num, unsigned long align) argument 138 size = num * sizeof(struct vring_desc); 139 size += sizeof(struct vring_avail) + (num * sizeo 148 vring_init(struct vring *vr, unsigned int num, uint8_t *p, unsigned long align) argument [all...] |
/freebsd-current/lib/libsys/i386/ |
H A D | i386_get_ldt.c | 36 i386_get_ldt(int start, union descriptor *descs, int num) argument 42 p.num = num;
|
H A D | i386_set_ldt.c | 36 i386_set_ldt(int start, union descriptor *descs, int num) argument 42 p.num = num;
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | refidsmear.c | 36 convertLFPToRefID(l_fp num) argument 46 L_ADDUF(&num, 0x200); 47 num.l_ui &= 3; 50 temp = (num.l_ui << 22) | (num.l_uf >> 10);
|
H A D | refnumtoa.c | 12 const sockaddr_u *num 19 if (!ISREFCLOCKADR(num)) 20 return socktoa(num); 23 netnum = SRCADR(num);
|
/freebsd-current/crypto/openssl/crypto/bn/ |
H A D | bn_ppc.c | 16 const BN_ULONG *np, const BN_ULONG *n0, int num) 19 const BN_ULONG *np, const BN_ULONG *n0, int num); 21 const BN_ULONG *np, const BN_ULONG *n0, int num); 23 if (num < 4) 26 if ((num & 3) == 0) 27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num); 37 return bn_mul_mont_int(rp, ap, bp, np, n0, num); 15 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num) argument
|
/freebsd-current/lib/libsecureboot/ |
H A D | veta.c | 51 size_t num; local 53 xcs = read_certificates(trust, &num); 55 num = ve_trust_anchors_add(xcs, num); 59 num = 1; 62 return (num); 78 size_t num; local 82 for (num = 0, de = readdir(dh); de; de = readdir(dh)) { 90 num += trust_file_add(fbuf); 93 return (num); [all...] |
/freebsd-current/lib/libutil/tests/ |
H A D | expand_number_test.c | 38 uint64_t num; local 42 ATF_CHECK_ERRNO(0, (retval = expand_number((string), &num)) == 0); \ 44 ATF_CHECK_EQ(num, (value)); \ 69 uint64_t num; local 71 ATF_CHECK_ERRNO(EINVAL, expand_number("", &num)); 72 ATF_CHECK_ERRNO(EINVAL, expand_number("x", &num)); 73 ATF_CHECK_ERRNO(EINVAL, expand_number("1bb", &num)); 74 ATF_CHECK_ERRNO(EINVAL, expand_number("1x", &num)); 75 ATF_CHECK_ERRNO(EINVAL, expand_number("1kx", &num)); 76 ATF_CHECK_ERRNO(ERANGE, expand_number("16E", &num)); [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_nicenum.c | 61 zfs_nicenum_format(uint64_t num, char *buf, size_t buflen, argument 64 uint64_t n = num; 84 snprintf(buf, buflen, "%llu", (u_longlong_t)num); 86 } else if (format == ZFS_NICENUM_RAWTIME && num > 0) { 87 snprintf(buf, buflen, "%llu", (u_longlong_t)num); 89 } else if (format == ZFS_NICENUM_RAWTIME && num == 0) { 102 if ((format == ZFS_NICENUM_TIME) && (num == 0)) { 104 } else if ((index == 0) || ((num % 124 val = (double)num / 131 * example, if "num" i 153 zfs_nicenum(uint64_t num, char *buf, size_t buflen) argument 163 zfs_nicetime(uint64_t num, char *buf, size_t buflen) argument 172 zfs_niceraw(uint64_t num, char *buf, size_t buflen) argument 181 zfs_nicebytes(uint64_t num, char *buf, size_t buflen) argument [all...] |
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | evp_asn1.c | 36 int ret, num; local 46 num = ret; 48 num = max_len; 49 if (num > 0 && data != NULL) 50 memcpy(data, p, num); 64 long *num, unsigned char *data, int max_len) 68 if (num != NULL) 69 *num = anum; 83 int32_t num; member in struct:__anon3723 88 ASN1_EMBED(asn1_int_oct, num, INT3 63 asn1_type_get_int_oct(ASN1_OCTET_STRING *oct, int32_t anum, long *num, unsigned char *data, int max_len) argument [all...] |
/freebsd-current/crypto/openssl/crypto/camellia/ |
H A D | cmll_cfb.c | 22 * used is contained in *num; 27 unsigned char *ivec, int *num, const int enc) 30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, 37 unsigned char *ivec, int *num, const int enc) 39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, 45 unsigned char *ivec, int *num, const int enc) 47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, 25 Camellia_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument 35 Camellia_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument 43 Camellia_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument
|
/freebsd-current/crypto/openssl/crypto/aes/ |
H A D | aes_cfb.c | 22 * used is contained in *num; 27 unsigned char *ivec, int *num, const int enc) 30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, 37 unsigned char *ivec, int *num, const int enc) 39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, 45 unsigned char *ivec, int *num, const int enc) 47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, 25 AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument 35 AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument 43 AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument
|
/freebsd-current/crypto/openssl/crypto/rand/ |
H A D | rand_meth.c | 15 static int drbg_add(const void *buf, int num, double randomness) argument 19 if (drbg == NULL || num <= 0) 22 return EVP_RAND_reseed(drbg, 0, NULL, 0, buf, num); 26 static int drbg_seed(const void *buf, int num) argument 28 return drbg_add(buf, num, num);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation_008_pos.ksh | 91 # hence num=1 rather than zero below. 93 typeset -i num=1 94 while (($num < $RESV_NUM_FS)); do 95 log_must zfs set reservation=$resv_size_set $TESTPOOL/$TESTFS$num 96 ((num = num + 1)) 106 num=0 107 log_note "Writing to $TESTDIR$num/$TESTFILE1" 109 file_write -o create -f $TESTDIR$num/$TESTFILE1 -b $BLOCK_SIZE \ 118 num [all...] |
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | rand.h | 41 int (*seed) (const void *buf, int num); 42 int (*bytes) (unsigned char *buf, int num); 44 int (*add) (const void *buf, int num, double randomness); 45 int (*pseudorand) (unsigned char *buf, int num); 61 int RAND_bytes(unsigned char *buf, int num); 62 int RAND_priv_bytes(unsigned char *buf, int num); 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 79 OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); 91 void RAND_seed(const void *buf, int num); [all...] |
/freebsd-current/crypto/heimdal/appl/gssmask/ |
H A D | common.h | 71 #define ret16(_client, num) \ 73 if (krb5_ret_int16((_client)->sock, &(num)) != 0) \ 74 errx(1, "krb5_ret_int16 " #num); \ 77 #define ret32(_client, num) \ 79 if (krb5_ret_int32((_client)->sock, &(num)) != 0) \ 80 errx(1, "krb5_ret_int32 " #num); \ 96 #define put32(_client, num) \ 98 if (krb5_store_int32((_client)->sock, num) != 0) \ 99 errx(1, "krb5_store_int32 " #num); \
|