Home
last modified time | relevance | path

Searched refs:command_dict (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/usr.bin/audiocfg/
H A Ddrvctl.c57 prop_dictionary_t command_dict; in drvctl_get_properties() local
64 command_dict = prop_dictionary_create(); in drvctl_get_properties()
67 prop_dictionary_set_string_nocopy(command_dict, "drvctl-command", in drvctl_get_properties()
70 prop_dictionary_set(command_dict, "drvctl-arguments", args_dict); in drvctl_get_properties()
73 error = prop_dictionary_sendrecv_ioctl(command_dict, fd, in drvctl_get_properties()
75 prop_object_release(command_dict); in drvctl_get_properties()
/netbsd-src/sbin/drvctl/
H A Ddrvctl.c76 prop_dictionary_t command_dict, args_dict, results_dict, data_dict; in main()
161 command_dict = prop_dictionary_create(); in main()
164 prop_dictionary_set_string_nocopy(command_dict, in main()
168 prop_dictionary_set_and_rel(command_dict, "drvctl-arguments", in main()
171 res = prop_dictionary_sendrecv_ioctl(command_dict, fd, in main()
173 prop_object_release(command_dict); in main()
78 prop_dictionary_t command_dict, args_dict, results_dict, data_dict; main() local
/netbsd-src/sys/kern/
H A Dkern_drvctl.c486 prop_dictionary_t command_dict, in drvctl_command_get_properties() argument
494 args_dict = prop_dictionary_get(command_dict, "drvctl-arguments"); in drvctl_command_get_properties()
541 prop_dictionary_t command_dict, results_dict; in drvctl_command() local
546 error = prop_dictionary_copyin_ioctl(pref, ioctl_cmd, &command_dict); in drvctl_command()
552 prop_object_release(command_dict); in drvctl_command()
556 command_string = prop_dictionary_get(command_dict, "drvctl-command"); in drvctl_command()
578 error = (*dcd->dcd_func)(l, command_dict, results_dict); in drvctl_command()
584 prop_object_release(command_dict); in drvctl_command()
/netbsd-src/usr.sbin/sysinst/
H A Dutil.c2635 prop_dictionary_t command_dict, args_dict, results_dict, data_dict; in may_swap_if_not_sdmmc() local
2644 command_dict = prop_dictionary_create(); in may_swap_if_not_sdmmc()
2648 prop_dictionary_set(command_dict, "drvctl-command", string); in may_swap_if_not_sdmmc()
2655 prop_dictionary_set(command_dict, "drvctl-arguments", in may_swap_if_not_sdmmc()
2659 res = prop_dictionary_sendrecv_ioctl(command_dict, fd, in may_swap_if_not_sdmmc()
2661 prop_object_release(command_dict); in may_swap_if_not_sdmmc()
H A Ddisks.c348 prop_dictionary_t command_dict; in get_descr_drvctl() local
362 command_dict = prop_dictionary_create(); in get_descr_drvctl()
365 prop_dictionary_set_string_nocopy(command_dict, "drvctl-command", in get_descr_drvctl()
369 prop_dictionary_set(command_dict, "drvctl-arguments", args_dict); in get_descr_drvctl()
372 error = prop_dictionary_sendrecv_ioctl(command_dict, fd, in get_descr_drvctl()
374 prop_object_release(command_dict); in get_descr_drvctl()