Lines Matching refs:numfrags
789 int numfrags = 0; in mptctl_do_fw_download() local
860 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
877 if (numfrags > maxfrags) { in mptctl_do_fw_download()
883 iocp->name, sgl, numfrags)); in mptctl_do_fw_download()
892 for (i=0; i < numfrags; i++) { in mptctl_do_fw_download()
919 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
1013 int numfrags = 0; in kbuf_alloc_2_sgl() local
1074 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()