Home
last modified time | relevance | path

Searched refs:NIADDR (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c240 for (j = NIADDR; j > 0; j--) { in bmap_read()
255 nb = ip->i_ib[NIADDR - j]; in bmap_read()
264 for (; j <= NIADDR; j++) { in bmap_read()
284 if (j != NIADDR) in bmap_read()
331 struct ufs_allocated_block undo_table[NIADDR+1]; in bmap_write()
595 for (j = NIADDR; j > 0; j--) { in bmap_write()
612 nb = ip->i_ib[NIADDR - j]; in bmap_write()
640 ASSERT(alloced_blocks <= NIADDR); in bmap_write()
668 ip->i_ib[NIADDR - j] = nb; in bmap_write()
682 undo_table[alloced_blocks-1].owner_offset = NIADDR - j; in bmap_write()
[all …]
H A Dufs_subr.c605 for (i = 0; i < NIADDR; i++) { in ufs_sync_indir()
711 for (j = NIADDR; j > 0; j--) { in ufs_indirblk_sync()
724 if ((nb = ip->i_ib[NIADDR - j]) == 0) in ufs_indirblk_sync()
731 for (; j < NIADDR; j++) { in ufs_indirblk_sync()
H A Dufs_trans.c445 ufs_trans_mata_direct(ip, &frags, &ip->i_ib[0], NIADDR); in ufs_trans_mata_iget()
447 for (i = 0; i < NIADDR && frags; ++i) in ufs_trans_mata_iget()
H A Dufs_inode.c974 for (i = 0; i < NIADDR; i++) in ufs_iupdat()
1166 daddr_t bn, lastiblock[NIADDR]; in ufs_itrunc()
1236 for (j = 0; j < NIADDR; j++) in ufs_itrunc()
H A Dufs_alloc.c420 for (i = 0; i < NIADDR; i++) in ufs_ialloc()
1487 #define UFSNADDR (NDADDR + NIADDR) /* NADDR applies to (obsolete) S5FS */
H A Dufs_lockfs.c820 niaddr = NIADDR; in ufs_reconcile_inode()
H A Dufs_vnops.c2487 for (i = 0; i < NIADDR; i++) in ufs_readlink()
4109 for (i = 0; i < NIADDR; i++) in ufs_symlink()
6156 for (i = 0; i < NIADDR; i++) { in ufs_dumpctl()
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddinode.h123 #define NIADDR 3 /* Indirect addresses in inode. */ macro
147 ufs2_daddr_t di_ib[NIADDR]; /* 208: Indirect disk blocks. */
181 ufs1_daddr_t di_ib[NIADDR]; /* 88: Indirect disk blocks. */
/illumos-gate/usr/src/boot/libsa/
H A Dufs.c114 int f_nindir[NIADDR];
119 char *f_blk[NIADDR];
124 size_t f_blksize[NIADDR]; /* size of buffer */
125 ufs2_daddr_t f_blkno[NIADDR]; /* disk address of block in buffer */
183 for (level = 0; level < NIADDR; level++) in read_inode()
245 for (level = 0; level < NIADDR; level++) { in block_map()
250 if (level == NIADDR) { in block_map()
531 for (level = 0; level < NIADDR; level++) { in ufs_open()
689 for (level = 0; level < NIADDR; level++) { in ufs_close()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c141 NIADDR * sizeof (daddr32_t)) != 0) || in verify_inode()
227 for (j = 0; j < NIADDR; j++) { in verify_inode()
277 for (; j < NIADDR; j++) { in verify_inode()
307 for (; j < NIADDR; j++) in verify_inode()
H A Dinode.c341 for (i = 0; i < NIADDR; i++) { in ckinode_common()
395 for (ilevel = 0; ilevel < NIADDR; ilevel++) { in get_indir_offsets()
835 blks = NDADDR + NIADDR; in cacheino()
908 blks = NDADDR + NIADDR; in cacheacl()
1374 for (ilevel++; ilevel < NIADDR; ilevel++) { in truncino()
1439 inp->i_blkssize = (NDADDR + NIADDR) * sizeof (daddr32_t); in init_inoinfo()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dufs2.h120 #define NIADDR 3 /* Indirect addresses in inode. */ macro
136 ufs1_daddr_t di_ib[NIADDR]; /* 88: Indirect disk blocks. */
167 ufs2_daddr_t di_ib[NIADDR]; /* 208: Indirect disk blocks. */
H A Ddisk_inode_ffs.h49 #define NIADDR FFS_NIADDR macro
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c96 #define NBUFS (NIADDR+1)
275 for (j = NIADDR; j > 0; j--) { in sbmap()
288 nb = inodep->i_ib[NIADDR - j]; in sbmap()
296 for (; j <= NIADDR; j++) { in sbmap()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_inode.h185 #define NIADDR 3 /* indirect addresses in inode */ macro
186 #define FSL_SIZE (NDADDR + NIADDR - 1) * sizeof (daddr32_t)
211 daddr32_t ic_ib[NIADDR]; /* 88: indirect blocks */
/illumos-gate/usr/src/common/fs/
H A Dufsops.c246 for (j = NIADDR; j > 0; j--) { in sbmap()
259 nb = inodep->i_ib[NIADDR - j]; in sbmap()
267 for (; j <= NIADDR; j++) { in sbmap()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c256 for (i = 0; i < NIADDR; i++) { in add()
397 for (i = 0; i < NIADDR; i++) { in lf_dumpinode()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c1474 if (value >= NIADDR) { in main()
1476 print(NIADDR - 1, 0, 0, 0); in main()
4043 for (i = 0; i < NIADDR; i++) { in fprnt()
4805 for (j = NIADDR; j > 0; j--) { in bmap()
4816 addr = (uintptr_t)&ip->di_ib[NIADDR - j]; in bmap()
4820 for (; j <= NIADDR; j++) { in bmap()
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c4488 checkdirect((ino_t)i, &frags, &dp->di_db[0], NDADDR+NIADDR); in findcsfragino()
4489 for (j = 0; j < NIADDR && frags; ++j) { in findcsfragino()
4550 fixdirect((caddr_t)dibuf, difrag, dp->di_db, NDADDR+NIADDR); in fixcsfragino()
4551 for (i = 0; i < NIADDR; ++i) in fixcsfragino()