Lines Matching refs:iolhead
1503 pr_iol_initlist(list_t *iolhead, size_t itemsize, int n) in pr_iol_initlist() argument
1508 list_create(iolhead, sizeof (piol_t), offsetof(piol_t, piol_link)); in pr_iol_initlist()
1510 ASSERT(list_head(iolhead) == NULL); in pr_iol_initlist()
1523 list_insert_head(iolhead, iol); in pr_iol_initlist()
1529 pr_iol_newbuf(list_t *iolhead, size_t itemsize) in pr_iol_newbuf() argument
1535 ASSERT(list_head(iolhead) != NULL); in pr_iol_newbuf()
1537 iol = (piol_t *)list_tail(iolhead); in pr_iol_newbuf()
1550 list_insert_after(iolhead, iol, newiol); in pr_iol_newbuf()
1551 iol = list_next(iolhead, iol); in pr_iol_newbuf()
1561 pr_iol_copyout_and_free(list_t *iolhead, caddr_t *tgt, int errin) in pr_iol_copyout_and_free() argument
1566 while ((iol = list_head(iolhead)) != NULL) { in pr_iol_copyout_and_free()
1567 list_remove(iolhead, iol); in pr_iol_copyout_and_free()
1576 list_destroy(iolhead); in pr_iol_copyout_and_free()
1582 pr_iol_uiomove_and_free(list_t *iolhead, uio_t *uiop, int errin) in pr_iol_uiomove_and_free() argument
1590 while ((iol = list_head(iolhead)) != NULL) { in pr_iol_uiomove_and_free()
1591 list_remove(iolhead, iol); in pr_iol_uiomove_and_free()
1600 list_destroy(iolhead); in pr_iol_uiomove_and_free()
1610 prgetmap(proc_t *p, int reserved, list_t *iolhead) in prgetmap() argument
1626 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetmap()
1645 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetmap()
1721 prgetmap32(proc_t *p, int reserved, list_t *iolhead) in prgetmap32() argument
1737 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetmap32()
1756 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetmap32()
4000 prgetxmap(proc_t *p, list_t *iolhead) in prgetxmap() argument
4016 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetxmap()
4052 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetxmap()
4184 prgetxmap32(proc_t *p, list_t *iolhead) in prgetxmap32() argument
4200 pr_iol_initlist(iolhead, sizeof (*mp), avl_numnodes(&as->a_segtree)); in prgetxmap32()
4236 mp = pr_iol_newbuf(iolhead, sizeof (*mp)); in prgetxmap32()