Home
last modified time | relevance | path

Searched refs:fsd (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c507 grub_fsdesc_t *fsd = NULL; in grub_get_rootfsd() local
511 fsd = (grub_fsdesc_t *)root->gr_fs + GRBM_UFS; in grub_get_rootfsd()
513 fsd = (grub_fsdesc_t *)root->gr_fs + GRBM_ZFS_BOOTFS; in grub_get_rootfsd()
515 return (fsd); in grub_get_rootfsd()
523 grub_fsd_get_mountp(grub_fsdesc_t *fsd, char *fstyp) in grub_fsd_get_mountp() argument
530 fsd->gfs_mountp[0] = 0; in grub_fsd_get_mountp()
535 mpref.mnt_special = fsd->gfs_dev; in grub_fsd_get_mountp()
539 (void) strlcpy(fsd->gfs_mountp, mp.mnt_mountp, in grub_fsd_get_mountp()
540 sizeof (fsd->gfs_mountp)); in grub_fsd_get_mountp()
555 grub_fsd_mount_tmp(grub_fsdesc_t *fsd, const char *fstyp) in grub_fsd_mount_tmp() argument
[all …]
H A Dlibgrub_entry.c77 const grub_fsdesc_t *fsd; in barg_cmdline() local
80 (fsd = grub_get_rootfsd(&barg->gb_root)) == NULL) in barg_cmdline()
84 if (fsd->gfs_mountp[0] != 0) { in barg_cmdline()
85 if ((n = snprintf(cmd, size, "%s%s", fsd->gfs_mountp, in barg_cmdline()
90 return (snprintf(cmd, size, "%s %s", fsd->gfs_dev, in barg_cmdline()
H A Dlibgrub_bargs.c102 const grub_fsdesc_t *fsd; in barg2bootargs() local
110 if ((fsd = grub_get_rootfsd(&barg->gb_root)) == NULL) in barg2bootargs()
113 bcopy(fsd, &fbarg->gba_fsd, sizeof (fbarg->gba_fsd)); in barg2bootargs()
H A Dlibgrub_impl.h185 int grub_fsd_get_mountp(grub_fsdesc_t *fsd, char *fstyp);
/titanic_50/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c861 struct file_set_desc *fsd; in ud_get_latest_fsd() local
897 fsd = (struct file_set_desc *)taddr; in ud_get_latest_fsd()
899 (SWAP_32(fsd->fsd_fs_no) > old_fsn)) { in ud_get_latest_fsd()
900 old_fsn = SWAP_32(fsd->fsd_fs_no); in ud_get_latest_fsd()
905 SWAP_16(fsd->fsd_root_icb.lad_ext_prn); in ud_get_latest_fsd()
907 SWAP_32(fsd->fsd_root_icb.lad_ext_loc); in ud_get_latest_fsd()
909 SWAP_32(fsd->fsd_root_icb.lad_ext_len); in ud_get_latest_fsd()
911 if (SWAP_32(fsd->fsd_next.lad_ext_len) != 0) { in ud_get_latest_fsd()
912 fsd_prn = SWAP_16(fsd->fsd_next.lad_ext_prn); in ud_get_latest_fsd()
913 fsd_loc = SWAP_32(fsd->fsd_next.lad_ext_loc); in ud_get_latest_fsd()
[all …]
/titanic_50/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c267 struct file_set_desc *fsd; in label() local
276 fsd = (struct file_set_desc *)buf; in label()
278 set_dstring(fsd->fsd_lvid, in label()
279 volname, sizeof (fsd->fsd_lvid)); in label()
280 set_dstring(fsd->fsd_fsi, in label()
281 volname, sizeof (fsd->fsd_fsi)); in label()
283 ud_make_tag(udh, &fsd->fsd_tag, UD_FILE_SET_DESC, in label()
284 SWAP_32(fsd->fsd_tag.tag_loc), in label()
285 SWAP_16(fsd->fsd_tag.tag_crc_len)); in label()
/titanic_50/usr/src/cmd/backup/restore/
H A Dtape.c1338 ufs_fsd_t *fsd; in metaproc() local
1349 fsd = (ufs_fsd_t *)c; in metaproc()
1350 assert((fsd->fsd_size % 4) == 0); in metaproc()
1352 c += FSD_RECSZ(fsd, fsd->fsd_size); in metaproc()
1353 if ((fsd->fsd_type == FSD_FREE) || in metaproc()
1354 ((unsigned)(fsd->fsd_size) <= sizeof (ufs_fsd_t)) || in metaproc()
1358 if (fsdtype->type == fsd->fsd_type) in metaproc()
1359 (*fsdtype->function)(name, fsd->fsd_data, in metaproc()
1360 (unsigned)(fsd->fsd_size) - in metaproc()
1361 sizeof (fsd->fsd_type) - in metaproc()
[all …]
/titanic_50/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c3106 struct ufs_fsd fsd; in getshadowslot() local
3137 getshadowdata((long *)&fsd, LONG + LONG); in getshadowslot()
3140 if (cur_bytes + (long)fsd.fsd_size > filesize) { in getshadowslot()
3148 addr += fsd.fsd_size; in getshadowslot()
3149 cur_bytes += fsd.fsd_size; in getshadowslot()
4216 struct ufs_fsd fsd; in fprnt() local
4222 getshadowdata((long *)&fsd, LONG + LONG); in fprnt()
4224 print((long)fsd.fsd_type, 8, -8, 0); in fprnt()
4226 print((long)fsd.fsd_size, 8, -8, 0); in fprnt()
4227 tbase = fsd.fsd_size - LONG - LONG; in fprnt()
[all …]
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c972 struct file_set_desc *fsd; in ud_validate_and_fill_superblock() local
1451 fsd = (struct file_set_desc *)secbp->b_un.b_addr; in ud_validate_and_fill_superblock()
1452 if (ud_verify_tag_and_desc(&fsd->fsd_tag, UD_FILE_SET_DESC, in ud_validate_and_fill_superblock()
1459 udf_vfsp->udf_ricb_prn = SWAP_16(fsd->fsd_root_icb.lad_ext_prn); in ud_validate_and_fill_superblock()
1460 udf_vfsp->udf_ricb_loc = SWAP_32(fsd->fsd_root_icb.lad_ext_loc); in ud_validate_and_fill_superblock()
1461 udf_vfsp->udf_ricb_len = SWAP_32(fsd->fsd_root_icb.lad_ext_len); in ud_validate_and_fill_superblock()
/titanic_50/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c980 struct scsi_fru_sense_descr *fsd = in scsi_print_descr_sense() local
983 "%d\n", fsd->fs_fru_code); in scsi_print_descr_sense()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1741 struct scsi_fru_sense_descr *fsd = in scsi_ext_sense_fields() local
1745 *fru_code = &fsd->fs_fru_code; in scsi_ext_sense_fields()
/titanic_50/usr/src/cmd/format/
H A Dctlr_scsi.c3376 struct scsi_fru_sense_descr *fsd = local
3379 "%d\n", fsd->fs_fru_code);