Home
last modified time | relevance | path

Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/aacraid/
Dcomminit.c73 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() local
84 size = fibsize + sizeof(struct aac_init) + commsize + in aac_alloc_comm()
100 dev->host_rrq = (u32 *)(base + fibsize); in aac_alloc_comm()
101 dev->host_rrq_pa = phys + fibsize; in aac_alloc_comm()
105 dev->init = (struct aac_init *)(base + fibsize + host_rrq_size); in aac_alloc_comm()
106 dev->init_pa = phys + fibsize + host_rrq_size; in aac_alloc_comm()
124 init->AdapterFibsSize = cpu_to_le32(fibsize); in aac_alloc_comm()
170 base = base + fibsize + host_rrq_size + sizeof(struct aac_init); in aac_alloc_comm()
171 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + in aac_alloc_comm()
Dcommctrl.c484 u32 fibsize = 0; in aac_send_raw_srb() local
517 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ in aac_send_raw_srb()
523 if ((fibsize < (sizeof(struct user_aac_srb) - sizeof(struct user_sgentry))) || in aac_send_raw_srb()
524 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { in aac_send_raw_srb()
529 user_srbcmd = kmalloc(fibsize, GFP_KERNEL); in aac_send_raw_srb()
535 if(copy_from_user(user_srbcmd, user_srb,fibsize)){ in aac_send_raw_srb()
541 user_reply = arg+fibsize; in aac_send_raw_srb()
580 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { in aac_send_raw_srb()
587 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb()
604 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()
[all …]
Daachba.c1143 u16 fibsize, command; in aac_read_raw_io() local
1162 fibsize = sizeof(struct aac_raw_io2) + in aac_read_raw_io()
1179 fibsize = sizeof(struct aac_raw_io) + in aac_read_raw_io()
1183 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()
1189 fibsize, in aac_read_raw_io()
1198 u16 fibsize; in aac_read_block64() local
1214 fibsize = sizeof(struct aac_read64) + in aac_read_block64()
1217 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()
1224 fibsize, in aac_read_block64()
1233 u16 fibsize; in aac_read_block() local
[all …]
Dsrc.c461 u32 fibsize; in aac_src_deliver_message() local
485 fibsize = (hdr_size + 127) / 128 - 1; in aac_src_deliver_message()
486 if (fibsize > (ALIGN32 - 1)) in aac_src_deliver_message()
494 address |= fibsize; in aac_src_deliver_message()
497 fibsize = (sizeof(struct aac_fib_xporthdr) + hdr_size + 127) / 128 - 1; in aac_src_deliver_message()
498 if (fibsize > (ALIGN32 - 1)) in aac_src_deliver_message()
514 address |= fibsize; in aac_src_deliver_message()