Lines Matching defs:req_sz
918 req_idx = req_offset / ioc->req_sz;
968 req_idx = req_offset / ioc->req_sz;
1003 req_idx = req_offset / ioc->req_sz;
1827 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */
3085 int req_sz;
3106 req_sz = sizeof(get_facts);
3107 memset(&get_facts, 0, req_sz);
3113 "Sending get IocFacts request req_sz=%d reply_sz=%d\n",
3114 ioc->name, req_sz, reply_sz));
3119 r = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_facts,
3129 * to make sure we don't zero IOC's req_sz!
3220 ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4);
3227 dinitprintk(ioc, printk(MYIOC_s_DEBUG_FMT "req_sz =%3d, req_depth =%4d\n",
3228 ioc->name, ioc->req_sz, ioc->req_depth));
3260 int req_sz;
3278 req_sz = sizeof(get_pfacts);
3279 memset(&get_pfacts, 0, req_sz);
3291 ii = mpt_handshake_req_reply_wait(ioc, req_sz, (u32*)&get_pfacts,
3467 int req_sz;
3474 req_sz = sizeof(PortEnable_t);
3475 memset(&port_enable, 0, req_sz);
3489 rc = mpt_handshake_req_reply_wait(ioc, req_sz,
3493 rc = mpt_handshake_req_reply_wait(ioc, req_sz,
3599 prequest = (sleepFlag == NO_SLEEP) ? kzalloc(ioc->req_sz, GFP_ATOMIC) :
3600 kzalloc(ioc->req_sz, GFP_KERNEL);
4365 scale = ioc->req_sz / ioc->SGE_size;
4367 num_sge = scale + (ioc->req_sz - 60) / ioc->SGE_size;
4369 num_sge = 1 + scale + (ioc->req_sz - 64) / ioc->SGE_size;
4373 (ioc->req_sz - 60) / ioc->SGE_size;
4376 scale + (ioc->req_sz - 64) / ioc->SGE_size;
4486 sz = (ioc->req_sz * ioc->req_depth);
4488 ioc->name, ioc->req_sz, ioc->req_depth));
4493 sz = num_chain * ioc->req_sz; /* chain buffer pool size */
4495 ioc->name, ioc->req_sz, num_chain));
4536 alloc_dma += ioc->req_sz;
4537 mem += ioc->req_sz;
4557 mem += ioc->req_sz;
4573 mem += ioc->req_sz;
6736 sz = (ioc->req_sz * ioc->req_depth) + 128;
6739 ioc->req_sz, ioc->req_depth, ioc->req_sz*ioc->req_depth, sz);