Lines Matching refs:nat
34 /* vector size for gang look-up from nat cache that consists of radix tree */
46 IS_DIRTY, /* this nat entry is dirty? */
47 IS_PREALLOC, /* nat entry is preallocated */
62 struct list_head list; /* for clean or dirty nat list */
66 #define nat_get_nid(nat) ((nat)->ni.nid)
67 #define nat_set_nid(nat, n) ((nat)->ni.nid = (n))
68 #define nat_get_blkaddr(nat) ((nat)->ni.blk_addr)
69 #define nat_set_blkaddr(nat, b) ((nat)->ni.blk_addr = (b))
70 #define nat_get_ino(nat) ((nat)->ni.ino)
71 #define nat_set_ino(nat, i) ((nat)->ni.ino = (i))
72 #define nat_get_version(nat) ((nat)->ni.version)
73 #define nat_set_version(nat, v) ((nat)->ni.version = (v))
145 NAT_ENTRIES, /* indicates the cached nat entry */
154 struct list_head set_list; /* link with other nat sets */
155 struct list_head entry_list; /* link with dirty nat entries */
157 unsigned int entry_cnt; /* the # of nat entries in set */