Searched refs:count (Results 251 - 275 of 7674) sorted by path

<<11121314151617181920>>

/linux-master/drivers/video/fbdev/i810/
H A Di810_accel.c62 u32 head, count = WAIT_COUNT, tail; local
66 while (count--) {
94 int count = WAIT_COUNT; local
99 while((i810_readw(INSTDONE, mmio) & 0x7B) != 0x7B && --count);
100 if (count) return 0;
/linux-master/drivers/video/fbdev/kyro/
H A DSTG4000VTG.c20 volatile u32 count = 0, i; local
29 count++;
/linux-master/drivers/video/fbdev/nvidia/
H A Dnv_accel.c86 int count = 1000000000; local
88 while (--count && READ_GET(par) != par->dmaPut) ;
90 if (!count) {
99 int count = 1000000000; local
101 while (--count && NV_RD32(par->PGRAPH, 0x0700)) ;
103 if (!count) {
121 int count = 1000000000, cnt; local
124 while (par->dmaFree < size && --count && !par->lockup) {
151 if (!count) {
/linux-master/drivers/video/fbdev/via/
H A Dhw.c925 int i, count = 0; local
929 if (count > 0)
933 count++;
/linux-master/drivers/w1/slaves/
H A Dw1_ds2780.h121 extern int w1_ds2780_io(struct device *dev, char *buf, int addr, size_t count,
H A Dw1_ds2781.h126 extern int w1_ds2781_io(struct device *dev, char *buf, int addr, size_t count,
/linux-master/drivers/watchdog/
H A Ddigicolor_wdt.c91 uint32_t count = readl_relaxed(wdt->base + TIMER_A_COUNT); local
93 return count / clk_get_rate(wdt->clk);
H A Dsbc8360.c238 size_t count, loff_t *ppos)
240 if (count) {
247 for (i = 0; i != count; i++) {
257 return count;
237 sbc8360_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/xen/
H A Darm-device.c15 unsigned int count)
22 for (i = 0; i < count; i++) {
42 unsigned int count)
51 for (i = 0; i < count; i++) {
14 xen_unmap_device_mmio(const struct resource *resources, unsigned int count) argument
41 xen_map_device_mmio(const struct resource *resources, unsigned int count) argument
/linux-master/drivers/zorro/
H A Dzorro-sysfs.c85 char *buf, loff_t off, size_t count)
98 return memory_read_from_buffer(buf, count, &off, &cd, sizeof(cd));
83 zorro_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
/linux-master/fs/coda/
H A Dcoda_psdev.h88 size_t count, loff_t ppos, int type);
/linux-master/fs/hfs/
H A Dbitmap.c178 * u16 count: The number of bits
189 * Starting with bit number 'start', 'count' bits in the volume bitmap
191 * block count of the MDB is updated and the MDB is marked dirty.
193 int hfs_clear_vbm_bits(struct super_block *sb, u16 start, u16 count) argument
200 if (!count)
203 hfs_dbg(BITMAP, "clear_bits: %u,%u\n", start, count);
205 if ((start + count) > HFS_SB(sb)->fs_ablocks)
211 len = count;
218 if (j > count) {
219 mask |= 0xffffffffU >> (i + count);
[all...]
H A Dhfs.h177 __be16 count; member in struct:hfs_extent
262 __be32 drWrCnt; /* fs write count */
/linux-master/fs/jffs2/
H A Dwritev.c17 unsigned long count, loff_t to, size_t *retlen)
22 res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to);
29 return mtd_writev(c->mtd, vecs, count, to, retlen);
16 jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
/linux-master/fs/jfs/
H A Djfs_metapage.h21 unsigned long count; /* Reference count */ member in struct:metapage
H A Djfs_txnmgr.h212 u8 count; /* 1: number of pxd/xad */ member in struct:maplock
240 u8 count; /* 1: number of pxd/xad */ member in struct:xdlistlock
/linux-master/fs/nfs/
H A Dcache_lib.c70 if (refcount_dec_and_test(&dreq->count))
90 refcount_inc(&dreq->count);
102 refcount_set(&dreq->count, 1);
H A Dcache_lib.h19 refcount_t count; member in struct:nfs_cache_defer_req
/linux-master/fs/nls/
H A Dnls_euc-jp.c380 int count; local
392 count = (sjisnec_hi << 8 | sjisnec_lo)
395 count = (sjisnec_hi - 0xED) * (0xFC - 0x40)
398 count--;
401 sjisibm[0] = 0xFA + (count / (0xFC - 0x40));
402 sjisibm[1] = 0x40 + (count % (0xFC - 0x40));
/linux-master/fs/omfs/
H A Dbitmap.c29 int count = 0; local
34 count += x - bit;
36 if (x < nbits || count > max)
37 return min(count, max);
41 return min(count, max);
45 * Sets or clears the run of count bits starting with bit.
49 int nbits, int bit, int count, int set)
61 for (i = 0; i < count; i++, bit++) {
173 * Clears count bits starting at a given block.
175 int omfs_clear_range(struct super_block *sb, u64 block, int count) argument
48 set_run(struct super_block *sb, int map, int nbits, int bit, int count, int set) argument
[all...]
H A Domfs.h45 extern int omfs_clear_range(struct super_block *sb, u64 block, int count);
/linux-master/fs/orangefs/
H A Ddevorangefs-req.c160 size_t count, loff_t *offset)
179 if (count != MAX_DEV_REQ_UPSIZE) {
517 * Using the open_access_count variable, we enforce a reference count
559 * based on the access count we maintain on the device.
719 __s32 count; member in struct:ORANGEFS_dev_map_desc32
745 desc.count = d32.count;
158 orangefs_devreq_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
H A Dprotocol.h348 __s32 count; member in struct:ORANGEFS_dev_map_desc
H A Dupcall.h19 __s32 count; member in struct:orangefs_io_request_s
/linux-master/fs/reiserfs/
H A Dibalance.c122 * Insert count node pointers into buffer cur before position to + 1.
123 * Insert count items into buffer cur before position to.
127 int to, int count,
139 if (count <= 0)
145 RFALSE(count > 2, "too many children (%d) are to be inserted", count);
146 RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE),
148 B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE));
150 /* prepare space for count disk_child */
153 memmove(dc + count, d
126 internal_insert_childs(struct buffer_info *cur_bi, int to, int count, struct item_head *inserted, struct buffer_head **bh) argument
[all...]

Completed in 337 milliseconds

<<11121314151617181920>>