FreeBSD/sys/dev/vnic/nicvf_queues.c
/* Refill RBs even if sleep is needed to reclaim memory */
Refill RBs even if sleep is needed to reclaim memory
Refill RBs even if sleep is needed to reclaim memory
static void
nicvf_rbdr_task(void *arg, int pending)
{
	struct rbdr *rbdr;
	int err;
	rbdr = (struct rbdr *)arg;
	err = nicvf_refill_rbdr(rbdr, M_WAITOK);
	if (__predict_false(err != 0)) {
		panic("%s: Failed to refill RBs even when sleep enabled",
		    __func__);
	}
}
static void nicvf_rbdr_task ( void * arg , int pending ) { struct rbdr * rbdr ; int err ; rbdr = ( struct rbdr * ) arg ; err = nicvf_refill_rbdr ( rbdr , M_WAITOK ) ; if ( __predict_false ( err != 0 ) ) { panic ( " " , __func__ ) ; } }
Refill RBs even if sleep is needed to reclaim memory
Refill RBs even if sleep is needed to reclaim memory