/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | ring.h | 67 ring_init (Ring *ring, unsigned char *buffer, int count); 71 ring_supply_data (Ring *ring, unsigned char *buffer, int count); 74 ring_consume_data (Ring *ring, unsigned char *buffer, int count); 79 ring_supplied (Ring *ring, int count), 80 ring_consumed (Ring *ring, int count);
|
/freebsd-13-stable/contrib/telnet/telnet/ |
H A D | ring.h | 72 ring_init(Ring *ring, unsigned char *buffer, int count); 76 ring_supply_data(Ring *ring, unsigned char *buffer, int count); 79 ring_consume_data(Ring *ring, unsigned char *buffer, int count); 84 ring_supplied(Ring *ring, int count), 85 ring_consumed(Ring *ring, int count);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/features/async_destroy/ |
H A D | async_destroy_001_pos.ksh | 61 log_must dd bs=1024k count=128 if=/dev/zero of=/$TEST_FS/file 77 count=0 79 [[ "0" != "$(zpool list -Ho freeing $TESTPOOL)" ]] && ((count++)) 80 [[ $count -gt 1 ]] && break 84 [[ $count -eq 0 ]] && log_fail "Freeing property remained empty"
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_bufring.c | 40 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) argument 44 KASSERT(powerof2(count), ("buf ring must be size power of 2")); 46 br = malloc(sizeof(struct buf_ring) + count*sizeof(caddr_t), 53 br->br_prod_size = br->br_cons_size = count; 54 br->br_prod_mask = br->br_cons_mask = count-1;
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | bus_space_generic.c | 305 bus_size_t offset, uint8_t *addr, size_t count) 308 while (count--) 314 bus_size_t offset, uint16_t *addr, size_t count) 318 while (count--) 324 bus_size_t offset, uint32_t *addr, size_t count) 328 while (count--) 334 uint64_t *addr, size_t count) 339 while (count--) 347 * Read `count' 1, 2, 4, or 8 byte quantities from bus space 353 bus_size_t offset, uint8_t *addr, size_t count) 304 generic_bs_rm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t *addr, size_t count) argument 313 generic_bs_rm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 323 generic_bs_rm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 333 generic_bs_rm_8(void *t, bus_space_handle_t bsh, bus_size_t offset, uint64_t *addr, size_t count) argument 352 generic_bs_rr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t *addr, size_t count) argument 364 generic_bs_rr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 376 generic_bs_rr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 388 generic_bs_rr_8(void *t, bus_space_handle_t bsh, bus_size_t offset, uint64_t *addr, size_t count) argument 448 generic_bs_wm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint8_t *addr, size_t count) argument 458 generic_bs_wm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 468 generic_bs_wm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 478 generic_bs_wm_8(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint64_t *addr, size_t count) argument 496 generic_bs_wr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint8_t *addr, size_t count) argument 508 generic_bs_wr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 520 generic_bs_wr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 532 generic_bs_wr_8(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint64_t *addr, size_t count) argument 552 generic_bs_sm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t value, size_t count) argument 562 generic_bs_sm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 572 generic_bs_sm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument 582 generic_bs_sm_8(void *t, bus_space_handle_t bsh, bus_size_t offset, uint64_t value, size_t count) argument 600 generic_bs_sr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t value, size_t count) argument 610 generic_bs_sr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 620 generic_bs_sr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument 630 generic_bs_sr_8(void *t, bus_space_handle_t bsh, bus_size_t offset, uint64_t value, size_t count) argument 648 generic_bs_c_1(void *t, bus_space_handle_t bsh1, bus_size_t off1, bus_space_handle_t bsh2, bus_size_t off2, size_t count) argument 668 generic_bs_c_2(void *t, bus_space_handle_t bsh1, bus_size_t off1, bus_space_handle_t bsh2, bus_size_t off2, size_t count) argument 688 generic_bs_c_4(void *t, bus_space_handle_t bsh1, bus_size_t off1, bus_space_handle_t bsh2, bus_size_t off2, size_t count) argument 708 generic_bs_c_8(void *t, bus_space_handle_t bsh1, bus_size_t off1, bus_space_handle_t bsh2, bus_size_t off2, size_t count) argument [all...] |
/freebsd-13-stable/sys/xen/ |
H A D | gntdev.h | 44 * - `count`, with the number of pages to share with the foreign domain 48 * (sizeof(struct ioctl_gntdev_alloc_gref) + (count - 1)*sizeof(uint32_t)) 75 * - `count`, as the number of foreign grants to map 93 * 5. IOCTL_GNTDEV_GET_OFFSET_FOR_VADDR ioctl gives index and count of 138 uint32_t count; member in struct:ioctl_gntdev_alloc_gref 152 uint32_t count; member in struct:ioctl_gntdev_dealloc_gref 166 uint32_t count; member in struct:ioctl_gntdev_map_grant_ref 179 uint32_t count; member in struct:ioctl_gntdev_unmap_grant_ref 189 uint32_t count; member in struct:ioctl_gntdev_get_offset_for_vaddr
|
/freebsd-13-stable/lib/libc/stdio/ |
H A D | fread.c | 55 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument 60 ret = __fread(buf, size, count, fp); 66 __fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument 74 * ANSI and SUSv2 require a return value of 0 if size or count are 0. 76 if ((count == 0) || (size == 0)) 81 * at least one of {count, size} is at least 2^16, since if both 85 if (((count | size) > 0xFFFF) && 86 (count > SIZE_MAX / size)) { 96 resid = count * size; 116 count [all...] |
/freebsd-13-stable/sys/contrib/ck/include/spinlock/ |
H A D | anderson.h | 49 unsigned int count; member in struct:ck_spinlock_anderson 60 unsigned int count) 66 for (i = 1; i < count; i++) { 72 lock->count = count; 73 lock->mask = count - 1; 81 if (count & (count - 1)) 82 lock->wrap = (UINT_MAX % count) + 1; 107 unsigned int count local 58 ck_spinlock_anderson_init(struct ck_spinlock_anderson *lock, struct ck_spinlock_anderson_thread *slots, unsigned int count) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | CF.cpp | 71 uint32_t count = 0; 89 count = process_sp->ReadUnsignedIntegerFromMemory(offset, 4, 0, error); 104 stream.Printf("%s\"%u value%s\"%s", prefix.c_str(), count, 105 (count == 1 ? "" : "s"), suffix.c_str()); 133 uint32_t count = 0; 149 count = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + 2 * ptr_size, 153 uint64_t num_bytes = count / 8 + ((count & 7) ? 1 : 0); 180 count -= 8; 193 if (count) { [all...] |
/freebsd-13-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_get_wch.c | 67 size_t count = 0; local 72 T(("reading %d of %d", (int) count + 1, (int) sizeof(buffer))); 85 if (count != 0) { 90 } else if (count + 1 >= sizeof(buffer)) { 97 buffer[count++] = (char) UChar(value); 99 status = count_mbytes(buffer, count, state); 102 if (check_mbytes(wch, buffer, count, state) != status) {
|
/freebsd-13-stable/sys/dev/syscons/fade/ |
H A D | fade_saver.c | 49 static int count = 0; local 55 if (count <= 0) 57 if (count < 256) { 60 if (palette[i] - count > 60) 61 pal[i] = palette[i] - count; 66 count++; 74 count = 0;
|
/freebsd-13-stable/usr.bin/file2c/ |
H A D | file2c.c | 22 fprintf(stderr, "usage: %s [-sx] [-n count] [prefix [suffix]]\n", 30 int c, count, linepos, maxcount, pretty, radix; local 56 count = linepos = 0; 58 if (count) { 63 (maxcount > 0 && count >= maxcount)) { 65 count = linepos = 0; 68 if (count) { 86 count++;
|
/freebsd-13-stable/tools/test/testfloat/ |
H A D | testLoops.c | 87 static void writeTestsPerformed( int16 count ) 92 stderr, "\r%d%04d tests performed", tenthousandsCount, count ); 95 fprintf( stderr, "\r%d tests performed", count ); 127 static void writeErrorFound( int16 count ) 137 writeTestsPerformed( count ); 474 int16 count; local 480 count = 10000; 491 --count; 492 if ( count == 0 ) { 494 count 525 int16 count; local 578 int16 count; local 633 int16 count; local 688 int16 count; local 739 int16 count; local 792 int16 count; local 847 int16 count; local 902 int16 count; local 959 int16 count; local 1016 int16 count; local 1073 int16 count; local 1132 int16 count; local 1189 int16 count; local 1246 int16 count; local 1298 int16 count; local 1356 int16 count; local 1413 int16 count; local 1470 int16 count; local 1527 int16 count; local 1586 int16 count; local 1643 int16 count; local 1700 int16 count; local 1752 int16 count; local 1812 int16 count; local 1869 int16 count; local 1926 int16 count; local 1981 int16 count; local 2038 int16 count; local 2095 int16 count; local 2152 int16 count; local 2204 int16 count; local 2266 int16 count; local 2323 int16 count; local 2380 int16 count; local 2435 int16 count; local 2492 int16 count; local 2549 int16 count; local 2606 int16 count; local 2658 int16 count; local [all...] |
/freebsd-13-stable/contrib/elftoolchain/libelf/ |
H A D | elf_strptr.c | 46 uint64_t alignment, count; local 93 count = (uint64_t) 0; /* cumulative count of bytes seen */ 94 while ((d = elf_getdata(s, d)) != NULL && count <= offset) { 109 count = roundup2(count, alignment); 112 if (offset < count) { 118 if (offset < count + d->d_size) { 121 offset - count); 126 count [all...] |
/freebsd-13-stable/sys/dev/syscons/ |
H A D | scvtb.c | 178 sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count) argument 184 count*sizeof(u_int16_t)); 188 count*sizeof(u_int16_t)); 192 count*sizeof(u_int16_t)); 196 sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int count) argument 203 while (count > 0) { 204 len = imin(count, vtb2->vtb_size - vtb2->vtb_tail); 214 count -= len; 226 sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr) argument 228 if (at + count > vt 237 sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count) argument 254 sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr) argument 280 sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr) argument [all...] |
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_add/ |
H A D | zpool_add_006_pos.ksh | 87 typeset -i count=0 123 vdev=${TESTDIR}/file.$count 125 log_must create_vdevs ${TESTDIR}/file.$count 126 create_pool "$TESTPOOL1" "${TESTDIR}/file.$count" 129 while (( count < vdevs_num )); do # minus 1 to avoid space non-enough 130 (( count = count + 1 )) 131 log_must create_vdevs ${TESTDIR}/file.$count 132 vdevs_list="$vdevs_list ${TESTDIR}/file.$count"
|
/freebsd-13-stable/sbin/dhclient/ |
H A D | alloc.c | 62 new_hash_table(int count) argument 68 (count * sizeof(struct hash_bucket *))); 71 rval->hash_count = count;
|
/freebsd-13-stable/contrib/cortex-strings/src/aarch64/ |
H A D | memmove.S | 71 #define count x2 define 83 #define E_l count 94 cmp count, 96 95 ccmp tmp1, count, 2, hi 99 add dstend, dstin, count 100 add srcend, src, count 110 sub count, count, tmp1 117 subs count, count, 12 [all...] |
/freebsd-13-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | lfsr.h | 34 * It MUST set "count" to a new value or the lfsr will never reseed again. 49 unsigned int count; /*%< reseed count (in BITS!) */ member in struct:isc_lfsr 59 isc_uint32_t tap, unsigned int count, 79 isc_lfsr_generate(isc_lfsr_t *lfsr, void *data, unsigned int count); 81 * Returns "count" bytes of data from the LFSR. 89 *\li count > 0.
|
/freebsd-13-stable/contrib/ntp/lib/isc/ |
H A D | lfsr.c | 35 isc_uint32_t tap, unsigned int count, 45 lfsr->count = count; 49 if (count == 0 && reseed != NULL) 86 isc_lfsr_generate(isc_lfsr_t *lfsr, void *data, unsigned int count) argument 94 REQUIRE(count > 0); 97 byte = count; 109 if (lfsr->count != 0 && lfsr->reseed != NULL) { 110 if (lfsr->count <= count * 34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, isc_uint32_t tap, unsigned int count, isc_lfsrreseed_t reseed, void *arg) argument [all...] |
/freebsd-13-stable/sys/arm64/arm64/ |
H A D | memmove.S | 66 #define count x2 define 78 #define E_l count 94 cmp count, 96 95 ccmp tmp1, count, 2, hi 99 add dstend, dstin, count 100 add srcend, src, count 110 sub count, count, tmp1 117 subs count, count, 12 [all...] |
/freebsd-13-stable/sys/cam/ |
H A D | cam_xpt_sim.h | 45 u_int32_t xpt_freeze_simq(struct cam_sim *sim, u_int count); 47 u_int32_t xpt_freeze_devq(struct cam_path *path, u_int count); 49 u_int count, int run_queue);
|
/freebsd-13-stable/contrib/apr-util/crypto/ |
H A D | apr_sha1.c | 181 /* count is the number of bytes to do an endian flip */ 182 static void maybe_byte_reverse(apr_uint32_t *buffer, int count) argument 188 count /= sizeof(apr_uint32_t); 190 for (i = 0; i < count; ++i) { 222 unsigned int count) 226 if ((sha_info->count_lo + ((apr_uint32_t) count << 3)) < sha_info->count_lo) { 229 sha_info->count_lo += (apr_uint32_t) count << 3; 230 sha_info->count_hi += (apr_uint32_t) count >> 29; 233 if (i > count) { 234 i = count; 220 apr_sha1_update_binary(apr_sha1_ctx_t *sha_info, const unsigned char *buffer, unsigned int count) argument 259 apr_sha1_update(apr_sha1_ctx_t *sha_info, const char *buf, unsigned int count) argument 316 int count, i, j; local [all...] |
/freebsd-13-stable/sys/mips/malta/ |
H A D | gt_pci_bus_space.c | 246 bus_size_t offset, uint16_t *addr, size_t count) 250 while (count--) 256 bus_size_t offset, uint32_t *addr, size_t count) 260 while (count--) 265 * Read `count' 2 or 4 byte quantities from bus space 271 bus_size_t offset, uint16_t *addr, size_t count) 275 while (count--) { 283 bus_size_t offset, uint32_t *addr, size_t count) 287 while (count--) { 314 * Write `count' 245 gt_pci_bs_rm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 255 gt_pci_bs_rm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 270 gt_pci_bs_rr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 282 gt_pci_bs_rr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 318 gt_pci_bs_wm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 328 gt_pci_bs_wm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 342 gt_pci_bs_wr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 354 gt_pci_bs_wr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 370 gt_pci_bs_sm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 380 gt_pci_bs_sm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument 394 gt_pci_bs_sr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 404 gt_pci_bs_sr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument [all...] |
/freebsd-13-stable/sys/dev/ixl/ |
H A D | ixl.h | 277 #define IXL_SET_IPACKETS(vsi, count) (vsi)->ipackets = (count) 278 #define IXL_SET_IERRORS(vsi, count) (vsi)->ierrors = (count) 279 #define IXL_SET_OPACKETS(vsi, count) (vsi)->opackets = (count) 280 #define IXL_SET_OERRORS(vsi, count) (vsi)->oerrors = (count) 281 #define IXL_SET_COLLISIONS(vsi, count) /* Do nothing; collisions is always 0. */ 282 #define IXL_SET_IBYTES(vsi, count) (vs [all...] |