|
|
| File: [Development] / linux-2.6-xfs / fs / relayfs / Attic / buffers.h (download)
Revision 1.1, Mon Aug 29 15:19:41 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Merge relayfs and the initial block device tracing patch from Jens. Merge of 2.6.x-xfs-melb:linux:23656a by kenmcd. |
#ifndef _BUFFERS_H #define _BUFFERS_H /* This inspired by rtai/shmem */ #define FIX_SIZE(x) (((x) - 1) & PAGE_MASK) + PAGE_SIZE extern int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma); extern struct rchan_buf *relay_create_buf(struct rchan *chan); extern void relay_destroy_buf(struct rchan_buf *buf); extern void relay_remove_buf(struct kref *kref); #endif/* _BUFFERS_H */