Searched refs:cnt (Results 251 - 275 of 1459) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/x86/kernel/apic/
H A Dipi.c117 int cnt; local
119 for (cnt = 0; cnt < 1000; cnt++) {
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dga102.c50 u32 loc, sig, cnt, *meta; local
58 cnt = *(u32 *)(blob->data + hshdr->num_sig);
65 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data,
66 cnt, hshdr->sig_prod_offset + sig, 0, 0);
/linux-master/tools/net/ynl/samples/
H A Dpage-pool.c17 unsigned int cnt; member in struct:stat::__anon3332
50 s->live[l].cnt++;
125 s->live[1].cnt, s->live[0].cnt);
/linux-master/drivers/vfio/
H A Dvirqfd.c46 u64 cnt; local
47 eventfd_ctx_do_read(virqfd->eventfd, &cnt);
88 u64 cnt; local
90 eventfd_ctx_remove_wait_queue(virqfd->eventfd, &virqfd->wait, &cnt);
/linux-master/tools/testing/selftests/kvm/
H A Drseq_test.c168 int i, cnt, nproc; local
181 cnt = 0;
189 cnt++;
192 __TEST_REQUIRE(cnt >= 2,
/linux-master/drivers/staging/rtl8712/
H A Dusb_ops_linux.c157 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) argument
175 wmem, cnt, usb_write_mem_complete,
242 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem) argument
380 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) argument
422 pxmitframe->sz[i] = (u16)cnt;
429 if (cnt > 0 && cnt % 512 == 0)
432 if (cnt > 0 && cnt % 64 == 0)
442 cnt
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_dp.c100 * kept at cnt - 1 FL bufs.
107 last_idx = rx_ring->cnt - 1;
127 * Assumes that the device is stopped and buffers are in [0, ring->cnt - 1)
140 for (i = 0; i < rx_ring->cnt - 1; i++) {
172 for (i = 0; i < rx_ring->cnt - 1; i++) {
268 rx_ring->cnt = 0;
309 rx_ring->cnt = dp->rxd_cnt;
310 rx_ring->size = array_size(rx_ring->cnt, sizeof(*rx_ring->rxds));
316 rx_ring->cnt);
321 rx_ring->xsk_rxbufs = kvcalloc(rx_ring->cnt, rxbuf_sw_desc_s
[all...]
/linux-master/drivers/spi/
H A Dspi-sun4i.c65 #define SUN4I_BURST_CNT(cnt) ((cnt) & SUN4I_MAX_XFER_SIZE)
68 #define SUN4I_XMIT_CNT(cnt) ((cnt) & SUN4I_MAX_XFER_SIZE)
127 u32 reg, cnt; local
133 cnt = reg >> SUN4I_FIFO_STA_RF_CNT_BITS;
135 if (len > cnt)
136 len = cnt;
147 u32 cnt; local
151 cnt
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c82 __u32 cnt; /* increase cwnd by 1 after ACKs */ member in struct:bpf_bictcp
104 ca->cnt = 0;
283 /* The CUBIC function can update ca->cnt at most once per jiffy.
285 * which will force a recalculation of ca->cnt.
345 ca->cnt = cwnd / (bic_target - cwnd);
347 ca->cnt = 100 * cwnd; /* very small increment*/
354 if (ca->last_max_cwnd == 0 && ca->cnt > 20)
355 ca->cnt = 20; /* increase cwnd 5% per RTT */
374 if (ca->cnt > max_cnt)
375 ca->cnt
[all...]
H A Dverifier_iterating_callbacks.c368 int cnt = zero; local
373 cnt++;
376 return cnt > 1 ? 1 : 0;
381 int cnt = zero; local
385 cnt++;
388 return cnt;
/linux-master/tools/perf/util/
H A Ddsos.c19 dsos->cnt = 0;
29 for (unsigned int i = 0; i < dsos->cnt; i++) {
37 dsos->cnt = 0;
55 for (unsigned int i = 0; i < dsos->cnt; i++) {
179 qsort(dsos->dsos, dsos->cnt, sizeof(struct dso *),
184 res = bsearch(&key, dsos->dsos, dsos->cnt, sizeof(struct dso *),
194 if (dsos->cnt == dsos->allocated) {
206 dsos->dsos[dsos->cnt++] = dso__get(dso);
207 if (dsos->cnt >= 2 && dsos->sorted) {
208 dsos->sorted = dsos__cmp_long_name_id_short_name(&dsos->dsos[dsos->cnt
[all...]
/linux-master/arch/mips/sgi-ip22/
H A Dip22-time.c122 ULONG cnt; local
128 ArcRead(0, &c, 1, &cnt);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ioread.c388 int pvr2_ioread_read(struct pvr2_ioread *cp,void __user *buf,unsigned int cnt) argument
395 unsigned int req_cnt = cnt;
397 if (!cnt) {
414 if (!buf) cnt = 0;
421 if (!cnt) break;
437 if (bcnt > cnt) bcnt = cnt;
446 cnt -= bcnt;
/linux-master/arch/alpha/lib/
H A Dudiv-qrnnd.S41 #define cnt $2 define
50 ldiq cnt,16
85 subq cnt,1,cnt
86 bgt cnt,$loop1
135 subq cnt,1,cnt
136 bgt cnt,$loop2
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dkprobe_multi_testmod_test.c63 opts.cnt = ARRAY_SIZE(addrs);
78 opts.cnt = ARRAY_SIZE(syms);
/linux-master/drivers/scsi/
H A Dqla1280.c574 int cnt, i; local
587 for (cnt = 0; cnt < 3; cnt++) {
588 *wptr = qla1280_get_nvram_word(ha, cnt);
599 for (; cnt < sizeof(struct nvram); cnt++) {
600 *wptr = qla1280_get_nvram_word(ha, cnt);
765 int cnt; local
776 for (cnt
1550 int cnt; local
1711 uint16_t mb[MAILBOX_REGISTER_COUNT], cnt; local
2342 int cnt; local
2417 int cnt; local
2742 int cnt; local
2995 int cnt; local
3232 int cnt; local
3754 int cnt; local
3919 int cnt; local
[all...]
/linux-master/arch/s390/pci/
H A Dpci_mmio.c56 u64 cnt = ulen; local
70 " brctg %[cnt],0b\n"
77 [src] "+a" (src), [cnt] "+d" (cnt),
84 if (!cc && cnt != 0)
198 u64 cnt = ulen; local
219 " brctg %[cnt],2b\n"
225 [dst] "+a" (dst), [cnt] "+d" (cnt), [tmp] "=d" (tmp),
230 if (!cc && cnt !
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c517 * @cnt: number of arguments that the user supplied
524 static void i40e_dbg_dump_desc(int cnt, int vsi_seid, int ring_id, int desc_n, argument
579 if (cnt == 2) {
606 } else if (cnt == 3) {
763 int cnt; local
787 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid);
788 if (cnt == 0) {
814 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid);
815 if (cnt != 1) {
817 "del vsi: bad command string, cnt
1691 int i, cnt; local
[all...]
/linux-master/arch/mips/alchemy/devboards/
H A Dplatform.c80 int cnt, i, ret; local
84 cnt = 5;
86 cnt++;
88 cnt++;
90 sr = kcalloc(cnt, sizeof(struct resource), GFP_KERNEL);
137 pd->num_resources = cnt;
/linux-master/drivers/clocksource/
H A Dmips-gic-timer.c55 u64 cnt; local
58 cnt = gic_read_count();
59 cnt += (u64)delta;
61 write_gic_vl_compare(cnt);
64 write_gic_vo_compare(cnt);
66 res = ((int)(gic_read_count() - cnt) >= 0) ? -ETIME : 0;
/linux-master/drivers/net/ethernet/netronome/nfp/nfdk/
H A Drings.c85 tx_ring->cnt = 0;
97 tx_ring->cnt = dp->txd_cnt * NFDK_TX_DESC_PER_SIMPLE_PKT;
98 tx_ring->size = array_size(tx_ring->cnt, sizeof(*tx_ring->ktxds));
104 tx_ring->cnt);
108 tx_ring->ktxbufs = kvcalloc(tx_ring->cnt, sizeof(*tx_ring->ktxbufs),
144 u32 txd_cnt = tx_ring->cnt;
/linux-master/drivers/mtd/parsers/
H A Dscpart.c50 int cnt = 0; local
77 cnt++;
80 if (cnt > 0) {
81 int bytes = cnt * sizeof(*pdesc);
83 pdesc = kcalloc(cnt, sizeof(*pdesc), GFP_KERNEL);
91 res = cnt;
/linux-master/tools/testing/selftests/net/
H A Dvrf_strict_mode_test.sh99 local cnt
104 cnt=$(count_vrf_by_table_id ${nsname} ${vrftable})
106 log_test ${rc} 0 "${nsname}: add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
114 local cnt
119 cnt=$(count_vrf_by_table_id ${nsname} ${vrftable})
121 log_test ${rc} 2 "${nsname}: CANNOT add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
/linux-master/arch/s390/include/asm/
H A Dfpu.h220 unsigned int cnt = 0; local
223 cnt += 8;
225 cnt += 8;
227 cnt += 8;
229 cnt += 8;
230 if (cnt != size)
/linux-master/scripts/gdb/linux/
H A Dinterrupts.py40 any_count += cpus.per_cpu(desc['kstat_irqs'], cpu)['cnt']
48 count = cpus.per_cpu(desc['kstat_irqs'], cpu)['cnt']
94 cnt = utils.gdb_eval_or_none("irq_err_count")
96 if cnt is not None:
97 text += "%*s: %10u\n" % (prec, "ERR", cnt['counter'])
150 cnt = utils.gdb_eval_or_none("irq_mis_count")
151 if cnt is not None:
152 text += "%*s: %10u\n" % (prec, "MIS", cnt['counter'])
180 text += "%10u" % (cpus.per_cpu(desc['kstat_irqs'], cpu)['cnt'])

Completed in 474 milliseconds

<<11121314151617181920>>