gfp.h (299f29203ad206287f104c95f5a29e65674f7f94) gfp.h (be48ab92ac55e1168fdf49c4a046cea6747ad575)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

59#define GFP_ATOMIC (M_NOWAIT | M_USE_RESERVE)
60#define GFP_KERNEL M_WAITOK
61#define GFP_USER M_WAITOK
62#define GFP_HIGHUSER M_WAITOK
63#define GFP_HIGHUSER_MOVABLE M_WAITOK
64#define GFP_IOFS M_NOWAIT
65#define GFP_NOIO M_NOWAIT
66#define GFP_DMA32 0
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

59#define GFP_ATOMIC (M_NOWAIT | M_USE_RESERVE)
60#define GFP_KERNEL M_WAITOK
61#define GFP_USER M_WAITOK
62#define GFP_HIGHUSER M_WAITOK
63#define GFP_HIGHUSER_MOVABLE M_WAITOK
64#define GFP_IOFS M_NOWAIT
65#define GFP_NOIO M_NOWAIT
66#define GFP_DMA32 0
67#define GFP_TEMPORARY 0
67#define GFP_TEMPORARY M_NOWAIT
68
69static inline void *
70page_address(struct page *page)
71{
72
73 if (page->object != kmem_object && page->object != kernel_object)
74 return (NULL);
75 return ((void *)(uintptr_t)(VM_MIN_KERNEL_ADDRESS +

--- 88 unchanged lines hidden ---
68
69static inline void *
70page_address(struct page *page)
71{
72
73 if (page->object != kmem_object && page->object != kernel_object)
74 return (NULL);
75 return ((void *)(uintptr_t)(VM_MIN_KERNEL_ADDRESS +

--- 88 unchanged lines hidden ---