/fs/xfs/ |
D | xfs_itable.c | 211 xfs_agino_t agino, /* starting inode of chunk */ in xfs_bulkstat_grab_ichunk() argument 220 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &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() 286 xfs_agino_t agino = irbp->ir_startino; in xfs_bulkstat_ag_ichunk() local 289 chunkidx++, agino++) { in xfs_bulkstat_ag_ichunk() 303 error = formatter(mp, XFS_AGINO_TO_INO(mp, agno, agino), in xfs_bulkstat_ag_ichunk() 332 *last_agino = agino - 1; in xfs_bulkstat_ag_ichunk() 351 xfs_agino_t agino; /* inode # in allocation group */ in xfs_bulkstat() local 364 agino = XFS_INO_TO_AGINO(mp, *lastinop); in xfs_bulkstat() [all …]
|
D | xfs_inode.c | 1962 xfs_agino_t agino; in xfs_iunlink() local 1985 agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink() 1986 ASSERT(agino != 0); in xfs_iunlink() 1987 bucket_index = agino % XFS_AGI_UNLINKED_BUCKETS; in xfs_iunlink() 1989 ASSERT(be32_to_cpu(agi->agi_unlinked[bucket_index]) != agino); in xfs_iunlink() 2020 ASSERT(agino != 0); in xfs_iunlink() 2021 agi->agi_unlinked[bucket_index] = cpu_to_be32(agino); in xfs_iunlink() 2045 xfs_agino_t agino; in xfs_iunlink_remove() local 2070 agino = XFS_INO_TO_AGINO(mp, ip->i_ino); in xfs_iunlink_remove() 2071 ASSERT(agino != 0); in xfs_iunlink_remove() [all …]
|
D | xfs_icache.c | 328 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget_cache_miss() local 389 error = radix_tree_insert(&pag->pag_ici_root, agino, ip); in xfs_iget_cache_miss() 463 xfs_agino_t agino; in xfs_iget() local 482 agino = XFS_INO_TO_AGINO(mp, ino); in xfs_iget() 487 ip = radix_tree_lookup(&pag->pag_ici_root, agino); in xfs_iget()
|
D | xfs_trace.h | 744 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 746 TP_ARGS(mp, agno, agino, holemask, nagino, nholemask), 750 __field(xfs_agino_t, agino) 758 __entry->agino = agino; 765 __entry->agino, __entry->holemask, __entry->nagino, 770 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino, 772 TP_ARGS(mp, agno, agino, holemask), 776 __field(xfs_agino_t, agino) 782 __entry->agino = agino; 786 MINOR(__entry->dev), __entry->agno, __entry->agino,
|
D | xfs_mount.c | 188 xfs_agino_t agino; in xfs_initialize_perag() local 237 agino = XFS_OFFBNO_TO_AGINO(mp, sbp->sb_agblocks - 1, 0); in xfs_initialize_perag() 238 ino = XFS_AGINO_TO_INO(mp, agcount - 1, agino); in xfs_initialize_perag()
|
D | xfs_log_recover.c | 4003 xfs_agino_t agino, in xlog_recover_process_one_iunlink() argument 4012 ino = XFS_AGINO_TO_INO(mp, agno, agino); in xlog_recover_process_one_iunlink() 4028 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink() 4038 return agino; in xlog_recover_process_one_iunlink() 4075 xfs_agino_t agino; in xlog_recover_process_iunlinks() local 4115 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks() 4116 while (agino != NULLAGINO) { in xlog_recover_process_iunlinks() 4117 agino = xlog_recover_process_one_iunlink(mp, in xlog_recover_process_iunlinks() 4118 agno, agino, bucket); in xlog_recover_process_iunlinks()
|
D | xfs_super.c | 586 xfs_agino_t agino; in xfs_set_inode32() local 605 agino = XFS_OFFBNO_TO_AGINO(mp, sbp->sb_agblocks - 1, 0); in xfs_set_inode32() 608 ino = XFS_AGINO_TO_INO(mp, index, agino); in xfs_set_inode32()
|
/fs/xfs/libxfs/ |
D | xfs_ialloc.c | 1060 xfs_agino_t agino, in xfs_ialloc_get_rec() argument 1067 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_EQ, &i); in xfs_ialloc_get_rec() 1892 xfs_agino_t agino, in xfs_difree_inobt() argument 1908 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); in xfs_difree_inobt() 1922 if ((error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &i))) { in xfs_difree_inobt() 1938 off = agino - rec.ir_startino; in xfs_difree_inobt() 2023 xfs_agino_t agino, in xfs_difree_finobt() argument 2030 int offset = agino - ibtrec->ir_startino; in xfs_difree_finobt() 2131 xfs_agino_t agino; /* allocation group inode number */ in xfs_difree() local 2149 agino = XFS_INO_TO_AGINO(mp, inode); in xfs_difree() [all …]
|
D | xfs_dir2.c | 197 xfs_agino_t agino; in xfs_dir_ino_validate() local 205 agino = XFS_OFFBNO_TO_AGINO(mp, agblkno, ioff); in xfs_dir_ino_validate() 211 XFS_AGINO_TO_INO(mp, agno, agino) == ino; in xfs_dir_ino_validate()
|