xref: /haiku/docs/develop/kernel/vm/vm_store_anonumous_noswap (revision bb83316a5811a550c4f850d07fa8e328e7ac0a94)
1static void anonymous_destroy(struct vm_store *store)
2	Free's the memory associated with store
3
4static off_t anonymous_commit(struct vm_store *store, off_t size)
5	Returns 0
6
7static int anonymous_has_page(struct vm_store *store, off_t offset)
8	Returns 0
9
10static ssize_t anonymous_read(struct vm_store *store, off_t offset, iovecs *vecs)
11	Returns unimplemented
12
13static ssize_t anonymous_write(struct vm_store *store, off_t offset, iovecs *vecs)
14	Returns 0
15/*
16static int anonymous_fault(struct vm_store *backing_store, struct vm_address_space *aspace, off_t offset)
17*/
18
19
20vm_store *vm_store_create_anonymous_noswap()
21	Allocates space for a vm_store. Populates its ops with the above, sets its cache and data to none.