Searched refs:dev_fd (Results 1 - 7 of 7) sorted by relevance
/external/dhcpcd-6.8.2/ |
H A D | dev.c | 65 eloop_event_delete(ctx->eloop, ctx->dev_fd, 0); 69 ctx->dev_fd = -1; 169 if (ctx->dev_fd != -1) { 171 ctx->dev_fd); 172 return ctx->dev_fd; 175 ctx->dev_fd = dev_start1(ctx); 176 if (ctx->dev_fd != -1) { 178 ctx->dev_fd, dev_handle_data, ctx, NULL, NULL) == -1) 187 return ctx->dev_fd;
|
H A D | dhcpcd.h | 150 int dev_fd; member in struct:dhcpcd_ctx
|
H A D | dhcpcd.c | 1482 ctx.dev_fd = -1;
|
/external/mmc-utils/ |
H A D | mmc_cmds.c | 1610 int ret, dev_fd, key_fd; local 1618 dev_fd = open(argv[1], O_RDWR); 1619 if (dev_fd < 0) { 1647 ret = do_rpmb_op(dev_fd, &frame_in, &frame_out, 1); 1660 close(dev_fd); 1667 int rpmb_read_counter(int dev_fd, unsigned int *cnt) argument 1675 ret = do_rpmb_op(dev_fd, &frame_in, &frame_out, 1); 1692 int ret, dev_fd; local 1698 dev_fd = open(argv[1], O_RDWR); 1699 if (dev_fd < 1721 int i, ret, dev_fd, data_fd, key_fd = -1; local 1868 int ret, dev_fd, key_fd, data_fd; local [all...] |
/external/toybox/toys/pending/ |
H A D | fdisk.c | 85 static int num_parts, disp_unit_cyl, dos_flag, dev_fd = 3; variable 151 if (ioctl(dev_fd, BLKSSZGET, &arg) == 0) g_sect_size = arg; 166 if (ioctl(dev_fd, BLKGETSIZE64, &sec64) == 0) { 174 if (ioctl(dev_fd, BLKGETSIZE, §ors) == 0) 227 if (ioctl(dev_fd, HDIO_GETGEO, &geometry)) return; 260 xlseek(dev_fd, (off_t)(offset * g_sect_size), SEEK_SET); 262 if (g_sect_size != readall(dev_fd, sec_buf, g_sect_size)) { 263 close(dev_fd); 355 if(fd != dev_fd) { 356 if(dup2(fd, dev_fd) ! [all...] |
/external/ppp/pppd/ |
H A D | pppd.h | 617 void generic_disestablish_ppp __P((int dev_fd)); /* Restore device setting */ 618 int generic_establish_ppp __P((int dev_fd)); /* Make a ppp interface */
|
H A D | sys-linux.c | 597 void generic_disestablish_ppp(int dev_fd) argument
|
Completed in 479 milliseconds