Home
last modified time | relevance | path

Searched refs:kiobuf (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/fs/
Diobuf.c16 void end_kio_request(struct kiobuf *kiobuf, int uptodate) in end_kio_request() argument
18 if ((!uptodate) && !kiobuf->errno) in end_kio_request()
19 kiobuf->errno = -EIO; in end_kio_request()
21 if (atomic_dec_and_test(&kiobuf->io_count)) { in end_kio_request()
22 if (kiobuf->end_io) in end_kio_request()
23 kiobuf->end_io(kiobuf); in end_kio_request()
24 wake_up(&kiobuf->wait_queue); in end_kio_request()
28 static int kiobuf_init(struct kiobuf *iobuf) in kiobuf_init()
41 int alloc_kiobuf_bhs(struct kiobuf * kiobuf) in alloc_kiobuf_bhs() argument
45 kiobuf->blocks = in alloc_kiobuf_bhs()
[all …]
Dbuffer.c2188 int generic_direct_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long blocknr, i… in generic_direct_IO()
2263 struct kiobuf *kiobuf; in end_buffer_io_kiobuf() local
2267 kiobuf = bh->b_private; in end_buffer_io_kiobuf()
2268 end_kio_request(kiobuf, uptodate); in end_buffer_io_kiobuf()
2316 int brw_kiovec(int rw, int nr, struct kiobuf *iovec[], in brw_kiovec()
2328 struct kiobuf * iobuf = NULL; in brw_kiovec()
Dblock_dev.c134 static int blkdev_direct_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long bloc… in blkdev_direct_IO()
/linux-2.4.37.9/include/linux/
Diobuf.h33 struct kiobuf struct
49 void (*end_io) (struct kiobuf *); /* Completion callback */ argument
56 int map_user_kiobuf(int rw, struct kiobuf *, unsigned long va, size_t len); argument
57 void unmap_kiobuf(struct kiobuf *iobuf);
58 int lock_kiovec(int nr, struct kiobuf *iovec[], int wait);
59 int unlock_kiovec(int nr, struct kiobuf *iovec[]);
60 void mark_dirty_kiobuf(struct kiobuf *iobuf, int bytes);
64 void end_kio_request(struct kiobuf *, int);
65 void simple_wakeup_kiobuf(struct kiobuf *);
66 int alloc_kiovec(int nr, struct kiobuf **);
[all …]
Dlvm.h563 struct kiobuf *lv_iobuf;
564 struct kiobuf *lv_COW_table_iobuf;
Dfs.h385 struct kiobuf;
402 int (*direct_IO)(int, struct inode *, struct kiobuf *, unsigned long, int);
404 int (*direct_fileIO)(int, struct file *, struct kiobuf *, unsigned long, int);
586 struct kiobuf *f_iobuf;
1515 extern int generic_direct_IO(int, struct inode *, struct kiobuf *, unsigned long, int, get_block_t …
Dnfs_fs.h269 extern int nfs_direct_IO(int, struct file *, struct kiobuf *, unsigned long, int);
/linux-2.4.37.9/fs/nfs/
Ddirect.c168 nfs_direct_read(struct file *file, struct kiobuf *iobuf, loff_t offset, in nfs_direct_read()
237 nfs_direct_write(struct file *file, struct kiobuf *iobuf, in nfs_direct_write()
350 nfs_direct_IO(int rw, struct file *file, struct kiobuf *iobuf, in nfs_direct_IO()
/linux-2.4.37.9/arch/cris/drivers/examples/
Dkiobuftest.c32 struct kiobuf *iobuf; in kiobuf_read()
/linux-2.4.37.9/mm/
Dmemory.c539 int map_user_kiobuf(int rw, struct kiobuf *iobuf, unsigned long va, size_t len) in map_user_kiobuf()
595 void mark_dirty_kiobuf(struct kiobuf *iobuf, int bytes) in mark_dirty_kiobuf()
623 void unmap_kiobuf (struct kiobuf *iobuf) in unmap_kiobuf()
655 int lock_kiovec(int nr, struct kiobuf *iovec[], int wait) in lock_kiovec()
657 struct kiobuf *iobuf; in lock_kiovec()
729 int unlock_kiovec(int nr, struct kiobuf *iovec[]) in unlock_kiovec()
731 struct kiobuf *iobuf; in unlock_kiovec()
Dfilemap.c1625 static inline int do_call_directIO(int rw, struct file *filp, struct kiobuf *iobuf, unsigned long o… in do_call_directIO()
1645 struct kiobuf * iobuf; in generic_file_direct_IO()
/linux-2.4.37.9/drivers/md/
Dlvm-snap.c77 static inline int __brw_kiovec(int rw, int nr, struct kiobuf *iovec[], in __brw_kiovec()
359 struct kiobuf *iobuf = lv_snap->lv_iobuf; in lvm_snapshot_COW()
474 int lvm_snapshot_alloc_iobuf_pages(struct kiobuf *iobuf, int sectors) in lvm_snapshot_alloc_iobuf_pages()
633 struct kiobuf *COW_table_iobuf = lv_snap->lv_COW_table_iobuf; in _write_COW_table_block()
/linux-2.4.37.9/drivers/mtd/devices/
Dblkmtd.c60 struct kiobuf *rd_buf, *wr_buf;
110 struct kiobuf *iobuf; in read_pages()
193 struct kiobuf *iobuf = dev->wr_buf; in commit_pages()
248 struct kiobuf *iobuf = dev->wr_buf; in write_pages()
591 struct kiobuf *iobuf = dev->wr_buf; in blkmtd_sync()
/linux-2.4.37.9/fs/jfs/
Dinode.c331 static int jfs_direct_IO(int rw, struct inode *inode, struct kiobuf *iobuf, in jfs_direct_IO()
/linux-2.4.37.9/drivers/char/
Draw.c294 struct kiobuf * iobuf; in rw_raw_dev()
/linux-2.4.37.9/drivers/scsi/
Dsg.c144 struct kiobuf * kiobp; /* for direct IO information */
245 static inline int sg_alloc_kiovec(int nr, struct kiobuf **bufp, int *szp);
246 static inline void sg_free_kiovec(int nr, struct kiobuf **bufp, int *szp);
1653 static inline int sg_alloc_kiovec(int nr, struct kiobuf **bufp, int *szp) in sg_alloc_kiovec()
1662 static inline void sg_free_kiovec(int nr, struct kiobuf **bufp, int *szp) in sg_free_kiovec()
1693 struct kiobuf * kp; in sg_build_dir()
/linux-2.4.37.9/Documentation/cris/
DREADME92 kmem_create: Forcing size word alignment - kiobuf
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_aops.c1161 struct kiobuf *iobuf, in linvfs_direct_IO()
/linux-2.4.37.9/Documentation/filesystems/
DLocking138 int (*direct_IO)(int, struct inode *, struct kiobuf *, unsigned long, int);
/linux-2.4.37.9/fs/ext2/
Dinode.c607 static int ext2_direct_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long blockn… in ext2_direct_IO()
/linux-2.4.37.9/fs/reiserfs/
Dinode.c2222 struct kiobuf *iobuf, unsigned long blocknr, in reiserfs_direct_io()
/linux-2.4.37.9/
DCREDITS2424 D: kiobuf based block I/O work