Searched refs:fibsize (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/scsi/aacraid/ |
H A D | comminit.c | 69 const unsigned long fibsize = dev->max_fib_size; aac_alloc_comm() local 80 size = fibsize + sizeof(struct aac_init) + commsize + aac_alloc_comm() 96 dev->host_rrq = (u32 *)(base + fibsize); aac_alloc_comm() 97 dev->host_rrq_pa = phys + fibsize; aac_alloc_comm() 101 dev->init = (struct aac_init *)(base + fibsize + host_rrq_size); aac_alloc_comm() 102 dev->init_pa = phys + fibsize + host_rrq_size; aac_alloc_comm() 120 init->AdapterFibsSize = cpu_to_le32(fibsize); aac_alloc_comm() 166 base = base + fibsize + host_rrq_size + sizeof(struct aac_init); aac_alloc_comm() 167 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + aac_alloc_comm()
|
H A D | commctrl.c | 475 u32 fibsize = 0; aac_send_raw_srb() local 508 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ aac_send_raw_srb() 514 if ((fibsize < (sizeof(struct user_aac_srb) - sizeof(struct user_sgentry))) || aac_send_raw_srb() 515 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { aac_send_raw_srb() 520 user_srbcmd = kmalloc(fibsize, GFP_KERNEL); aac_send_raw_srb() 526 if(copy_from_user(user_srbcmd, user_srb,fibsize)){ aac_send_raw_srb() 532 user_reply = arg+fibsize; aac_send_raw_srb() 571 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { aac_send_raw_srb() 573 "Raw SRB command calculated fibsize=%lu;%lu " aac_send_raw_srb() 575 "issued fibsize=%d\n", aac_send_raw_srb() 578 sizeof(struct sgentry64), fibsize)); aac_send_raw_srb() 595 if (actual_fibsize64 == fibsize) { aac_send_raw_srb() 701 if (actual_fibsize64 == fibsize) { aac_send_raw_srb()
|
H A D | aachba.c | 1151 u16 fibsize, command; aac_read_raw_io() local 1170 fibsize = sizeof(struct aac_raw_io2) + aac_read_raw_io() 1187 fibsize = sizeof(struct aac_raw_io) + aac_read_raw_io() 1191 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); aac_read_raw_io() 1197 fibsize, aac_read_raw_io() 1206 u16 fibsize; aac_read_block64() local 1222 fibsize = sizeof(struct aac_read64) + aac_read_block64() 1225 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_read_block64() 1232 fibsize, aac_read_block64() 1241 u16 fibsize; aac_read_block() local 1257 fibsize = sizeof(struct aac_read) + aac_read_block() 1260 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_read_block() 1267 fibsize, aac_read_block() 1277 u16 fibsize, command; aac_write_raw_io() local 1299 fibsize = sizeof(struct aac_raw_io2) + aac_write_raw_io() 1319 fibsize = sizeof(struct aac_raw_io) + aac_write_raw_io() 1323 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); aac_write_raw_io() 1329 fibsize, aac_write_raw_io() 1338 u16 fibsize; aac_write_block64() local 1354 fibsize = sizeof(struct aac_write64) + aac_write_block64() 1357 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_write_block64() 1364 fibsize, aac_write_block64() 1373 u16 fibsize; aac_write_block() local 1391 fibsize = sizeof(struct aac_write) + aac_write_block() 1394 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_write_block() 1401 fibsize, aac_write_block() 1450 u16 fibsize; aac_scsi_64() local 1464 fibsize = sizeof (struct aac_srb) - sizeof (struct sgentry) + aac_scsi_64() 1467 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_scsi_64() 1474 fibsize, FsaNormal, 0, 1, aac_scsi_64() 1481 u16 fibsize; aac_scsi_32() local 1495 fibsize = sizeof (struct aac_srb) + aac_scsi_32() 1498 BUG_ON (fibsize > (fib->dev->max_fib_size - aac_scsi_32() 1504 return aac_fib_send(ScsiPortCommand, fib, fibsize, FsaNormal, 0, 1, aac_scsi_32()
|
H A D | src.c | 447 u32 fibsize; aac_src_deliver_message() local 470 /* Calculate the amount to the fibsize bits */ aac_src_deliver_message() 471 fibsize = (hdr_size + 127) / 128 - 1; aac_src_deliver_message() 472 if (fibsize > (ALIGN32 - 1)) aac_src_deliver_message() 480 address |= fibsize; aac_src_deliver_message() 482 /* Calculate the amount to the fibsize bits */ aac_src_deliver_message() 483 fibsize = (sizeof(struct aac_fib_xporthdr) + hdr_size + 127) / 128 - 1; aac_src_deliver_message() 484 if (fibsize > (ALIGN32 - 1)) aac_src_deliver_message() 494 * The xport header has been 32-byte aligned for us so that fibsize aac_src_deliver_message() 500 address |= fibsize; aac_src_deliver_message()
|
Completed in 116 milliseconds