Home
last modified time | relevance | path

Searched refs:raw_fd (Results 1 – 5 of 5) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dqcow2.c154 int qcow2_write_raw_image(int qcow2_fd, int raw_fd, in qcow2_write_raw_image() argument
188 if (ext2fs_llseek(raw_fd, 0, SEEK_SET) < 0) { in qcow2_write_raw_image()
229 ret = qcow2_copy_data(qcow2_fd, raw_fd, offset, in qcow2_write_raw_image()
237 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) in qcow2_write_raw_image()
241 size = write(raw_fd, copy_buf, 1); in qcow2_write_raw_image()
/external/dhcpcd-6.8.2/
Ddhcp.h233 int raw_fd; member
Ddhcp.c1500 if (state->raw_fd != -1) { in dhcp_close()
1501 eloop_event_delete(ifp->ctx->eloop, state->raw_fd, 0); in dhcp_close()
1502 close(state->raw_fd); in dhcp_close()
1503 state->raw_fd = -1; in dhcp_close()
3334 if (state->raw_fd == -1) in dhcp_handlepacket()
3372 if (state->raw_fd == -1) { in dhcp_open()
3373 state->raw_fd = if_openrawsocket(ifp, ETHERTYPE_IP); in dhcp_open()
3374 if (state->raw_fd == -1) { in dhcp_open()
3387 state->raw_fd, dhcp_handlepacket, ifp, NULL, NULL); in dhcp_open()
3400 state->raw_fd = state->arp_fd = -1; in dhcp_dump()
[all …]
Dif-bsd.c400 fd = state->raw_fd; in if_sendrawpacket()
420 fd = state->raw_fd; in if_readrawpacket()
Dif-linux.c1226 fd = state->raw_fd; in if_sendrawpacket()
1262 fd = state->raw_fd; in if_readrawpacket()