Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/udfs/common/
H A Dud_lib.c218 h->udfs.mvds_loc = SWAP_32(avdp->avd_main_vdse.ext_loc); in ud_fill_udfs_info()
219 h->udfs.mvds_len = SWAP_32(avdp->avd_main_vdse.ext_len); in ud_fill_udfs_info()
221 h->udfs.rvds_loc = SWAP_32(avdp->avd_res_vdse.ext_loc); in ud_fill_udfs_info()
222 h->udfs.rvds_len = SWAP_32(avdp->avd_res_vdse.ext_len); in ud_fill_udfs_info()
485 (SWAP_32(pvd->pvd_vdsn) > v->pvd_vdsn)) { in ud_parse_fill_vds()
486 v->pvd_vdsn = SWAP_32(pvd->pvd_vdsn); in ud_parse_fill_vds()
500 if (SWAP_32(vds->vdp_nvdse.ext_len) != 0) { in ud_parse_fill_vds()
501 vds_loc = SWAP_32(vds->vdp_nvdse.ext_loc); in ud_parse_fill_vds()
502 vds_len = SWAP_32(vds->vdp_nvdse.ext_len); in ud_parse_fill_vds()
532 (SWAP_32(pd->pd_vdsn) > in ud_parse_fill_vds()
[all …]
/illumos-gate/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.c748 if (SWAP_32(lvid->lvid_int_type) != in ud_mountfs()
837 if (SWAP_32(lvid->lvid_int_type) == LOG_VOL_CLOSE_INT) { in ud_mountfs()
898 if (SWAP_32(lvid->lvid_int_type) == LOG_VOL_CLOSE_INT) { in ud_mountfs()
1009 udf_vfsp->udf_mvds_loc = SWAP_32(avdp->avd_main_vdse.ext_loc); in ud_validate_and_fill_superblock()
1010 udf_vfsp->udf_mvds_len = SWAP_32(avdp->avd_main_vdse.ext_len); in ud_validate_and_fill_superblock()
1011 udf_vfsp->udf_rvds_loc = SWAP_32(avdp->avd_res_vdse.ext_loc); in ud_validate_and_fill_superblock()
1012 udf_vfsp->udf_rvds_len = SWAP_32(avdp->avd_res_vdse.ext_len); in ud_validate_and_fill_superblock()
1075 if (SWAP_32(opvd->pvd_vdsn) < in ud_validate_and_fill_superblock()
1076 SWAP_32(npvd->pvd_vdsn)) { in ud_validate_and_fill_superblock()
1106 if (SWAP_32(olvd->lvd_vdsn) < in ud_validate_and_fill_superblock()
[all …]
H A Dudf_inode.c560 ip->i_icb_block = SWAP_32(lad->lad_ext_loc); in ud_iget()
593 ip->i_uid = SWAP_32(fe->fe_uid); in ud_iget()
597 ip->i_gid = SWAP_32(fe->fe_gid); in ud_iget()
601 ip->i_perm = SWAP_32(fe->fe_perms) & 0xFFFF; in ud_iget()
723 ip->i_data_off = 0xB0 + SWAP_32(fe->fe_len_ear); in ud_iget()
731 SWAP_32(fe->fe_len_adesc) / sizeof (struct short_ad); in ud_iget()
745 (fe->fe_spec + SWAP_32(fe->fe_len_ear)); in ud_iget()
748 length = SWAP_32(sad->sad_ext_len); in ud_iget()
764 con->ib_block = SWAP_32(sad->sad_ext_loc); in ud_iget()
772 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.c614 length = SWAP_32(aed->aed_len_aed); in ud_common_ad()
646 length = SWAP_32(lad->lad_ext_len); in ud_common_ad()
648 length = SWAP_32(sad->sad_ext_len); in ud_common_ad()
672 con->ib_block = SWAP_32(lad->lad_ext_loc); in ud_common_ad()
675 con->ib_block = SWAP_32(sad->sad_ext_loc); in ud_common_ad()
685 iext->ib_block = SWAP_32(lad->lad_ext_loc); in ud_common_ad()
689 iext->ib_block = SWAP_32(sad->sad_ext_loc); in ud_common_ad()
H A Dudf_vnops.c1224 SWAP_32(fid->fid_icb.lad_ext_loc), 1, in udf_readdir()
2844 SWAP_32(fe->fe_len_ear); in ud_putapage()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c526 SWAP_32(fe->fe_tag.tag_loc), 1, 1) != 0) { in set_file()
531 i32 = SWAP_32(((uint32_t)value)); in set_file()
643 ea_off = SWAP_32(eah->eah_ial); in set_file()
644 ea_len = SWAP_32(fe->fe_len_ear); in set_file()
645 block = SWAP_32(eah->eah_tag.tag_loc); in set_file()
652 if ((ah->ahdr_atype == SWAP_32(12)) && in set_file()
687 SWAP_32(fe->fe_tag.tag_loc), fe->fe_tag.tag_crc_len); in set_file()
710 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 …]
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c282 SWAP_32(fsd->fsd_tag.tag_loc), in label()
393 SWAP_32(pvd->pvd_tag.tag_loc), in label_vds()
431 SWAP_32(iuvd->iuvd_tag.tag_loc), in label_vds()
456 SWAP_32(lvd->lvd_tag.tag_loc), in label_vds()
/illumos-gate/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)
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c705 (void) sprintf(vsibuf, "%08X", SWAP_32((uint32_t)mkfstime)); in volseqinit()