Home
last modified time | relevance | path

Searched refs:SECSIZ (Results 1 – 2 of 2) 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()
318 for (i = ((off / SECSIZ) % pcfsp->f_bpb.bs_spc); i < spc; i++) { 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()
426 sectn = (fat_index / SECSIZ) + ltohs(pcfsp->f_bpb.bs_resv_sectors) in fat_map()
[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))