/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | pc_node.h | 60 daddr_t pc_eblkno; /* disk blkno for entry */ 64 daddr_t pc_lindex; /* index of last cluster visited */ 121 extern struct pcnode *pc_getnode(struct pcfs *, daddr_t, int, struct pcdir *); 127 extern int pc_bmap(struct pcnode *, daddr_t, daddr_t *, uint_t *); 129 extern int pc_balloc(struct pcnode *, daddr_t, int, daddr_t *);
|
H A D | ufs_inode.h | 872 extern void free(struct inode *, daddr_t, off_t, int); 873 extern int alloc(struct inode *, daddr_t, int, daddr_t *, cred_t *); 874 extern int realloccg(struct inode *, daddr_t, daddr_t, int, int, 875 daddr_t *, cred_t *); 879 extern daddr_t blkpref(struct inode *, daddr_t, int, daddr32_t *); 880 extern daddr_t contigpref(ufsvfs_t *, size_t, size_t); 885 extern int bmap_read(struct inode *, u_offset_t, daddr_t *, int *); 887 daddr_t *, struct cred *); 902 extern int ufs_badblock(struct inode *, daddr_t); 906 extern int isblock(struct fs *, uchar_t *, daddr_t); [all …]
|
H A D | pc_fs.h | 405 daddr_t pcfs_dosstart; /* start blkno of DOS partition */ 406 daddr_t pcfs_fsistart; /* start blkno of FSI sector */ 407 daddr_t pcfs_fatstart; /* start blkno of first FAT */ 408 daddr_t pcfs_rdirstart; /* start blkno of root dir */ 409 daddr_t pcfs_datastart; /* start blkno of data area */ 534 ((daddr_t)((OFF) / (PCFS)->pcfs_clsize)) 540 ((daddr_t)((CL) * (PCFS)->pcfs_spcl)) 549 pc_dbdaddr(PCFS, ((daddr_t)((PCFS)->pcfs_datastart + \
|
H A D | ufs_bio.h | 64 daddr_t blkno, long bsize); 68 daddr_t blkno, long bsize, int flag);
|
/titanic_41/usr/src/uts/common/sys/scsi/impl/ |
H A D | services.h | 68 int severity, daddr_t blkno, daddr_t err_blkno, 74 char *drv_name, int severity, daddr_t blkno, daddr_t err_blkno, 80 char *label, int severity, daddr_t blkno, daddr_t err_blkno,
|
/titanic_41/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | fsck.h | 85 daddr_t b_bno; 91 daddr_t *b_indir; /* indirect block */ 122 (bp)->b_bno = (daddr_t)-1; \ 137 daddr_t id_blkno; /* current block number being examined */ 207 daddr_t n_blks; /* number of blocks in use */ 208 daddr_t n_files; /* number of files in use */ 209 daddr_t n_dirs; /* number of dirs in use */ 245 void markbusy(daddr_t, long);
|
H A D | utilities.c | 58 static struct bufarea *getdatablk(daddr_t, long); 59 static struct bufarea *getblk(struct bufarea *, daddr_t, long); 62 int32_t bread(int32_t, char *, daddr_t, long); 63 void bwrite(int, char *, daddr_t, long); 123 markbusy(daddr_t block, long count) in markbusy() 175 bp = getdatablk((daddr_t)(block + part_start), fsbsize); in getfilentry() 288 getdatablk(daddr_t blkno, long size) in getdatablk() 315 getblk(struct bufarea *bp, daddr_t blk, long size) in getblk() 317 daddr_t dblk; in getblk() 344 rwerror(char *mesg, daddr_t blk) in rwerror() [all …]
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_alloc.c | 74 static daddr_t fragextend(); 75 static daddr_t alloccg(); 76 static daddr_t alloccgblk(); 78 static daddr_t mapsearch(); 105 alloc(struct inode *ip, daddr_t bpref, int size, daddr_t *bnp, cred_t *cr) in alloc() 109 daddr_t bno; in alloc() 145 bno = (daddr_t)hashalloc(ip, cg, (long)bpref, size, in alloc() 182 realloccg(struct inode *ip, daddr_t bprev, daddr_t bpref, int osize, in realloccg() 183 int nsize, daddr_t *bnp, cred_t *cr) in realloccg() 185 daddr_t bno; in realloccg() [all …]
|
H A D | ufs_subr.c | 573 daddr_t blkno; in ufs_sync_indir() 574 daddr_t lbn; /* logical blkno of last blk in file */ in ufs_sync_indir() 575 daddr_t clbn; /* current logical blk */ in ufs_sync_indir() 582 daddr_t indirect_blkno; in ufs_sync_indir() 595 lbn = (daddr_t)lblkno(fs, ip->i_size - 1); in ufs_sync_indir() 600 blkflush(ip->i_dev, (daddr_t)fsbtodb(fs, ip->i_ib[0])); in ufs_sync_indir() 608 blkflush(ip->i_dev, (daddr_t)fsbtodb(fs, blkno)); in ufs_sync_indir() 613 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, blkno), bsize); in ufs_sync_indir() 626 blkflush(ip->i_dev, (daddr_t)fsbtodb(fs, blkno)); in ufs_sync_indir() 635 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, blkno), bsize); in ufs_sync_indir() [all …]
|
H A D | ufs_bmap.c | 85 daddr_t this_block; /* Number of this block */ 88 daddr_t owner_block; /* Number of the owning block */ 205 bmap_read(struct inode *ip, u_offset_t off, daddr_t *bnp, int *lenp) in bmap_read() 207 daddr_t lbn; in bmap_read() 213 daddr_t ob, nb, tbn; in bmap_read() 218 lbn = (daddr_t)lblkno(fs, off); in bmap_read() 288 MIN(NINDIR(fs) - i, (daddr_t)lblkno(fs, ip->i_size - 1) - lbn + 1), in bmap_read() 309 enum bi_type alloc_type, daddr_t *allocblk, struct cred *cr) in bmap_write() 317 daddr_t ob, nb, pref, lbn, llbn, tbn; in bmap_write() 341 lbn = (daddr_t)lblkno(fs, off); in bmap_write() [all …]
|
H A D | ufs_trans.c | 231 ufs_trans_push_buf(ufsvfs_t *ufsvfsp, delta_t dtyp, daddr_t bno) in ufs_trans_push_buf() 372 daddr_t *fragsp, in ufs_trans_mata_direct() 377 daddr_t frag; in ufs_trans_mata_direct() 401 daddr_t *fragsp, in ufs_trans_mata_indir() 402 daddr_t frag, in ufs_trans_mata_indir() 437 daddr_t frags = dbtofsb(ip->i_fs, ip->i_blocks); in ufs_trans_mata_iget() 469 daddr_t frag, in ufs_trans_mata_alloc() 489 daddr_t bn; in ufs_trans_dir() 643 daddr_t nblk, maxfblk; in ufs_log_amt() 690 niblk += roundup(n3blk * sizeof (daddr_t), bsize) / bsize + 1; in ufs_log_amt() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | buf.h | 372 void blkflush(dev_t, daddr_t); 387 struct buf *bread(dev_t, daddr_t, long); 388 struct buf *bread_common(void *, dev_t, daddr_t, long); 389 struct buf *breada(dev_t, daddr_t, daddr_t, long); 390 struct buf *getblk(dev_t, daddr_t, long); 391 struct buf *getblk_common(void *, dev_t, daddr_t, long, int); 397 struct buf *bioclone(struct buf *, off_t, size_t, dev_t, daddr_t,
|
H A D | hdio.h | 42 daddr_t hdkc_blkno; /* disk address for command */ 80 daddr_t hdkd_errsect; /* most recent sector in error */ 98 daddr_t hdkl_block; /* location of block in error */
|
H A D | mtio.h | 54 daddr_t mt_count; /* how many of them */ 108 daddr_t mt_resid; /* residual count */ 109 daddr_t mt_fileno; /* file number of current position */ 110 daddr_t mt_blkno; /* block number of current position */
|
/titanic_41/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 54 daddr_t lcn, /* logical cluster no */ in pc_bmap() 55 daddr_t *dbnp, /* ptr to phys block no */ in pc_bmap() 62 daddr_t olcn = lcn; in pc_bmap() 75 daddr_t lbn; /* logical (disk) block number */ in pc_bmap() 97 lcn >= (daddr_t)howmany((offset_t)pcp->pc_size, in pc_bmap() 163 daddr_t lcn, /* logical cluster no */ in pc_balloc() 165 daddr_t *dbnp) /* ptr to phys block no */ in pc_balloc() 183 daddr_t lbn; in pc_balloc()
|
/titanic_41/usr/src/lib/libbc/inc/include/sun/ |
H A D | dklabel.h | 61 daddr_t dkl_cylno; /* starting cylinder */ 62 daddr_t dkl_nblk; /* number of blocks */
|
H A D | dkio.h | 162 daddr_t dkc_blkno; /* disk address for command */ 182 daddr_t dkd_errsect; /* most recent sector in error */ 200 daddr_t block; /* location of block in error */
|
/titanic_41/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 45 #define MAXNINDIR (MAXBSIZE / sizeof (daddr_t)) 123 daddr_t bmap(daddr_t); 496 daddr_t lbn, d; in dreaddir() 609 daddr_t 610 bmap(daddr_t i) in bmap() 612 daddr_t ibuf[MAXNINDIR]; in bmap() 619 return ((daddr_t)0); in bmap()
|
/titanic_41/usr/src/uts/common/sys/dktp/ |
H A D | gda.h | 45 int, daddr_t, daddr_t, char **, char **);
|
H A D | tgdk.h | 52 daddr_t b_lblk; 54 daddr_t b_psec; 84 tgdk_iob_handle (*tg_iob_alloc)(opaque_t, daddr_t, ssize_t, int); 165 #define LBLK2SEC(BLK, SHF) (daddr_t)((BLK) >> (SHF))
|
/titanic_41/usr/src/uts/sun/sys/dada/targets/ |
H A D | dadpriv.h | 62 daddr_t failed_blk; 84 daddr_t blkaddr;
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_resync.c | 43 daddr_t size, in meta_resync_byname() 77 daddr_t size, in meta_resync_all()
|
H A D | meta_raid_resync.c | 43 daddr_t size, in meta_raid_resync() 85 daddr_t size, in meta_raid_resync_all()
|
H A D | meta_db_balance.c | 55 daddr_t drv_dbsize; 75 daddr_t dbsize, in add_replica() 161 daddr_t dbsize, in add_drv_to_ctl_lst() 599 daddr_t dbsize, in build_ctlr_lst() 605 daddr_t nblks; in build_ctlr_lst() 607 static daddr_t min_dbsize = 0; in build_ctlr_lst() 636 daddr_t this_dbsize = d->dd_dbsize; in build_ctlr_lst() 846 daddr_t dbsize, in balance_replicas() 1208 daddr_t dbsize, in meta_db_balance()
|
/titanic_41/usr/src/cmd/tcopy/ |
H A D | tcopy.c | 115 op.mt_count = (daddr_t)0; 164 op.mt_count = (daddr_t)1;
|