Searched refs:agi (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_ialloc.c121 xfs_agi_t *agi; /* allocation group header */ local
157 agi = XFS_BUF_TO_AGI(agbp);
158 newino = be32_to_cpu(agi->agi_newino);
162 (args.agbno < be32_to_cpu(agi->agi_length)))) {
164 be32_to_cpu(agi->agi_seqno), args.agbno);
205 args.agbno = be32_to_cpu(agi->agi_root);
207 be32_to_cpu(agi->agi_seqno), args.agbno);
229 args.agbno = be32_to_cpu(agi->agi_root);
231 be32_to_cpu(agi->agi_seqno), args.agbno);
282 d = XFS_AGB_TO_DADDR(args.mp, be32_to_cpu(agi
519 xfs_agi_t *agi; /* allocation group header structure */ local
941 xfs_agi_t *agi; /* allocation group header */ local
1333 xfs_agi_t *agi; /* allocation group header */ local
1358 xfs_agi_t *agi; /* allocation group header */ local
[all...]
H A Dxfs_fsops.c119 xfs_agi_t *agi; local
222 agi = XFS_BUF_TO_AGI(bp);
223 memset(agi, 0, mp->m_sb.sb_sectsize);
224 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC);
225 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION);
226 agi->agi_seqno = cpu_to_be32(agno);
227 agi->agi_length = cpu_to_be32(agsize);
228 agi->agi_count = 0;
229 agi->agi_root = cpu_to_be32(XFS_IBT_BLOCK(mp));
230 agi
[all...]
H A Dxfs_ialloc_btree.c67 xfs_agi_t *agi; /* allocation group inode header */ local
185 agi = XFS_BUF_TO_AGI(agbp);
190 bno = be32_to_cpu(agi->agi_root);
191 agi->agi_root = *pp;
192 be32_add(&agi->agi_level, -1);
855 xfs_agi_t *agi; /* a.g. inode header */ local
857 agi = XFS_BUF_TO_AGI(cur->bc_private.i.agbp);
858 agno = be32_to_cpu(agi->agi_seqno);
859 agbno = be32_to_cpu(agi->agi_root);
1187 xfs_agi_t *agi; /* local
[all...]
H A Dxfs_inode.c1890 xfs_agi_t *agi; local
1912 * Get the agi buffer first. It ensures lock ordering
1921 * Validate the magic number of the agi block.
1923 agi = XFS_BUF_TO_AGI(agibp);
1925 be32_to_cpu(agi->agi_magicnum) == XFS_AGI_MAGIC &&
1926 XFS_AGI_GOOD_VERSION(be32_to_cpu(agi->agi_versionnum));
1929 XFS_CORRUPTION_ERROR("xfs_iunlink", XFS_ERRLEVEL_LOW, mp, agi);
1934 * Get the index into the agi hash table for the
1940 ASSERT(agi->agi_unlinked[bucket_index]);
1941 ASSERT(be32_to_cpu(agi
1988 xfs_agi_t *agi; local
[all...]
H A Dxfs_btree.c572 /* (I only) buffer for agi structure */
579 xfs_agi_t *agi; /* (I) allocation group inodespace */ local
603 agi = XFS_BUF_TO_AGI(agbp);
604 nlevels = be32_to_cpu(agi->agi_level);
H A Dxfs_itable.c316 xfs_buf_t *agbp; /* agi header buffer */
317 xfs_agi_t *agi; /* agi header data */ local
399 agi = XFS_BUF_TO_AGI(agbp);
479 be32_to_cpu(agi->agi_length))
528 * Drop the btree buffers and the agi buffer.
H A Dxfs_log_recover.c3107 * in an agi unlinked inode hash bucket.
3116 xfs_agi_t *agi; local
3132 agi = XFS_BUF_TO_AGI(agibp);
3133 if (be32_to_cpu(agi->agi_magicnum) != XFS_AGI_MAGIC) {
3138 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO);
3165 xfs_agi_t *agi; local
3186 * Find the agi for this ag.
3196 agi = XFS_BUF_TO_AGI(agibp);
3197 ASSERT(XFS_AGI_MAGIC == be32_to_cpu(agi->agi_magicnum));
3201 agino = be32_to_cpu(agi
[all...]

Completed in 77 milliseconds