Home
last modified time | relevance | path

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

12345678910>>...443

/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/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 …]
/external/mesa3d/src/nouveau/vulkan/
Dnvk_device.c57 nvk_slm_area_ensure(struct nvk_device *dev, in nvk_slm_area_ensure() argument
73 uint64_t bytes_per_mp = bytes_per_warp * dev->pdev->info.max_warps_per_mp; in nvk_slm_area_ensure()
74 uint64_t bytes_per_tpc = bytes_per_mp * dev->pdev->info.mp_per_tpc; in nvk_slm_area_ensure()
91 uint64_t size = bytes_per_tpc * dev->pdev->info.tpc_count; in nvk_slm_area_ensure()
99 nouveau_ws_bo_new(dev->ws_dev, size, 0, in nvk_slm_area_ensure()
102 return vk_error(dev, VK_ERROR_OUT_OF_DEVICE_MEMORY); in nvk_slm_area_ensure()
132 struct nvk_device *dev; in nvk_CreateDevice() local
134 dev = vk_zalloc2(&pdev->vk.instance->alloc, pAllocator, in nvk_CreateDevice()
135 sizeof(*dev), 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in nvk_CreateDevice()
136 if (!dev) in nvk_CreateDevice()
[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 …]
Dfq.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
21 "$TC qdisc del dev $DUMMY handle 1: root",
22 "$IP link del dev $DUMMY type dummy"
36 "$IP link add dev $DUMMY type dummy || /bin/true"
38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq limit 3000",
40 "verifyCmd": "$TC qdisc show dev $DUMMY",
44 "$TC qdisc del dev $DUMMY handle 1: root",
45 "$IP link del dev $DUMMY type dummy"
[all …]
Dnetem.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
21 "$TC qdisc del dev $DUMMY handle 1: root",
22 "$IP link del dev $DUMMY type dummy"
36 "$IP link add dev $DUMMY type dummy || /bin/true"
38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem limit 200",
40 "verifyCmd": "$TC qdisc show dev $DUMMY",
44 "$TC qdisc del dev $DUMMY handle 1: root",
45 "$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/mesa3d/src/gallium/drivers/panfrost/
Dpan_device.c46 panfrost_supports_compressed_format(struct panfrost_device *dev, unsigned fmt) in panfrost_supports_compressed_format() argument
54 return panfrost_query_compressed_formats(&dev->kmod.props) & (1 << idx); in panfrost_supports_compressed_format()
61 panfrost_open_device(void *memctx, int fd, struct panfrost_device *dev) in panfrost_open_device() argument
63 dev->memctx = memctx; in panfrost_open_device()
65 dev->kmod.dev = pan_kmod_dev_create(fd, PAN_KMOD_DEV_FLAG_OWNS_FD, NULL); in panfrost_open_device()
66 if (!dev->kmod.dev) { in panfrost_open_device()
71 pan_kmod_dev_query_props(dev->kmod.dev, &dev->kmod.props); in panfrost_open_device()
73 dev->arch = pan_arch(dev->kmod.props.gpu_prod_id); in panfrost_open_device()
74 dev->model = panfrost_get_model(dev->kmod.props.gpu_prod_id); in panfrost_open_device()
77 if (!dev->model) in panfrost_open_device()
[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
60 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
61 ip netns exec at_ns0 ip link set dev veth0 up
62 ip link set dev veth1 up mtu 1500
63 ip addr add dev veth1 172.16.1.200/24
70 ip link add dev $DEV_NS type $TYPE seq key 2 \
[all …]
/external/wmediumd/wmediumd/lib/
Dvhost.c57 cpu_to_virtio##bits(struct usfstl_vhost_user_dev_int *dev, \
60 if (dev->ext.features & (1ULL << VIRTIO_F_VERSION_1)) \
65 virtio_to_cpu##bits(struct usfstl_vhost_user_dev_int *dev, \
68 if (dev->ext.features & (1ULL << VIRTIO_F_VERSION_1)) \
78 usfstl_vhost_user_get_virtq_buf(struct usfstl_vhost_user_dev_int *dev, in usfstl_vhost_user_get_virtq_buf() argument
83 struct vring *virtq = &dev->virtqs[virtq_idx].virtq; in usfstl_vhost_user_get_virtq_buf()
84 uint16_t avail_idx = virtio_to_cpu16(dev, virtq->avail->idx); in usfstl_vhost_user_get_virtq_buf()
90 if (avail_idx == dev->virtqs[virtq_idx].last_avail_idx) in usfstl_vhost_user_get_virtq_buf()
96 idx = dev->virtqs[virtq_idx].last_avail_idx++; in usfstl_vhost_user_get_virtq_buf()
98 desc_idx = virtio_to_cpu16(dev, virtq->avail->ring[idx]); in usfstl_vhost_user_get_virtq_buf()
[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 …]
/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/apache-commons-io/src/changes/
Dchanges.xml52 <action dev="sebb" type="fix" issue="IO-810" due-to="Laurence Gonsalves">
55 <action dev="ggregory" type="fix" issue="IO-810" due-to="Gregor Dschung, Gary Gregory">
58 <action dev="ggregory" type="fix" issue="IO-812" due-to="Adam Rauch, Gary Gregory">
61 <action dev="ggregory" type="fix" issue="IO-811" due-to="Adam Rauch, Gary Gregory">
64 <action dev="ggregory" type="fix" issue="IO-811" due-to="Adam Rauch, Gary Gregory">
67 <action dev="ggregory" type="fix" issue="IO-811" due-to="Adam Rauch, Gary Gregory">
70 <action dev="ggregory" type="fix" issue="IO-811" due-to="Adam Rauch, Gary Gregory">
73 <action dev="ggregory" type="fix" issue="IO-814" due-to="Elliotte Rusty Harold, Gary Gregory">
76 <action dev="ggregory" type="fix" issue="IO-414" due-to="Elliotte Rusty Harold, Gary Gregory">
79 <action dev="ggregory" type="fix" issue="IO-814" due-to="Gary Gregory">
[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 …]
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 …]
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 …]
/external/snakeyaml/src/changes/
Dchanges.xml9 <action dev="asomov" type="fix" issue="543">
12 <action dev="asomov" type="fix" issue="547">
16 <action dev="asomov" type="update">
22 <action dev="maslovalex" type="fix" issue="544">
27 <action dev="maslovalex" type="update">
30 <action dev="asomov" type="update" issue="539">
33 <action dev="asomov" type="fix" issue="537">
36 <action dev="asomov" type="fix" issue="530">
40 <action dev="asomov" type="fix" issue="529">
43 <action dev="asomov" type="fix" issue="525">
[all …]
/external/mesa3d/src/asahi/lib/
Dagx_device.c34 agx_bo_free(struct agx_device *dev, struct agx_bo *bo) in agx_bo_free() argument
46 heap = &dev->usc_heap; in agx_bo_free()
47 bo_addr += dev->shader_base; in agx_bo_free()
49 heap = &dev->main_heap; in agx_bo_free()
52 simple_mtx_lock(&dev->vma_lock); in agx_bo_free()
53 util_vma_heap_free(heap, bo_addr, bo->size + dev->guard_size); in agx_bo_free()
54 simple_mtx_unlock(&dev->vma_lock); in agx_bo_free()
69 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &args); in agx_bo_free()
73 agx_bo_bind(struct agx_device *dev, struct agx_bo *bo, uint64_t addr, in agx_bo_bind() argument
80 agx_bo_alloc(struct agx_device *dev, size_t size, size_t align, in agx_bo_alloc() argument
[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 …]

12345678910>>...443