| /freebsd-12.1/sbin/nvmecontrol/ |
| H A D | ns.c | 407 open_dev(active_opt.dev, &fd, 1, 1); in nsactive() 438 open_dev(active_opt.dev, &fd, 1, 1); in nsallocated() 475 open_dev(controllers_opt.dev, &fd, 1, 1); in nscontrollers() 528 open_dev(create_opt.dev, &fd, 1, 1); in nscreate() 596 open_dev(delete_opt.dev, &fd, 1, 1); in nsdelete() 653 open_dev(attach_opt.dev, &fd, 1, 1); in nsattach() 715 open_dev(detach_opt.dev, &fd, 1, 1); in nsdetach() 784 open_dev(attached_opt.dev, &fd, 1, 1); in nsattached() 828 open_dev(identify_opt.dev, &fd, 1, 1); in nsidentify()
|
| H A D | resv.c | 245 open_dev(acquire_opt.dev, &fd, 1, 1); in resvacquire() 283 open_dev(register_opt.dev, &fd, 1, 1); in resvregister() 321 open_dev(release_opt.dev, &fd, 1, 1); in resvrelease() 361 open_dev(report_opt.dev, &fd, 1, 1); in resvreport()
|
| H A D | sanitize.c | 145 open_dev(opt.dev, &fd, 1, 1); in sanitize() 149 open_dev(path, &fd, 1, 1); in sanitize()
|
| H A D | format.c | 145 open_dev(target, &fd, 1, 1); in format() 157 open_dev(path, &fd, 1, 1); in format()
|
| H A D | reset.c | 61 open_dev(opt.dev, &fd, 1, 1); in reset()
|
| H A D | identify.c | 243 open_dev(opt.dev, &fd, 1, 1); in identify() 253 open_dev(path, &fd, 1, 1); in identify()
|
| H A D | nsid.c | 75 open_dev(nsid_opt.dev, &fd, 1, 1); in gnsid()
|
| H A D | devlist.c | 96 ret = open_dev(name, &fd, 0, 0); in devlist()
|
| H A D | nvmecontrol.h | 71 int open_dev(const char *str, int *fd, int show_error, int exit_on_error);
|
| H A D | nvmecontrol.c | 145 open_dev(const char *str, int *fd, int show_error, int exit_on_error) in open_dev() function
|
| H A D | perftest.c | 179 open_dev(opt.dev, &fd, 1, 1); in perftest()
|
| H A D | power.c | 155 open_dev(opt.dev, &fd, 1, 1); in power()
|
| H A D | logpage.c | 690 open_dev(opt.dev, &fd, 1, 1); in logpage() 696 open_dev(path, &fd, 1, 1); in logpage()
|
| H A D | firmware.c | 262 open_dev(opt.dev, &fd, 1, 1); in firmware()
|
| H A D | passthru.c | 165 open_dev(argv[optind], &fd, 1, 1); in passthru()
|
| /freebsd-12.1/usr.sbin/fwcontrol/ |
| H A D | fwcontrol.c | 648 open_dev(int *fd, char *devname) in open_dev() function 776 if (open_dev(&fd, devbase) < 0) { in main() 959 if (open_dev(&fd, devbase) < 0) { in main() 1072 if (open_dev(&fd, devbase) < 0) in main()
|
| /freebsd-12.1/sys/dev/cx/ |
| H A D | if_cx.c | 138 int open_dev; member 786 d->open_dev = 0; in cx_attach() 900 (d->open_dev|0x2)) { in cx_detach() 1450 d->open_dev |= 0x2; in cx_topen() 1476 d->open_dev &= ~0x2; in cx_tclose() 1522 d->open_dev |= 0x1; in cx_open() 1535 d->open_dev &= ~0x1; in cx_close() 1546 (d->open_dev|0x2)) || (d->chan->mode != M_ASYNC && d->running)) in cx_modem_status() 1700 (d->open_dev|0x2)) in cx_ioctl()
|
| /freebsd-12.1/sbin/nvmecontrol/modules/wdc/ |
| H A D | wdc.c | 204 open_dev(opt.dev, &fd, 1, 1); in wdc_cap_diag()
|