Home
last modified time | relevance | path

Searched refs:irec (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/xfs/
Dxfs_itable.c179 struct xfs_inobt_rec_incore *irec) in xfs_bulkstat_ichunk_ra() argument
187 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_bulkstat_ichunk_ra()
194 if (xfs_inobt_maskn(i, inodes_per_cluster) & ~irec->ir_free) { in xfs_bulkstat_ichunk_ra()
213 struct xfs_inobt_rec_incore *irec) /* btree record */ in xfs_bulkstat_grab_ichunk() argument
229 error = xfs_inobt_get_rec(cur, irec, &stat); in xfs_bulkstat_grab_ichunk()
235 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) { in xfs_bulkstat_grab_ichunk()
240 idx = agino - irec->ir_startino + 1; in xfs_bulkstat_grab_ichunk()
242 (xfs_inobt_maskn(idx, XFS_INODES_PER_CHUNK - idx) & ~irec->ir_free)) { in xfs_bulkstat_grab_ichunk()
250 if (XFS_INOBT_MASK(i) & ~irec->ir_free) in xfs_bulkstat_grab_ichunk()
251 irec->ir_freecount++; in xfs_bulkstat_grab_ichunk()
[all …]
Dxfs_trace.h1178 int type, struct xfs_bmbt_irec *irec),
1179 TP_ARGS(ip, offset, count, type, irec),
1198 __entry->startoff = irec ? irec->br_startoff : 0;
1199 __entry->startblock = irec ? irec->br_startblock : 0;
1200 __entry->blockcount = irec ? irec->br_blockcount : 0;
1218 int type, struct xfs_bmbt_irec *irec), \
1219 TP_ARGS(ip, offset, count, type, irec))
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_ialloc.c80 xfs_inobt_rec_incore_t *irec) /* btree record */ in xfs_inobt_update() argument
84 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update()
85 rec.inobt.ir_freecount = cpu_to_be32(irec->ir_freecount); in xfs_inobt_update()
86 rec.inobt.ir_free = cpu_to_be64(irec->ir_free); in xfs_inobt_update()
96 xfs_inobt_rec_incore_t *irec, /* btree record */ in xfs_inobt_get_rec() argument
104 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_get_rec()
105 irec->ir_freecount = be32_to_cpu(rec->inobt.ir_freecount); in xfs_inobt_get_rec()
106 irec->ir_free = be64_to_cpu(rec->inobt.ir_free); in xfs_inobt_get_rec()
Dxfs_inode_fork.c52 xfs_bmbt_irec_t irec; in xfs_validate_extents() local
60 xfs_bmbt_get_all(&rec, &irec); in xfs_validate_extents()
62 ASSERT(irec.br_state == XFS_EXT_NORM); in xfs_validate_extents()
Dxfs_da_btree.c2459 struct xfs_bmbt_irec irec; in xfs_dabuf_map() local
2460 struct xfs_bmbt_irec *irecs = &irec; in xfs_dabuf_map()
2480 irecs = kmem_zalloc(sizeof(irec) * nfsb, in xfs_dabuf_map()
2521 if (irecs != &irec) in xfs_dabuf_map()