函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bitops.h Create Date:2022-07-27 06:38:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sign_extend32 - sign extend a 32-bit value using specified bit as sign-bit*@value: value to sign extend*@index: 0 based bit index (0<=index<32) to sign bit* This is safe to use for 16- and 8-bit types as well.

函数原型:static inline __s32 sign_extend32(__u32 value, int index)

返回类型:__s32

参数:

类型参数名称
__u32value
intindex
164  shift等于31减index
165  返回:value左移shift位右移shift
调用者
名称描述
futex_atomic_op_inuser