Searched refs:iovmo (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/system/dev/block/block/ |
H A D | block.c | 49 zx_handle_t iovmo; member in struct:blkdev 81 zx_handle_close(bdev->iovmo); 250 if (bdev->iovmo == ZX_HANDLE_INVALID) { 251 if (zx_vmo_create(max(max_xfer, PAGE_SIZE), 0, &bdev->iovmo) != ZX_OK) { 265 if (zx_vmo_write(bdev->iovmo, sub_buf, 0, sub_txn_length) != ZX_OK) { 273 bop->rw.vmo = bdev->iovmo; 289 if (zx_vmo_read(bdev->iovmo, buf + sub_txn_offset, 0, sub_txn_length) != ZX_OK) { 345 zx_handle_close(blkdev->iovmo);
|
/fuchsia/zircon/system/ulib/inet6/ |
H A D | netifc.c | 66 static zx_handle_t iovmo; variable 310 if ((status = zx_vmo_create(iosize, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) { 313 zx_object_set_property(iovmo, ZX_PROP_NAME, "eth-buffers", 11); 316 0, iovmo, 0, iosize, (uintptr_t*)&iobuf)) < 0) { 317 zx_handle_close(iovmo); 318 iovmo = ZX_HANDLE_INVALID; 332 status = eth_create(netfd, iovmo, iobuf, ð);
|
/fuchsia/zircon/system/uapp/netreflector/ |
H A D | netreflector.c | 212 zx_handle_t iovmo; local 213 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) { 219 0, iovmo, 0, count * BUFSIZE, (uintptr_t*)&iobuf)) < 0) { 223 if ((r = ioctl_ethernet_set_iobuf(fd, &iovmo)) < 0) {
|
/fuchsia/zircon/system/uapp/ethtool/ |
H A D | ethtool.c | 157 zx_handle_t iovmo; local 159 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) { 163 if ((r = ioctl_ethernet_set_iobuf(fd, &iovmo)) < 0) {
|
/fuchsia/zircon/system/uapp/netdump/ |
H A D | netdump.c | 428 zx_handle_t iovmo; local 430 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) { 437 0, iovmo, 0, count * BUFSIZE, (uintptr_t*)&iobuf)) < 0) { 441 if ((r = ioctl_ethernet_set_iobuf(fd, &iovmo)) < 0) {
|
Completed in 30 milliseconds