Home
last modified time | relevance | path

Searched refs:count (Results 101 – 125 of 4379) sorted by relevance

12345678910>>...176

/freebsd/sys/dev/ixgbe/
H A Dixgbe.h472 #define IXGBE_SET_IPACKETS(sc, count) (sc)->ipackets = (count) argument
473 #define IXGBE_SET_IERRORS(sc, count) (sc)->ierrors = (count) argument
474 #define IXGBE_SET_OPACKETS(sc, count) (sc)->opackets = (count) argument
475 #define IXGBE_SET_OERRORS(sc, count) (sc)->oerrors = (count) argument
476 #define IXGBE_SET_COLLISIONS(sc, count) argument
477 #define IXGBE_SET_IBYTES(sc, count) (sc)->ibytes = (count) argument
478 #define IXGBE_SET_OBYTES(sc, count) (sc)->obytes = (count) argument
479 #define IXGBE_SET_IMCASTS(sc, count) (sc)->imcasts = (count) argument
480 #define IXGBE_SET_OMCASTS(sc, count) (sc)->omcasts = (count) argument
481 #define IXGBE_SET_IQDROPS(sc, count) (sc)->iqdrops = (count) argument
/freebsd/contrib/expat/tests/
H A Dstructdata.c74 storage->count = 0; in StructData_Init()
86 if (storage->count == storage->max_count) { in StructData_AddItem()
96 entry = &storage->entries[storage->count]; in StructData_AddItem()
101 storage->count++; in StructData_AddItem()
109 int count) { in StructData_CheckItems() argument
114 if (count != storage->count) { in StructData_CheckItems()
116 "wrong number of entries: got %d, expected %d", storage->count, in StructData_CheckItems()
117 count); in StructData_CheckItems()
121 for (int i = 0; i < count; i++) { in StructData_CheckItems()
152 for (i = 0; i < storage->count; i++) in StructData_Dispose()
[all …]
/freebsd/tests/sys/geom/class/eli/
H A Donetime_test.sh14 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
16 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
18 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5`
20 md_edev=`dd if=/dev/${md} bs=${secsize} count=${sectors} status=none | md5`
43 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
64 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
66 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5`
86 atf_check dd if=/dev/random of=rnd bs=$MAX_SECSIZE count=$sectors \
144 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
157 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
[all …]
/freebsd/lib/libc/softfloat/bits32/
H A Dsoftfloat-macros46 if ( count == 0 ) {
50 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 );
63 of `count' can be arbitrarily large; in particular, if `count' is greater
75 if ( count == 0 ) {
84 z1 = ( count < 64 ) ? ( a0>>( count & 31 ) ) : 0;
161 int16 count,
222 ( count == 0 ) ? a0 : ( a0<<count ) | ( a1>>( ( - count ) & 31 ) );
240 int16 count,
249 z2 = a2<<count;
250 z1 = a1<<count;
[all …]
/freebsd/sys/ddb/
H A Ddb_examine.c59 if (count == -1) in db_examine_cmd()
60 count = 1; in db_examine_cmd()
62 db_examine((db_addr_t) addr, db_examine_format, count); in db_examine_cmd()
66 db_examine(db_addr_t addr, char *fmt, int count) in db_examine() argument
74 while (--count >= 0 && !db_pager_quit) { in db_examine()
259 db_expr_t count; in db_search_cmd() local
301 if (!db_expression(&count)) { in db_search_cmd()
308 count = -1; /* effectively forever */ in db_search_cmd()
312 db_search(addr, size, value, mask, count); in db_search_cmd()
317 unsigned int count) in db_search() argument
[all …]
H A Ddb_break.c120 db_addr_t addr, int count) in db_set_breakpoint() argument
138 bkpt->init_count = count; in db_set_breakpoint()
139 bkpt->count = count; in db_set_breakpoint()
299 if (count == -1) in db_breakpoint_cmd()
300 count = 1; in db_breakpoint_cmd()
303 count); in db_breakpoint_cmd()
314 if (count == -1) in db_deletehbreak_cmd()
315 count = 1; in db_deletehbreak_cmd()
332 if (count == -1) in db_hbreakpoint_cmd()
333 count = 1; in db_hbreakpoint_cmd()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_ioc32.c271 s32->count = stats.count; in compat_drm_getstats()
296 buf.count = b32->count; in compat_drm_addbufs()
307 b32->count = buf.count; in compat_drm_addbufs()
346 count = req32->count; in compat_drm_infobufs()
357 request->count = count; in compat_drm_infobufs()
367 to[i].count = list[i].count; in compat_drm_infobufs()
403 count = req32->count; in compat_drm_mapbufs()
414 request->count = count; in compat_drm_mapbufs()
447 request.count = req32->count; in compat_drm_freebufs()
500 res.count = res32->count; in compat_drm_resctx()
[all …]
/freebsd/lib/libc/stdlib/
H A Dheapsort.c56 #define SWAP(a, b, count, size, tmp) { \ argument
57 count = size; \
62 } while (--count); \
66 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument
67 count = size; \
72 } while (--count); \
82 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ argument
93 SWAP(par, child, count, size, tmp); \
122 COPY(par, child, count, size, tmp1, tmp2); \
130 COPY(child, k, count, size, tmp1, tmp2); \
[all …]
/freebsd/contrib/dialog/
H A Dargv.c64 size_t count = 0; in dlg_string_to_argv() local
73 result[count] = param; in dlg_string_to_argv()
75 ++count; in dlg_string_to_argv()
110 result[count] = param; in dlg_string_to_argv()
112 ++count; in dlg_string_to_argv()
125 if (count) { in dlg_string_to_argv()
126 result = dlg_calloc(char *, count + 1); in dlg_string_to_argv()
159 dlg_eat_argv(int *argcp, char ***argvp, int start, int count) in dlg_eat_argv() argument
163 *argcp -= count; in dlg_eat_argv()
165 (*argvp)[k] = (*argvp)[k + count]; in dlg_eat_argv()
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Di111 pass in on ed0(!) inet proto tcp from 127.0.0.1/32 to 127.0.0.1/32 port = 23 keep state # count 0
2 block in log first on lo0(!) proto tcp/udp from any to any port = 7 keep state # count 0
5 pass in inet proto udp from 127.0.0.1/32 to 127.0.0.1/32 port = 53 keep state keep frags # count 0
6 pass in on ed0(!) out-via vx0(!) proto udp from any to any keep state # count 0
7 pass out on ppp0(!) in-via le0(!) proto tcp from any to any keep state # count 0
8 pass in on ed0(!),vx0(!) out-via vx0(!),ed0(!) proto udp from any to any keep state # count 0
9 pass in inet proto tcp from any port > 1024 to 127.0.0.1/32 port = 1024 keep state # count 0
10 …om any to any flags S/FSRPAU keep state (limit 101,strict,newisn,no-icmp-err,age 600/600) # count 0
11 …rom any to any flags S/FSRPAU keep state (limit 101,loose,newisn,no-icmp-err,age 600/600) # count 0
12 pass in proto udp from any to any keep state (sync,age 10/20) # count 0
/freebsd/contrib/elftoolchain/libelf/
H A Delf_strptr.c46 uint64_t alignment, count; in elf_strptr() local
93 count = (uint64_t) 0; /* cumulative count of bytes seen */ in elf_strptr()
94 while ((d = elf_getdata(s, d)) != NULL && count <= offset) { in elf_strptr()
109 count = roundup2(count, alignment); in elf_strptr()
112 if (offset < count) { in elf_strptr()
118 if (offset < count + d->d_size) { in elf_strptr()
121 offset - count); in elf_strptr()
126 count += d->d_size; in elf_strptr()
/freebsd/contrib/ldns/ldns/
H A Dbuffer.h185 ldns_buffer_skip(ldns_buffer *buffer, ssize_t count) in ldns_buffer_skip() argument
187 assert(buffer->_position + count <= buffer->_limit); in ldns_buffer_skip()
188 buffer->_position += count; in ldns_buffer_skip()
337 return count <= ldns_buffer_remaining_at(buffer, at); in ldns_buffer_available_at()
362 assert(ldns_buffer_available_at(buffer, at, count)); in ldns_buffer_write_at()
363 memcpy(buffer->_data + at, data, count); in ldns_buffer_write_at()
376 buffer->_position += count; in ldns_buffer_write()
518 assert(ldns_buffer_available_at(buffer, at, count)); in ldns_buffer_read_at()
519 memcpy(data, buffer->_data + at, count); in ldns_buffer_read_at()
531 ldns_buffer_read_at(buffer, buffer->_position, data, count); in ldns_buffer_read()
[all …]
/freebsd/sys/dev/usb/controller/
H A Dmusb_otg.c402 uint16_t count; in musbotg_dev_ctrl_setup_rx() local
637 uint16_t count; in musbotg_dev_ctrl_data_rx() local
743 count -= temp; in musbotg_dev_ctrl_data_rx()
778 uint16_t count; in musbotg_dev_ctrl_data_tx() local
859 count -= temp; in musbotg_dev_ctrl_data_tx()
894 uint16_t count; in musbotg_host_ctrl_data_rx() local
1072 uint16_t count; in musbotg_host_ctrl_data_tx() local
1432 uint16_t count; in musbotg_dev_data_rx() local
1580 uint16_t count; in musbotg_dev_data_tx() local
1707 uint16_t count; in musbotg_host_data_rx() local
[all …]
/freebsd/contrib/telnet/telnet/
H A Dring.c98 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init() argument
102 ring->size = count; in ring_init()
155 ring_supplied(Ring *ring, int count) in ring_supplied() argument
165 ring_consumed(Ring *ring, int count) in ring_consumed() argument
167 if (count == 0) /* don't update anything */ in ring_consumed()
176 ring->clearto <= ring->consume + count) in ring_consumed()
178 else if (ring->consume + count > ring->top && in ring_consumed()
180 ring->bottom + ((ring->consume + count) - ring->top)) in ring_consumed()
275 while (count) { in ring_supply_data()
276 i = MIN(count, ring_empty_consecutive(ring)); in ring_supply_data()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_006_pos.ksh82 typeset -i count=0
118 vdev=${TESTDIR}/file.$count
120 log_must create_vdevs ${TESTDIR}/file.$count
121 create_pool "$TESTPOOL1" "${TESTDIR}/file.$count"
124 while (( count < vdevs_num )); do # minus 1 to avoid space non-enough
125 (( count = count + 1 ))
126 log_must create_vdevs ${TESTDIR}/file.$count
127 vdevs_list="$vdevs_list ${TESTDIR}/file.$count"
/freebsd/contrib/unbound/util/
H A Dtimehist.c81 hist->buckets[i].count = 0; in dosetup()
115 hist->buckets[i].count = 0; in timehist_clear()
123 hist->buckets[i].count++; in timehist_insert()
128 hist->buckets[hist->num-1].count++; in timehist_insert()
136 if(hist->buckets[i].count != 0) { in timehist_print()
142 (unsigned)hist->buckets[i].count); in timehist_print()
159 if(hist->buckets[i].count != 0) { in timehist_log()
165 (unsigned)hist->buckets[i].count); in timehist_log()
177 res += hist->buckets[i].count; in timehist_count()
198 passed += (double)hist->buckets[i++].count; in timehist_quartile()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c413 *count += 1; in print_data_handler()
455 *count += 1; in print_device_handler()
486 *count += 1; in print_delay_handler()
510 *count += 1; in print_panic_handler()
535 *count += 1; in print_pool_delay_handler()
554 if (count > 0) { in print_all_handlers()
555 total += count; in print_all_handlers()
557 count = 0; in print_all_handlers()
564 count = 0; in print_all_handlers()
571 count = 0; in print_all_handlers()
[all …]
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c76 u_long count);
571 while (count > 0) { in fatchain()
647 if (len >= count) { in chainlength()
648 len = count; in chainlength()
654 if (len >= count) in chainlength()
703 start, count); in chainalloc()
708 *got = count; in chainalloc()
745 if ((len = chainlength(pmp, start, count)) >= count) in clusteralloc1()
759 if ((l = chainlength(pmp, cn, count)) >= count) in clusteralloc1()
776 if ((l = chainlength(pmp, cn, count)) >= count) in clusteralloc1()
[all …]
/freebsd/contrib/libxo/tests/core/saved/
H A Dtest_08.E.out8 op content: [count] [1412] [0x20]
12 op content: [count] [85] [0x20]
16 op content: [count] [0] [0x20]
20 op content: [count] [4123] [0x20]
24 op content: [count] [17] [0x20]
38 op content: [count] [85] [0x20]
42 op content: [count] [0] [0x20]
50 op content: [count] [17] [0x20]
64 op content: [count] [85] [0x20]
68 op content: [count] [0] [0x20]
[all …]
/freebsd/usr.sbin/rmt/
H A Drmt.c113 getstring(count); in main()
115 DEBUG2("rmtd: L %s %s\n", count, pos); in main()
122 getstring(count); in main()
123 n = atoi(count); in main()
124 DEBUG1("rmtd: W %s\n", count); in main()
139 getstring(count); in main()
140 DEBUG1("rmtd: R %s\n", count); in main()
141 n = atoi(count); in main()
153 getstring(count); in main()
154 DEBUG2("rmtd: I %s %s\n", op, count); in main()
[all …]
/freebsd/usr.bin/from/
H A Dfrom.c50 int ch, count, newline; in main() local
60 count = -1; in main()
64 count = 0; in main()
111 if (count != -1) in main()
112 count++; in main()
118 if (count != -1) in main()
120 count == 1 ? "is" : "are", count, count == 1 ? "" : "s"); in main()
/freebsd/crypto/heimdal/lib/krb5/
H A Dnet_write.c58 ssize_t count; in krb5_net_write_block() local
85 count = send (fd, cbuf, rem, 0); in krb5_net_write_block()
87 if (rk_IS_SOCKET_ERROR(count)) { in krb5_net_write_block()
101 count = write (fd, cbuf, rem); in krb5_net_write_block()
103 if (count < 0) { in krb5_net_write_block()
107 return count; in krb5_net_write_block()
112 cbuf += count; in krb5_net_write_block()
113 rem -= count; in krb5_net_write_block()
/freebsd/contrib/tcp_wrappers/
H A Dvfprintf.c28 int count = 0; in vfprintf() local
38 count++; in vfprintf()
88 count += fprintf(fp, fmt, va_arg(ap, char *)); in vfprintf()
96 count += fprintf(fp, fmt, va_arg(ap, long)); in vfprintf()
98 count += fprintf(fp, fmt, va_arg(ap, int)); in vfprintf()
103 count += fprintf(fp, fmt, va_arg(ap, double)); in vfprintf()
107 count++; in vfprintf()
112 return (count); in vfprintf()
/freebsd/sys/dev/qlxgb/
H A Dqla_misc.c207 int count = 100; in qla_rdwr_indreg32() local
234 count--; in qla_rdwr_indreg32()
235 if (!count) { in qla_rdwr_indreg32()
328 count--; in qla_rd_flash32()
329 if (!count) { in qla_rd_flash32()
442 count = count << 1; in qla_crb_init()
503 for (count = 0; count < 0x20000 ; ) { in qla_load_fw_from_flash()
505 count = count + 4; in qla_load_fw_from_flash()
509 count = count + 4; in qla_load_fw_from_flash()
513 count = count + 4; in qla_load_fw_from_flash()
[all …]
/freebsd/contrib/libucl/tests/
H A Dtest_msgpack.c207 int count, i; in ucl_test_integer() local
214 for (i = 0; i < count; i ++) { in ucl_test_integer()
253 int count, i; in ucl_test_string() local
260 for (i = 0; i < count; i ++) { in ucl_test_string()
306 int count, i; in ucl_test_boolean() local
322 int count, i; in ucl_test_map() local
368 int count, i; in ucl_test_large_map() local
374 count = 65537; in ucl_test_large_map()
394 int count, i; in ucl_test_array() local
429 int count, i; in ucl_test_large_array() local
[all …]

12345678910>>...176