Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance
73 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() local98 size = fibsize + aac_init_size + commsize + commalign + in aac_alloc_comm()114 dev->host_rrq = (u32 *)(base + fibsize); in aac_alloc_comm()115 dev->host_rrq_pa = phys + fibsize; in aac_alloc_comm()119 dev->init = (union aac_init *)(base + fibsize + host_rrq_size); in aac_alloc_comm()120 dev->init_pa = phys + fibsize + host_rrq_size; in aac_alloc_comm()173 init->r7.adapter_fibs_size = cpu_to_le32(fibsize); in aac_alloc_comm()240 base = base + fibsize + host_rrq_size + aac_init_size; in aac_alloc_comm()241 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + in aac_alloc_comm()
488 u32 fibsize = 0; in aac_send_raw_srb() local519 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ in aac_send_raw_srb()525 if ((fibsize < (sizeof(struct user_aac_srb) - sizeof(struct user_sgentry))) || in aac_send_raw_srb()526 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { in aac_send_raw_srb()531 user_srbcmd = kmalloc(fibsize, GFP_KERNEL); in aac_send_raw_srb()537 if(copy_from_user(user_srbcmd, user_srb,fibsize)){ in aac_send_raw_srb()573 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { in aac_send_raw_srb()580 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb()660 sg_count[i] = (actual_fibsize64 == fibsize) ? in aac_send_raw_srb()677 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()[all …]
1228 u16 fibsize, command; in aac_read_raw_io() local1249 fibsize = sizeof(struct aac_raw_io2) + in aac_read_raw_io()1266 fibsize = sizeof(struct aac_raw_io) + in aac_read_raw_io()1270 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()1276 fibsize, in aac_read_raw_io()1285 u16 fibsize; in aac_read_block64() local1301 fibsize = sizeof(struct aac_read64) + in aac_read_block64()1304 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()1311 fibsize, in aac_read_block64()1320 u16 fibsize; in aac_read_block() local[all …]
492 u32 fibsize; in aac_src_deliver_message() local557 fibsize = (fib->hbacmd_size + 127) / 128 - 1; in aac_src_deliver_message()558 if (fibsize > 31) in aac_src_deliver_message()559 fibsize = 31; in aac_src_deliver_message()560 address |= fibsize; in aac_src_deliver_message()574 fibsize = (le16_to_cpu(fib->hw_fib_va->header.Size) in aac_src_deliver_message()585 fibsize = (sizeof(struct aac_fib_xporthdr) + in aac_src_deliver_message()600 if (fibsize > 31) in aac_src_deliver_message()601 fibsize = 31; in aac_src_deliver_message()602 address |= fibsize; in aac_src_deliver_message()