Lines Matching refs:iolhead
1505 pr_iol_initlist(list_t *iolhead, size_t itemsize, int n) in pr_iol_initlist() argument
1510 list_create(iolhead, sizeof (piol_t), offsetof(piol_t, piol_link)); in pr_iol_initlist()
1512 ASSERT(list_head(iolhead) == NULL); in pr_iol_initlist()
1525 list_insert_head(iolhead, iol); in pr_iol_initlist()
1531 pr_iol_newbuf(list_t *iolhead, size_t itemsize) in pr_iol_newbuf() argument
1537 ASSERT(list_head(iolhead) != NULL); in pr_iol_newbuf()
1539 iol = (piol_t *)list_tail(iolhead); in pr_iol_newbuf()
1552 list_insert_after(iolhead, iol, newiol); in pr_iol_newbuf()
1553 iol = list_next(iolhead, iol); in pr_iol_newbuf()
1563 pr_iol_copyout_and_free(list_t *iolhead, caddr_t *tgt, int errin) in pr_iol_copyout_and_free() argument
1568 while ((iol = list_head(iolhead)) != NULL) { in pr_iol_copyout_and_free()
1569 list_remove(iolhead, iol); in pr_iol_copyout_and_free()
1578 list_destroy(iolhead); in pr_iol_copyout_and_free()
1584 pr_iol_uiomove_and_free(list_t *iolhead, uio_t *uiop, int errin) in pr_iol_uiomove_and_free() argument
1592 while ((iol = list_head(iolhead)) != NULL) { in pr_iol_uiomove_and_free()
1593 list_remove(iolhead, iol); in pr_iol_uiomove_and_free()
1602 list_destroy(iolhead); in pr_iol_uiomove_and_free()
1612 prgetmap(proc_t *p, int reserved, list_t *iolhead) in prgetmap() argument
1628 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetmap()
1647 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetmap()
1723 prgetmap32(proc_t *p, int reserved, list_t *iolhead) in prgetmap32() argument
1739 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetmap32()
1758 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetmap32()
4002 prgetxmap(proc_t *p, list_t *iolhead) in prgetxmap() argument
4018 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetxmap()
4054 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetxmap()
4186 prgetxmap32(proc_t *p, list_t *iolhead) in prgetxmap32() argument
4202 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetxmap32()
4238 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetxmap32()