Lines Matching +full:long +full:- +full:summary

1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
44 #define XFS_ERR_RETRY_FOREVER -1
47 * Although retry_timeout is in jiffies which is normally an unsigned long,
49 * signed 32-bit long is sufficient for a HZ value up to 24855. Making it
50 * signed lets us store the special "-1" value, meaning retry forever.
55 long retry_timeout; /* in jiffies, -1 = infinite */
59 * The struct xfsmount layout is optimised to separate read-mostly variables
60 * from variables that are frequently modified. We put the read-mostly variables
63 * Typically, read-mostly variables are those that are set at mount time and
78 struct xfs_inode *m_rsumip; /* pointer to summary inode */
85 * Optional cache of rt summary level per bitmap block with the
91 struct xfs_mru_cache *m_filestream; /* per-mount filestream data */
101 uint8_t m_blkbb_log; /* blocklog - BBSHIFT */
103 uint8_t m_sectbb_log; /* sectlog - BBSHIFT */
104 uint m_blockmask; /* sb_blocksize-1 */
106 uint m_blockwmask; /* blockwsize-1 */
129 uint m_rsumlevels; /* rt summary levels */
130 uint m_rsumsize; /* size of rt summary, bytes */
140 bool m_finobt_nores; /* no per-AG finobt resv. */
144 * Bitsets of per-fs metadata that have been checked and/or are sick.
157 * End of read-mostly variables. Frequently written variables and locks
160 * the read-mostly variables.
174 struct radix_tree_root m_perag_tree; /* per-ag accounting info */
188 struct xstats m_stats; /* per-fs stats */
204 * as long as we only allow file system size increments, but if we
222 #define M_IGEO(mp) (&(mp)->m_ino_geo)
227 #define XFS_MOUNT_WSYNC (1ULL << 0) /* for nfs - all metadata ops
239 #define XFS_MOUNT_GRPID (1ULL << 9) /* group-ID assigned from directory */
240 #define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */
248 #define XFS_MOUNT_RDONLY (1ULL << 20) /* read-only fs */
259 * Max and min values for mount-option defined I/O
266 ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN)
267 #define XFS_FORCED_SHUTDOWN(mp) ((mp)->m_flags & XFS_MOUNT_FS_SHUTDOWN)
276 #define SHUTDOWN_CORRUPT_INCORE 0x0008 /* corrupt in-memory data structures */
287 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno()
295 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
298 /* per-AG block reservation data structures*/
309 * Per-ag incore structure, copies of information in agf and agi, to improve the
340 * Bitsets of per-ag metadata that have been checked and/or are sick.
357 unsigned long pag_ici_reclaim_cursor; /* reclaim restart point */
363 /* for rcu-safe freeing */
390 return &pag->pag_meta_resv; in xfs_perag_resv()
392 return &pag->pag_rmapbt_resv; in xfs_perag_resv()
414 return mp->m_alloc_set_aside; in xfs_fdblocks_unavailable()