函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-27 19:45:23
Last Modify:2020-03-17 23:36:33 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:add_token_u64

函数原型:static void add_token_u64(int *err, struct opal_dev *cmd, u64 number)

返回类型:void

参数:

类型参数名称
int *err
struct opal_dev *cmd
u64number
592  如果非number按位与TINY_ATOM_DATA_MASK的反的值则
593  add_token_u8(err, cmd, number)
594  返回
597  msb等于ls64 - find last set bit in a 64-bit word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffsll, but returns the position of the most significant set bit
598  len等于DIV_ROUND_UP(msb, 8)
600  如果非can_add(err, cmd, len + 1)则
601  pr_debug("Error adding u64: end of buffer.\n")
602  返回
604  add_short_atom_header(cmd, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., len)
605 len自减循环
606  add_token_u8(err, cmd, number >> (len * 8))
调用者
名称描述
generic_get_columnquest @column from table @table on device @dev. On success, the column* data will be available in dev->resp->tok[4]
generic_table_write_data
setup_locking_range
start_generic_opal_session
start_auth_opal_session
activate_lsp
read_table_data