Home
last modified time | relevance | path

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

12

/netbsd-src/usr.sbin/srtconfig/
H A Dsrtconfig.c93 static void open_dev(int how) in open_dev() function
140 open_dev(O_RDONLY); in do_query()
155 open_dev(O_RDWR); in do_del()
169 open_dev(O_RDWR); in do_set()
225 open_dev(O_RDONLY); in do_flags()
257 open_dev(O_RDWR); in do_sflag()
273 open_dev(O_RDWR); in do_debug()
/netbsd-src/external/bsd/libfido2/dist/fuzz/
H A Dfuzz_mgmt.c212 if ((dev = open_dev(0)) == NULL) in dev_reset()
231 if ((dev = open_dev(0)) == NULL) in dev_get_cbor_info()
332 if ((dev = open_dev(0)) == NULL) in dev_set_pin()
347 if ((dev = open_dev(0)) == NULL) in dev_change_pin()
363 if ((dev = open_dev(0)) == NULL) in dev_get_retry_count()
380 if ((dev = open_dev(0)) == NULL) in dev_get_uv_retry_count()
397 if ((dev = open_dev(0)) == NULL) in dev_enable_entattest()
416 if ((dev = open_dev(0)) == NULL) in dev_toggle_always_uv()
435 if ((dev = open_dev(0)) == NULL) in dev_force_pin_change()
454 if ((dev = open_dev(0)) == NULL) in dev_set_pin_minlen()
[all …]
H A Dmutator_aux.h98 fido_dev_t *open_dev(int);
H A Dfuzz_cred.c222 if ((dev = open_dev(opt & 2)) == NULL) in make_cred()
403 if ((dev = open_dev(p->opt & 2)) == NULL) in test_touch()
H A Dmutator_aux.c282 open_dev(int nfc) in open_dev() function
H A Dfuzz_largeblob.c179 if ((dev = open_dev(0)) == NULL) in prepare_dev()
/netbsd-src/external/bsd/libfido2/dist/tools/
H A Dconfig.c25 dev = open_dev(path); in config_entattest()
55 dev = open_dev(path); in config_always_uv()
97 dev = open_dev(path); in config_pin_minlen()
130 dev = open_dev(path); in config_force_pin_change()
176 dev = open_dev(path); in config_pin_minlen_rpid()
H A Dbio.c53 dev = open_dev(path); in bio_list()
96 dev = open_dev(path); in bio_set_name()
170 dev = open_dev(path); in bio_enroll()
225 dev = open_dev(path); in bio_delete()
H A Dcredman.c84 dev = open_dev(path); in credman_list_rp()
154 dev = open_dev(path); in credman_list_rk()
249 dev = open_dev(path); in credman_delete_rk()
289 dev = open_dev(path); in credman_update_rk()
H A Dpin.c30 dev = open_dev(path); in pin_set()
94 dev = open_dev(path); in pin_change()
H A Dlargeblob.c205 dev = open_dev(path); in blob_set()
245 dev = open_dev(path); in blob_get()
280 dev = open_dev(path); in blob_delete()
592 dev = open_dev(path); in blob_list()
H A Dextern.h38 fido_dev_t *open_dev(const char *);
H A Dtoken.c332 dev = open_dev(path); in token_info()
445 dev = open_dev(path); in token_reset()
H A Dcred_make.c206 dev = open_dev(argv[0]); in cred_make()
/netbsd-src/sbin/nvmectl/
H A Didentify.c220 open_dev(argv[optind], &fd, 1, 1); in identify_ctrlr()
273 open_dev(argv[optind], &fd, 1, 1); in identify_ns()
283 open_dev(path, &fd, 1, 1); in identify_ns()
H A Dreset.c76 open_dev(argv[optind], &fd, 1, 1); in reset()
H A Dnvmectl.h101 int open_dev(const char *, int *, int, int);
H A Ddevlist.c92 ret = open_dev(name, &fd, 0, 0); in devlist()
H A Dperftest.c179 open_dev(argv[optind], &fd, 1, 1); in perftest()
H A Dpower.c181 open_dev(argv[optind], &fd, 1, 1); in power()
H A Dwdc.c192 open_dev(argv[optind], &fd, 1, 1); in wdc_cap_diag()
H A Dnvmectl.c198 open_dev(const char *str, int *fd, int show_error, int exit_on_error) in open_dev() function
H A Dfirmware.c252 open_dev(controller, &fd, 1, 1); in firmware()
/netbsd-src/external/bsd/libfido2/dist/examples/
H A Dselect.c34 open_dev(const fido_dev_info_t *di) in open_dev() function
88 if ((devtab[i] = open_dev(di)) != NULL) { in select_dev()
/netbsd-src/usr.sbin/fwctl/
H A Dfwcontrol.c636 open_dev(int *fd, const char *_devname) in open_dev() function
767 if (open_dev(&fd, devbase) < 0) { in main()
963 if (open_dev(&fd, devbase) < 0) { in main()
1073 if (open_dev(&fd, devbase) < 0) in main()

12