f2fs.h (b91050a80cec3daf5a21f78274330df64a4936a3) f2fs.h (bb1105e479fbb8b0edc6f35affec71b75e31c8c0)
1/*
2 * fs/f2fs/f2fs.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 752 unchanged lines hidden (view full) ---

761 unsigned int nat_blocks; /* # of nat blocks */
762
763 /* free node ids management */
764 struct radix_tree_root free_nid_root;/* root of the free_nid cache */
765 struct list_head free_nid_list; /* list for free nids excluding preallocated nids */
766 unsigned int nid_cnt[MAX_NID_STATE]; /* the number of free node id */
767 spinlock_t nid_list_lock; /* protect nid lists ops */
768 struct mutex build_lock; /* lock for build free nids */
1/*
2 * fs/f2fs/f2fs.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 752 unchanged lines hidden (view full) ---

761 unsigned int nat_blocks; /* # of nat blocks */
762
763 /* free node ids management */
764 struct radix_tree_root free_nid_root;/* root of the free_nid cache */
765 struct list_head free_nid_list; /* list for free nids excluding preallocated nids */
766 unsigned int nid_cnt[MAX_NID_STATE]; /* the number of free node id */
767 spinlock_t nid_list_lock; /* protect nid lists ops */
768 struct mutex build_lock; /* lock for build free nids */
769 unsigned char (*free_nid_bitmap)[NAT_ENTRY_BITMAP_SIZE];
769 unsigned char **free_nid_bitmap;
770 unsigned char *nat_block_bitmap;
771 unsigned short *free_nid_count; /* free nid count of NAT block */
772
773 /* for checkpoint */
774 char *nat_bitmap; /* NAT bitmap pointer */
775
776 unsigned int nat_bits_blocks; /* # of nat bits blocks */
777 unsigned char *nat_bits; /* NAT bits blocks */

--- 2495 unchanged lines hidden ---
770 unsigned char *nat_block_bitmap;
771 unsigned short *free_nid_count; /* free nid count of NAT block */
772
773 /* for checkpoint */
774 char *nat_bitmap; /* NAT bitmap pointer */
775
776 unsigned int nat_bits_blocks; /* # of nat bits blocks */
777 unsigned char *nat_bits; /* NAT bits blocks */

--- 2495 unchanged lines hidden ---