Searched refs:cnt (Results 226 - 250 of 836) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/contrib/x86emu/
H A Dx86emu.c6708 unsigned int res, cnt, mask, cf; local
6724 * The low part is then shifted up cnt bits, and the high part is or'd
6732 if ((cnt = s % 9) != 0) {
6735 cf = (d >> (8 - cnt)) & 0x1;
6742 res = (d << cnt) & 0xff;
6751 mask = (1 << (cnt - 1)) - 1;
6752 res |= (d >> (9 - cnt)) & mask;
6757 res |= 1 << (cnt - 1);
6761 /* OVERFLOW is set *IFF* cnt==1, then it is the xor of CF and
6765 CONDITIONAL_SET_FLAG(cnt
6779 unsigned int res, cnt, mask, cf; local
6804 uint32_t res, cnt, mask, cf; local
6829 uint32_t res, cnt; local
6907 uint32_t res, cnt; local
6940 uint32_t res, cnt; local
6974 unsigned int res, cnt, mask; local
7019 unsigned int res, cnt, mask; local
7045 uint32_t res, cnt, mask; local
7071 unsigned int res, cnt, mask; local
7113 unsigned int res, cnt, mask; local
7137 uint32_t res, cnt, mask; local
7161 unsigned int cnt, res, cf; local
7206 unsigned int cnt, res, cf; local
7247 unsigned int cnt, res, cf; local
7285 unsigned int cnt, res, cf; local
7323 unsigned int cnt, res, cf; local
7361 unsigned int cnt, res, cf; local
7398 unsigned int cnt, res, cf, mask, sf; local
7439 unsigned int cnt, res, cf, mask, sf; local
7480 uint32_t cnt, res, cf, mask, sf; local
7521 unsigned int cnt, res, cf; local
7559 unsigned int cnt, res, cf; local
7597 unsigned int cnt, res, cf; local
7635 unsigned int cnt, res, cf; local
[all...]
/freebsd-12-stable/sys/kern/
H A Dsubr_uio.c212 size_t cnt; local
240 cnt = iov->iov_len;
241 if (cnt == 0) {
246 if (cnt > n)
247 cnt = n;
254 error = copyout(cp, iov->iov_base, cnt);
256 error = copyin(iov->iov_base, cp, cnt);
263 bcopy(cp, iov->iov_base, cnt);
265 bcopy(iov->iov_base, cp, cnt);
270 iov->iov_base = (char *)iov->iov_base + cnt;
[all...]
H A Dvfs_extattr.c179 ssize_t cnt; local
199 cnt = nbytes;
210 cnt -= auio.uio_resid;
211 td->td_retval[0] = cnt;
334 ssize_t cnt; local
350 cnt = 0;
362 cnt = nbytes;
377 cnt -= auio.uio_resid;
378 td->td_retval[0] = cnt;
630 ssize_t cnt; local
[all...]
/freebsd-12-stable/crypto/openssh/regress/
H A Dnetcat.c1457 size_t cnt; local
1491 cnt = atomicio(vwrite, proxyfd, buf, 3);
1492 if (cnt != 3)
1493 err(1, "write failed (%zu/3)", cnt);
1495 cnt = atomicio(read, proxyfd, buf, 2);
1496 if (cnt != 2)
1497 err(1, "read failed (%zu/3)", cnt);
1544 cnt = atomicio(vwrite, proxyfd, buf, wlen);
1545 if (cnt != wlen)
1546 err(1, "write failed (%zu/%zu)", cnt, wle
[all...]
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Dmcm_rereg_test.c149 struct guid_trid *list, unsigned cnt)
156 info("rereg_send_all... cnt = %u\n", cnt);
164 for (i = 0; i < cnt; i++) {
176 info("rereg_send_all: sent %u requests\n", cnt * 2);
207 struct guid_trid *list, unsigned cnt)
238 for (i = 0; i < cnt; i++)
241 if (i == cnt) {
264 struct guid_trid *list, unsigned cnt)
280 for (i = 0; i < cnt;
148 rereg_send_all(int port, int agent, ib_portid_t * dport, struct guid_trid *list, unsigned cnt) argument
206 rereg_recv_all(int port, int agent, ib_portid_t * dport, struct guid_trid *list, unsigned cnt) argument
263 rereg_query_all(int port, int agent, ib_portid_t * dport, struct guid_trid *list, unsigned cnt) argument
[all...]
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/
H A Dsparct4-mont.pl714 ($t0,$t1,$t2,$t3,$cnt,$tp,$bufsz)=map("%l$_",(0..7));
754 sub $num, 24, $cnt ! cnt=num-3
778 brnz,pt $cnt, .L1st
779 sub $cnt, 8, $cnt ! j--
833 sub $num, 24, $cnt ! cnt=num-3
855 brnz,pt $cnt, .Linner
856 sub $cnt,
[all...]
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-l2tp.c740 u_int cnt = 0; /* total octets consumed */ local
780 cnt += 2;
786 cnt += 2;
794 cnt += 2;
798 cnt += 2;
804 cnt += 2;
808 cnt += 2;
815 cnt += (2 + pad);
825 if (length < cnt) {
834 if (length - cnt
[all...]
/freebsd-12-stable/usr.bin/find/
H A Dfunction.c616 int cnt; local
645 for (cnt = 0; plan->e_argv[cnt]; ++cnt)
646 if (plan->e_len[cnt])
647 brace_subst(plan->e_orig[cnt],
648 &plan->e_argv[cnt], file,
649 plan->e_len[cnt]);
702 int cnt, i; local
733 cnt
[all...]
/freebsd-12-stable/usr.bin/localedef/
H A Dwide.c270 int cnt; local
279 cnt = 2;
282 cnt = 3;
285 cnt = 4;
291 for (i = cnt - 1; i; i--) {
296 s[cnt] = 0;
297 return (cnt);
/freebsd-12-stable/usr.sbin/lpr/common_source/
H A Dmatchjobs.c500 int cnt, matched, total; local
518 for (qent = squeue, cnt = 0; cnt < qcount;
519 qent++, cnt++) {
546 for (qent = squeue, cnt = 0; cnt < qcount;
547 qent++, cnt++) {
/freebsd-12-stable/usr.sbin/edquota/
H A Dedquota.c542 int cnt; local
566 cnt = sscanf(cp,
573 if (cnt != 6)
574 cnt = sscanf(cp,
578 if (cnt != 6)
579 cnt = sscanf(cp,
583 if (cnt != 6)
584 cnt = sscanf(cp,
588 if (cnt != 6) {
602 cnt
720 int cnt; local
[all...]
/freebsd-12-stable/sys/arm64/rockchip/
H A Drk_i2c.c133 size_t cnt; member in struct:rk_i2c_softc
219 if (sc->msg == NULL || sc->msg->len == sc->cnt)
222 len = sc->msg->len - sc->cnt;
229 if (sc->cnt == sc->msg->len)
233 if (sc->cnt == 0 && sc->tx_slave_addr) {
237 buf = sc->msg->buf[sc->cnt];
238 sc->cnt++;
245 if (sc->cnt == sc->msg->len)
265 len = sc->msg->len - sc->cnt;
274 sc->msg->buf[sc->cnt
[all...]
/freebsd-12-stable/sys/dev/al_eth/
H A Dal_init_eth_kr.c699 unsigned int cnt; local
721 cnt = 0;
731 cnt++;
735 AL_ETH_AN__LT_LANE_0)) && (cnt <= AL_ETH_KR_LT_MAX_ROUNDS));
741 kr_data->adapter->name, cnt,
743 if (training_failure || cnt > AL_ETH_KR_LT_MAX_ROUNDS) {
747 (cnt > AL_ETH_KR_LT_MAX_ROUNDS) ? "Yes" : "No");
772 cnt = AL_ETH_KR_LT_DONE_TIMEOUT;
777 if ((cnt--) == 0) {
/freebsd-12-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_rng.c245 u_int cnt, nread, num_avail, num_words; local
252 for (cnt = sizeof(sc->sc_buf) / sizeof(uint32_t); cnt > 0;
253 cnt -= num_words) {
282 /* Pull MIN(num_avail, cnt) words from the FIFO */
283 num_words = (num_avail > cnt) ? cnt : num_avail;
290 cnt = nread * sizeof(uint32_t);
291 if (cnt > 0)
292 random_harvest_queue(sc->sc_buf, cnt, RANDOM_PURE_BROADCO
[all...]
/freebsd-12-stable/tools/tools/vhba/
H A Dvhba.c170 uint32_t cnt; local
176 cnt = (((uint32_t)cdb[10]) << 24) |
192 cnt = (((uint32_t)cdb[6]) << 16) |
203 cnt = (((uint32_t)cdb[7]) << 8) |
213 cnt = cdb[4];
214 if (cnt == 0) {
215 cnt = 256;
225 if (lba + cnt > nblks) {
228 *tl = cnt << blk_shift;
/freebsd-12-stable/usr.bin/top/
H A Dcommands.c220 int cnt = 0; local
241 while (cnt < errcnt)
243 errp = &(errs[cnt++]);
359 int cnt = 0; local
363 while (cnt++ < errcnt)
/freebsd-12-stable/usr.sbin/bluetooth/ath3kfw/
H A Dmain.c121 ssize_t cnt, i; local
123 cnt = libusb_get_device_list(ctx, &list);
124 if (cnt < 0) {
127 (long long int) cnt);
134 for (i = 0; i < cnt; i++) {
/freebsd-12-stable/usr.sbin/bluetooth/iwmbtfw/
H A Dmain.c93 ssize_t cnt, i; local
96 cnt = libusb_get_device_list(ctx, &list);
97 if (cnt < 0) {
99 (long long int) cnt);
106 for (i = 0; i < cnt; i++) {
/freebsd-12-stable/sys/dev/ixl/
H A Di40e_lan_hmc.c130 full_obj->cnt = 0;
137 obj->cnt = txq_num;
152 full_obj->cnt += obj->cnt;
157 obj->cnt = rxq_num;
159 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt *
175 full_obj->cnt += obj->cnt;
180 obj->cnt = fcoe_cntx_num;
182 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt *
[all...]
/freebsd-12-stable/sys/dev/ofw/
H A Dofw_bus_subr.c827 int rv, i, j, nelems, cnt; local
835 for (i = 0, cnt = 0; i < nelems; i += pcells, cnt++) {
850 if (cnt == idx) {
864 *ncells = cnt;
922 int rv, i, cnt, nelems; local
930 for (i = 0, cnt = 0; i < nelems; cnt++) {
932 *idx = cnt;
953 int i, cnt, nelem local
[all...]
/freebsd-12-stable/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c796 int32_t cnt; local
802 for (cnt = 0; cnt < ASN_OIDSTRLEN; cnt++)
803 if (ptr[cnt] == '=')
806 if (cnt >= ASN_OIDSTRLEN) {
810 strlcpy(oid_str, ptr, (size_t) (cnt + 1));
812 ptr = str + cnt + 1;
813 for (cnt = 0; cnt < MAX_CMD_SYNTAX_LE
[all...]
/freebsd-12-stable/contrib/libarchive/libarchive/
H A Darchive_read_add_passphrase.c146 int cnt = 0; local
149 cnt++;
150 a->passphrases.candidate = cnt;
/freebsd-12-stable/sys/dev/pccard/
H A Dpccard_device.c116 int cnt, err; local
123 err = device_get_children(parent, &kids, &cnt);
126 if (cnt == 0) {
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h188 unsigned long cnt; member in struct:osal_list_t
269 (list)->cnt = 0; \
278 (list)->cnt++; \
286 (list)->cnt = (list)->cnt + (new_list)->cnt; \
300 (list)->cnt++; \
313 (list)->cnt++; \
329 (list)->cnt--; \
339 (list)->cnt
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.h69 counter_u64_t cnt[NAT64STATS]; member in struct:nat64_counters
72 counter_u64_add((s)->cnt[ \
76 counter_u64_fetch((s)->cnt[ \

Completed in 240 milliseconds

1234567891011>>