Lines Matching refs:numfrags
806 int numfrags = 0; in mptctl_do_fw_download() local
886 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
903 if (numfrags > maxfrags) { in mptctl_do_fw_download()
909 iocp->name, sgl, numfrags)); in mptctl_do_fw_download()
918 for (i=0; i < numfrags; i++) { in mptctl_do_fw_download()
945 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
1039 int numfrags = 0; in kbuf_alloc_2_sgl() local
1096 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1110 numfrags++; in kbuf_alloc_2_sgl()
1122 printk(MYIOC_s_WARN_FMT "(freeing %d frags)\n", ioc->name, numfrags); in kbuf_alloc_2_sgl()
1127 if (numfrags*8 > MAX_SGL_BYTES){ in kbuf_alloc_2_sgl()
1132 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1140 *frags = numfrags; in kbuf_alloc_2_sgl()
1144 "%d SG frags generated!\n", ioc->name, numfrags)); in kbuf_alloc_2_sgl()
1153 for (i = 0; i < numfrags; i++) { in kbuf_alloc_2_sgl()