Home
last modified time | relevance | path

Searched refs:open_dev (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/sbin/nvmecontrol/
H A Dns.c407 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 Dresv.c245 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 Dsanitize.c145 open_dev(opt.dev, &fd, 1, 1); in sanitize()
149 open_dev(path, &fd, 1, 1); in sanitize()
H A Dformat.c145 open_dev(target, &fd, 1, 1); in format()
157 open_dev(path, &fd, 1, 1); in format()
H A Dreset.c61 open_dev(opt.dev, &fd, 1, 1); in reset()
H A Didentify.c243 open_dev(opt.dev, &fd, 1, 1); in identify()
253 open_dev(path, &fd, 1, 1); in identify()
H A Dnsid.c75 open_dev(nsid_opt.dev, &fd, 1, 1); in gnsid()
H A Ddevlist.c96 ret = open_dev(name, &fd, 0, 0); in devlist()
H A Dnvmecontrol.h71 int open_dev(const char *str, int *fd, int show_error, int exit_on_error);
H A Dnvmecontrol.c145 open_dev(const char *str, int *fd, int show_error, int exit_on_error) in open_dev() function
H A Dperftest.c179 open_dev(opt.dev, &fd, 1, 1); in perftest()
H A Dpower.c155 open_dev(opt.dev, &fd, 1, 1); in power()
H A Dlogpage.c690 open_dev(opt.dev, &fd, 1, 1); in logpage()
696 open_dev(path, &fd, 1, 1); in logpage()
H A Dfirmware.c262 open_dev(opt.dev, &fd, 1, 1); in firmware()
H A Dpassthru.c165 open_dev(argv[optind], &fd, 1, 1); in passthru()
/freebsd-12.1/usr.sbin/fwcontrol/
H A Dfwcontrol.c648 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 Dif_cx.c138 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 Dwdc.c204 open_dev(opt.dev, &fd, 1, 1); in wdc_cap_diag()