Home
last modified time | relevance | path

Searched +full:0 +full:- +full:dev (Results 1 – 25 of 1184) sorted by relevance

12345678910>>...48

/external/rootdev/
Drootdev_test.sh3 # Use of this source code is governed by a BSD-style license that can be
9 set -u
20 PASS_COUNT=0
24 return 0
27 FAIL_COUNT=0
31 return 0
36 if [ -n "$WORKDIR" ]; then
37 rm -rf "$WORKDIR"
39 trap - EXIT
43 WORKDIR=$(mktemp -d rootdev_test.XXXXXXX)
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh2 # SPDX-License-Identifier: GPL-2.0
35 lib_dir=$(dirname $0)/../../../net/forwarding
45 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
[all …]
Dq_in_q_veto.sh2 # SPDX-License-Identifier: GPL-2.0
4 lib_dir=$(dirname $0)/../../../net/forwarding
28 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
44 RET=0
49 ip link add dev br0 type bridge vlan_filtering 1 \
50 vlan_protocol $bridge_proto vlan_default_pvid 0 mcast_snooping 0
52 ip link set dev br0 up
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c2 * Wi-Fi Protected Setup - device attributes
16 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()
23 if (len == 0) { in wps_build_manufacturer()
25 * Some deployed WPS implementations fail to parse zero-length in wps_build_manufacturer()
31 return 0; in wps_build_manufacturer()
35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer()
36 return 0; 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()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh5 # set -e
7 devdummy="test-dummy0"
9 # Kselftest framework requirement - SKIP code is 4.
15 if [ $ret -eq 0 ]; then
20 # same but inverted -- used when command must fail for test to pass
23 if [ $1 -eq 0 ]; then
38 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
[all …]
Dfib_tests.sh2 # SPDX-License-Identifier: GPL-2.0
7 ret=0
8 # Kselftest framework requirement - SKIP code is 4.
11 # all tests in this script. Can be overridden with -t option
14 VERBOSE=0
17 IP="ip -netns ns1"
20 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping)
28 if [ ${rc} -eq ${expected} ]; then
29 printf " TEST: %-60s [ OK ]\n" "${msg}"
34 printf " TEST: %-60s [FAIL]\n" "${msg}"
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_flower.sh2 # SPDX-License-Identifier: GPL-2.0
29 tc qdisc add dev $h2 clsact
34 tc qdisc del dev $h2 clsact
42 RET=0
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 \
49 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
50 -t ip -q
52 tc_check_packets "dev $h2 ingress" 101 1
55 tc_check_packets "dev $h2 ingress" 102 1
[all …]
Dbridge_vlan_mcast.sh2 # SPDX-License-Identifier: GPL-2.0
40 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
[all …]
/external/vboot_reference/tests/
Drun_cgpt_tests.sh1 #!/bin/bash -eu
4 # Use of this source code is governed by a BSD-style license that can be
10 . "$(dirname "$0")/common.sh"
12 CGPT=$(readlink -f "$1")
13 [ -x "$CGPT" ] || error "Can't execute $CGPT"
19 [ -d "$DIR" ] || mkdir -p "$DIR"
25 "$@" 2>/dev/null
26 if [ $? == 0 ]; then
29 set -e
37 DEV=fake_dev.bin
[all …]
/external/wmediumd/wmediumd/lib/
Dvhost.c2 * Copyright (C) 2019 - 2020 Intel Corporation
4 * SPDX-License-Identifier: BSD-3-Clause
57 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()
87 unsigned int n_in = 0, n_out = 0; in usfstl_vhost_user_get_virtq_buf()
[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
38 memset(&request, 0, sizeof(request)); in amdgpu_query_info()
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
52 memset(&request, 0, sizeof(request)); in amdgpu_query_crtc_from_id()
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
68 memset(&request, 0, sizeof(request)); in amdgpu_read_mm_registers()
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
[all …]
Damdgpu_device.c58 return 0; in fd_compare()
71 * \param fd - \c [in] File descriptor for AMD GPU device
72 * \param auth - \c [out] Pointer to output the fd is authenticated or not
73 * A render node fd, output auth = 0
76 * \return 0 on success\n
77 * >0 - AMD specific error code\n
78 * <0 - Negative POSIX Error code
82 int r = 0; in amdgpu_get_auth()
86 *auth = 0; in amdgpu_get_auth()
88 client.idx = 0; in amdgpu_get_auth()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tunnel.sh2 # SPDX-License-Identifier: GPL-2.0
4 # End-to-end eBPF tunnel test suite
8 # ---------
11 # ----------- | -----------
12 # | tnl dev | | | tnl dev | (overlay network)
13 # ----------- | -----------
14 # metadata-mode | native-mode
17 # ---------- | ----------
18 # | veth1 | --------- | veth0 | (underlay network)
19 # ---------- peer ----------
[all …]
/external/trusty/lk/dev/virtio/
Dvirtio.c2 * Copyright (c) 2014-2015 Travis Geiselbrecht
23 #include <dev/virtio.h>
24 #include <dev/virtio/virtio_ring.h>
43 #include <dev/virtio/block.h>
46 #include <dev/virtio/net.h>
49 #include <dev/virtio/gpu.h>
52 #define LOCAL_TRACE 0
59 printf("\tmagic 0x%x\n", mmio->magic); in dump_mmio_config()
60 printf("\tversion 0x%x\n", mmio->version); in dump_mmio_config()
61 printf("\tdevice_id 0x%x\n", mmio->device_id); in dump_mmio_config()
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/
Dflow.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
16 "expExitCode": "0",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
18 …tern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst and 0x000…
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 1 protocol ip flow map key ds…
38 "expExitCode": "0",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
[all …]
/external/mesa3d/src/freedreno/decode/
Dreplay.c3 * SPDX-License-Identifier: MIT
25 #include "drm-uapi/msm_drm.h"
28 #include "drm-uapi/d3dkmthk.h"
49 * - /sys/kernel/debug/dri/0/rd
50 * - /sys/kernel/debug/dri/0/hangrd
52 * - echo 1 > /sys/module/msm/parameters/rd_full
56 * pre-allocate a single buffer and hope it always allocated starting
62 * Code from Freedreno/Turnip is not re-used here since the relevant
66 * For how-to see freedreno.rst
80 /* clang-format off */ in print_usage()
[all …]
/external/mesa3d/src/asahi/lib/
Dagx_device.c4 * SPDX-License-Identifier: MIT
19 #include "drm-uapi/dma-buf.h"
30 #define ASAHI_BIND_READ 0
31 #define ASAHI_BIND_WRITE 0
34 agx_bo_free(struct agx_device *dev, struct agx_bo *bo) in agx_bo_free() argument
36 const uint64_t handle = bo->handle; in agx_bo_free()
38 if (bo->ptr.cpu) in agx_bo_free()
39 munmap(bo->ptr.cpu, bo->size); in agx_bo_free()
41 if (bo->ptr.gpu) { in agx_bo_free()
43 uint64_t bo_addr = bo->ptr.gpu; in agx_bo_free()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/dsa/
Dbridge_vlan_mcast.sh2 # SPDX-License-Identifier: GPL-2.0
40 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
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dcake.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake",
16 "expExitCode": "0",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
18 …ern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash …
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 cake bandwidth 1000",
39 "expExitCode": "0",
[all …]
Dfq.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq",
16 "expExitCode": "0",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
18 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit",
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",
39 "expExitCode": "0",
[all …]
Dnetem.json13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem",
16 "expExitCode": "0",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
18 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit",
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",
39 "expExitCode": "0",
[all …]
/external/mesa3d/src/nouveau/vulkan/
Dnvk_device.c3 * SPDX-License-Identifier: MIT
28 memset(area, 0, sizeof(*area)); in nvk_slm_area_init()
29 simple_mtx_init(&area->mutex, mtx_plain); in nvk_slm_area_init()
35 simple_mtx_destroy(&area->mutex); in nvk_slm_area_finish()
36 if (area->bo) in nvk_slm_area_finish()
37 nouveau_ws_bo_destroy(area->bo); in nvk_slm_area_finish()
45 simple_mtx_lock(&area->mutex); in nvk_slm_area_get_bo_ref()
46 struct nouveau_ws_bo *bo = area->bo; in nvk_slm_area_get_bo_ref()
49 *bytes_per_warp_out = area->bytes_per_warp; in nvk_slm_area_get_bo_ref()
50 *bytes_per_tpc_out = area->bytes_per_tpc; in nvk_slm_area_get_bo_ref()
[all …]
/external/skia/
Dpackage-lock.json8 "jasmine-core": "3.10.1",
10 "karma-chrome-launcher": "3.1.0",
11 "karma-firefox-launcher": "2.1.2",
12 "karma-jasmine": "4.0.1"
15 "node_modules/@socket.io/base64-arraybuffer": {
17 …"integrity": "sha512-dOlCBKnDw4iShaIsH/bxujKTM18+2TOAsYz+KSc11Am38H4q5Xw8Bbz97ZYdrVNM+um3p7w86Bvvm…
18 "dev": true, boolean
20 "node": ">= 0.6.0"
23 "node_modules/@types/component-emitter": {
25 …"integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV…
[all …]
/external/mtools/
Ddevices.c1 /* Copyright 1986-1992 Emmet P. Gray.
2 * Copyright 1996-2003,2006,2007,2009 Alain Knaff.
31 #define DEF_ARG1(x) (x), 0x2,0,(char *)0, 0, 0, 0, 0, 0, 0, NULL
32 #define DEF_ARG0(x) 0,DEF_ARG1(x)
34 #define MDEF_ARG 0L,DEF_ARG0(MFORMAT_ONLY_FLAG)
35 #define FDEF_ARG 0L,DEF_ARG0(0)
38 #pragma GCC diagnostic ignored "-Wunused-macros"
40 #define VOLD_DEF_ARG 0L,DEF_ARG0(VOLD_FLAG|MFORMAT_ONLY_FLAG)
42 #define MED312 12,0,80,2,36,0,MDEF_ARG /* 3 1/2 extra density */
43 #define MHD312 12,0,80,2,18,0,MDEF_ARG /* 3 1/2 high density */
[all …]
/external/perfetto/infra/perfetto.dev/
Dpnpm-lock.yaml25 fs-extra:
26 specifier: ^9.0.0
27 version: 9.0.0
34 node-watch:
38 specifier: ^6.9.0
39 version: 6.9.0
43 /@braintree/sanitize-url@6.0.4:
44 …resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bo…
45 dev: false
48 …resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU+…
[all …]

12345678910>>...48