vm_domainset.h (72bfb31a820d6ee9bae6dad27b3990b43077d552) vm_domainset.h (e5818a53dbd212809059bb306775a4b7e0e30c5f)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2017, Jeffrey Roberson <jeff@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28 * $FreeBSD$
29 */
30#ifndef __VM_DOMAINSET_H__
31#define __VM_DOMAINSET_H__
32
33struct vm_domainset_iter {
34 struct domainset *di_domain;
35 int *di_iter;
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2017, Jeffrey Roberson <jeff@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28 * $FreeBSD$
29 */
30#ifndef __VM_DOMAINSET_H__
31#define __VM_DOMAINSET_H__
32
33struct vm_domainset_iter {
34 struct domainset *di_domain;
35 int *di_iter;
36 vm_pindex_t di_offset;
37 int di_policy;
36 int di_flags;
37 int di_n;
38};
39
40int vm_domainset_iter_page(struct vm_domainset_iter *, int *, int *);
41void vm_domainset_iter_page_init(struct vm_domainset_iter *,
38 int di_flags;
39 int di_n;
40};
41
42int vm_domainset_iter_page(struct vm_domainset_iter *, int *, int *);
43void vm_domainset_iter_page_init(struct vm_domainset_iter *,
42 struct vm_object *, int *, int *);
44 struct vm_object *, vm_pindex_t, int *, int *);
43int vm_domainset_iter_malloc(struct vm_domainset_iter *, int *, int *);
44void vm_domainset_iter_malloc_init(struct vm_domainset_iter *,
45 struct vm_object *, int *, int *);
46
47#endif /* __VM_DOMAINSET_H__ */
45int vm_domainset_iter_malloc(struct vm_domainset_iter *, int *, int *);
46void vm_domainset_iter_malloc_init(struct vm_domainset_iter *,
47 struct vm_object *, int *, int *);
48
49#endif /* __VM_DOMAINSET_H__ */