gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:DSECSZ (0.01 seconds)
t2ex
t2ex_source/t2ex/fs/fimp/src/fimp_fat.c - 201.0KB - 6,353 lines
142: #define OFFSETinPAGE(fs, page, secno, offset)   \
143:         ( ((secno) - (page)->dcp_secno) * DSECSZ(fs) + (offset) % DSECSZ(fs) )
144: 
303: 304: if (DSECSZ(fs) == 0) { 305: err = EX_NXIO; /* Media does not exist */
377: } 378: pagememsz = ratio * DSECSZ(fs); 379:
740: err = fatDCacheInfoInit(fs, &fs->ff_dc_rootdir, fs->ff_rootsc, 741: ROOTSZ / DSECSZ(fs), 742: CacheRootMemorySize, CacheRootRatio);
754: err = fatDCacheInfoInit(fs, &fs->ff_dc_other, 1, fs->ff_fat - 1, 755: DSECSZ(fs) * 2, 1); 756: exit0:
822: fs = map->m_fs; 823: secsz = DSECSZ(fs); 824:
1017: //map->m_page = NULL; 1018: secsz = DSECSZ(fs); 1019: map->m_bpp = dcinf->dci_ratio * secsz;
2560: dir->di_secno[0].ca_no = fs->ff_rootsc; 2561: dir->di_secno[0].ca_len = ROOTSZ / DSECSZ(fs); 2562:
4010: /* Allocate block read buffer */ 4011: if ((blkbuf = fimp_malloc(DSECSZ(fs))) == NULL) { 4012: err = EX_NOMEM;
4048: 4049: if (secsz <= 0 || (W)secsz != DSECSZ(fs) || 4050: fs->ff_ratio <= 0 || (W)dsksz > fs->ff_c.fs_diskinfo.blockcont) {
5064: { 5065: buf->f_bsize = DSECSZ(fs); 5066: buf->f_frsize = fs->ff_clsz;