You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
398 B
13 lines
398 B
20 years ago
|
#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 */
|