Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance
71 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() local82 size = fibsize + sizeof(struct aac_init) + commsize + in aac_alloc_comm()98 dev->host_rrq = (u32 *)(base + fibsize); in aac_alloc_comm()99 dev->host_rrq_pa = phys + fibsize; in aac_alloc_comm()103 dev->init = (struct aac_init *)(base + fibsize + host_rrq_size); in aac_alloc_comm()104 dev->init_pa = phys + fibsize + host_rrq_size; in aac_alloc_comm()122 init->AdapterFibsSize = cpu_to_le32(fibsize); in aac_alloc_comm()168 base = base + fibsize + host_rrq_size + sizeof(struct aac_init); in aac_alloc_comm()169 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + in aac_alloc_comm()
475 u32 fibsize = 0; in aac_send_raw_srb() local508 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ in aac_send_raw_srb()514 if ((fibsize < (sizeof(struct user_aac_srb) - sizeof(struct user_sgentry))) || in aac_send_raw_srb()515 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { in aac_send_raw_srb()520 user_srbcmd = kmalloc(fibsize, GFP_KERNEL); in aac_send_raw_srb()526 if(copy_from_user(user_srbcmd, user_srb,fibsize)){ in aac_send_raw_srb()532 user_reply = arg+fibsize; in aac_send_raw_srb()571 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { in aac_send_raw_srb()578 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb()595 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()[all …]
1151 u16 fibsize, command; in aac_read_raw_io() local1170 fibsize = sizeof(struct aac_raw_io2) + in aac_read_raw_io()1187 fibsize = sizeof(struct aac_raw_io) + in aac_read_raw_io()1191 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()1197 fibsize, in aac_read_raw_io()1206 u16 fibsize; in aac_read_block64() local1222 fibsize = sizeof(struct aac_read64) + in aac_read_block64()1225 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()1232 fibsize, in aac_read_block64()1241 u16 fibsize; in aac_read_block() local[all …]
447 u32 fibsize; in aac_src_deliver_message() local467 fibsize = (hdr_size + 127) / 128 - 1; in aac_src_deliver_message()468 if (fibsize > (ALIGN32 - 1)) in aac_src_deliver_message()476 address |= fibsize; in aac_src_deliver_message()479 fibsize = (sizeof(struct aac_fib_xporthdr) + hdr_size + 127) / 128 - 1; in aac_src_deliver_message()480 if (fibsize > (ALIGN32 - 1)) in aac_src_deliver_message()496 address |= fibsize; in aac_src_deliver_message()