Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c107 static void swap_pack_grabsebpb(bpb_t *wbpb, struct _boot_sector *bsp);
108 static void swap_pack_bpb32cpy(struct _boot_sector32 *bsp, bpb_t *wbpb);
109 static void swap_pack_sebpbcpy(struct _boot_sector *bsp, bpb_t *wbpb);
110 static void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp);
111 static void swap_pack_bpbcpy(struct _boot_sector *bsp, bpb_t *wbpb);
114 static uchar_t *build_rootdir(bpb_t *wbpb, char *ffn, int fffd,
116 static uchar_t *build_fat(bpb_t *wbpb, struct fat_od_fsi *fsinfop,
123 bpb_t *wbpb, int *prtsize, int *prtspc, int *prtbpf, int *prtnsect,
127 bpb_t *wbpb);
128 static void compute_file_area_size(bpb_t *wbpb);
[all …]
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c58 void swap_pack_grab32bpb(bpb_t *wbpb, struct _boot_sector *bsp);
59 void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp);
211 swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp) in swap_pack_grabbpb() argument
217 ((uchar_t *)&(wbpb->bpb.bytes_per_sector))[1] = *grabp++; in swap_pack_grabbpb()
218 ((uchar_t *)&(wbpb->bpb.bytes_per_sector))[0] = *grabp++; in swap_pack_grabbpb()
219 wbpb->bpb.sectors_per_cluster = *grabp++; in swap_pack_grabbpb()
220 ((uchar_t *)&(wbpb->bpb.resv_sectors))[1] = *grabp++; in swap_pack_grabbpb()
221 ((uchar_t *)&(wbpb->bpb.resv_sectors))[0] = *grabp++; in swap_pack_grabbpb()
222 wbpb->bpb.num_fats = *grabp++; in swap_pack_grabbpb()
223 ((uchar_t *)&(wbpb->bpb.num_root_entries))[1] = *grabp++; in swap_pack_grabbpb()
[all …]
H A Dpcfs_common.h93 extern void swap_pack_grab32bpb(bpb_t *wbpb, struct _boot_sector *bsp);
94 extern void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp);