xfs_iomap.h (740fd671e04f8a977018eb9cfe440b4817850f0d) | xfs_iomap.h (952da06375c8f3aa58474fff718d9ae8442531b9) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2003-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_IOMAP_H__ 7#define __XFS_IOMAP_H__ 8 9#include <linux/iomap.h> 10 11struct xfs_inode; 12struct xfs_bmbt_irec; 13 14int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb, | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2003-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_IOMAP_H__ 7#define __XFS_IOMAP_H__ 8 9#include <linux/iomap.h> 10 11struct xfs_inode; 12struct xfs_bmbt_irec; 13 14int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb, |
15 xfs_fileoff_t count_fsb, struct xfs_bmbt_irec *imap); | 15 xfs_fileoff_t count_fsb, unsigned int flags, 16 struct xfs_bmbt_irec *imap); |
16int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool); 17xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip, 18 xfs_fileoff_t end_fsb); 19 20int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap, 21 struct xfs_bmbt_irec *imap, unsigned int mapping_flags, 22 u16 iomap_flags); 23 --- 31 unchanged lines hidden --- | 17int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool); 18xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip, 19 xfs_fileoff_t end_fsb); 20 21int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap, 22 struct xfs_bmbt_irec *imap, unsigned int mapping_flags, 23 u16 iomap_flags); 24 --- 31 unchanged lines hidden --- |