Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/fs/romfs/
Dinode.c181 unsigned long avail, maxsize, res; in romfs_strnlen() local
183 maxsize = i->i_sb->u.romfs_sb.s_maxsize; in romfs_strnlen()
184 if (offset >= maxsize) in romfs_strnlen()
188 if (count > maxsize || offset+count > maxsize) in romfs_strnlen()
189 count = maxsize-offset; in romfs_strnlen()
196 maxsize = min_t(unsigned long, count, avail); in romfs_strnlen()
197 res = strnlen(((char *)bh->b_data)+(offset&ROMBMASK), maxsize); in romfs_strnlen()
200 if (res < maxsize) in romfs_strnlen()
204 offset += maxsize; in romfs_strnlen()
209 maxsize = min_t(unsigned long, count - res, ROMBSIZE); in romfs_strnlen()
[all …]
/linux-2.4.37.9/drivers/mtd/maps/
Dnettel.c279 unsigned long amdaddr, maxsize; in nettel_init() local
326 maxsize = AMD_WINDOW_MAXSIZE; in nettel_init()
328 *amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize); in nettel_init()
332 ioremap_nocache(amdaddr, maxsize); in nettel_init()
355 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
356 if (maxsize < (32 * 1024 * 1024)) in nettel_init()
357 maxsize = (32 * 1024 * 1024); in nettel_init()
358 intel0addr = amdaddr + maxsize; in nettel_init()
374 maxsize = SC520_PAR_TO_SIZE(orig_bootcspar); in nettel_init()
385 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_v110.c89 isdn_v110_open(unsigned char key, int hdrlen, int maxsize) in isdn_v110_open() argument
125 v->maxsize = maxsize - hdrlen; in isdn_v110_open()
126 if ((v->encodebuf = kmalloc(maxsize, GFP_ATOMIC)) == NULL) { in isdn_v110_open()
478 if ((nframes * 40) > v->maxsize) { in isdn_v110_encode()
479 size = v->maxsize; in isdn_v110_encode()
480 rlen = v->maxsize / 40; in isdn_v110_encode()
580 int maxsize = dev->drv[c->driver]->interface->maxbufsize; in isdn_v110_stat_callback() local
584 dev->v110[idx] = isdn_v110_open(V110_9600, hdrlen, maxsize); in isdn_v110_stat_callback()
587 dev->v110[idx] = isdn_v110_open(V110_19200, hdrlen, maxsize); in isdn_v110_stat_callback()
590 dev->v110[idx] = isdn_v110_open(V110_38400, hdrlen, maxsize); in isdn_v110_stat_callback()
/linux-2.4.37.9/scripts/
Dtail.tk60 set scry [lindex [wm maxsize .] 1]
62 set scrx [lindex [wm maxsize .] 0]
66 wm maxsize . $maxx $maxy
Dheader.tk411 set maxsize [winfo screenheight $w]
412 set splitpoint [expr $maxsize * 4 / 5 / $menuoptsize - 1]
541 wm maxsize $w [winfo width $w] $sizy
/linux-2.4.37.9/fs/nfsd/
Dnfsfh.c745 __u32 *datap, int *maxsize) in _fh_update() argument
750 *maxsize = 0; in _fh_update()
758 int type = sb->s_op->dentry_to_fh(dentry, datap, maxsize, need_parent); in _fh_update()
762 if (*maxsize < 2) in _fh_update()
766 if (*maxsize ==2 || in _fh_update()
769 *maxsize = 2; in _fh_update()
773 *maxsize = 3; in _fh_update()
Dexport.c405 char *path, struct knfsd_fh *f, int maxsize) in exp_rootfh() argument
454 fh_init(&fh, maxsize); in exp_rootfh()
/linux-2.4.37.9/include/linux/nfsd/
Dnfsfh.h220 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument
223 fhp->fh_maxsize = maxsize; in fh_init()
Dexport.h101 char *path, struct knfsd_fh *, int maxsize);
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhysdn_proclog.c54 hysdn_card_errlog(hysdn_card * card, tErrLogEntry * logp, int maxsize) in hysdn_card_errlog() argument
/linux-2.4.37.9/fs/reiserfs/
Dfix_node.c1536 int maxsize, in dc_check_balance_internal() local
1543 maxsize = MAX_CHILD_SIZE(Sh); in dc_check_balance_internal()
1703 int maxsize, in dc_check_balance_leaf() local
1715 maxsize = MAX_CHILD_SIZE(S0); /* maximal possible size of an item */ in dc_check_balance_leaf()
1720 RFALSE( -levbytes >= maxsize - B_FREE_SPACE (S0), in dc_check_balance_leaf()
/linux-2.4.37.9/include/linux/
Disdn.h560 int maxsize; /* maxbufsize of lowlevel driver */ member
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic79xx_osm.c1756 bus_size_t maxsize, int nsegments, argument
1774 dmat->maxsize = maxsize;
1805 dmat->maxsize, &map->bus_addr);
1817 *vaddr = malloc(dmat->maxsize, M_DEVBUF, M_NOWAIT);
1830 pci_free_consistent(ahd->dev_softc, dmat->maxsize,
1854 stack_sg.ds_len = dmat->maxsize;
Daic7xxx_osm.c1391 bus_size_t maxsize, int nsegments, argument
1409 dmat->maxsize = maxsize;
1440 dmat->maxsize, &map->bus_addr);
1452 *vaddr = malloc(dmat->maxsize, M_DEVBUF, M_NOWAIT);
1465 pci_free_consistent(ahc->dev_softc, dmat->maxsize,
1489 stack_sg.ds_len = dmat->maxsize;
Daic7xxx_osm.h187 bus_size_t maxsize; member
Daic79xx_osm.h175 bus_size_t maxsize; member
/linux-2.4.37.9/drivers/usb/
Daudio.c924 unsigned int i, maxsize, offs; in usbin_prepare_desc() local
926 maxsize = ((u->freqmax + 0x3fff) * AFMT_SAMPLEBYTES(u->format)) >> 14; in usbin_prepare_desc()
928 for (i = offs = 0; i < DESCFRAMES; i++, offs += maxsize) { in usbin_prepare_desc()
929 urb->iso_frame_desc[i].length = maxsize; in usbin_prepare_desc()