Home
last modified time | relevance | path

Searched refs:copyinout_size (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c411 size_t copyinout_size; in niumxtool_set_intr() local
420 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in niumxtool_set_intr()
422 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in niumxtool_set_intr()
430 copyinout_size = sizeof (pcitool_intr_set_t); in niumxtool_set_intr()
431 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in niumxtool_set_intr()
485 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS) in niumxtool_set_intr()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools.c258 size_t copyinout_size; in pxtool_set_intr() local
263 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pxtool_set_intr()
265 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pxtool_set_intr()
273 copyinout_size = sizeof (pcitool_intr_set_t); in pxtool_set_intr()
274 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pxtool_set_intr()
389 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS) in pxtool_set_intr()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c422 size_t copyinout_size; in pcitool_set_intr() local
428 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pcitool_set_intr()
430 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
438 copyinout_size = sizeof (pcitool_intr_set_t); in pcitool_set_intr()
439 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
503 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c139 size_t copyinout_size; in pcitool_set_intr() local
144 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pcitool_set_intr()
146 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
154 copyinout_size = sizeof (pcitool_intr_set_t); in pcitool_set_intr()
155 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
262 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()