- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#lc43a816]
#backlinks
*説明 [#edf7d059]
-パス: [[linux-2.6.33/]]
-FIXME: これは何?
--説明
**引数 [#q3a288b8]
-unsigned long size
--
-unsigned long flags
--
**返り値 [#f33a523a]
-struct vm_struct *
--
--[[linux-2.6.33/vm_struct]]
**参考 [#y5e7bec3]
*実装 [#j5eeadcb]
/**
* get_vm_area - reserve a contiguous kernel virtual area
* @size: size of the area
* @flags: %VM_IOREMAP for I/O mappings or VM_ALLOC
*
* Search an area of @size in the kernel virtual mapping area,
* and reserved it for out purposes. Returns the area descriptor
* on success or %NULL on failure.
*/
struct vm_struct *get_vm_area(unsigned long size, unsigned long flags)
{
return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END,
-1, GFP_KERNEL, __builtin_return_address(0));
-
--[[linux-2.6.33/__get_vm_area_node()]]
-
--[[linux-2.6.33/VMALLOC_START]]
-
--[[linux-2.6.33/VMALLOC_END]]
-
--[[linux-2.6.33/GFP_KERNEL]]
-
--[[linux-2.6.33/__builtin_return_address()]]
}
*コメント [#ab3f5c14]