Searched refs:alloclen (Results 1 – 6 of 6) sorted by relevance
/drivers/usb/storage/ |
D | jumpshot.c | 161 unsigned int totallen, alloclen; in jumpshot_read_data() local 180 alloclen = min(totallen, 65536u); in jumpshot_read_data() 181 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_read_data() 188 len = min(totallen, alloclen); in jumpshot_read_data() 238 unsigned int totallen, alloclen; in jumpshot_write_data() local 257 alloclen = min(totallen, 65536u); in jumpshot_write_data() 258 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_write_data() 266 len = min(totallen, alloclen); in jumpshot_write_data()
|
D | datafab.c | 143 unsigned int totallen, alloclen; in datafab_read_data() local 168 alloclen = min(totallen, 65536u); in datafab_read_data() 169 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_read_data() 177 len = min(totallen, alloclen); in datafab_read_data() 227 unsigned int totallen, alloclen; in datafab_write_data() local 252 alloclen = min(totallen, 65536u); in datafab_write_data() 253 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_write_data() 261 len = min(totallen, alloclen); in datafab_write_data()
|
D | shuttle_usbat.c | 1124 unsigned int totallen, alloclen; in usbat_flash_read_data() local 1151 alloclen = min(totallen, 65536u); in usbat_flash_read_data() 1152 buffer = kmalloc(alloclen, GFP_NOIO); in usbat_flash_read_data() 1161 len = min(totallen, alloclen); in usbat_flash_read_data() 1215 unsigned int totallen, alloclen; in usbat_flash_write_data() local 1242 alloclen = min(totallen, 65536u); in usbat_flash_write_data() 1243 buffer = kmalloc(alloclen, GFP_NOIO); in usbat_flash_write_data() 1252 len = min(totallen, alloclen); in usbat_flash_write_data()
|
/drivers/net/ethernet/sun/ |
D | cassini.c | 1914 int dlen, hlen, len, i, alloclen; in cas_rx_process_pkt() local 1927 alloclen = len; in cas_rx_process_pkt() 1929 alloclen = max(hlen, RX_COPY_MIN); in cas_rx_process_pkt() 1931 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt() 1963 if (alloclen < (hlen + dlen)) { in cas_rx_process_pkt() 1999 skb_put(skb, alloclen); in cas_rx_process_pkt() 2096 crcaddr = skb->data + alloclen; in cas_rx_process_pkt() 2098 skb_put(skb, alloclen); in cas_rx_process_pkt()
|
/drivers/usb/core/ |
D | devio.c | 362 unsigned alloclen = in usbdev_read() local 370 if (alloclen > (*ppos - pos)) { in usbdev_read() 371 alloclen -= (*ppos - pos); in usbdev_read() 374 min(len, alloclen))) { in usbdev_read()
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 5973 uint32_t alloclen, reqlen; in lpfc_sli4_get_ctl_attr() local 5984 alloclen = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, in lpfc_sli4_get_ctl_attr() 5988 if (alloclen < reqlen) { in lpfc_sli4_get_ctl_attr() 5992 "(%d)\n", alloclen, reqlen); in lpfc_sli4_get_ctl_attr() 16339 int rc, length, alloclen, status = 0; in lpfc_cq_create_set() local 16357 alloclen = lpfc_sli4_config(phba, mbox, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_cq_create_set() 16360 if (alloclen < length) { in lpfc_cq_create_set() 16364 "(%d)\n", alloclen, length); in lpfc_cq_create_set() 17356 int rc, length, alloclen, status = 0; in lpfc_mrq_create() local 17377 alloclen = lpfc_sli4_config(phba, mbox, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_mrq_create() [all …]
|