Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance
73 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() local84 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()
484 u32 fibsize = 0; in aac_send_raw_srb() local517 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 …]
1143 u16 fibsize, command; in aac_read_raw_io() local1162 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() local1214 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 …]
461 u32 fibsize; in aac_src_deliver_message() local485 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()