Lines Matching refs:numfrags
799 int numfrags = 0; in mptctl_do_fw_download() local
879 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
896 if (numfrags > maxfrags) { in mptctl_do_fw_download()
902 iocp->name, sgl, numfrags)); in mptctl_do_fw_download()
911 for (i=0; i < numfrags; i++) { in mptctl_do_fw_download()
938 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
1032 int numfrags = 0; in kbuf_alloc_2_sgl() local
1089 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1103 numfrags++; in kbuf_alloc_2_sgl()
1115 printk(MYIOC_s_WARN_FMT "(freeing %d frags)\n", ioc->name, numfrags); in kbuf_alloc_2_sgl()
1120 if (numfrags*8 > MAX_SGL_BYTES){ in kbuf_alloc_2_sgl()
1125 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1133 *frags = numfrags; in kbuf_alloc_2_sgl()
1137 "%d SG frags generated!\n", ioc->name, numfrags)); in kbuf_alloc_2_sgl()
1146 for (i = 0; i < numfrags; i++) { in kbuf_alloc_2_sgl()