Searched refs:sc_ccb_free (Results 1 – 11 of 11) sorted by relevance
/openbsd/sys/dev/ic/ |
H A D | cac.c | 150 SIMPLEQ_INIT(&sc->sc_ccb_free); in cac_init() 203 SIMPLEQ_INSERT_TAIL(&sc->sc_ccb_free, ccb, ccb_chain); in cac_init() 514 if (SIMPLEQ_EMPTY(&sc->sc_ccb_free)) { in cac_ccb_alloc() 519 ccb = SIMPLEQ_FIRST(&sc->sc_ccb_free); in cac_ccb_alloc() 520 SIMPLEQ_REMOVE_HEAD(&sc->sc_ccb_free, ccb_chain); in cac_ccb_alloc() 539 SIMPLEQ_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_chain); in cac_ccb_free()
|
H A D | qlwvar.h | 116 struct qlw_ccb_list sc_ccb_free; member
|
H A D | cacvar.h | 107 SIMPLEQ_HEAD(, cac_ccb) sc_ccb_free;
|
H A D | mpivar.h | 139 struct mpi_ccb_list sc_ccb_free; member
|
H A D | qlavar.h | 179 struct qla_ccb_list sc_ccb_free; member
|
H A D | qlw.c | 1698 SIMPLEQ_INIT(&sc->sc_ccb_free); in qlw_alloc_ccbs() 1777 ccb = SIMPLEQ_FIRST(&sc->sc_ccb_free); in qlw_get_ccb() 1779 SIMPLEQ_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in qlw_get_ccb() 1793 SIMPLEQ_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in qlw_put_ccb()
|
H A D | qla.c | 2543 SIMPLEQ_INIT(&sc->sc_ccb_free); in qla_alloc_ccbs() 2640 ccb = SIMPLEQ_FIRST(&sc->sc_ccb_free); in qla_get_ccb() 2642 SIMPLEQ_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in qla_get_ccb() 2656 SIMPLEQ_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in qla_put_ccb()
|
H A D | mpi.c | 1043 SLIST_INIT(&sc->sc_ccb_free); in mpi_alloc_ccbs() 1113 ccb = SLIST_FIRST(&sc->sc_ccb_free); in mpi_get_ccb() 1115 SLIST_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in mpi_get_ccb() 1143 SLIST_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in mpi_put_ccb()
|
/openbsd/sys/dev/pci/ |
H A D | arc.c | 559 struct arc_ccb_list sc_ccb_free; member 2882 SLIST_INIT(&sc->sc_ccb_free); in arc_alloc_ccbs() 2964 ccb = SLIST_FIRST(&sc->sc_ccb_free); in arc_get_ccb() 2966 SLIST_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in arc_get_ccb() 2978 SLIST_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in arc_put_ccb()
|
H A D | qle.c | 209 struct qle_ccb_list sc_ccb_free; member 2857 SIMPLEQ_INIT(&sc->sc_ccb_free); in qle_alloc_ccbs() 2968 ccb = SIMPLEQ_FIRST(&sc->sc_ccb_free); in qle_get_ccb() 2970 SIMPLEQ_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in qle_get_ccb() 2984 SIMPLEQ_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in qle_put_ccb()
|
H A D | mpii.c | 200 struct mpii_ccb_list sc_ccb_free; member 2583 SIMPLEQ_INIT(&sc->sc_ccb_free); in mpii_alloc_ccbs() 2669 SIMPLEQ_INSERT_HEAD(&sc->sc_ccb_free, ccb, ccb_link); in mpii_put_ccb() 2683 ccb = SIMPLEQ_FIRST(&sc->sc_ccb_free); in mpii_get_ccb() 2685 SIMPLEQ_REMOVE_HEAD(&sc->sc_ccb_free, ccb_link); in mpii_get_ccb()
|