Lines Matching refs:lad

599 		struct long_ad *lad;  in ud_alloc_space_stbl()  local
601 lad = (struct long_ad *)use->use_ad; in ud_alloc_space_stbl()
610 for (index = 0; index < count; index++, lad++) { 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()
634 lad->lad_ext_len = SWAP_32(temp); in ud_alloc_space_stbl()
635 temp = SWAP_32(lad->lad_ext_loc) + blkcount; in ud_alloc_space_stbl()
636 lad->lad_ext_loc = SWAP_32(temp); in ud_alloc_space_stbl()
658 lad = (struct long_ad *)use->use_ad; in ud_alloc_space_stbl()
659 lad += larg_index; in ud_alloc_space_stbl()
660 *start_blkno = SWAP_32(lad->lad_ext_loc); in ud_alloc_space_stbl()
663 index++, lad++) { in ud_alloc_space_stbl()
664 *lad = *(lad+1); in ud_alloc_space_stbl()
918 struct long_ad *lad; in ud_free_space_stbl() local
920 lad = (struct long_ad *)use->use_ad; in ud_free_space_stbl()
927 for (index = 0; index < count; index++, lad++) { in ud_free_space_stbl()
928 if (beginblk == (SWAP_32(lad->lad_ext_loc) + in ud_free_space_stbl()
929 (SWAP_32(lad->lad_ext_len) / in ud_free_space_stbl()
931 dummy = SWAP_32(lad->lad_ext_len) + in ud_free_space_stbl()
933 lad->lad_ext_len = SWAP_32(dummy); in ud_free_space_stbl()
936 SWAP_32(lad->lad_ext_loc)) { in ud_free_space_stbl()
937 lad->lad_ext_loc = SWAP_32(beginblk); in ud_free_space_stbl()
957 lad = (struct long_ad *)&use->use_ad[dummy]; in ud_free_space_stbl()
959 lad->lad_ext_len = SWAP_32(sz); in ud_free_space_stbl()
960 lad->lad_ext_loc = SWAP_32(beginblk); in ud_free_space_stbl()
961 lad->lad_ext_prn = SWAP_16(ud_part->udp_number); in ud_free_space_stbl()