Searched defs:amount_left (Results 1 - 2 of 2) sorted by relevance

/drivers/usb/gadget/
H A Df_mass_storage.c745 u32 amount_left; local
776 amount_left = common->data_size_from_cmnd;
777 if (unlikely(amount_left == 0))
787 amount = min(amount_left, FSG_BUFLEN);
833 amount_left -= nread;
853 if (amount_left == 0)
1093 u32 amount_left; local
1121 amount_left = verification_length << curlun->blkbits;
1134 while (amount_left > 0) {
1141 amount = min(amount_left, FSG_BUFLE
[all...]
H A Dfile_storage.c1159 u32 amount_left; local
1186 amount_left = fsg->data_size_from_cmnd;
1187 if (unlikely(amount_left == 0))
1197 amount = min((unsigned int) amount_left, mod_data.buflen);
1242 amount_left -= nread;
1260 if (amount_left == 0)
1490 u32 amount_left; local
1514 amount_left = verification_length << curlun->blkbits;
1527 while (amount_left > 0) {
1534 amount = min((unsigned int) amount_left, mod_dat
[all...]

Completed in 52 milliseconds