Searched refs:open_dev (Results 1 - 11 of 11) sorted by relevance

/freebsd-10.2-release/sbin/nvmecontrol/
H A Dreset.c66 open_dev(argv[optind], &fd, 1, 1);
H A Dnvmecontrol.h65 int open_dev(const char *str, int *fd, int show_error, int exit_on_error);
H A Ddevlist.c83 ret = open_dev(name, &fd, 0, 0);
H A Didentify.c171 open_dev(argv[optind], &fd, 1, 1);
224 open_dev(argv[optind], &fd, 1, 1);
234 open_dev(path, &fd, 1, 1);
H A Dlogpage.c294 open_dev(cname, &fd, 1, 1);
298 open_dev(argv[optind], &fd, 1, 1);
H A Dnvmecontrol.c165 open_dev(const char *str, int *fd, int show_error, int exit_on_error) function
H A Dperftest.c169 open_dev(argv[optind], &fd, 1, 1);
H A Dfirmware.c241 open_dev(controller, &fd, 1, 1);
/freebsd-10.2-release/sys/boot/powerpc/ps3/
H A Dps3disk.c54 struct open_dev;
56 static int ps3disk_open_gpt(struct ps3_devdesc *dev, struct open_dev *od);
84 struct open_dev { struct
115 struct open_dev *od = (struct open_dev *) dev->d_disk.data;
149 struct open_dev *od;
156 od = malloc(sizeof(struct open_dev));
158 dev_printf(dev, "couldn't allocate memory for new open_dev\n");
177 struct open_dev *od = dev->d_disk.data;
193 static int ps3disk_open_gpt(struct ps3_devdesc *dev, struct open_dev *o
[all...]
/freebsd-10.2-release/usr.sbin/fwcontrol/
H A Dfwcontrol.c646 open_dev(int *fd, char *devname) function
774 if (open_dev(&fd, devbase) < 0) {
957 if (open_dev(&fd, devbase) < 0) {
1070 if (open_dev(&fd, devbase) < 0)
/freebsd-10.2-release/sys/dev/cx/
H A Dif_cx.c137 int open_dev; member in struct:_drv_t
802 d->open_dev = 0;
916 (d->open_dev|0x2)) {
1466 d->open_dev |= 0x2;
1492 d->open_dev &= ~0x2;
1538 d->open_dev |= 0x1;
1551 d->open_dev &= ~0x1;
1562 (d->open_dev|0x2)) || (d->chan->mode != M_ASYNC && d->running))
1716 (d->open_dev|0x2))

Completed in 113 milliseconds