page.h
来自「此工具是arm-linux-GCC交叉编译工具(cross-3.4.4)」· C头文件 代码 · 共 27 行
H
27 行
#ifndef _ASM_GENERIC_PAGE_H#define _ASM_GENERIC_PAGE_H#ifdef __KERNEL__#ifndef __ASSEMBLY__#include <linux/compiler.h>/* Pure 2^n version of get_order */static __inline__ __attribute_const__ int get_order(unsigned long size){ int order; size = (size - 1) >> (PAGE_SHIFT - 1); order = -1; do { size >>= 1; order++; } while (size); return order;}#endif /* __ASSEMBLY__ */#endif /* __KERNEL__ */#endif /* _ASM_GENERIC_PAGE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?