Lines Matching refs:numfrags
791 int numfrags = 0; in mptctl_do_fw_download() local
862 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
879 if (numfrags > maxfrags) { in mptctl_do_fw_download()
885 iocp->name, sgl, numfrags)); in mptctl_do_fw_download()
894 for (i=0; i < numfrags; i++) { in mptctl_do_fw_download()
921 DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags); in mptctl_do_fw_download()
1015 int numfrags = 0; in kbuf_alloc_2_sgl() local
1076 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1090 numfrags++; in kbuf_alloc_2_sgl()
1102 printk(MYIOC_s_WARN_FMT "(freeing %d frags)\n", ioc->name, numfrags); in kbuf_alloc_2_sgl()
1107 if (numfrags*8 > MAX_SGL_BYTES){ in kbuf_alloc_2_sgl()
1112 ioc->name, numfrags); in kbuf_alloc_2_sgl()
1120 *frags = numfrags; in kbuf_alloc_2_sgl()
1124 "%d SG frags generated!\n", ioc->name, numfrags)); in kbuf_alloc_2_sgl()
1133 for (i = 0; i < numfrags; i++) { in kbuf_alloc_2_sgl()