Home
last modified time | relevance | path

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

/drivers/scsi/aacraid/
Dcomminit.c53 const unsigned long fibsize = 4096; in aac_alloc_comm() local
58 size = fibsize + sizeof(struct aac_init) + commsize + commalign + printfbufsiz; in aac_alloc_comm()
72 dev->init = (struct aac_init *)(base + fibsize); in aac_alloc_comm()
73 dev->init_pa = phys + fibsize; in aac_alloc_comm()
91 init->AdapterFibsSize = cpu_to_le32(fibsize); in aac_alloc_comm()
109 base = base + fibsize + sizeof(struct aac_init); in aac_alloc_comm()
110 phys = (dma_addr_t)((ulong)phys + fibsize + sizeof(struct aac_init)); in aac_alloc_comm()
Daachba.c932 u16 fibsize; in aac_read_raw_io() local
945fibsize = sizeof(struct aac_raw_io) + ((le32_to_cpu(readcmd->sg.count) - 1) * sizeof (struct sgent… in aac_read_raw_io()
946 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()
952 fibsize, in aac_read_raw_io()
961 u16 fibsize; in aac_read_block64() local
973 fibsize = sizeof(struct aac_read64) + in aac_read_block64()
976 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()
983 fibsize, in aac_read_block64()
992 u16 fibsize; in aac_read_block() local
1002 fibsize = sizeof(struct aac_read) + in aac_read_block()
[all …]
Dcommctrl.c473 u32 fibsize = 0; in aac_send_raw_srb() local
504 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ in aac_send_raw_srb()
510 if (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr))) { in aac_send_raw_srb()
515 user_srbcmd = kmalloc(fibsize, GFP_KERNEL); in aac_send_raw_srb()
521 if(copy_from_user(user_srbcmd, user_srb,fibsize)){ in aac_send_raw_srb()
527 user_reply = arg+fibsize; in aac_send_raw_srb()
566 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { in aac_send_raw_srb()
573 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb()
590 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()
692 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()