Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c229 h->udfs.mvds_loc = SWAP_32(avdp->avd_main_vdse.ext_loc); in ud_fill_udfs_info()
230 h->udfs.mvds_len = SWAP_32(avdp->avd_main_vdse.ext_len); in ud_fill_udfs_info()
232 h->udfs.rvds_loc = SWAP_32(avdp->avd_res_vdse.ext_loc); in ud_fill_udfs_info()
233 h->udfs.rvds_len = SWAP_32(avdp->avd_res_vdse.ext_len); in ud_fill_udfs_info()
496 (SWAP_32(pvd->pvd_vdsn) > v->pvd_vdsn)) { in ud_parse_fill_vds()
497 v->pvd_vdsn = SWAP_32(pvd->pvd_vdsn); in ud_parse_fill_vds()
511 if (SWAP_32(vds->vdp_nvdse.ext_len) != 0) { in ud_parse_fill_vds()
512 vds_loc = SWAP_32(vds->vdp_nvdse.ext_loc); in ud_parse_fill_vds()
513 vds_len = SWAP_32(vds->vdp_nvdse.ext_len); in ud_parse_fill_vds()
543 (SWAP_32(pd->pd_vdsn) > in ud_parse_fill_vds()
[all …]
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_alloc.c522 sz = SWAP_32(use->use_len_ad); in ud_alloc_space_stbl()
537 temp = SWAP_32(sad->sad_ext_len) >> in ud_alloc_space_stbl()
556 *start_blkno = SWAP_32(sad->sad_ext_loc); in ud_alloc_space_stbl()
560 sad->sad_ext_len = SWAP_32(temp); in ud_alloc_space_stbl()
561 temp = SWAP_32(sad->sad_ext_loc) + blkcount; in ud_alloc_space_stbl()
562 sad->sad_ext_loc = SWAP_32(temp); in ud_alloc_space_stbl()
586 *start_blkno = SWAP_32(sad->sad_ext_loc); in ud_alloc_space_stbl()
593 use->use_len_ad = SWAP_32(sz); in ud_alloc_space_stbl()
611 temp = SWAP_32(lad->lad_ext_len) >> in ud_alloc_space_stbl()
630 *start_blkno = SWAP_32(lad->lad_ext_loc); in ud_alloc_space_stbl()
[all …]
H A Dudf_vfsops.c749 if (SWAP_32(lvid->lvid_int_type) != in ud_mountfs()
838 if (SWAP_32(lvid->lvid_int_type) == LOG_VOL_CLOSE_INT) { in ud_mountfs()
899 if (SWAP_32(lvid->lvid_int_type) == LOG_VOL_CLOSE_INT) { in ud_mountfs()
1010 udf_vfsp->udf_mvds_loc = SWAP_32(avdp->avd_main_vdse.ext_loc); in ud_validate_and_fill_superblock()
1011 udf_vfsp->udf_mvds_len = SWAP_32(avdp->avd_main_vdse.ext_len); in ud_validate_and_fill_superblock()
1012 udf_vfsp->udf_rvds_loc = SWAP_32(avdp->avd_res_vdse.ext_loc); in ud_validate_and_fill_superblock()
1013 udf_vfsp->udf_rvds_len = SWAP_32(avdp->avd_res_vdse.ext_len); in ud_validate_and_fill_superblock()
1076 if (SWAP_32(opvd->pvd_vdsn) < in ud_validate_and_fill_superblock()
1077 SWAP_32(npvd->pvd_vdsn)) { in ud_validate_and_fill_superblock()
1107 if (SWAP_32(olvd->lvd_vdsn) < in ud_validate_and_fill_superblock()
[all …]
H A Dudf_inode.c559 ip->i_icb_block = SWAP_32(lad->lad_ext_loc); in ud_iget()
592 ip->i_uid = SWAP_32(fe->fe_uid); in ud_iget()
596 ip->i_gid = SWAP_32(fe->fe_gid); in ud_iget()
600 ip->i_perm = SWAP_32(fe->fe_perms) & 0xFFFF; in ud_iget()
722 ip->i_data_off = 0xB0 + SWAP_32(fe->fe_len_ear); in ud_iget()
730 SWAP_32(fe->fe_len_adesc) / sizeof (struct short_ad); in ud_iget()
744 (fe->fe_spec + SWAP_32(fe->fe_len_ear)); in ud_iget()
747 length = SWAP_32(sad->sad_ext_len); in ud_iget()
763 con->ib_block = SWAP_32(sad->sad_ext_loc); in ud_iget()
771 iext->ib_block = SWAP_32(sad->sad_ext_loc); in ud_iget()
[all …]
H A Dudf_subr.c184 lblkno = SWAP_32(addr[blkno]); in ud_xlate_to_daddr()
211 begin_bad = SWAP_32(te->sent_ol); in ud_xlate_to_daddr()
230 retblkno = SWAP_32(te->sent_ml) + in ud_xlate_to_daddr()
539 lvid->lvid_int_type = SWAP_32(LOG_VOL_OPEN_INT); in ud_sbwrite()
541 lvid->lvid_int_type = SWAP_32(LOG_VOL_CLOSE_INT); in ud_sbwrite()
545 c = SWAP_32(lvid->lvid_npart); in ud_sbwrite()
548 temp[i] = SWAP_32(ud_part->udp_nfree); in ud_sbwrite()
552 iu->lvidiu_nfiles = SWAP_32(udf_vfsp->udf_nfiles); in ud_sbwrite()
553 iu->lvidiu_ndirs = SWAP_32(udf_vfsp->udf_ndirs); in ud_sbwrite()
561 SWAP_32(lvid->lvid_liu)); in ud_sbwrite()
[all …]
H A Dudf_dir.c236 loc = SWAP_32(fid->fid_icb.lad_ext_loc); in ud_dirlook()
944 loc = SWAP_32(fid->fid_icb.lad_ext_loc); in ud_dircheckforname()
1182 lbno = SWAP_32(fid->fid_icb.lad_ext_loc); in ud_dircheckpath()
1321 fid->fid_icb.lad_ext_len = SWAP_32(sip->i_udf->udf_lbsize); in ud_diraddentry()
1322 fid->fid_icb.lad_ext_loc = SWAP_32(sip->i_icb_block); in ud_diraddentry()
1419 fid->fid_icb.lad_ext_len = SWAP_32(dp->i_udf->udf_lbsize); in ud_dirmakedirect()
1420 fid->fid_icb.lad_ext_loc = SWAP_32(dp->i_icb_block); in ud_dirmakedirect()
1530 fid->fid_icb.lad_ext_loc = SWAP_32(sip->i_icb_block); in ud_dirrename()
1534 SWAP_32(fid->fid_tag.tag_loc), FID_LEN(fid)); in ud_dirrename()
1812 SWAP_32(fid->fid_icb.lad_ext_loc), 1, &dummy); in ud_dirfixdotdot()
[all …]
H A Dudf_bmap.c616 length = SWAP_32(aed->aed_len_aed); in ud_common_ad()
648 length = SWAP_32(lad->lad_ext_len); in ud_common_ad()
650 length = SWAP_32(sad->sad_ext_len); in ud_common_ad()
674 con->ib_block = SWAP_32(lad->lad_ext_loc); in ud_common_ad()
677 con->ib_block = SWAP_32(sad->sad_ext_loc); in ud_common_ad()
687 iext->ib_block = SWAP_32(lad->lad_ext_loc); in ud_common_ad()
691 iext->ib_block = SWAP_32(sad->sad_ext_loc); in ud_common_ad()
H A Dudf_vnops.c1204 SWAP_32(fid->fid_icb.lad_ext_loc), 1, in udf_readdir()
2845 SWAP_32(fe->fe_len_ear); in ud_putapage()
/titanic_44/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c528 SWAP_32(fe->fe_tag.tag_loc), 1, 1) != 0) { in set_file()
533 i32 = SWAP_32(((uint32_t)value)); in set_file()
645 ea_off = SWAP_32(eah->eah_ial); in set_file()
646 ea_len = SWAP_32(fe->fe_len_ear); in set_file()
647 block = SWAP_32(eah->eah_tag.tag_loc); in set_file()
654 if ((ah->ahdr_atype == SWAP_32(12)) && in set_file()
689 SWAP_32(fe->fe_tag.tag_loc), fe->fe_tag.tag_crc_len); in set_file()
712 SWAP_32(tag->tag_loc), 1, 1) != 0) { in verify_inode()
821 (fe->fe_spec + SWAP_32(fe->fe_len_ear)); in get_blkno()
826 (fe->fe_spec + SWAP_32(fe->fe_len_ear)); in get_blkno()
[all …]
/titanic_44/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c284 SWAP_32(fsd->fsd_tag.tag_loc), in label()
395 SWAP_32(pvd->pvd_tag.tag_loc), in label_vds()
433 SWAP_32(iuvd->iuvd_tag.tag_loc), in label_vds()
458 SWAP_32(lvd->lvd_tag.tag_loc), in label_vds()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dudf_volume.h70 #define SWAP_32(a) ((((a) & 0xff) << 24) | \ macro
89 #define SWAP_32(a) (a)
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c705 (void) sprintf(vsibuf, "%08X", SWAP_32((uint32_t)mkfstime)); in volseqinit()