/drivers/scsi/ |
D | scsi_trace.c | 197 u32 alloc_len = 0; in scsi_trace_service_action_in() local 219 alloc_len |= (cdb[10] << 24); in scsi_trace_service_action_in() 220 alloc_len |= (cdb[11] << 16); in scsi_trace_service_action_in() 221 alloc_len |= (cdb[12] << 8); in scsi_trace_service_action_in() 222 alloc_len |= cdb[13]; in scsi_trace_service_action_in() 225 (unsigned long long)lba, alloc_len); in scsi_trace_service_action_in()
|
D | scsi_debug.c | 810 int alloc_len, n, ret; in resp_inquiry() local 812 alloc_len = (cmd[3] << 8) + cmd[4]; in resp_inquiry() 915 len = min(((arr[2] << 8) + arr[3]) + 4, alloc_len); in resp_inquiry() 946 min(alloc_len, SDEBUG_LONG_INQ_SZ)); in resp_inquiry() 1060 int errsts, k, alloc_len; in resp_readcap16() local 1064 alloc_len = ((cmd[10] << 24) + (cmd[11] << 16) + (cmd[12] << 8) in resp_readcap16() 1093 min(alloc_len, SDEBUG_READCAP16_ARR_SZ)); in resp_readcap16() 1338 int k, alloc_len, msense_6, offset, len, errsts, target_dev_id; in resp_mode_sense() local 1355 alloc_len = msense_6 ? cmd[4] : ((cmd[7] << 8) | cmd[8]); in resp_mode_sense() 1492 return fill_from_dev_buffer(scp, arr, min(alloc_len, offset)); in resp_mode_sense() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 1754 uint32_t alloc_len; in lpfc_sli4_config() local 1795 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) { in lpfc_sli4_config() 1811 resid_len = length - alloc_len; in lpfc_sli4_config() 1815 alloc_len += SLI4_PAGE_SIZE; in lpfc_sli4_config() 1819 alloc_len = length; in lpfc_sli4_config() 1824 sli4_config->header.cfg_mhdr.payload_length = alloc_len; in lpfc_sli4_config() 1832 alloc_len - sizeof(union lpfc_sli4_cfg_shdr); in lpfc_sli4_config() 1838 return alloc_len; in lpfc_sli4_config() 2003 uint32_t alloc_len, req_len; in lpfc_sli4_mbx_read_fcf_rec() local 2013 alloc_len = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_mbx_read_fcf_rec() [all …]
|
D | lpfc_bsg.c | 1694 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_set_link_diag_state() local 1703 alloc_len = lpfc_sli4_config(phba, pmboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_bsg_set_link_diag_state() 1706 if (alloc_len != req_len) { in lpfc_sli4_bsg_set_link_diag_state() 1752 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_set_internal_loopback() local 1761 alloc_len = lpfc_sli4_config(phba, pmboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_bsg_set_internal_loopback() 1764 if (alloc_len != req_len) { in lpfc_sli4_bsg_set_internal_loopback() 2094 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_link_diag_test() local 2161 alloc_len = lpfc_sli4_config(phba, pmboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_bsg_link_diag_test() 2164 if (alloc_len != req_len) { in lpfc_sli4_bsg_link_diag_test()
|
D | lpfc_sli.c | 5060 uint32_t alloc_len, mbox_tmo; in lpfc_sli4_cfg_post_extnts() local 5084 alloc_len = lpfc_sli4_config(phba, mbox, LPFC_MBOX_SUBSYSTEM_COMMON, in lpfc_sli4_cfg_post_extnts() 5087 if (alloc_len < req_len) { in lpfc_sli4_cfg_post_extnts() 5091 "size (x%x)\n", alloc_len, req_len); in lpfc_sli4_cfg_post_extnts() 5725 uint32_t alloc_len, mbox_tmo; in lpfc_sli4_get_allocated_extnts() local 5794 alloc_len = lpfc_sli4_config(phba, mbox, LPFC_MBOX_SUBSYSTEM_COMMON, in lpfc_sli4_get_allocated_extnts() 5797 if (alloc_len < req_len) { in lpfc_sli4_get_allocated_extnts() 5801 "size (x%x)\n", alloc_len, req_len); in lpfc_sli4_get_allocated_extnts() 14938 uint32_t alloc_len, req_len; in lpfc_sli4_add_fcf_record() local 14952 alloc_len = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_add_fcf_record() [all …]
|
/drivers/usb/storage/ |
D | sddr09.c | 1213 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local 1232 alloc_len = (alloc_blocks << CONTROL_SHIFT); in sddr09_read_map() 1233 buffer = kmalloc(alloc_len, GFP_NOIO); in sddr09_read_map() 1239 buffer_end = buffer + alloc_len; in sddr09_read_map()
|
/drivers/scsi/aacraid/ |
D | aachba.c | 2239 unsigned int alloc_len; in aac_scsi_cmd() local 2257 alloc_len = ((scsicmd->cmnd[10] << 24) in aac_scsi_cmd() 2261 alloc_len = min_t(size_t, alloc_len, sizeof(cp)); in aac_scsi_cmd() 2262 scsi_sg_copy_from_buffer(scsicmd, cp, alloc_len); in aac_scsi_cmd() 2263 if (alloc_len < scsi_bufflen(scsicmd)) in aac_scsi_cmd() 2265 scsi_bufflen(scsicmd) - alloc_len); in aac_scsi_cmd()
|
/drivers/crypto/ |
D | talitos.c | 1254 int src_nents, dst_nents, alloc_len, dma_len; in talitos_edesc_alloc() local 1284 alloc_len = sizeof(struct talitos_edesc); in talitos_edesc_alloc() 1288 alloc_len += dma_len; in talitos_edesc_alloc() 1291 alloc_len += icv_stashing ? authsize : 0; in talitos_edesc_alloc() 1294 edesc = kmalloc(alloc_len, GFP_DMA | flags); in talitos_edesc_alloc()
|