Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 25 of 971) sorted by relevance

12345678910>>...39

/netbsd-src/share/examples/refuse/dmesgfs/
H A Ddmesgfs.c61 static devices_t devices; variable
203 for (i = 0 ; i < devices.c ; i++) { in finddev()
204 if (strncmp(devices.v[i].dev, s, len) == 0 && in finddev()
205 devices.v[i].devlen == len) { in finddev()
207 devices.v[i].dir = 1; in finddev()
222 ALLOC(devicenode_t, devices.v, devices.size, devices.c, 10, 10, "add_dev", exit(EXIT_FAILURE)); in add_dev()
223 devices.v[devices.c].dev = strnsave(dev, len); in add_dev()
224 devices.v[devices.c].devlen = len; in add_dev()
225 devices.v[devices.c].parent = strnsave(parent, parentlen); in add_dev()
226 devices.v[devices.c].parentlen = parentlen; in add_dev()
[all …]
/netbsd-src/sys/arch/hp300/dev/
H A Ddevlist2h.awk67 devices[ndevices, 1] = $2 # nickname
68 devices[ndevices, 2] = $3 # dio primary id
69 devices[ndevices, 3] = "0" # dio secondary id
70 devices[ndevices, 4] = $4 # number of select codes
79 printf("\n#define\tDIO_DEVICE_ID_%s\t%s\n", devices[ndevices, 1], \
80 devices[ndevices, 2]) > hfile
83 printf("#define\tDIO_DEVICE_DESC_%s\t\"", devices[ndevices, 1]) \
101 devices[ndevices, 1] = $2 # nickname
102 devices[ndevices, 2] = fbid # dio primary id
103 devices[ndevices, 3] = $3 # dio secondary id
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauth2-chall.c69 KbdintDevice *devices[] = { variable
86 char *devices; member
100 for (i = 0; devices[i] != NULL; i++) in remove_kbdint_device()
101 if (strcmp(devices[i]->name, xdevname) == 0) { in remove_kbdint_device()
102 for (j = i; devices[j] != NULL; j++) in remove_kbdint_device()
103 devices[j] = devices[j+1]; in remove_kbdint_device()
125 for (i = 0; devices[i]; i++) { in kbdint_alloc()
127 sshbuf_len(b) ? "," : "", devices[i]->name)) != 0) in kbdint_alloc()
130 if ((kbdintctxt->devices = sshbuf_dup_string(b)) == NULL) in kbdint_alloc()
134 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Drwsnoop_example.txt9 100 20334 sshd W 1 /devices/pseudo/clone@0:ptm
10 0 20320 bash W 1 /devices/pseudo/pts@0:12
11 100 20334 sshd R 2 /devices/pseudo/clone@0:ptm
13 0 2848 ls W 58 /devices/pseudo/pts@0:12
14 0 2848 ls W 68 /devices/pseudo/pts@0:12
15 0 2848 ls W 57 /devices/pseudo/pts@0:12
16 0 2848 ls W 67 /devices/pseudo/pts@0:12
17 0 2848 ls W 48 /devices/pseudo/pts@0:12
18 0 2848 ls W 49 /devices/pseudo/pts@0:12
19 0 2848 ls W 33 /devices/pseudo/pts@0:12
[all …]
H A Dstatsnoop_example.txt11 0 1485 dtrace 0 /devices/pseudo/pts@0:6
16 100 795 sdtperfmeter 0 /devices/pseudo/mm@0:null
17 0 803 rpc.rstatd 0 /devices/pseudo/udp@0:udp
18 0 803 rpc.rstatd 0 /devices/pseudo/udp@0:udp
19 100 795 sdtperfmeter 0 /devices/pseudo/mm@0:null
22 100 791 dtwm 0 /devices/pseudo/mm@0:null
23 100 783 ttsession 0 /devices/pseudo/pts@0:3
24 100 783 ttsession 0 /devices/pseudo/pts@0:3
25 100 783 ttsession 0 /devices/pseudo/pts@0:3
26 100 791 dtwm 0 /devices/pseudo/mm@0:null
[all …]
H A Dpfilestat_example.txt12 read 3 2% /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
13 write 4 3% /devices/pseudo/mm@0:null
19 write 4 53479 /devices/pseudo/mm@0:null
20 read 3 53479 /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
37 write 4 5% /devices/pseudo/mm@0:null
41 read 3 53% /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
44 read 3 53492 /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
45 write 4 53492 /devices/pseudo/mm@0:null
61 write 4 3% /devices/pseudo/mm@0:zero
64 read 3 24% /devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Drwsnoop_example.txt9 100 20334 sshd W 1 /devices/pseudo/clone@0:ptm
10 0 20320 bash W 1 /devices/pseudo/pts@0:12
11 100 20334 sshd R 2 /devices/pseudo/clone@0:ptm
13 0 2848 ls W 58 /devices/pseudo/pts@0:12
14 0 2848 ls W 68 /devices/pseudo/pts@0:12
15 0 2848 ls W 57 /devices/pseudo/pts@0:12
16 0 2848 ls W 67 /devices/pseudo/pts@0:12
17 0 2848 ls W 48 /devices/pseudo/pts@0:12
18 0 2848 ls W 49 /devices/pseudo/pts@0:12
19 0 2848 ls W 33 /devices/pseudo/pts@0:12
[all …]
H A Dstatsnoop_example.txt11 0 1485 dtrace 0 /devices/pseudo/pts@0:6
16 100 795 sdtperfmeter 0 /devices/pseudo/mm@0:null
17 0 803 rpc.rstatd 0 /devices/pseudo/udp@0:udp
18 0 803 rpc.rstatd 0 /devices/pseudo/udp@0:udp
19 100 795 sdtperfmeter 0 /devices/pseudo/mm@0:null
22 100 791 dtwm 0 /devices/pseudo/mm@0:null
23 100 783 ttsession 0 /devices/pseudo/pts@0:3
24 100 783 ttsession 0 /devices/pseudo/pts@0:3
25 100 783 ttsession 0 /devices/pseudo/pts@0:3
26 100 791 dtwm 0 /devices/pseudo/mm@0:null
[all …]
H A Dpfilestat_example.txt12 read 3 2% /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
13 write 4 3% /devices/pseudo/mm@0:null
19 write 4 53479 /devices/pseudo/mm@0:null
20 read 3 53479 /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
37 write 4 5% /devices/pseudo/mm@0:null
41 read 3 53% /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
44 read 3 53492 /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
45 write 4 53492 /devices/pseudo/mm@0:null
61 write 4 3% /devices/pseudo/mm@0:zero
64 read 3 24% /devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a
[all …]
/netbsd-src/sys/dev/tc/
H A Ddevlist2h.awk65 devices[ndevices, 0] = $2; # devices id
66 devices[ndevices, 1] = $2; # C identifier for device
67 gsub("-", "_", devices[ndevices, 1]);
69 devices[ndevices, 2] = $3; # driver name
72 printf("#define\tTC_DEVICE_%s\t\"%s\"\n", devices[ndevices, 1],
73 devices[ndevices, 2]) > hfile
75 printf("#define\tTC_DESCRIPTION_%s\t\"", devices[ndevices, 1]) > hfile
99 devices[ndevices, i] = $f
100 printf("%s", devices[ndevices, i]) > hfile
129 printf("\t \"%-8s\",\n", devices[i, 0]) \
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter-persistent.c31 struct dm_hash_table *devices; member
45 if (pf->devices) in _init_hash()
46 dm_hash_destroy(pf->devices); in _init_hash()
48 if (!(pf->devices = dm_hash_create(128))) in _init_hash()
59 dm_hash_wipe(pf->devices); in persistent_filter_wipe()
90 if (!dm_hash_insert(pf->devices, cv->v.str, data)) in _read_array()
127 if (dm_hash_get_num_entries(pf->devices)) { in persistent_filter_load()
151 for (n = dm_hash_get_first(pf->devices); n; in _write_array()
152 n = dm_hash_get_next(pf->devices, n)) { in _write_array()
153 d = dm_hash_get_data(pf->devices, n); in _write_array()
[all …]
/netbsd-src/sys/arch/evbarm/conf/
H A Dfiles.evbarm28 include "dev/ata/files.ata" # ATA devices
29 include "dev/bluetooth/files.bluetooth" # Bluetooth devices
30 include "dev/i2o/files.i2o" # I2O devices
31 include "dev/isa/files.isa" # ISA devices
32 include "dev/pci/files.pci" # PCI devices
33 include "dev/cardbus/files.cardbus" # and CardBus devices
34 include "dev/pcmcia/files.pcmcia" # PCMCIA devices
35 include "dev/sdmmc/files.sdmmc" # SD/MMC devices
36 include "dev/scsipi/files.scsipi" # SCSI devices
37 include "dev/usb/files.usb" # USB devices
[all …]
/netbsd-src/external/gpl2/groff/dist/
H A Dtest-groff.in18 $builddir/devices/grops$SEP\
19 $builddir/devices/grodvi$SEP\
20 $builddir/devices/grotty$SEP\
21 $builddir/devices/grolj4$SEP\
22 $builddir/devices/grolbp$SEP\
23 $builddir/devices/grohtml$SEP\
24 $builddir/devices/xditview
26 XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad
/netbsd-src/external/bsd/libpcap/dist/doc/
H A DREADME.macos2 the BPF devices to capture packets with libpcap and allows users with
3 write access to the BPF devices to send packets with libpcap.
5 On some systems that use BPF, the BPF devices live on the root file
6 system, and the permissions and/or ownership on those devices can be
8 devices.
10 On newer versions of FreeBSD, the BPF devices live on devfs, and devfs
12 devices to give users other than root permission to read or write those
13 devices.
15 On macOS, the BPF devices live on devfs, but the macOS version of devfs
18 those devices.
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_encoders.c62 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT) in radeon_encoder_clones()
65 if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) in radeon_encoder_clones()
75 if (radeon_clone->devices & (ATOM_DEVICE_LCD_SUPPORT)) in radeon_encoder_clones()
77 if (radeon_clone->devices & ATOM_DEVICE_DFP2_SUPPORT) in radeon_encoder_clones()
177 if (!(radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))) in radeon_encoder_add_backlight()
222 if (radeon_encoder->devices & radeon_connector->devices) { in radeon_link_encoder_connector()
224 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) in radeon_link_encoder_connector()
240 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; in radeon_encoder_set_active_device()
242 radeon_encoder->active_device, radeon_encoder->devices, in radeon_encoder_set_active_device()
243 radeon_connector->devices, encoder->encoder_type); in radeon_encoder_set_active_device()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_encoders.c56 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_link_encoder_connector()
58 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in amdgpu_link_encoder_connector()
79 amdgpu_encoder->active_device = amdgpu_encoder->devices & amdgpu_connector->devices; in amdgpu_encoder_set_active_device()
81 amdgpu_encoder->active_device, amdgpu_encoder->devices, in amdgpu_encoder_set_active_device()
82 amdgpu_connector->devices, encoder->encoder_type); in amdgpu_encoder_set_active_device()
100 if (amdgpu_encoder->active_device & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder()
121 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder_init()
145 (amdgpu_encoder->devices & other_amdgpu_encoder->devices)) in amdgpu_get_external_encoder()
H A Damdgpu_atombios_encoders.c98 if ((amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) && in amdgpu_atombios_encoder_set_backlight_level()
893 else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { in amdgpu_atombios_encoder_setup_dig_transmitter()
935 } else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { in amdgpu_atombios_encoder_setup_dig_transmitter()
994 else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { in amdgpu_atombios_encoder_setup_dig_transmitter()
1056 else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { in amdgpu_atombios_encoder_setup_dig_transmitter()
1109 else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) { in amdgpu_atombios_encoder_setup_dig_transmitter()
1380 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) in amdgpu_atombios_encoder_setup_dig()
1391 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) in amdgpu_atombios_encoder_setup_dig()
1418 amdgpu_encoder->encoder_id, mode, amdgpu_encoder->devices, in amdgpu_atombios_encoder_dpms()
1501 if (amdgpu_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) in amdgpu_atombios_encoder_set_crtc_source()
[all …]
H A Damdgpu_display.c379 uint32_t devices; in amdgpu_display_print_display_setup() local
420 devices = amdgpu_encoder->devices & amdgpu_connector->devices; in amdgpu_display_print_display_setup()
421 if (devices) { in amdgpu_display_print_display_setup()
422 if (devices & ATOM_DEVICE_CRT1_SUPPORT) in amdgpu_display_print_display_setup()
424 if (devices & ATOM_DEVICE_CRT2_SUPPORT) in amdgpu_display_print_display_setup()
426 if (devices & ATOM_DEVICE_LCD1_SUPPORT) in amdgpu_display_print_display_setup()
428 if (devices & ATOM_DEVICE_DFP1_SUPPORT) in amdgpu_display_print_display_setup()
430 if (devices & ATOM_DEVICE_DFP2_SUPPORT) in amdgpu_display_print_display_setup()
432 if (devices & ATOM_DEVICE_DFP3_SUPPORT) in amdgpu_display_print_display_setup()
434 if (devices & ATOM_DEVICE_DFP4_SUPPORT) in amdgpu_display_print_display_setup()
[all …]
/netbsd-src/external/gpl2/lvm2/dist/udev/
H A D12-dm-permissions.rules5 # Udev rules for device-mapper devices.
7 # These rules set permissions for DM devices.
34 # Set permissions for all DM devices having 'MY_UUID-' UUID prefix
40 # Set permissions for all LVM devices
43 # Set permissions for all devices that belong to one LVM VG
49 # Set permissions for all LVM devices that does not belong to a VG named VolGroup00
55 # Set permissions for all encrypted devices created by cryptsetup (plain devices)
58 # Set permissions for all encrypted devices created by cryptsetup (LUKS extension)
67 # Set permissions for all multipath devices
78 # Set default permissions for all DM devices if not set before.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Davr-mmcu.texi8 @c gcc/config/avr/avr-devices.c
16 ``Classic'' devices with up to 8@tie{}KiB of program memory.
20 ``Classic'' devices with up to 8@tie{}KiB of program memory and with the @code{MOVW} instruction.
24 ``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory.
28 ``Classic'' devices with 128@tie{}KiB of program memory.
32 ``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory and with the @code{MOVW} i…
36 ``Enhanced'' devices with up to 8@tie{}KiB of program memory.
40 ``Enhanced'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory.
44 ``Enhanced'' devices with 128@tie{}KiB of program memory.
48 ``Enhanced'' devices with 3-byte PC, i.e.@: with more than 128@tie{}KiB of program memory.
[all …]
/netbsd-src/sys/arch/mvme68k/dev/
H A Dmainbus.c141 struct mainbus_devices *devices; in mainbus_attach() local
152 devices = mainbusdevs_147; in mainbus_attach()
162 devices = mainbusdevs_1x7; in mainbus_attach()
171 for (i = 0; devices[i].md_name != NULL; ++i) { in mainbus_attach()
180 if (devices[i].md_offset == MAINBUS_VMETWO_OFFSET in mainbus_attach()
191 ma.ma_name = devices[i].md_name; in mainbus_attach()
194 ma.ma_offset = devices[i].md_offset + intiobase_phys; in mainbus_attach()
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Davr-mmcu.texi8 @c gcc/config/avr/avr-devices.cc
16 ``Classic'' devices with up to 8@tie{}KiB of program memory.
20 ``Classic'' devices with up to 8@tie{}KiB of program memory and with the @code{MOVW} instruction.
24 ``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory.
28 ``Classic'' devices with 128@tie{}KiB of program memory.
32 ``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory and with the @code{MOVW} i…
36 ``Enhanced'' devices with up to 8@tie{}KiB of program memory.
40 ``Enhanced'' devices with 16@tie{}KiB up to 64@tie{}KiB of program memory.
44 ``Enhanced'' devices with 128@tie{}KiB of program memory.
48 ``Enhanced'' devices with 3-byte PC, i.e.@: with more than 128@tie{}KiB of program memory.
[all …]
/netbsd-src/sys/dev/podulebus/
H A Desp_podule.c101 } devices[] = { variable
112 for (i = 0; i < __arraycount(devices); i++) in esp_podule_match()
113 if (pa->pa_manufacturer == devices[i].manufacturer && in esp_podule_match()
114 pa->pa_product == devices[i].product) in esp_podule_match()
128 for (i = 0; i < __arraycount(devices); i++) in esp_podule_attach()
129 if (pa->pa_manufacturer == devices[i].manufacturer && in esp_podule_attach()
130 pa->pa_product == devices[i].product) in esp_podule_attach()
132 if (i == __arraycount(devices)) { in esp_podule_attach()
140 esc->sc_esp_glue.gl_read_reg = devices[i].read_reg; in esp_podule_attach()
141 esc->sc_esp_glue.gl_write_reg = devices[i].write_reg; in esp_podule_attach()
/netbsd-src/external/gpl2/lvm2/dist/test/
H A Dt-mirror-names.sh26 local devices=$*
32 (echo $devices | grep -q $d) || return 1
33 devices=$(echo $devices | sed "s/$d//")
36 [ "$(echo $devices | sed 's/ //g')" = "" ]
69 lvs -a -o+devices $vg
/netbsd-src/etc/rc.d/
H A Draidframe23 devices=$(sysctl -n hw.disknames)
43 case " ${devices} " in
48 devices="${devices} ${dev}"

12345678910>>...39