函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:block\sed-opal.c Create Date:2022-07-27 19:45:26
首页 Copyright©Brick

631
632
633
634
635
636
637
638
639
640
641
static void add_token_bytestring(int *err, struct opal_dev *cmd,
                 const u8 *bytestring, size_t len)
{
    u8 *start;
 
    start = add_bytestring_header(err, cmd, len);
    if (!start)
        return;
    memcpy(start, bytestring, len);
    cmd->pos += len;
}