if ((type != debug_malloc_type && debug_malloc_type != 0) ||
if (((type != debug_malloc_type && debug_malloc_type != 0) ||
debug_malloc(unsigned long size, int type, int flags, void **addr){	struct debug_malloc_entry *md = NULL;	int s, wait = flags & M_NOWAIT;	/* Careful not to compare unsigned long to int -1 */	if ((type != debug_malloc_type && debug_malloc_type != 0) ||	    (size != debug_malloc_size && debug_malloc_size != 0) ||	    (debug_malloc_size_lo != -1 && size < debug_malloc_size_lo) ||	    (debug_malloc_size_hi != -1 && size > debug_malloc_size_hi) ||	    !debug_malloc_initialized)		return (0);	/* XXX - fix later */	if (size > PAGE_SIZE)		return (0);	s = splvm();	if (debug_malloc_chunks_on_freelist < MALLOC_DEBUG_CHUNKS)		debug_malloc_allocate_free(wait);	md = TAILQ_FIRST(&debug_malloc_freelist);	if (md == NULL) {		splx(s);		return (0);	}	TAILQ_REMOVE(&debug_malloc_freelist, md, md_list);	debug_malloc_chunks_on_freelist--;	TAILQ_INSERT_HEAD(&debug_malloc_usedlist, md, md_list);	debug_malloc_allocs++;	splx(s);	pmap_kenter_pa(md->md_va, md->md_pa, VM_PROT_READ|VM_PROT_WRITE);	pmap_update(pmap_kernel());	md->md_size = size;	md->md_type = type;	/*	 * Align the returned addr so that it ends where the first page	 * ends. roundup to get decent alignment.	 */	*addr = (void *)(md->md_va + PAGE_SIZE - roundup(size, sizeof(long)));	return (1);}