net/mlx5: Add ConnectX-5 PCIe 4.0 to list of supported devices
[deliverable/linux.git] / fs / nilfs2 / bmap.h
index bfa817ce40b3ad6f66faf296bf3b7e1033904435..b6a4c8f93ac8e0d092ffe7ac0a6461004b331fec 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
- * Written by Koji Sato <koji@osrg.net>.
+ * Written by Koji Sato.
  */
 
 #ifndef _NILFS_BMAP_H
@@ -61,7 +57,7 @@ struct nilfs_bmap_stats {
 struct nilfs_bmap_operations {
        int (*bop_lookup)(const struct nilfs_bmap *, __u64, int, __u64 *);
        int (*bop_lookup_contig)(const struct nilfs_bmap *, __u64, __u64 *,
-                                unsigned);
+                                unsigned int);
        int (*bop_insert)(struct nilfs_bmap *, __u64, __u64);
        int (*bop_delete)(struct nilfs_bmap *, __u64);
        void (*bop_clear)(struct nilfs_bmap *);
@@ -126,10 +122,14 @@ struct nilfs_bmap {
 
 /* pointer type */
 #define NILFS_BMAP_PTR_P       0       /* physical block number (i.e. LBN) */
-#define NILFS_BMAP_PTR_VS      1       /* virtual block number (single
-                                          version) */
-#define NILFS_BMAP_PTR_VM      2       /* virtual block number (has multiple
-                                          versions) */
+#define NILFS_BMAP_PTR_VS      1       /*
+                                        * virtual block number (single
+                                        * version)
+                                        */
+#define NILFS_BMAP_PTR_VM      2       /*
+                                        * virtual block number (has multiple
+                                        * versions)
+                                        */
 #define NILFS_BMAP_PTR_U       (-1)    /* never perform pointer operations */
 
 #define NILFS_BMAP_USE_VBN(bmap)       ((bmap)->b_ptr_type > 0)
@@ -154,7 +154,7 @@ struct nilfs_bmap_store {
 int nilfs_bmap_test_and_clear_dirty(struct nilfs_bmap *);
 int nilfs_bmap_read(struct nilfs_bmap *, struct nilfs_inode *);
 void nilfs_bmap_write(struct nilfs_bmap *, struct nilfs_inode *);
-int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned);
+int nilfs_bmap_lookup_contig(struct nilfs_bmap *, __u64, __u64 *, unsigned int);
 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec);
 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key);
 int nilfs_bmap_seek_key(struct nilfs_bmap *bmap, __u64 start, __u64 *keyp);
This page took 0.02534 seconds and 5 git commands to generate.