Home
last modified time | relevance | path

Searched refs:HPT_ASSERT (Results 1 – 14 of 14) sorted by relevance

/dragonfly/sys/dev/raid/hptrr/
H A Dhptrr_os_bsd.c145 HPT_ASSERT(list->head); in freelist_get()
156 HPT_ASSERT(list->dma==0); in freelist_put()
184 HPT_ASSERT(list->dma); in freelist_get_dma()
193 HPT_ASSERT(list->dma); in freelist_put_dma()
222 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
237 HPT_ASSERT(task->next==0); in os_schedule_task()
H A Dhptrr_osm_bsd.c177 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem()
184 HPT_ASSERT(f->alignment<=PAGE_SIZE); in hpt_alloc_mem()
198 HPT_ASSERT(PAGE_SIZE==DMAPOOL_PAGE_SIZE); in hpt_alloc_mem()
203 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0); in hpt_alloc_mem()
229 HPT_ASSERT(p); in hpt_free_mem()
277 HPT_ASSERT(vd); in hpt_flush_done()
496 HPT_ASSERT(0); in os_buildsgl()
507 HPT_ASSERT(pCmd->flags.physical_sg); in hpt_io_dmamap_callback()
512 HPT_ASSERT(nsegs<=os_max_sg_descriptors); in hpt_io_dmamap_callback()
709 HPT_ASSERT(ext); in hpt_scsi_io()
H A Dosm.h195 #define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0) macro
200 #define HPT_ASSERT(x) do { } while (0) macro
H A Dlist.h85 HPT_ASSERT(!(head->next==head && head->prev!=head)); in list_empty()
H A Dldm.h177 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_os_bsd.c163 HPT_ASSERT(list->head); in freelist_get()
174 HPT_ASSERT(list->dma==0); in freelist_put()
202 HPT_ASSERT(list->dma); in freelist_get_dma()
211 HPT_ASSERT(list->dma); in freelist_put_dma()
240 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
255 HPT_ASSERT(task->next==0); in os_schedule_task()
H A Dhpt27xx_osm_bsd.c162 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem()
168 HPT_ASSERT(f->alignment<=PAGE_SIZE); in hpt_alloc_mem()
182 HPT_ASSERT(PAGE_SIZE==DMAPOOL_PAGE_SIZE); in hpt_alloc_mem()
187 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0); in hpt_alloc_mem()
213 HPT_ASSERT(p); in hpt_free_mem()
261 HPT_ASSERT(vd); in hpt_flush_done()
498 HPT_ASSERT(0); in os_buildsgl()
509 HPT_ASSERT(pCmd->flags.physical_sg); in hpt_io_dmamap_callback()
514 HPT_ASSERT(nsegs<=os_max_sg_descriptors); in hpt_io_dmamap_callback()
709 HPT_ASSERT(ext); in hpt_scsi_io()
H A Dosm.h229 #define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0) macro
234 #define HPT_ASSERT(x) do { } while (0) macro
H A Dlist.h83 HPT_ASSERT(!(head->next==head && head->prev!=head)); in list_empty()
H A Dldm.h182 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/dragonfly/sys/dev/raid/hptmv/
H A DmvOs.h135 #define HPT_ASSERT(x) do { if (!(x)) { \ macro
145 #define HPT_ASSERT(x) do { } while (0) macro
H A Dioctl.c182 if (pArray->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in hpt_delete_array()
741 HPT_ASSERT(pCmd); in hpt_rebuild_data_block()
799 HPT_ASSERT(0); in hpt_rebuild_data_block()
H A Dentry.c184 HPT_ASSERT(channelNum < MV_SATA_CHANNELS_NUM); in hptmv_free_channel()
1849 HPT_ASSERT(0); in fDeviceSendCommand()
2278 HPT_ASSERT(pmap); in hpt_action()
2539 HPT_ASSERT(0); in fOsBuildSgl()
2647 HPT_ASSERT(pCmd->cf_physical_sg); in hpt_io_dmamap_callback()
2652 HPT_ASSERT(nsegs<= MAX_SG_DESCRIPTORS); in hpt_io_dmamap_callback()
2775 HPT_ASSERT(pCmd); in OsSendCommand()
H A Dgui_lib.c839 if (pArray1->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in old_add_disk_to_raid01()
943 if (pArray->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in hpt_add_disk_to_array()
1030 if (pVDevice->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in hpt_set_array_info()