Home
last modified time | relevance | path

Searched refs:device_name (Results 1 – 25 of 49) sorted by relevance

12

/netbsd/src/sys/arch/emips/stand/common/
Ddevopen.c51 char device_name[20]; in devopen() local
60 ncp = device_name; in devopen()
83 if (ncp < device_name + sizeof(device_name) - 1) in devopen()
87 if (ncp == device_name) in devopen()
116 if (dp->dv_name && strcmp(device_name, dp->dv_name) == 0) in devopen()
118 printf("Unknown device '%s'\nKnown devices are:", device_name); in devopen()
127 if (strcmp(device_name, "tftp") == 0) in devopen()
128 rc = (dp->dv_open)(f, device_name); in devopen()
Dboot.c261 char device_name[20]; in devcanon() local
269 ncp = device_name; in devcanon()
290 if (ncp < device_name + sizeof(device_name) - 1) in devcanon()
295 if (ncp == device_name) { in devcanon()
296 strcpy(device_name,"ace"); in devcanon()
324 ctlr + '0', device_name, unit + '0', part + '0', file_name); in devcanon()
/netbsd/src/external/bsd/wpa/dist/src/wps/
Dwps_dev_attr.c163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
177 wpabuf_put_data(msg, dev->device_name, len); in wps_build_dev_name()
346 os_free(dev->device_name); in wps_process_dev_name()
347 dev->device_name = dup_binstr(str, str_len); in wps_process_dev_name()
348 if (dev->device_name == NULL) in wps_process_dev_name()
432 os_free(dev->device_name); in wps_device_data_free()
433 dev->device_name = NULL; in wps_device_data_free()
/netbsd/src/external/gpl3/gdb/dist/sim/bfin/
Ddevices.h114 dv_get_device (SIM_CPU *cpu, const char *device_name) in dv_get_device() argument
118 return hw_tree_find_device (root, device_name); in dv_get_device()
122 dv_get_state (SIM_CPU *cpu, const char *device_name) in dv_get_state() argument
124 return hw_data (dv_get_device (cpu, device_name)); in dv_get_state()
/netbsd/src/external/gpl2/lvm2/dist/daemons/dmeventd/
Dlibdevmapper-event.h70 int dm_event_handler_set_dev_name(struct dm_event_handler *dmevh, const char *device_name);
104 int register_device(const char *device_name, const char *uuid, int major, int minor, void **user);
105 int unregister_device(const char *device_name, const char *uuid, int major,
/netbsd/src/external/gpl2/lvm2/dist/include/
Dlibdevmapper-event.h70 int dm_event_handler_set_dev_name(struct dm_event_handler *dmevh, const char *device_name);
104 int register_device(const char *device_name, const char *uuid, int major, int minor, void **user);
105 int unregister_device(const char *device_name, const char *uuid, int major,
/netbsd/src/external/bsd/wpa/dist/src/p2p/
Dp2p_parse.c195 p2p_copy_filter_devname(msg->device_name, in p2p_parse_attribute()
196 sizeof(msg->device_name), pos, nlen); in p2p_parse_attribute()
203 msg->device_name, msg->config_methods); in p2p_parse_attribute()
483 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && in p2p_parse_wps_ie()
484 !msg->device_name[0]) in p2p_parse_wps_ie()
485 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len); in p2p_parse_wps_ie()
837 msg.device_name); in p2p_attr_text()
/netbsd/src/external/gpl3/gdb/dist/sim/ppc/
Demul_chirp.c133 return device_name(device_instance_device(ihandle)); in ihandle_name()
264 (phandle == NULL ? "" : device_name(phandle)))); in chirp_emul_peer()
285 (sibling_phandle == NULL ? "" : device_name(sibling_phandle)))); in chirp_emul_peer()
313 (phandle == NULL ? "" : device_name(phandle)))); in chirp_emul_child()
331 (child_phandle == NULL ? "" : device_name(child_phandle)))); in chirp_emul_child()
359 (phandle == NULL ? "" : device_name(phandle)))); in chirp_emul_parent()
377 (parent_phandle == NULL ? "" : device_name(parent_phandle)))); in chirp_emul_parent()
419 (phandle == NULL ? "" : device_name(phandle)))); in chirp_emul_instance_to_package()
452 (phandle == NULL ? "" : device_name(phandle)), in chirp_emul_getproplen()
505 (phandle == NULL ? "" : device_name(phandle)), in chirp_emul_getprop()
[all …]
Dhw_disk.c206 perror(device_name(me)); in open_disk_image()
243 (strcmp(device_name(me), "disk") != 0 in hw_disk_init_address()
244 && strcmp(device_name(me), "floppy") != 0 in hw_disk_init_address()
Dhw_init.c379 if (strncmp(device_name(me), "map-binary", strlen("map-binary")) == 0) in update_for_binary_section()
521device_name(me), arg, (long)start_block, (long)end_block, (long)start_arg, (long)end_arg)); in write_stack_arguments()
675 me, device_name(me), in hw_stack_ioctl()
Dhw_htab.c216 || strcmp(device_name(parent), "htab") != 0) in htab_decode_hash_table()
608 if (strcmp(device_name(me), "htab") == 0) { in htab_init_data_callback()
617 if (strcmp(device_name(me), "pte") == 0) { in htab_init_data_callback()
Dhw_glue.c232 const char *name = device_name(me); in hw_glue_init_address()
Dcorefile.c75 ASSERT(strcmp(device_name(root), "core") == 0); in core_from_device()
Ddevice.h112 (const char *) device_name
/netbsd/src/sbin/gpt/
Dgpt_private.h38 char device_name[MAXPATHLEN]; member
Dgpt.c502 gpt->fd = opendisk(dev, mode, gpt->device_name, in gpt_open()
503 sizeof(gpt->device_name), 0); in gpt_open()
505 strlcpy(gpt->device_name, dev, sizeof(gpt->device_name)); in gpt_open()
634 " for the changes to take effect\n", gpt->device_name); in gpt_close()
648 fprintf(stderr, "%s: ", gpt->device_name); in gpt_vwarnx()
684 printf("%s: ", gpt->device_name); in gpt_msg()
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/
Dwin_example.reg15 "device_name"="Wireless Client"
Dconfig.h759 char *device_name; member
Dconfig_winreg.c237 config->device_name = wpa_config_read_reg_string( in wpa_config_read_global()
597 wpa_config_write_reg_string(hk, "device_name", config->device_name); in wpa_config_write_global()
Dap.c778 if (wpa_s->conf->device_name) { in wpa_supplicant_conf_ap()
779 bss->device_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
780 bss->friendly_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
Dwps_supplicant.c1486 uuid, MAC2STR(dev->mac_addr), dev->device_name, in wpas_wps_pin_needed_cb()
1601 wps->dev.device_name = wpa_s->conf->device_name; in wpas_wps_init()
2305 wps->dev.device_name = wpa_s->conf->device_name; in wpas_wps_update_config()
/netbsd/src/sys/external/bsd/drm/dist/shared-core/
Dxgi_drm.h38 char device_name[32]; member
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c476 return wpas_dbus_string_property_getter(iter, wpa_s->conf->device_name, in wpas_dbus_getter_wps_device_name()
508 os_free(wpa_s->conf->device_name); in wpas_dbus_setter_wps_device_name()
509 wpa_s->conf->device_name = devname; in wpas_dbus_setter_wps_device_name()
/netbsd/src/external/gpl2/lvm2/dist/tools/
Ddmsetup.c2801 char *device_name = NULL; in _process_losetup_switches() local
2859 if (!(device_name = parse_loop_device_name((*argv)[0], dev_dir))) { in _process_losetup_switches()
2869 (*argv)[1] = device_name; in _process_losetup_switches()
2878 dm_free(device_name); in _process_losetup_switches()
2887 dm_free(device_name); in _process_losetup_switches()
2893 if (!_loop_table(_table, (size_t) LOOP_TABLE_SIZE, loop_file, device_name, offset)) { in _process_losetup_switches()
2895 dm_free(device_name); in _process_losetup_switches()
2901 (*argv)[1] = device_name ; in _process_losetup_switches()
/netbsd/src/external/bsd/wpa/dist/src/ap/
Dwps_hostapd.c185 uuid, MAC2STR(dev->mac_addr), dev->device_name, in hostapd_wps_pin_needed_cb()
202 t.sec, uuid, MAC2STR(dev->mac_addr), dev->device_name, in hostapd_wps_pin_needed_cb()
1126 wps->dev.device_name = hapd->conf->device_name ? in hostapd_init_wps()
1127 os_strdup(hapd->conf->device_name) : NULL; in hostapd_init_wps()

12