Home
last modified time | relevance | path

Searched full:dev (Results 1 – 25 of 8355) sorted by relevance

12345678910>>...335

/external/virglrenderer/src/venus/venus-protocol/
Dvn_protocol_renderer_util.h245 vn_util_init_device_proc_table(VkDevice dev, in vn_util_init_device_proc_table() argument
250 #define VN_GDPA(dev, cmd) (PFN_ ## cmd)vkGetDeviceProcAddr(dev, #cmd) in vn_util_init_device_proc_table() argument
251 proc_table->AllocateCommandBuffers = VN_GDPA(dev, vkAllocateCommandBuffers); in vn_util_init_device_proc_table()
252 proc_table->AllocateDescriptorSets = VN_GDPA(dev, vkAllocateDescriptorSets); in vn_util_init_device_proc_table()
253 proc_table->AllocateMemory = VN_GDPA(dev, vkAllocateMemory); in vn_util_init_device_proc_table()
254 proc_table->BeginCommandBuffer = VN_GDPA(dev, vkBeginCommandBuffer); in vn_util_init_device_proc_table()
255 proc_table->BindBufferMemory = VN_GDPA(dev, vkBindBufferMemory); in vn_util_init_device_proc_table()
257 api_version >= VK_API_VERSION_1_1 ? VN_GDPA(dev, vkBindBufferMemory2) : in vn_util_init_device_proc_table()
258 ext_table->KHR_bind_memory2 ? VN_GDPA(dev, vkBindBufferMemory2KHR) : in vn_util_init_device_proc_table()
260 proc_table->BindImageMemory = VN_GDPA(dev, vkBindImageMemory); in vn_util_init_device_proc_table()
[all …]
/external/rootdev/
Drootdev_test.sh83 out=$("${ROOTDEV}" --block $WORKDIR 2>/dev/null)
91 local dev=$2
93 mkdir -p $dev
96 echo "10:0" > $block/sda/dev
97 echo "10:1" > $block/sda/sda1/dev
98 echo "10:2" > $block/sda/sda2/dev
99 mknod $dev/sda1 b 10 1
100 mknod $dev/sda2 b 10 2
101 mknod $dev/sda b 10 0
106 local dev=$WORKDIR/dev
[all …]
/external/libiio/src/
Ddevice.c66 char * iio_device_get_xml(const struct iio_device *dev, size_t *length) in iio_device_get_xml() argument
69 + strlen(dev->id) + (dev->name ? strlen(dev->name) : 0); in iio_device_get_xml()
74 attrs_len = malloc(dev->nb_attrs * sizeof(*attrs_len)); in iio_device_get_xml()
78 attrs = malloc(dev->nb_attrs * sizeof(*attrs)); in iio_device_get_xml()
82 for (i = 0; i < dev->nb_attrs; i++) { in iio_device_get_xml()
83 char *xml = get_attr_xml(dev->attrs[i], &attrs_len[i], IIO_ATTR_TYPE_DEVICE); in iio_device_get_xml()
90 channels_len = malloc(dev->nb_channels * sizeof(*channels_len)); in iio_device_get_xml()
94 channels = malloc(dev->nb_channels * sizeof(*channels)); in iio_device_get_xml()
98 for (j = 0; j < dev->nb_channels; j++) { in iio_device_get_xml()
99 char *xml = iio_channel_get_xml(dev->channels[j], in iio_device_get_xml()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
74 ip link set dev vxlan0 master br0 &> /dev/null
[all …]
Drtnetlink.sh49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
57 ip link set dev $swp2 down
58 ip link set dev $swp1 down
68 ip link set dev $swp1 master vrf-test
70 ip -4 address add 192.0.2.1/24 dev vrf-test
72 ip -6 address add 2001:db8:1::1/64 dev vrf-test
77 ip link del dev vrf-test
87 ip addr add dev $swp1 192.0.2.1/28
92 ip link set dev br1 addr $swp2_mac
[all …]
Dq_in_q_veto.sh28 ip link set dev $swp1 up
29 ip link set dev $swp2 up
38 ip link set dev $swp2 down
39 ip link set dev $swp1 down
49 ip link add dev br0 type bridge vlan_filtering 1 \
52 ip link set dev br0 up
53 ip link set dev $swp1 master br0
56 protocol $netdev_proto id 100 2>/dev/null
60 protocol $netdev_proto id 100 2>&1 >/dev/null \
66 ip link del dev br0
[all …]
Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
61 tc qdisc add dev $swp2 egress_block 22 clsact
68 tc qdisc del dev $swp1 clsact
70 tc qdisc add dev $swp1 egress_block 22 clsact
79 tc qdisc del dev $swp2 clsact
80 tc qdisc del dev $swp1 clsact
92 tc qdisc add dev $swp1 ingress_block 22 clsact
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tunnel.sh12 # | tnl dev | | | tnl dev | (overlay network)
27 # tunnel dev <type>11, ex: gre11, IPv4: 10.1.1.200, IPv6: 1::22 (overlay)
32 # tunnel dev <type>00, ex: gre00, IPv4: 10.1.1.100, IPv6: 1::11 (overlay)
40 # 1) Route lookup shows 10.1.1.100/24 belongs to tnl dev, fwd to tnl dev.
46 # 6) Forward the packet to the overlay tnl dev
59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
60 ip netns exec at_ns0 ip link set dev veth0 up
61 ip link set dev veth1 up mtu 1500
62 ip addr add dev veth1 172.16.1.200/24
69 ip link add dev $DEV_NS type $TYPE seq key 2 \
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dets.json10 "$IP link add dev $DUMMY type dummy || /bin/true"
12 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2",
14 "verifyCmd": "$TC qdisc show dev $DUMMY",
18 "$TC qdisc del dev $DUMMY handle 1: root",
19 "$IP link del dev $DUMMY type dummy"
30 "$IP link add dev $DUMMY type dummy || /bin/true"
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 900 800 700",
34 "verifyCmd": "$TC qdisc show dev $DUMMY",
38 "$TC qdisc del dev $DUMMY handle 1: root",
39 "$IP link del dev $DUMMY type dummy"
[all …]
Dfifo.json11 "$IP link add dev $DUMMY type dummy || /bin/true"
13 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root bfifo",
15 "verifyCmd": "$TC qdisc show dev $DUMMY",
19 "$TC qdisc del dev $DUMMY handle 1: root bfifo",
20 "$IP link del dev $DUMMY type dummy"
32 "$IP link add dev $DUMMY type dummy || /bin/true"
34 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root pfifo",
36 "verifyCmd": "$TC qdisc show dev $DUMMY",
40 "$TC qdisc del dev $DUMMY handle 1: root pfifo",
41 "$IP link del dev $DUMMY type dummy"
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c16 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_manufacturer() argument
21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer()
35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer()
40 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_name() argument
45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name()
59 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name()
64 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_number() argument
69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number()
83 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number()
88 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_serial_number() argument
[all …]
/external/libdrm/amdgpu/
Damdgpu_gpu_info.c33 drm_public int amdgpu_query_info(amdgpu_device_handle dev, unsigned info_id, in amdgpu_query_info() argument
43 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_info()
47 drm_public int amdgpu_query_crtc_from_id(amdgpu_device_handle dev, unsigned id, in amdgpu_query_crtc_from_id() argument
58 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_crtc_from_id()
62 drm_public int amdgpu_read_mm_registers(amdgpu_device_handle dev, in amdgpu_read_mm_registers() argument
77 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_read_mm_registers()
81 drm_public int amdgpu_query_hw_ip_count(amdgpu_device_handle dev, in amdgpu_query_hw_ip_count() argument
93 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_hw_ip_count()
97 drm_public int amdgpu_query_hw_ip_info(amdgpu_device_handle dev, unsigned type, in amdgpu_query_hw_ip_info() argument
110 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_hw_ip_info()
[all …]
Damdgpu_device.c96 static void amdgpu_device_free_internal(amdgpu_device_handle dev) in amdgpu_device_free_internal() argument
101 while (*node != dev && (*node)->next) in amdgpu_device_free_internal()
106 close(dev->fd); in amdgpu_device_free_internal()
107 if ((dev->flink_fd >= 0) && (dev->fd != dev->flink_fd)) in amdgpu_device_free_internal()
108 close(dev->flink_fd); in amdgpu_device_free_internal()
110 amdgpu_vamgr_deinit(&dev->vamgr_32); in amdgpu_device_free_internal()
111 amdgpu_vamgr_deinit(&dev->vamgr); in amdgpu_device_free_internal()
112 amdgpu_vamgr_deinit(&dev->vamgr_high_32); in amdgpu_device_free_internal()
113 amdgpu_vamgr_deinit(&dev->vamgr_high); in amdgpu_device_free_internal()
114 handle_table_fini(&dev->bo_handles); in amdgpu_device_free_internal()
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/
Dmatchall.json10 "$IP link add dev $DUMMY type dummy || /bin/true",
11 "$TC qdisc add dev $DUMMY ingress"
13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
19 "$TC qdisc del dev $DUMMY ingress",
20 "$IP link del dev $DUMMY type dummy"
31 "$IP link add dev $DUMMY type dummy || /bin/true",
32 "$TC qdisc add dev $DUMMY root handle 1: prio"
34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
[all …]
Dfw.json13 "$TC qdisc add dev $DEV1 ingress"
15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
43 "$TC qdisc del dev $DEV1 ingress"
162 "$TC qdisc add dev $DEV1 ingress"
164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
[all …]
/external/wmediumd/wmediumd/lib/
Dvhost.c53 cpu_to_virtio##bits(struct usfstl_vhost_user_dev_int *dev, \
56 if (dev->ext.features & (1ULL << VIRTIO_F_VERSION_1)) \
61 virtio_to_cpu##bits(struct usfstl_vhost_user_dev_int *dev, \
64 if (dev->ext.features & (1ULL << VIRTIO_F_VERSION_1)) \
74 usfstl_vhost_user_get_virtq_buf(struct usfstl_vhost_user_dev_int *dev, in usfstl_vhost_user_get_virtq_buf() argument
79 struct vring *virtq = &dev->virtqs[virtq_idx].virtq; in usfstl_vhost_user_get_virtq_buf()
80 uint16_t avail_idx = virtio_to_cpu16(dev, virtq->avail->idx); in usfstl_vhost_user_get_virtq_buf()
86 if (avail_idx == dev->virtqs[virtq_idx].last_avail_idx) in usfstl_vhost_user_get_virtq_buf()
92 idx = dev->virtqs[virtq_idx].last_avail_idx++; in usfstl_vhost_user_get_virtq_buf()
94 desc_idx = virtio_to_cpu16(dev, virtq->avail->ring[idx]); in usfstl_vhost_user_get_virtq_buf()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh38 ip link del dev "$devdummy"
44 dev="$1"
47 ip netconf show dev "$dev" > /dev/null
51 ip -$f netconf show dev "$dev" > /dev/null
56 echo "FAIL: ip netconf show $dev"
72 ip link set dev "$devdummy" master "$devbr"
80 ip addr add dev "$vlandev" 10.200.7.23/30
82 ip -6 addr add dev "$vlandev" dead:42::1234/64
84 ip -d link > /dev/null
86 ip r s t all > /dev/null
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null
64 ip -n $ns link set dev dummy$i up
67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
68 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" false
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
72 fib4_trap_check $ns "192.0.2.0/24 dev dummy2 tos 0 metric 1024" true
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
76 fib4_trap_check $ns "192.0.2.0/24 dev dummy3 tos 0 metric 1024" false
79 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" true
85 ip -n $ns link del dev dummy$i
[all …]
Dtc_flower.sh29 tc qdisc add dev $h2 clsact
34 tc qdisc del dev $h2 clsact
44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
52 tc_check_packets "dev $h2 ingress" 101 1
55 tc_check_packets "dev $h2 ingress" 102 1
58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
Drouter_multipath.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
28 ip address del 2001:db8:1::2/64 dev $h1
29 ip address del 192.0.2.2/24 dev $h1
31 ip link set dev $h1 down
38 ip link set dev $h2 master vrf-h2
40 ip link set dev vrf-h2 up
[all …]
Dbridge_vlan_mcast.sh40 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1
42 ip link set dev $swp1 master br0
43 ip link set dev $swp2 master br0
45 ip link set dev br0 up
46 ip link set dev $swp1 up
47 ip link set dev $swp2 up
49 tc qdisc add dev $swp1 clsact
50 tc qdisc add dev $swp2 clsact
52 bridge vlan add vid 10-11 dev $swp1 master
53 bridge vlan add vid 10-11 dev $swp2 master
[all …]
/external/apache-commons-io/src/changes/
Dchanges.xml50 <action issue="IO-697" dev="kinow" type="fix" due-to="otter606">
53 <action dev="ggregory" type="fix" due-to="Gary Gregory">
56 <action issue="IO-744" dev="ggregory" type="fix" due-to="RBRi, Gary Gregory">
59 <action dev="ggregory" type="fix" due-to="Gary Gregory">
62 <action dev="ggregory" type="fix" due-to="Davide Angelocola">
65 <action issue="IO-727" dev="ggregory" type="fix" due-to="trungPa, Gary Gregory">
68 <action issue="IO-746" dev="ggregory" type="add" due-to="Davide Angelocola">
71 …<action issue="IO-748" dev="ggregory" type="fix" due-to="Dirk Heinrichs, Gary Gregory, Elango Ravi…
74 <action dev="ggregory" type="fix" due-to="Gary Gregory">
77 <action dev="ggregory" type="fix" due-to="Arturo Bernal">
[all …]
/external/vboot_reference/tests/
Drun_cgpt_tests.sh25 "$@" 2>/dev/null
37 DEV=fake_dev.bin
38 rm -f ${DEV}
39 dd if=/dev/zero of=${DEV} conv=notrunc bs=512 count=${NUM_SECTORS} 2>/dev/null
79 $CGPT create $MTD ${DEV}
82 -l "${DATA_LABEL}" ${DEV}
84 -l "${KERN_LABEL}" ${DEV}
86 -l "${ROOTFS_LABEL}" ${DEV}
88 -l "${ESP_LABEL}" ${DEV}
90 -l "${FUTURE_LABEL}" ${DEV}
[all …]
/external/snakeyaml/src/changes/
Dchanges.xml10 <action dev="asomov" type="update" issue="332">
13 <action dev="asomov" type="update">
16 <action dev="asomov" type="update">
21 <action dev="maslovalex" type="fix" issue="318" due-to="Rog Sigal">
24 <action dev="asomov" type="update" issue="329">
27 <action dev="asomov" type="update" issue="326">
30 <action dev="maslovalex" type="update" issue="310">
34 <action dev="asomov" type="update" issue="320">
38 <action dev="asomov" type="fix" issue="306">
41 <action dev="asomov" type="add">
[all …]
/external/mtools/
Dlba.c24 int compute_lba_geom_from_tot_sectors(struct device *dev) in compute_lba_geom_from_tot_sectors() argument
30 if(dev->heads && dev->sectors && dev->tracks) in compute_lba_geom_from_tot_sectors()
36 if(dev->tot_sectors == 0) { in compute_lba_geom_from_tot_sectors()
42 if(dev->tot_sectors && in compute_lba_geom_from_tot_sectors()
43 dev->tot_sectors <= 8640 && dev->tot_sectors % 40 == 0) { in compute_lba_geom_from_tot_sectors()
44 if(dev->tot_sectors <= 540) { in compute_lba_geom_from_tot_sectors()
46 dev->tracks = 40; in compute_lba_geom_from_tot_sectors()
47 dev->heads = 1; in compute_lba_geom_from_tot_sectors()
48 } else if(dev->tot_sectors <= 1080) { in compute_lba_geom_from_tot_sectors()
52 if(dev->heads == 1) in compute_lba_geom_from_tot_sectors()
[all …]

12345678910>>...335