Home
last modified time | relevance | path

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

12

/netbsd-src/sys/arch/emips/stand/common/
H A 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()
H A 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/share/examples/devpubd/hooks/
H A D99-ugen-perms-tigard23 device_name=tigard
55 rm -f /dev/${1}-${device_name}
56 ln -sf ${2} /dev/${1}-${device_name}
62 if [ -h "/dev/${1}-${device_name}" ]; then
63 devnode=$(readlink "/dev/${1}-${device_name}")
68 rm -f "/dev/${1}-${device_name}"
H A D99-ugen-perms-minipro23 device_name=minipro
94 rm -f /dev/${1}-${device_name}
95 ln -sf ${2} /dev/${1}-${device_name}
101 if [ -h "/dev/${1}-${device_name}" ]; then
102 devnode=$(readlink "/dev/${1}-${device_name}")
107 rm -f "/dev/${1}-${device_name}"
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-ip6-addr.c44 const char* device_name; in TEST_IMPL() local
72 device_name = address->name; in TEST_IMPL()
78 ASSERT(0 == strcmp(device_name, scoped_addr)); in TEST_IMPL()
89 ASSERT(0 == strcmp(device_name, interface_id)); in TEST_IMPL()
102 device_name); in TEST_IMPL()
/netbsd-src/external/gpl2/lvm2/dist/daemons/dmeventd/
H A 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/
H A 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/gpl3/gdb/dist/sim/ppc/
H A Dhw_init.c379 if (strncmp(device_name(me), "map-binary", strlen("map-binary")) == 0) in update_for_binary_section()
521 device_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()
H A 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()
H A Dhw_glue.c232 const char *name = device_name(me); in hw_glue_init_address()
H A Dcorefile.c75 ASSERT(strcmp(device_name(root), "core") == 0); in core_from_device()
H A Ddevice.h112 (const char *) device_name
/netbsd-src/sbin/gpt/
H A Dgpt_private.h38 char device_name[MAXPATHLEN];
37 char device_name[MAXPATHLEN]; global() member
H A 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/gpl2/groff/dist/src/devices/xditview/
H A Ddevice.c527 FILE *open_device_file(const char *device_name, const char *file_name, in open_device_file() argument
533 buf = XtMalloc(3 + strlen(device_name) + 1 + strlen(file_name) + 1); in open_device_file()
534 sprintf(buf, "dev%s/%s", device_name, file_name); in open_device_file()
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/
H A Dwin_example.reg15 "device_name"="Wireless Client"
H A DREADME-P2P42 device_name and device_type should be specified. For example,
46 device_name=My P2P Device
686 set device_name <device name>
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dxgi_drm.h38 char device_name[32]; member
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A 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/
H A 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/usr.sbin/sysinst/
H A Dutil.c187 char device_name[16]; member
510 sprintf(state->info->device_name, in get_available_cds_helper()
513 state->info->device_name, volname); in get_available_cds_helper()
521 sprintf(state->info->device_name, in get_available_cds_helper()
523 strcpy(state->info->menu, state->info->device_name); in get_available_cds_helper()
650 strcpy(cdrom_dev, cds[0].device_name); in get_via_cdrom()
669 strcpy(cdrom_dev, cds[selected_cd].device_name); in get_via_cdrom()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_acp.c173 static struct device *get_mfd_cell_dev(const char *device_name, int r) in get_mfd_cell_dev() argument
179 "%s.%d.auto", device_name, r); in get_mfd_cell_dev()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dwindint.h708 bfd_byte device_name[1]; member
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dwindint.h708 bfd_byte device_name[1]; member
/netbsd-src/sys/dev/pci/
H A Dmlyreg.h739 char device_name[32]; /* N/A */ member

12