Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Df_mass_storage.c380 u32 data_size_from_cmnd; member
778 amount_left = common->data_size_from_cmnd; in do_read()
925 amount_left_to_req = common->data_size_from_cmnd; in do_write()
926 amount_left_to_write = common->data_size_from_cmnd; in do_write()
1818 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1824 if (common->data_size_from_cmnd == 0) in check_command()
1826 if (common->data_size < common->data_size_from_cmnd) { in check_command()
1832 common->data_size_from_cmnd = common->data_size; in check_command()
1839 if (common->data_dir != data_dir && common->data_size_from_cmnd > 0) { in check_command()
1936 common->data_size_from_cmnd <<= common->curlun->blkbits; in check_command_size_in_blocks()
[all …]
Dfile_storage.c473 u32 data_size_from_cmnd; member
1186 amount_left = fsg->data_size_from_cmnd; in do_read()
1326 amount_left_to_req = amount_left_to_write = fsg->data_size_from_cmnd; in do_write()
2240 fsg->data_size_from_cmnd, fsg->cmnd_size, hdlen); in check_command()
2244 if (fsg->data_size_from_cmnd == 0) in check_command()
2248 fsg->data_size = fsg->data_size_from_cmnd; in check_command()
2251 if (fsg->data_size < fsg->data_size_from_cmnd) { in check_command()
2256 fsg->data_size_from_cmnd = fsg->data_size; in check_command()
2263 if (fsg->data_dir != data_dir && fsg->data_size_from_cmnd > 0) { in check_command()
2358 fsg->data_size_from_cmnd <<= fsg->curlun->blkbits; in check_command_size_in_blocks()
[all …]