Lines Matching +full:segment +full:- +full:1 +full:a
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * NILFS Segment constructor prototypes and definitions
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
22 * struct nilfs_recovery_info - Recovery information
26 * @ri_lsegs_start: Region for roll-forwarding (start block number)
27 * @ri_lsegs_end: Region for roll-forwarding (end block number)
28 * @ri_lsegs_start_seq: Sequence value of the segment at ri_lsegs_start
30 * @ri_pseg_start: Block number of the last partial segment
31 * @ri_seq: Sequence number on the last partial segment
32 * @ri_segnum: Segment number on the last partial segment
33 * @ri_nextnum: Next segment number on the last partial segment
51 #define NILFS_RECOVERY_SR_UPDATED 1 /* The super root was updated */
55 * struct nilfs_cstage - Context of collection stage
59 * @dirty_file_ptr: Pointer on dirty_files list, or inode of a target file
60 * @gc_inode_ptr: Pointer on the list of gc-inodes
77 * struct nilfs_sc_info - Segment constructor information
85 * @sc_freesegs: array of segment numbers to be freed
87 * @sc_dsync_inode: inode whose data pages are written for a sync operation
90 * @sc_segbufs: List of segment buffers
91 * @sc_write_logs: List of segment buffers to hold logs under writing
92 * @sc_segbuf_nblocks: Number of available blocks in segment buffers.
93 * @sc_curseg: Current segment buffer
95 * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary
96 * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary
97 * @sc_blk_cnt: Block count of a file
98 * @sc_datablk_cnt: Data block count of a file
99 * @sc_nblk_this_inc: Number of blocks included in the current logical segment
114 * @sc_lseg_stime: Start time of the latest logical segment
137 /* Segment buffers */
168 unsigned long sc_lseg_stime; /* in 1/HZ seconds */
177 NILFS_SC_DIRTY, /* One or more dirty meta-data blocks exist */
178 NILFS_SC_UNCLOSED, /* Logical segment is not closed */
179 NILFS_SC_SUPER_ROOT, /* The latest segment has a super root */
181 * Requesting immediate flush without making a
207 * It triggers construction of a
208 * logical segment with a super root.
223 /* segment.c */