Lines Matching defs:xfs_mount

60 typedef struct xfs_mount {  struct
61 struct super_block *m_super;
62 xfs_tid_t m_tid; /* next unused tid for fs */
63 struct xfs_ail *m_ail; /* fs active log item list */
65 struct xfs_sb m_sb; /* copy of fs superblock */
66 spinlock_t m_sb_lock; /* sb counter lock */
67 struct percpu_counter m_icount; /* allocated inodes counter */
68 struct percpu_counter m_ifree; /* free inodes counter */
69 struct percpu_counter m_fdblocks; /* free block counter */
71 struct xfs_buf *m_sb_bp; /* buffer for superblock */
72 char *m_fsname; /* filesystem name */
73 int m_fsname_len; /* strlen of fs name */
74 char *m_rtname; /* realtime device name */
75 char *m_logname; /* external log device name */
76 int m_bsize; /* fs logical block size */
77 xfs_agnumber_t m_agfrotor; /* last ag where space found */
78 xfs_agnumber_t m_agirotor; /* last ag dir inode alloced */
79 spinlock_t m_agirotor_lock;/* .. and lock protecting it */
80 xfs_agnumber_t m_maxagi; /* highest inode alloc group */
81 uint m_readio_log; /* min read size log bytes */
82 uint m_readio_blocks; /* min read size blocks */
83 uint m_writeio_log; /* min write size log bytes */
84 uint m_writeio_blocks; /* min write size blocks */
85 struct xfs_da_geometry *m_dir_geo; /* directory block geometry */
86 struct xfs_da_geometry *m_attr_geo; /* attribute block geometry */
87 struct xlog *m_log; /* log specific stuff */
88 int m_logbufs; /* number of log buffers */
89 int m_logbsize; /* size of each log buffer */
90 uint m_rsumlevels; /* rt summary levels */
91 uint m_rsumsize; /* size of rt summary, bytes */
92 struct xfs_inode *m_rbmip; /* pointer to bitmap inode */
93 struct xfs_inode *m_rsumip; /* pointer to summary inode */
94 struct xfs_inode *m_rootip; /* pointer to root directory */
95 struct xfs_quotainfo *m_quotainfo; /* disk quota information */
96 xfs_buftarg_t *m_ddev_targp; /* saves taking the address */
97 xfs_buftarg_t *m_logdev_targp;/* ptr to log device */
98 xfs_buftarg_t *m_rtdev_targp; /* ptr to rt device */
99 uint8_t m_blkbit_log; /* blocklog + NBBY */
100 uint8_t m_blkbb_log; /* blocklog - BBSHIFT */
101 uint8_t m_agno_log; /* log #ag's */
102 uint8_t m_agino_log; /* #bits for agino in inum */
103 uint m_inode_cluster_size;/* min inode buf size */
104 uint m_blockmask; /* sb_blocksize-1 */
105 uint m_blockwsize; /* sb_blocksize in words */
106 uint m_blockwmask; /* blockwsize-1 */
107 uint m_alloc_mxr[2]; /* max alloc btree records */
108 uint m_alloc_mnr[2]; /* min alloc btree records */
109 uint m_bmap_dmxr[2]; /* max bmap btree records */
110 uint m_bmap_dmnr[2]; /* min bmap btree records */
111 uint m_inobt_mxr[2]; /* max inobt btree records */
112 uint m_inobt_mnr[2]; /* min inobt btree records */
113 uint m_rmap_mxr[2]; /* max rmap btree records */
114 uint m_rmap_mnr[2]; /* min rmap btree records */
115 uint m_refc_mxr[2]; /* max refc btree records */
116 uint m_refc_mnr[2]; /* min refc btree records */
117 uint m_ag_maxlevels; /* XFS_AG_MAXLEVELS */
118 uint m_bm_maxlevels[2]; /* XFS_BM_MAXLEVELS */
119 uint m_in_maxlevels; /* max inobt btree levels. */
120 uint m_rmap_maxlevels; /* max rmap btree levels */
121 uint m_refc_maxlevels; /* max refcount btree level */
122 xfs_extlen_t m_ag_prealloc_blocks; /* reserved ag blocks */
123 uint m_alloc_set_aside; /* space we can't use */
124 uint m_ag_max_usable; /* max space per AG */
125 struct radix_tree_root m_perag_tree; /* per-ag accounting info */
126 spinlock_t m_perag_lock; /* lock for m_perag_tree */
127 struct mutex m_growlock; /* growfs mutex */
128 int m_fixedfsid[2]; /* unchanged for life of FS */
129 uint64_t m_flags; /* global mount flags */
130 bool m_finobt_nores; /* no per-AG finobt resv. */
131 int m_ialloc_inos; /* inodes in inode allocation */
132 int m_ialloc_blks; /* blocks in inode allocation */
133 int m_ialloc_min_blks;/* min blocks in sparse inode
135 int m_inoalign_mask;/* mask sb_inoalignmt if used */
136 uint m_qflags; /* quota status flags */
137 struct xfs_trans_resv m_resv; /* precomputed res values */
138 uint64_t m_maxicount; /* maximum inode count */
139 uint64_t m_resblks; /* total reserved blocks */
140 uint64_t m_resblks_avail;/* available reserved blocks */
141 uint64_t m_resblks_save; /* reserved blks @ remount,ro */
142 int m_dalign; /* stripe unit */
143 int m_swidth; /* stripe width */
144 int m_sinoalign; /* stripe unit inode alignment */
145 uint8_t m_sectbb_log; /* sectlog - BBSHIFT */
146 const struct xfs_nameops *m_dirnameops; /* vector of dir name ops */
147 const struct xfs_dir_ops *m_dir_inode_ops; /* vector of dir inode ops */
148 const struct xfs_dir_ops *m_nondir_inode_ops; /* !dir inode ops */
149 uint m_chsize; /* size of next field */
150 atomic_t m_active_trans; /* number trans frozen */
151 struct xfs_mru_cache *m_filestream; /* per-mount filestream data */
152 struct delayed_work m_reclaim_work; /* background inode reclaim */
153 struct delayed_work m_eofblocks_work; /* background eof blocks
155 struct delayed_work m_cowblocks_work; /* background cow blocks
157 bool m_update_sb; /* sb needs update in mount */
158 int64_t m_low_space[XFS_LOWSP_MAX];
160 struct xfs_kobj m_kobj;
161 struct xfs_kobj m_error_kobj;
162 struct xfs_kobj m_error_meta_kobj;
163 struct xfs_error_cfg m_error_cfg[XFS_ERR_CLASS_MAX][XFS_ERR_ERRNO_MAX];
164 struct xstats m_stats; /* per-fs stats */
166 struct workqueue_struct *m_buf_workqueue;
167 struct workqueue_struct *m_data_workqueue;
168 struct workqueue_struct *m_unwritten_workqueue;
169 struct workqueue_struct *m_cil_workqueue;
170 struct workqueue_struct *m_reclaim_workqueue;
171 struct workqueue_struct *m_log_workqueue;
172 struct workqueue_struct *m_eofblocks_workqueue;
196 } xfs_mount_t; argument