Linux Kernel
3.7.1
|
Go to the source code of this file.
#define XFS_AGINO_TO_AGBNO | ( | mp, | |
i | |||
) | ((i) >> XFS_INO_OFFSET_BITS(mp)) |
Definition at line 51 of file xfs_inum.h.
Definition at line 49 of file xfs_inum.h.
#define XFS_AGINO_TO_OFFSET | ( | mp, | |
i | |||
) | ((i) & XFS_INO_MASK(XFS_INO_OFFSET_BITS(mp))) |
Definition at line 52 of file xfs_inum.h.
Definition at line 33 of file xfs_inum.h.
Definition at line 34 of file xfs_inum.h.
Definition at line 35 of file xfs_inum.h.
#define XFS_INO_BITS | ( | mp | ) | XFS_INO_AGNO_BITS(mp) + XFS_INO_AGINO_BITS(mp) |
Definition at line 36 of file xfs_inum.h.
#define XFS_INO_MASK | ( | k | ) | (__uint32_t)((1ULL << (k)) - 1) |
Definition at line 31 of file xfs_inum.h.
Definition at line 32 of file xfs_inum.h.
Definition at line 42 of file xfs_inum.h.
#define XFS_INO_TO_AGINO | ( | mp, | |
i | |||
) | ((xfs_agino_t)(i) & XFS_INO_MASK(XFS_INO_AGINO_BITS(mp))) |
Definition at line 40 of file xfs_inum.h.
#define XFS_INO_TO_AGNO | ( | mp, | |
i | |||
) | ((xfs_agnumber_t)((i) >> XFS_INO_AGINO_BITS(mp))) |
Definition at line 38 of file xfs_inum.h.
#define XFS_INO_TO_FSB | ( | mp, | |
i | |||
) | XFS_AGB_TO_FSB(mp, XFS_INO_TO_AGNO(mp,i), XFS_INO_TO_AGBNO(mp,i)) |
Definition at line 47 of file xfs_inum.h.
#define XFS_INO_TO_OFFSET | ( | mp, | |
i | |||
) | ((int)(i) & XFS_INO_MASK(XFS_INO_OFFSET_BITS(mp))) |
Definition at line 45 of file xfs_inum.h.
#define XFS_MAXINUMBER ((xfs_ino_t)((1ULL << 32) - 1ULL)) |
Definition at line 60 of file xfs_inum.h.
#define XFS_MAXINUMBER_32 ((xfs_ino_t)((1ULL << 32) - 1ULL)) |
Definition at line 62 of file xfs_inum.h.
#define XFS_OFFBNO_TO_AGINO | ( | mp, | |
b, | |||
o | |||
) | ((xfs_agino_t)(((b) << XFS_INO_OFFSET_BITS(mp)) | (o))) |
Definition at line 54 of file xfs_inum.h.