Lines Matching defs:nid
9 #define START_NID(nid) (((nid) / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)
18 /* size of free nid batch when shrinking */
21 #define DEF_RA_NID_PAGES 0 /* # of nid pages to be readaheaded */
29 /* control dirty nats ratio threshold (default: 10% over max nid count) */
59 nid_t nid; /* node id */
71 #define nat_get_nid(nat) ((nat)->ni.nid)
72 #define nat_set_nid(nat, n) ((nat)->ni.nid = (n))
85 dst->nid = src->nid;
142 FREE_NIDS, /* indicates the free nid list */
162 nid_t nid; /* node id */
166 static inline void next_free_nid(struct f2fs_sb_info *sbi, nid_t *nid)
177 *nid = fnid->nid;
248 return le32_to_cpu(rn->footer.nid);
270 static inline void fill_node_footer(struct page *page, nid_t nid,
281 rn->footer.nid = cpu_to_le32(nid);
363 static inline int set_nid(struct page *p, int off, nid_t nid, bool i)
370 rn->i.i_nid[off - NODE_DIR1_BLOCK] = cpu_to_le32(nid);
372 rn->in.nid[off] = cpu_to_le32(nid);
382 return le32_to_cpu(rn->in.nid[off]);