gfp.h (8a8e86b819dcaf60ed0858f7b00cb733c9ae3aca) | gfp.h (738c02ba24c66391870067602f1c9c030d5c5e5d) |
---|---|
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-2017 Mellanox Technologies, Ltd. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 123 unchanged lines hidden (view full) --- 132 133static inline void 134__free_page(struct page *page) 135{ 136 137 linux_free_pages(page, 0); 138} 139 | 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-2017 Mellanox Technologies, Ltd. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 123 unchanged lines hidden (view full) --- 132 133static inline void 134__free_page(struct page *page) 135{ 136 137 linux_free_pages(page, 0); 138} 139 |
140static inline struct page * 141dev_alloc_pages(unsigned int order) 142{ 143 return (linux_alloc_pages(GFP_ATOMIC, order)); 144} 145 |
|
140/* 141 * Page management for mapped pages: 142 */ 143extern vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); 144extern void linux_free_kmem(vm_offset_t, unsigned int order); 145 146static inline vm_offset_t 147get_zeroed_page(gfp_t flags) --- 68 unchanged lines hidden --- | 146/* 147 * Page management for mapped pages: 148 */ 149extern vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); 150extern void linux_free_kmem(vm_offset_t, unsigned int order); 151 152static inline vm_offset_t 153get_zeroed_page(gfp_t flags) --- 68 unchanged lines hidden --- |