Home
last modified time | relevance | path

Searched refs:user_srbcmd (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/scsi/aacraid/
Dcommctrl.c467 struct user_aac_srb *user_srbcmd = NULL; in aac_send_raw_srb() local
514 user_srbcmd = memdup_user(user_srb, fibsize); in aac_send_raw_srb()
515 if (IS_ERR(user_srbcmd)) { in aac_send_raw_srb()
516 rcode = PTR_ERR(user_srbcmd); in aac_send_raw_srb()
517 user_srbcmd = NULL; in aac_send_raw_srb()
521 flags = user_srbcmd->flags; /* from user in cpu order */ in aac_send_raw_srb()
535 if (user_srbcmd->sg.count > ARRAY_SIZE(sg_list)) { in aac_send_raw_srb()
537 user_srbcmd->sg.count)); in aac_send_raw_srb()
541 if ((data_dir == DMA_NONE) && user_srbcmd->sg.count) { in aac_send_raw_srb()
547 ((user_srbcmd->sg.count & 0xff) * sizeof(struct sgentry)); in aac_send_raw_srb()
[all …]