Home
last modified time | relevance | path

Searched refs:SECSIZ (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/fs/
H A Dpcfs.c128 head->fi_count = SECSIZ; in bpcfs_mountroot()
147 sizeof (_dir_entry_t) / SECSIZ; in bpcfs_mountroot()
166 cluster_cache = bkmem_alloc(nsec_cache * SECSIZ); in bpcfs_mountroot()
176 head->fi_count = nsec_cache * SECSIZ; in bpcfs_mountroot()
304 while (off >= pcfsp->f_bpb.bs_spc * SECSIZ) { in bpcfs_read()
306 off -= pcfsp->f_bpb.bs_spc * SECSIZ; in bpcfs_read()
319 xfer = MIN(SECSIZ - (off % SECSIZ), c - count); in bpcfs_read()
329 (void) bcopy(&block[off % SECSIZ], b, xfer); in bpcfs_read()
439 fp += (fat_index % SECSIZ); in fat_map()
598 return (cluster_cache + (sector - nsec_start) * SECSIZ); in readblock()
[all …]
H A Dpcfilep.h37 #define SECSIZ 512 macro
38 #define fat_bpc(i) (pi[(i)]->f_bpb.bs_spc * SECSIZ)
160 uchar_t fu_sector[SECSIZ];
196 #define DIRENTS (SECSIZ / sizeof (_dir_entry_t))
/illumos-gate/usr/src/boot/libsa/
H A Ddosfs.c62 #define SECSIZ 512 /* sector size */ macro
508 if (cv2(bs->bpb.secsiz) != SECSIZ) in parsebs()
835 uchar_t local_buf[SECSIZ]; in ioread()
838 if ((off = offset & (SECSIZ - 1))) { in ioread()
840 if ((n = SECSIZ - off) > nbyte) in ioread()
847 offset += SECSIZ; in ioread()
851 n = nbyte & (SECSIZ - 1); in ioread()