/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_bmap.c | 214 daddr32_t *bap; in bmap_read() local 272 bap = bp->b_un.b_daddr; in bmap_read() 274 ASSERT(!ufs_indir_badblock(ip, bap)); in bmap_read() 278 nb = bap[i]; in bmap_read() 287 DOEXTENT(fs, lbn, boff, bnp, lenp, ip->i_size, &bap[i], in bmap_read() 318 daddr32_t *bap; in bmap_write() local 715 bap = bp->b_un.b_daddr; in bmap_write() 718 nb = bap[i]; in bmap_write() 742 pref = blkpref(ip, lbn, i, &bap[0]); in bmap_write() 859 bap = bp->b_un.b_daddr; in bmap_write() [all …]
|
H A D | ufs_subr.c | 576 daddr32_t *bap; in ufs_sync_indir() local 618 bap = bp->b_un.b_daddr; in ufs_sync_indir() 624 if ((blkno = bap[i]) == 0) in ufs_sync_indir() 640 bap = bp->b_un.b_daddr; in ufs_sync_indir() 646 if ((indirect_blkno = bap[i]) == 0) in ufs_sync_indir() 684 daddr32_t *bap; in ufs_indirblk_sync() local 739 bap = bp->b_un.b_daddr; in ufs_indirblk_sync() 742 nb = bap[i]; in ufs_indirblk_sync() 768 ufs_indir_badblock(struct inode *ip, daddr32_t *bap) in ufs_indir_badblock() argument 775 if (bap[i] != 0 && (err = ufs_badblock(ip, bap[i]))) in ufs_indir_badblock()
|
H A D | ufs_inode.c | 1050 daddr32_t *bap; in indirtrunc() local 1085 bap = bp->b_un.b_daddr; in indirtrunc() 1096 TRANS_LOG(ufsvfsp, (caddr_t)bap, in indirtrunc() 1100 bcopy((caddr_t)bap, (caddr_t)copy->b_un.b_daddr, in indirtrunc() 1102 bzero((caddr_t)&bap[last + 1], zb); in indirtrunc() 1105 (caddr_t)&bap[last + 1] - (caddr_t)bap, in indirtrunc() 1109 bp = copy, bap = bp->b_un.b_daddr; in indirtrunc() 1122 nb = bap[i]; in indirtrunc() 1140 nb = bap[i]; in indirtrunc()
|
H A D | ufs_alloc.c | 535 blkpref(struct inode *ip, daddr_t lbn, int indx, daddr32_t *bap) in blkpref() argument 545 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { in blkpref() 554 if (indx == 0 || bap[indx - 1] == 0) in blkpref() 557 startcg = dtog(fs, bap[indx - 1]) + 1; in blkpref() 588 nextblk = bap[indx - 1]; in blkpref() 594 nextblk = (-bap[indx - 1]) + fs->fs_frag; in blkpref() 596 nextblk = bap[indx - 1] + fs->fs_frag; in blkpref() 599 if (indx > fs->fs_maxcontig && bap[indx - fs->fs_maxcontig] + in blkpref()
|
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 224 daddr32_t nb, *bap; in sbmap() local 273 bap = (daddr32_t *)filep->fi_memp; in sbmap() 276 nb = bap[i]; in sbmap()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwo_cpu.c | 258 struct bca *bap = (struct bca *)arg; in set_cmp_props() local 263 pcd = bap->pcd; in set_cmp_props() 264 portid = bap->portid; in set_cmp_props()
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 253 daddr32_t nb, *bap; in sbmap() local 309 bap = (daddr32_t *)b.blk[j]; in sbmap() 312 nb = bap[i]; in sbmap()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 3540 crypto_object_attribute_t *bap; in dca_attr_lookup_uint32() local 3542 bap = dca_find_attribute(attrp, atnum, atype); in dca_attr_lookup_uint32() 3543 if (bap == NULL) { in dca_attr_lookup_uint32() 3547 *valp = *bap->oa_value; in dca_attr_lookup_uint32() 3560 crypto_object_attribute_t *bap; in dca_attr_lookup_uint8_array() local 3562 bap = dca_find_attribute(attrp, atnum, atype); in dca_attr_lookup_uint8_array() 3563 if (bap == NULL) { in dca_attr_lookup_uint8_array() 3567 *data = bap->oa_value; in dca_attr_lookup_uint8_array() 3568 *numelems = bap->oa_value_len; in dca_attr_lookup_uint8_array()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 787 const mptsas_target_addr_t *bap = b; in mptsas_target_addr_cmp() local 789 if (aap->mta_wwn < bap->mta_wwn) in mptsas_target_addr_cmp() 791 if (aap->mta_wwn > bap->mta_wwn) in mptsas_target_addr_cmp() 793 return ((int)bap->mta_phymask - (int)aap->mta_phymask); in mptsas_target_addr_cmp()
|