6b13f685e
김민수
BSP 최초 추가
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#ifndef __XFS_AOPS_H__
#define __XFS_AOPS_H__
extern mempool_t *xfs_ioend_pool;
enum {
XFS_IO_DIRECT = 0,
XFS_IO_DELALLOC,
XFS_IO_UNWRITTEN,
XFS_IO_OVERWRITE,
};
#define XFS_IO_TYPES \
{ 0, "" }, \
{ XFS_IO_DELALLOC, "delalloc" }, \
{ XFS_IO_UNWRITTEN, "unwritten" }, \
{ XFS_IO_OVERWRITE, "overwrite" }
typedef struct xfs_ioend {
struct xfs_ioend *io_list;
unsigned int io_type;
int io_error;
atomic_t io_remaining;
unsigned int io_isdirect : 1;
struct inode *io_inode;
struct buffer_head *io_buffer_head;
struct buffer_head *io_buffer_tail;
size_t io_size;
xfs_off_t io_offset;
struct work_struct io_work;
struct xfs_trans *io_append_trans;
} xfs_ioend_t;
extern const struct address_space_operations xfs_address_space_operations;
extern int xfs_get_blocks(struct inode *, sector_t, struct buffer_head *, int);
extern void xfs_count_page_state(struct page *, int *, int *);
#endif /* __XFS_AOPS_H__ */
|