Home
last modified time | relevance | path

Searched refs:scnt (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c35 unsigned int scnt; in debugifc_count_whitespace() local
38 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_whitespace()
39 ch = buf[scnt]; in debugifc_count_whitespace()
45 return scnt; in debugifc_count_whitespace()
52 unsigned int scnt; in debugifc_count_nonwhitespace() local
55 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_nonwhitespace()
56 ch = buf[scnt]; in debugifc_count_nonwhitespace()
61 return scnt; in debugifc_count_nonwhitespace()
72 unsigned int scnt; in debugifc_isolate_word() local
76 scnt = debugifc_count_whitespace(buf,count); in debugifc_isolate_word()
[all …]
Dpvrusb2-io.c303 unsigned int scnt; in pvr2_stream_buffer_count() local
315 scnt = cnt & ~0x1f; in pvr2_stream_buffer_count()
316 if (cnt > scnt) scnt += 0x20; in pvr2_stream_buffer_count()
319 if (scnt > sp->buffer_slot_count) { in pvr2_stream_buffer_count()
321 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNEL); in pvr2_stream_buffer_count()
329 sp->buffer_slot_count = scnt; in pvr2_stream_buffer_count()
354 if (scnt < sp->buffer_slot_count) { in pvr2_stream_buffer_count()
356 if (scnt) { in pvr2_stream_buffer_count()
357 nb = kmemdup(sp->buffers, scnt * sizeof(*nb), in pvr2_stream_buffer_count()
363 sp->buffer_slot_count = scnt; in pvr2_stream_buffer_count()
/linux-4.1.27/arch/m68k/coldfire/
Dsltimers.c103 u32 cycles, scnt; in mcfslt_read_clk() local
106 scnt = __raw_readl(TA(MCFSLT_SCNT)); in mcfslt_read_clk()
110 scnt = __raw_readl(TA(MCFSLT_SCNT)); in mcfslt_read_clk()
115 return cycles + ((mcfslt_cycles_per_jiffy - 1) - scnt); in mcfslt_read_clk()
/linux-4.1.27/drivers/block/
Damiflop.c722 int scnt; in amiga_read() local
730 for (scnt = 0;scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in amiga_read()
732 printk (KERN_INFO "can't find sync for sector %d\n", scnt); in amiga_read()
768 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read()
1037 int scnt; in dos_read() local
1045 for (scnt=0; scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in dos_read()
1050 unit[drive].track,drive,scnt); in dos_read()
1096 unit[drive].track, drive, scnt, hdr.sec); in dos_read()
1106 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read()
1118 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()
/linux-4.1.27/fs/nilfs2/
Dsegment.c1065 switch (sci->sc_stage.scnt) { in nilfs_segctor_collect_blocks()
1074 sci->sc_stage.scnt = NILFS_ST_DSYNC; in nilfs_segctor_collect_blocks()
1082 sci->sc_stage.scnt = NILFS_ST_DAT; in nilfs_segctor_collect_blocks()
1085 sci->sc_stage.scnt++; /* Fall through */ in nilfs_segctor_collect_blocks()
1106 sci->sc_stage.scnt++; /* Fall through */ in nilfs_segctor_collect_blocks()
1128 sci->sc_stage.scnt = NILFS_ST_DONE; in nilfs_segctor_collect_blocks()
1131 sci->sc_stage.scnt++; in nilfs_segctor_collect_blocks()
1139 sci->sc_stage.scnt++; in nilfs_segctor_collect_blocks()
1150 sci->sc_stage.scnt++; /* Fall through */ in nilfs_segctor_collect_blocks()
1166 sci->sc_stage.scnt++; /* Fall through */ in nilfs_segctor_collect_blocks()
[all …]
Dsegment.h76 int scnt; member
/linux-4.1.27/drivers/hv/
Dhv_util.c209 static s32 scnt = 50; in adj_guesttime() local
222 if ((flags & ICTIMESYNCFLAG_SAMPLE) != 0 && scnt > 0) { in adj_guesttime()
223 scnt--; in adj_guesttime()
/linux-4.1.27/drivers/block/aoe/
Daoe.h52 unsigned char scnt; member
66 unsigned char scnt; member
Daoecmd.c343 ah->scnt = f->iter.bi_size >> 9; in ata_rw_frameinit()
1179 n = ahout->scnt << 9; in ktiocomplete()
1465 ah->scnt = 1; in aoecmd_ata_id()
1649 if (n > ch->scnt) in aoecmd_cfg_rsp()
1650 n = ch->scnt; in aoecmd_cfg_rsp()
/linux-4.1.27/arch/s390/include/asm/
Dcio.h80 __u32 scnt : 6; member
/linux-4.1.27/drivers/s390/cio/
Ddevice_status.c184 cdev_irb->esw.esw0.erw.scnt = irb->esw.esw0.erw.scnt; in ccw_device_accumulate_esw()
/linux-4.1.27/drivers/md/
Draid5.c5674 int scnt = 0; in retry_aligned_read() local
5687 scnt++) { in retry_aligned_read()
5689 if (scnt < raid5_bi_processed_stripes(raid_bio)) in retry_aligned_read()
5697 raid5_set_bi_processed_stripes(raid_bio, scnt); in retry_aligned_read()
5704 raid5_set_bi_processed_stripes(raid_bio, scnt); in retry_aligned_read()
/linux-4.1.27/Documentation/s390/
Dcds.txt290 set, the field erw.scnt in the esw describes the number of device specific