Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 207) sorted by relevance

123456789

/xen/tools/xenstat/libxenstat/src/
A Dxenstat_solaris.c84 for (dev = priv->devs; dev != NULL; dev = tmp) { in gc_devs()
87 if (dev->used || dev->type != type) { in gc_devs()
106 for (dev = priv->devs; dev != NULL; dev = dev->next) in xenstat_uninit_devs()
138 bcopy(&(dev->stats[1][0]), &(dev->stats[0][0]), sizeof(dev->stats[0])); in update_dev_stats()
166 if (!(dev = malloc(sizeof(*dev)))) in init_dev()
169 bzero(dev, sizeof(*dev)); in init_dev()
191 for (dev = priv->devs; dev != NULL; dev = dev->next) { in update_nic()
277 for (dev = priv->devs; dev != NULL; dev = dev->next) in xenstat_collect_networks()
302 for (dev = priv->devs; dev != NULL; dev = dev->next) { in update_xdb()
307 vbd->dev = dev->instance; in update_xdb()
[all …]
/xen/tools/hotplug/Linux/
A Dblock7 local dev
10 dev=$1
13 dev=/dev/$1
16 echo -n $dev
61 local dev="$2"
157 local dev="$1"
187 local dev="$2"
270 dev=$(readlink -f "$dev") || fatal "$dev link does not exist."
272 test -e "$dev" || fatal "$dev does not exist."
273 test -b "$dev" || fatal "$dev is not a block device."
[all …]
A Dxen-network-common.sh29 if ! which ifup >/dev/null 2>/dev/null
83 local dev="$1"
87 ip link set dev ${dev} down
94 ip link set dev ${dev} address fe:ff:ff:ff:ff:ff || true
98 ip address flush dev ${dev}
127 local dev=$2
131 ip link set dev ${dev} up || true
134 if which brctl >&/dev/null; then
139 ip link set dev ${dev} up
145 local dev=$2
[all …]
A Dremus-netbuf-setup95 if ! command -v nl-qdisc-list > /dev/null 2>&1; then
98 if ! command -v nl-qdisc-add > /dev/null 2>&1; then
113 if ! modinfo $m > /dev/null 2>&1; then
157 do_or_die ip link set dev "$REMUS_IFB" up
164 do_or_die tc qdisc add dev "$vif" ingress
167 u32 match u32 0 0 action mirred egress redirect dev "$ifb" >/dev/null 2>&1
180 nl-qdisc-add --dev="$ifb" --parent root plug >/dev/null 2>&1
188 nl-qdisc-add --dev="$ifb" --parent root \
203 do_without_error ip link set dev "$ifb" down
204 do_without_error nl-qdisc-delete --dev="$ifb" --parent root plug >/dev/null 2>&1
[all …]
A Dvif-openvswitch32 if ! command -v ovs-vsctl > /dev/null 2>&1; then
35 if ! command -v ip > /dev/null 2>&1; then
40 local dev=$1
48 local dev=$1
60 local dev=$1
83 -- --if-exists del-port $dev \
85 do_or_die ip link set $dev up
91 setup_virtual_bridge_port $dev
92 add_to_openvswitch $dev
97 -- --if-exists del-port $dev
[all …]
A Dvif-common.sh47 dev=$vif
50 dev=$INTERFACE
68 local dev=$1
85 dev="${dev:?}"
94 dev="$vifname"
102 dev_=${dev#vif}
116 dev="$vifname"
142 iptables -L -n >& /dev/null
165 "$@" -j ACCEPT 2>/dev/null &&
167 -j ACCEPT 2>/dev/null
[all …]
A Dvif-bridge35 if which brctl >&/dev/null; then
73 ip link show dev "$bridge" 1>/dev/null 2>&1 || RET=1
81 setup_virtual_bridge_port "$dev"
82 set_mtu "$bridge" "$dev"
83 add_to_bridge "$bridge" "$dev"
87 if which brctl >&/dev/null; then
90 do_without_error ip link set "$dev" nomaster
92 do_without_error ifconfig "$dev" down
96 setup_virtual_bridge_port "$dev"
97 set_mtu "$bridge" "$dev"
[all …]
/xen/tools/libxl/
A Dlibxl_remus_disk_drbd.c85 aes->ao = dev->cds->ao; in match_async_exec()
100 dev->aodev.rc = rc; in match_async_exec()
101 dev->aodev.callback(egc, &dev->aodev); in match_async_exec()
109 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in match_async_exec_cb() local
126 dev->matched = true; in match_async_exec_cb()
150 dev->aodev.rc = 0; in drbd_teardown()
151 dev->aodev.callback(egc, &dev->aodev); in drbd_teardown()
175 dev->aodev.rc = 0; in drbd_postsuspend()
176 dev->aodev.callback(egc, &dev->aodev); in drbd_postsuspend()
184 ASYNC_CALL(egc, dev->cds->ao, &dev->aodev.child, dev, in drbd_preresume()
[all …]
A Dlibxl_checkpoint_device.c43 GCNEW(dev); in checkpoint_device_init()
45 dev->kind = kind; in checkpoint_device_init()
46 dev->cds = cds; in checkpoint_device_init()
48 return dev; in checkpoint_device_init()
124 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in device_setup_iterate() local
133 dev->ops = dev->cds->ops[++dev->ops_index]; in device_setup_iterate()
160 } while (dev->ops->kind != dev->kind); in device_setup_iterate()
164 dev->ops->setup(egc,dev); in device_setup_iterate()
196 if (!dev->ops || !dev->matched) in libxl__checkpoint_devices_teardown()
200 dev->ops->teardown(egc,dev); in libxl__checkpoint_devices_teardown()
[all …]
A Dlibxl_colo_qdisk.c51 STATE_AO_GC(dev->cds->ao); in colo_qdisk_setup()
61 dev->matched = true; in colo_qdisk_setup()
64 dev->concrete_data = colo_qdisk; in colo_qdisk_setup()
103 dev->aodev.rc = rc; in colo_qdisk_setup()
104 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_setup()
143 dev->aodev.rc = rc; in colo_qdisk_teardown()
144 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_teardown()
159 const int domid = dev->cds->domid; in colo_qdisk_save_preresume()
187 dev->aodev.rc = rc; in colo_qdisk_save_preresume()
188 dev->aodev.callback(egc, &dev->aodev); in colo_qdisk_save_preresume()
[all …]
A Dlibxl_colo_nic.c58 STATE_AO_GC(dev->cds->ao); in get_vifname()
61 const uint32_t domid = dev->cds->domid; in get_vifname()
126 aes->ao = dev->cds->ao; in setup_async_exec()
151 STATE_AO_GC(dev->cds->ao); in colo_nic_setup()
157 dev->matched = 1; in colo_nic_setup()
165 dev->concrete_data = colo_nic; in colo_nic_setup()
181 dev->aodev.rc = rc; in colo_nic_setup()
182 dev->aodev.callback(egc, &dev->aodev); in colo_nic_setup()
190 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in colo_save_setup_script_cb() local
252 dev->aodev.rc = rc; in colo_nic_teardown()
[all …]
A Dlibxl_linux.c60 env[nr++] = GCSPRINTF("backend/%s/%u/%d", type, dev->domid, dev->devid); in get_hotplug_env()
119 LOGED(ERROR, dev->domid, in libxl__hotplug_nic()
125 rc = libxl__nic_type(gc, dev, &nictype); in libxl__hotplug_nic()
136 *env = get_hotplug_env(gc, script, dev); in libxl__hotplug_nic()
174 LOGEVD(ERROR, errno, dev->domid, in libxl__hotplug_disk()
180 *env = get_hotplug_env(gc, script, dev); in libxl__hotplug_disk()
208 switch (dev->backend_kind) { in libxl__get_hotplug_script_info()
211 LOGD(DEBUG, dev->domid, in libxl__get_hotplug_script_info()
225 LOGD(DEBUG, dev->domid, in libxl__get_hotplug_script_info()
234 LOGD(DEBUG, dev->domid, in libxl__get_hotplug_script_info()
[all …]
A Dlibxl_netbuffer.c313 dev->matched = true; in nic_setup()
332 dev->aodev.rc = rc; in nic_setup()
333 dev->aodev.callback(egc, &dev->aodev); in nic_setup()
345 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in netbuf_setup_script_cb() local
425 dev->aodev.rc = rc; in nic_teardown()
426 dev->aodev.callback(egc, &dev->aodev); in nic_teardown()
434 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in netbuf_teardown_script_cb() local
501 dev->aodev.rc = rc; in nic_postsuspend()
502 dev->aodev.callback(egc, &dev->aodev); in nic_postsuspend()
514 dev->aodev.rc = rc; in nic_commit()
[all …]
/xen/xen/drivers/passthrough/
A Ddevice_tree.c37 if ( !dt_device_is_protected(dev) ) in iommu_assign_dt_device()
42 if ( !list_empty(&dev->domain_list) ) in iommu_assign_dt_device()
68 if ( !dt_device_is_protected(dev) ) in iommu_deassign_dt_device()
77 list_del_init(&dev->domain_list); in iommu_deassign_dt_device()
90 if ( !dt_device_is_protected(dev) ) in iommu_dt_device_is_assigned()
110 struct dt_device_node *dev, *_dev; in iommu_release_dt_devices() local
143 if ( dev_iommu_fwspec_get(dev) ) in iommu_add_dt_device()
178 rc = iommu_fwspec_init(dev, &iommu_spec.np->dev); in iommu_add_dt_device()
199 rc = ops->add_device(0, dev); in iommu_add_dt_device()
202 iommu_fwspec_free(dev); in iommu_add_dt_device()
[all …]
/xen/automation/build/ubuntu/
A Dbionic.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
34 liblzma-dev \
[all …]
A Dtrusty.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
34 liblzma-dev \
[all …]
A Dxenial.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
34 liblzma-dev \
[all …]
/xen/automation/build/debian/
A Dunstable-arm64v8.dockerfile15 zlib1g-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
32 libfdt-dev \
35 liblzma-dev \
[all …]
A Dunstable-i386.dockerfile17 zlib1g-dev \
19 libssl-dev \
20 python-dev \
21 python3-dev \
22 xorg-dev \
23 uuid-dev \
24 libyajl-dev \
25 libaio-dev \
36 liblzma-dev \
37 libc6-dev \
[all …]
A Dstretch-i386.dockerfile17 zlib1g-dev \
19 libssl-dev \
20 python-dev \
21 python3-dev \
22 xorg-dev \
23 uuid-dev \
24 libyajl-dev \
25 libaio-dev \
36 liblzma-dev \
37 libc6-dev \
[all …]
A Djessie-i386.dockerfile17 zlib1g-dev \
19 libssl-dev \
20 python-dev \
21 xorg-dev \
22 uuid-dev \
23 libyajl-dev \
24 libaio-dev \
25 libglib2.0-dev \
35 liblzma-dev \
36 libc6-dev \
[all …]
A Djessie.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 xorg-dev \
20 uuid-dev \
21 libyajl-dev \
22 libaio-dev \
23 libglib2.0-dev \
33 liblzma-dev \
[all …]
A Dunstable.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
34 liblzma-dev \
[all …]
A Dstretch.dockerfile15 zlib1g-dev \
16 libncurses5-dev \
17 libssl-dev \
18 python-dev \
19 python3-dev \
20 xorg-dev \
21 uuid-dev \
22 libyajl-dev \
23 libaio-dev \
34 liblzma-dev \
[all …]
/xen/xen/drivers/passthrough/arm/
A Dipmmu-vmsa.c55 #define dev_name(dev) dt_node_full_name(dev_to_dt(dev)) argument
111 struct device *dev; member
314 if ( mmu->dev == dev ) in ipmmu_find_mmu_by_dev()
694 dev_name(mmu->dev), dev_name(domain->mmu->dev)); in ipmmu_attach_device()
740 set_ipmmu(dev, mmu); in ipmmu_init_platform_device()
835 mmu->dev = &node->dev; in ipmmu_probe()
1062 if ( !to_ipmmu(dev) ) in ipmmu_assign_device()
1086 if ( to_domain(dev) ) in ipmmu_assign_device()
1150 set_domain(dev, NULL); in ipmmu_deassign_device()
1211 if ( to_ipmmu(dev) ) in ipmmu_dt_xlate()
[all …]

Completed in 27 milliseconds

123456789