Lines Matching refs:numfrags
787 int numfrags = 0; in mptctl_do_fw_download() local
858 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
875 if (numfrags > maxfrags) { in mptctl_do_fw_download()
881 iocp->name, sgl, numfrags)); in mptctl_do_fw_download()
890 for (i=0; i < numfrags; i++) { in mptctl_do_fw_download()
917 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
1011 int numfrags = 0; in kbuf_alloc_2_sgl() local
1073 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1088 numfrags++; in kbuf_alloc_2_sgl()
1100 printk(MYIOC_s_WARN_FMT "(freeing %d frags)\n", ioc->name, numfrags); in kbuf_alloc_2_sgl()
1105 if (numfrags*8 > MAX_SGL_BYTES){ in kbuf_alloc_2_sgl()
1110 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1118 *frags = numfrags; in kbuf_alloc_2_sgl()
1122 "%d SG frags generated!\n", ioc->name, numfrags)); in kbuf_alloc_2_sgl()
1131 for (i = 0; i < numfrags; i++) { in kbuf_alloc_2_sgl()