/linux-master/tools/perf/tests/shell/ |
H A D | stat+csv_output.sh | 30 local -i cnt=0 59 cnt="${#x}" 60 # echo $line $cnt 61 [[ ! "$cnt" =~ $exp ]] && {
|
/linux-master/tools/perf/util/ |
H A D | thread-stack.c | 71 * @cnt: number of entries in the stack 90 size_t cnt; member in struct:thread_stack 243 if (ts->cnt == ts->sz) { 247 ts->cnt = 0; 251 ts->stack[ts->cnt].trace_end = trace_end; 252 ts->stack[ts->cnt++].ret_addr = ret_addr; 270 for (i = ts->cnt; i; ) { 272 ts->cnt = i; 282 for (i = ts->cnt; i; ) { 284 ts->cnt [all...] |
/linux-master/drivers/net/ethernet/8390/ |
H A D | apne.c | 381 int cnt; local 404 for(cnt = 0; cnt < (sizeof(struct e8390_pkt_hdr)>>1); cnt++) 408 for(cnt = 0; cnt < sizeof(struct e8390_pkt_hdr); cnt++) 430 int cnt; local 449 for (cnt = 0; cnt < (coun 472 int cnt; local [all...] |
/linux-master/drivers/staging/rtl8723bs/hal/ |
H A D | hal_com.c | 41 size_t cnt = 0; local 43 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "Chip Version Info: CHIP_8723B_%s_", 47 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "TSMC_"); 49 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "UMC [all...] |
H A D | sdio_ops.c | 198 static s32 sdio_readN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) argument 219 return sd_cmd52_read(intfhdl, ftaddr, cnt, buf); 224 err = sd_read(intfhdl, ftaddr, cnt, buf); 230 n = cnt + shift; 237 memcpy(buf, tmpbuf + shift, cnt); 302 static s32 sdio_writeN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) argument 323 return sd_cmd52_write(intfhdl, ftaddr, cnt, buf); 327 err = sd_write(intfhdl, ftaddr, cnt, buf); 333 n = cnt + shift; 342 memcpy(tmpbuf + shift, buf, cnt); 349 sdio_read_mem( struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *rmem ) argument 359 sdio_write_mem( struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *wmem ) argument 385 sdio_read_port( struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *mem ) argument 429 sdio_write_port( struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *mem ) argument 484 _sdio_local_read( struct adapter *adapter, u32 addr, u32 cnt, u8 *buf ) argument 522 sdio_local_read( struct adapter *adapter, u32 addr, u32 cnt, u8 *buf ) argument 563 sdio_local_write( struct adapter *adapter, u32 addr, u32 cnt, u8 *buf ) argument [all...] |
/linux-master/kernel/ |
H A D | softirq.c | 110 * also in per CPU softirq_ctrl::cnt. This is necessary to allow tasks in a 122 int cnt; member in struct:softirq_ctrl 132 * Returns false if the per CPU softirq::cnt is 0 otherwise true. 141 return __this_cpu_read(softirq_ctrl.cnt) != 0; 144 void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) argument 158 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); 166 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); 173 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && newcnt == cnt) { 181 static void __local_bh_enable(unsigned int cnt, boo argument 204 __local_bh_enable_ip(unsigned long ip, unsigned int cnt) argument 303 __local_bh_disable_ip(unsigned long ip, unsigned int cnt) argument 335 __local_bh_enable(unsigned int cnt) argument 359 __local_bh_enable_ip(unsigned long ip, unsigned int cnt) argument [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | hwt.c | 57 u_short cnt ; local 65 cnt = (u_short)time ; 70 if (!cnt) 71 cnt++ ; 73 outpd(ADDR(B2_TI_INI), (u_long) cnt * 200) ; /* Load timer value. */
|
/linux-master/arch/m68k/kernel/ |
H A D | ints.c | 87 * @cnt: number of active user vector interrupts 93 void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt) argument 97 BUG_ON(IRQ_USER + cnt > NR_IRQS); 99 for (i = 0; i < cnt; i++) 110 * @cnt: number of irqs to be managed by the controller 119 unsigned int cnt) 123 for (i = 0; i < cnt; i++) { 117 m68k_setup_irq_controller(struct irq_chip *chip, irq_flow_handler_t handle, unsigned int irq, unsigned int cnt) argument
|
/linux-master/drivers/ptp/ |
H A D | ptp_private.h | 94 int cnt = READ_ONCE(q->tail) - READ_ONCE(q->head); local 95 return cnt < 0 ? PTP_MAX_TIMESTAMPS + cnt : cnt; 141 size_t cnt);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | vmap.c | 29 nvbios_vmap_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument 43 *cnt = nvbios_rd08(bios, vmap + 3); 57 nvbios_vmap_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, argument 60 u32 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); 83 u8 hdr, cnt; local 84 u32 vmap = nvbios_vmap_table(bios, ver, &hdr, &cnt, len); 85 if (vmap && idx < cnt) {
|
/linux-master/tools/perf/tests/ |
H A D | bp_account.c | 117 int fd[100], cnt = 0, i; local 120 if (cnt == 100) { 124 fd[cnt] = __event(is_x, addr, &attr); 126 if (fd[cnt] < 0) 128 cnt++; 131 for (i = 0; i < cnt; i++) 134 return cnt;
|
/linux-master/drivers/media/pci/cx25821/ |
H A D | cx25821-i2c.c | 72 int retval, cnt; local 122 for (cnt = 1; cnt < msg->len; cnt++) { 124 wdata = msg->buf[cnt]; 127 if (cnt < msg->len - 1) 144 dprintk(1, " %02x", msg->buf[cnt]); 165 u32 ctrl, cnt; local 191 for (cnt = 0; cnt < ms [all...] |
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-i2c.c | 73 int retval, cnt; local 117 for (cnt = 1; cnt < msg->len; cnt++) { 119 wdata = msg->buf[cnt]; 122 if (cnt < msg->len - 1) 134 pr_cont(" %02x", msg->buf[cnt]); 153 u32 ctrl, cnt; local 181 for (cnt = 0; cnt < ms [all...] |
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_debugfs.c | 103 size_t cnt = 0; local 118 cnt += scnprintf(cbuf + cnt, QEDF_DEBUGFS_LOG_LEN - cnt, "\nFastpath I/O completions\n\n"); 124 cnt += scnprintf(cbuf + cnt, QEDF_DEBUGFS_LOG_LEN - cnt, 128 ret = simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); 149 int cnt; local 155 cnt 195 int cnt; local 389 int cnt = 0; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 1703 int i, aggr0 = 0, aggr1, cnt; local 1707 cnt = mt76_rr(dev, MT_MIB_SDR3(band)); 1709 FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK, cnt) : 1710 FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK_MT7916, cnt); 1712 cnt = mt76_rr(dev, MT_MIB_SDR4(band)); 1713 mib->rx_fifo_full_cnt += FIELD_GET(MT_MIB_SDR4_RX_FIFO_FULL_MASK, cnt); 1715 cnt = mt76_rr(dev, MT_MIB_SDR5(band)); 1716 mib->rx_mpdu_cnt += cnt; 1718 cnt = mt76_rr(dev, MT_MIB_SDR6(band)); 1719 mib->channel_idle_cnt += FIELD_GET(MT_MIB_SDR6_CHANNEL_IDL_CNT_MASK, cnt); [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_dbg.c | 324 uint32_t cnt; local 334 for (cnt = 0; cnt < 30000; cnt++) { 350 for (cnt = 0; cnt < 30000; cnt++) { 363 for (cnt = 10000; rd_reg_word(®->mailbox0) != 0 && 364 rval == QLA_SUCCESS; cnt--) { 365 if (cnt) 381 uint32_t cnt, stat, timer, words, idx; local 484 uint32_t cnt; local 674 uint32_t cnt, que_idx; local 743 uint32_t cnt; local 898 uint32_t cnt, timer; local 1081 uint32_t cnt; local 1327 uint32_t cnt; local 1640 uint32_t cnt; local 1955 uint32_t cnt; local 2692 uint cnt; local [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 117 unsigned int *cnt; local 123 cnt = &sp->i_count; 128 cnt = &sp->q_count; 133 cnt = &sp->r_count; 141 (*cnt)--; 144 "/*---TRACE_FLOW---*/ bufferPool %8s dec cap=%07d cnt=%02d", 145 pvr2_buffer_state_decode(bp->state), *bcnt, *cnt); 185 "/*---TRACE_FLOW---*/ bufferPool %8s inc cap=%07d cnt=%02d", 210 "/*---TRACE_FLOW---*/ bufferPool %8s inc cap=%07d cnt=%02d", 234 "/*---TRACE_FLOW---*/ bufferPool %8s inc cap=%07d cnt 281 pvr2_stream_buffer_count(struct pvr2_stream *sp, unsigned int cnt) argument 353 unsigned int cnt; local 534 pvr2_stream_set_buffer_count(struct pvr2_stream *sp, unsigned int cnt) argument 630 pvr2_buffer_set_buffer(struct pvr2_buffer *bp, void *ptr, unsigned int cnt) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | kprobe_multi_test.c | 115 opts.kprobe_multi.cnt = ARRAY_SIZE(addrs); 134 opts.kprobe_multi.cnt = ARRAY_SIZE(syms); 193 opts.cnt = ARRAY_SIZE(addrs); 212 opts.cnt = ARRAY_SIZE(syms); 254 opts.cnt = ARRAY_SIZE(syms); 269 opts.cnt = ARRAY_SIZE(syms); 281 /* fail_4 - pattern and cnt set */ 284 opts.cnt = ARRAY_SIZE(syms); 299 opts.cnt = 0; 311 /* fail_6 - abnormal cnt */ 470 size_t cap = 0, cnt = 0; local 555 size_t cnt = 0; local 645 size_t cnt = 0; local 670 size_t cnt = 0; local [all...] |
/linux-master/fs/hfs/ |
H A D | bfind.c | 174 int hfs_brec_goto(struct hfs_find_data *fd, int cnt) argument 184 if (cnt < 0) { 185 cnt = -cnt; 186 while (cnt > fd->record) { 187 cnt -= fd->record + 1; 202 fd->record -= cnt; 204 while (cnt >= bnode->num_recs - fd->record) { 205 cnt -= bnode->num_recs - fd->record; 220 fd->record += cnt; [all...] |
/linux-master/arch/sh/kernel/ |
H A D | io_trapped.c | 221 static unsigned long from_device(void *dst, const void *src, unsigned long cnt) argument 227 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt); 233 return cnt; 236 max_t(unsigned long, cnt, 238 (unsigned long)dst, cnt); 244 static unsigned long to_device(void *dst, const void *src, unsigned long cnt) argument 250 pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt); 256 return cnt; 258 tmp = copy_word((unsigned long)src, cnt, 259 dst_addr, max_t(unsigned long, cnt, [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-rs5c313.c | 216 int cnt; local 218 cnt = 0; 231 if (cnt++ > 100) { 276 int cnt; local 278 cnt = 0; 292 if (cnt++ > 100) { 334 int cnt; local 344 for (cnt = 0; cnt < 100; cnt [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dma.c | 101 uint32_t cnt = 0, prev_get = 0; local 107 cnt = 0; 110 if ((++cnt & 0xff) == 0) { 112 if (cnt > 100000) 128 int ret, cnt = 0; local 135 int get = READ_GET(chan, &prev_get, &cnt); 150 get = READ_GET(chan, &prev_get, &cnt); 171 int cnt = 0, get; local 177 get = READ_GET(chan, &prev_get, &cnt); 223 get = READ_GET(chan, &prev_get, &cnt); [all...] |
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | rtw_io.h | 93 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 94 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 100 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 101 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); 103 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); 168 extern void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 169 extern void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 179 extern u32 rtw_write_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 181 extern void rtw_write_scsi(struct adapter *adapter, u32 cnt, u8 *pmem); 199 extern void async_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_isr.c | 358 int cnt = hw->num_sqsets + k; local 372 for (i = k; i < cnt; i++, entryp++) { 457 csio_reduce_sqsets(struct csio_hw *hw, int cnt) argument 462 while (cnt < hw->num_sqsets) { 468 if (hw->num_sqsets <= cnt) 499 int i, j, k, n, min, cnt; local 512 cnt = hw->num_sqsets + extra; 516 cnt = min_t(uint8_t, hw->cfg_niq, cnt); 518 csio_dbg(hw, "FW supp #niq:%d, trying %d msix's\n", hw->cfg_niq, cnt); [all...] |
/linux-master/kernel/irq/ |
H A D | devres.c | 151 unsigned int cnt; member in struct:irq_desc_devres 158 irq_free_descs(this->from, this->cnt); 167 * @cnt: Number of consecutive irqs to allocate 170 * @affinity: Optional pointer to an irq_affinity_desc array of size @cnt 179 unsigned int cnt, int node, struct module *owner, 189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); 196 dr->cnt = cnt; 178 __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, unsigned int cnt, int node, struct module *owner, const struct irq_affinity_desc *affinity) argument
|