Home
last modified time | relevance | path

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

/freebsd/sys/dev/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.c178 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem()
185 HPT_ASSERT(f->alignment<=PAGE_SIZE); in hpt_alloc_mem()
199 HPT_ASSERT(PAGE_SIZE==DMAPOOL_PAGE_SIZE); in hpt_alloc_mem()
204 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0); in hpt_alloc_mem()
230 HPT_ASSERT(p); in hpt_free_mem()
278 HPT_ASSERT(vd); in hpt_flush_done()
497 HPT_ASSERT(0); in os_buildsgl()
508 HPT_ASSERT(pCmd->flags.physical_sg); in hpt_io_dmamap_callback()
513 HPT_ASSERT(nsegs<=os_max_sg_descriptors); in hpt_io_dmamap_callback()
710 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) 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);\
/freebsd/sys/dev/hptnr/
H A Dhptnr_os_bsd.c159 HPT_ASSERT(list->head); in freelist_get()
170 HPT_ASSERT(list->dma==0); in freelist_put()
198 HPT_ASSERT(list->dma); in freelist_get_dma()
207 HPT_ASSERT(list->dma); in freelist_put_dma()
236 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
251 HPT_ASSERT(task->next==0); in os_schedule_task()
H A Dhptnr_osm_bsd.c176 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem()
183 HPT_ASSERT(f->alignment<=PAGE_SIZE); in hpt_alloc_mem()
197 HPT_ASSERT(PAGE_SIZE==DMAPOOL_PAGE_SIZE); in hpt_alloc_mem()
202 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0); in hpt_alloc_mem()
228 HPT_ASSERT(p); in hpt_free_mem()
276 HPT_ASSERT(vd); in hpt_flush_done()
536 HPT_ASSERT(0); in os_buildsgl()
547 HPT_ASSERT(pCmd->flags.physical_sg); in hpt_io_dmamap_callback()
552 HPT_ASSERT(nsegs<=os_max_sg_descriptors); in hpt_io_dmamap_callback()
632 HPT_ASSERT(vd->type == VD_RAW && vd->u.raw.legacy_disk); in hpt_scsi_io()
[all …]
H A Dosm.h228 #define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0) macro
233 #define HPT_ASSERT(x) macro
H A Dlist.h82 HPT_ASSERT(!(head->next==head && head->prev!=head)); in list_empty()
H A Dldm.h178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c173 HPT_ASSERT(list->head); in freelist_get()
184 HPT_ASSERT(list->dma==0); in freelist_put()
212 HPT_ASSERT(list->dma); in freelist_get_dma()
221 HPT_ASSERT(list->dma); in freelist_put_dma()
250 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
264 HPT_ASSERT(task->next==0); in os_schedule_task()
H A Dhpt27xx_osm_bsd.c172 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem()
179 HPT_ASSERT(f->alignment<=PAGE_SIZE); in hpt_alloc_mem()
193 HPT_ASSERT(PAGE_SIZE==DMAPOOL_PAGE_SIZE); in hpt_alloc_mem()
198 HPT_ASSERT(((HPT_UPTR)p & (DMAPOOL_PAGE_SIZE-1))==0); in hpt_alloc_mem()
224 HPT_ASSERT(p); in hpt_free_mem()
272 HPT_ASSERT(vd); in hpt_flush_done()
490 HPT_ASSERT(0); in os_buildsgl()
501 HPT_ASSERT(pCmd->flags.physical_sg); in hpt_io_dmamap_callback()
506 HPT_ASSERT(nsegs<=os_max_sg_descriptors); in hpt_io_dmamap_callback()
775 HPT_ASSERT(ext); in hpt_scsi_io()
H A Dosm.h243 #define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0) macro
248 #define HPT_ASSERT(x) macro
H A Dlist.h83 HPT_ASSERT(!(head->next==head && head->prev!=head)); in list_empty()
H A Dldm.h178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd/sys/dev/hptmv/
H A DmvOs.h135 #define HPT_ASSERT(x) do { if (!(x)) { \ macro
145 #define HPT_ASSERT(x) macro
H A Dioctl.c183 if (pArray->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in hpt_delete_array()
737 HPT_ASSERT(pCmd); in hpt_rebuild_data_block()
793 HPT_ASSERT(0); in hpt_rebuild_data_block()
H A Dentry.c172 HPT_ASSERT(channelNum < MV_SATA_CHANNELS_NUM); in hptmv_free_channel()
1832 HPT_ASSERT(0); in fDeviceSendCommand()
2259 HPT_ASSERT(pmap); in hpt_action()
2511 HPT_ASSERT(0); in fOsBuildSgl()
2621 HPT_ASSERT(pCmd->cf_physical_sg); in hpt_io_dmamap_callback()
2626 HPT_ASSERT(nsegs<= MAX_SG_DESCRIPTORS); in hpt_io_dmamap_callback()
2754 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()
/freebsd/sys/dev/hptiop/
H A Dhptiop.h37 #define HPT_ASSERT(x) assert(x) macro
40 #define HPT_ASSERT(x) macro