HelenOS sources
SPC 53 uspace/srv/fs/exfat/exfat.h #define BPC(bs) ((uint32_t) (BPS(bs) * SPC(bs)))
SPC 136 uspace/srv/fs/exfat/exfat_fat.c if (((((nodep->size - 1) / BPS(bs)) / SPC(bs)) == bn / SPC(bs)) &&
SPC 143 uspace/srv/fs/exfat/exfat_fat.c (nodep->lastc_cached_value - EXFAT_CLST_FIRST) * SPC(bs) +
SPC 144 uspace/srv/fs/exfat/exfat_fat.c (bn % SPC(bs)), flags);
SPC 153 uspace/srv/fs/exfat/exfat_fat.c relbn -= (nodep->currc_cached_bn / SPC(bs)) * SPC(bs);
SPC 202 uspace/srv/fs/exfat/exfat_fat.c (fcl - EXFAT_CLST_FIRST) * SPC(bs) + bn, flags);
SPC 204 uspace/srv/fs/exfat/exfat_fat.c max_clusters = bn / SPC(bs);
SPC 211 uspace/srv/fs/exfat/exfat_fat.c (c - EXFAT_CLST_FIRST) * SPC(bs) + (bn % SPC(bs)), flags);
SPC 493 uspace/srv/fs/exfat/exfat_fat.c for (i = 0; i < SPC(bs); i++) {
SPC 1085 uspace/srv/fs/exfat/exfat_ops.c rootp->size = BPS(bs) * SPC(bs) * clusters;
SPC 1250 uspace/srv/fs/exfat/exfat_ops.c printf("Sectors per cluster: %d\n", SPC(bs));
SPC 1251 uspace/srv/fs/exfat/exfat_ops.c printf("KBytes per cluster: %d\n", SPC(bs) * BPS(bs) / 1024);
SPC 439 uspace/srv/fs/fat/fat_directory.c di->nodep->size += BPS(di->bs) * SPC(di->bs);
SPC 140 uspace/srv/fs/fat/fat_fat.c if (((((nodep->size - 1) / BPS(bs)) / SPC(bs)) == bn / SPC(bs)) &&
SPC 156 uspace/srv/fs/fat/fat_fat.c relbn -= (nodep->currc_cached_bn / SPC(bs)) * SPC(bs);
SPC 213 uspace/srv/fs/fat/fat_fat.c max_clusters = bn / SPC(bs);
SPC 246 uspace/srv/fs/fat/fat_fat.c boundary = ROUND_UP(nodep->size, BPS(bs) * SPC(bs));
SPC 888 uspace/srv/fs/fat/fat_fat.c for (i = 0; i < SPC(bs); i++) {
SPC 76 uspace/srv/fs/fat/fat_fat.h #define CC(bs) (DS(bs) / SPC(bs))
SPC 79 uspace/srv/fs/fat/fat_fat.h (SSA((bs)) + ((cl) - FAT_CLST_FIRST) * SPC((bs)) + (bn) % SPC((bs)))
SPC 65 uspace/srv/fs/fat/fat_ops.c #define BPC(bs) (BPS((bs)) * SPC((bs)))
SPC 341 uspace/srv/fs/fat/fat_ops.c nodep->size = BPS(bs) * SPC(bs) * clusters;
SPC 518 uspace/srv/fs/fat/fat_ops.c nodep->size = BPS(bs) * SPC(bs);
SPC 860 uspace/srv/fs/fat/fat_ops.c *count = (SPC(bs)) ? TS(bs) / SPC(bs) : 0;
SPC 875 uspace/srv/fs/fat/fat_ops.c clusters = (SPC(bs)) ? TS(bs) / SPC(bs) : 0;
SPC 1009 uspace/srv/fs/fat/fat_ops.c rootp->size = BPS(bs) * SPC(bs) * clusters;
SPC 1423 uspace/srv/fs/fat/fat_ops.c (pos / BPS(bs)) % SPC(bs), flags);
HelenOS homepage, sources at GitHub