函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:lib\ubsan.c Create Date:2022-07-27 08:21:11
首页 Copyright©Brick

75
76
77
78
79
80
81
82
83
static bool is_inline_int(struct type_descriptor *type)
{
    unsigned inline_bits = sizeof(unsigned long)*8;
    unsigned bits = type_bit_width(type);
 
    WARN_ON(!type_is_int(type));
 
    return bits <= inline_bits;
}