函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:mm\slob.c Create Date:2022-07-27 17:09:13
首页 Copyright©Brick

157
158
159
160
161
162
163
164
165
/*
 * Return the size of a slob block.
 */
static slobidx_t slob_units(slob_t *s)
{
    if (s->units > 0)
        return s->units;
    return 1;
}