Searched refs:scnt (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c35 unsigned int scnt; debugifc_count_whitespace() local
38 for (scnt = 0; scnt < count; scnt++) { debugifc_count_whitespace()
39 ch = buf[scnt]; debugifc_count_whitespace()
45 return scnt; debugifc_count_whitespace()
52 unsigned int scnt; debugifc_count_nonwhitespace() local
55 for (scnt = 0; scnt < count; scnt++) { debugifc_count_nonwhitespace()
56 ch = buf[scnt]; debugifc_count_nonwhitespace()
61 return scnt; debugifc_count_nonwhitespace()
72 unsigned int scnt; debugifc_isolate_word() local
76 scnt = debugifc_count_whitespace(buf,count); debugifc_isolate_word()
77 consume_cnt += scnt; count -= scnt; buf += scnt; debugifc_isolate_word()
80 scnt = debugifc_count_nonwhitespace(buf,count); debugifc_isolate_word()
81 if (!scnt) goto done; debugifc_isolate_word()
83 wlen = scnt; debugifc_isolate_word()
84 consume_cnt += scnt; count -= scnt; buf += scnt; debugifc_isolate_word()
200 unsigned int scnt; pvr2_debugifc_do1cmd() local
202 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
203 if (!scnt) return 0; pvr2_debugifc_do1cmd()
204 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
209 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
210 if (!scnt) return -EINVAL; pvr2_debugifc_do1cmd()
211 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
236 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
237 if (!scnt) return -EINVAL; pvr2_debugifc_do1cmd()
238 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
241 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
242 if (scnt && wptr) { pvr2_debugifc_do1cmd()
243 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
269 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
270 if (!scnt) return -EINVAL; pvr2_debugifc_do1cmd()
271 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
278 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
279 if (!scnt) return -EINVAL; pvr2_debugifc_do1cmd()
280 count -= scnt; buf += scnt; pvr2_debugifc_do1cmd()
284 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); pvr2_debugifc_do1cmd()
H A Dpvrusb2-io.c303 unsigned int scnt; pvr2_stream_buffer_count() local
315 scnt = cnt & ~0x1f; pvr2_stream_buffer_count()
316 if (cnt > scnt) scnt += 0x20; pvr2_stream_buffer_count()
319 if (scnt > sp->buffer_slot_count) { pvr2_stream_buffer_count()
321 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNEL); pvr2_stream_buffer_count()
329 sp->buffer_slot_count = scnt; pvr2_stream_buffer_count()
354 if (scnt < sp->buffer_slot_count) { pvr2_stream_buffer_count()
356 if (scnt) { pvr2_stream_buffer_count()
357 nb = kmemdup(sp->buffers, scnt * sizeof(*nb), pvr2_stream_buffer_count()
363 sp->buffer_slot_count = scnt; pvr2_stream_buffer_count()
/linux-4.4.14/arch/m68k/coldfire/
H A Dsltimers.c103 u32 cycles, scnt; mcfslt_read_clk() local
106 scnt = __raw_readl(TA(MCFSLT_SCNT)); mcfslt_read_clk()
110 scnt = __raw_readl(TA(MCFSLT_SCNT)); mcfslt_read_clk()
115 return cycles + ((mcfslt_cycles_per_jiffy - 1) - scnt); mcfslt_read_clk()
/linux-4.4.14/drivers/hv/
H A Dhv_util.c209 static s32 scnt = 50; adj_guesttime() local
222 if ((flags & ICTIMESYNCFLAG_SAMPLE) != 0 && scnt > 0) { adj_guesttime()
223 scnt--; adj_guesttime()
/linux-4.4.14/include/trace/events/
H A Dnilfs2.h37 __entry->stage = sci->sc_stage.scnt;
/linux-4.4.14/drivers/block/aoe/
H A Daoe.h52 unsigned char scnt; member in struct:aoe_atahdr
66 unsigned char scnt; member in struct:aoe_cfghdr
H A Daoecmd.c343 ah->scnt = f->iter.bi_size >> 9; ata_rw_frameinit()
1179 n = ahout->scnt << 9; ktiocomplete()
1465 ah->scnt = 1; aoecmd_ata_id()
1649 if (n > ch->scnt) aoecmd_cfg_rsp()
1650 n = ch->scnt; aoecmd_cfg_rsp()
/linux-4.4.14/fs/nilfs2/
H A Dsegment.h70 * @scnt: Stage count, must be accessed via wrappers:
77 int scnt; member in struct:nilfs_cstage
H A Dsegment.c85 * wrapper functions of stage count (nilfs_sc_info->sc_stage.scnt). Users of
95 sci->sc_stage.scnt++; nilfs_sc_cstage_inc()
101 sci->sc_stage.scnt = next_scnt; nilfs_sc_cstage_set()
107 return sci->sc_stage.scnt; nilfs_sc_cstage_get()
/linux-4.4.14/arch/s390/include/asm/
H A Dcio.h69 * @scnt: sense count, if @cons == %1
81 __u32 scnt : 6; member in struct:erw
/linux-4.4.14/drivers/block/
H A Damiflop.c722 int scnt; amiga_read() local
730 for (scnt = 0;scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { amiga_read()
732 printk (KERN_INFO "can't find sync for sector %d\n", scnt); amiga_read()
768 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, amiga_read()
1037 int scnt; dos_read() local
1045 for (scnt=0; scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { dos_read()
1050 unit[drive].track,drive,scnt); dos_read()
1096 unit[drive].track, drive, scnt, hdr.sec); dos_read()
1106 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); dos_read()
1118 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); dos_read()
/linux-4.4.14/drivers/s390/cio/
H A Ddevice_status.c184 cdev_irb->esw.esw0.erw.scnt = irb->esw.esw0.erw.scnt; ccw_device_accumulate_esw()
/linux-4.4.14/drivers/md/
H A Draid5.c5690 int scnt = 0; retry_aligned_read() local
5703 scnt++) { retry_aligned_read()
5705 if (scnt < raid5_bi_processed_stripes(raid_bio)) retry_aligned_read()
5713 raid5_set_bi_processed_stripes(raid_bio, scnt); retry_aligned_read()
5720 raid5_set_bi_processed_stripes(raid_bio, scnt); retry_aligned_read()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd.c2498 CWARN("Active peer on shutdown: %s, ref %d, scnt %d, closing %d, accepting %d, err %d, zcookie %llu, txq %d, zc_req %d\n", ksocknal_debug_peerhash()

Completed in 773 milliseconds