Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 57) sorted by relevance

123

/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl.c113 minor = -1; in tap_cli_list()
144 if (minor >= 0 && entry->minor != minor) in tap_cli_list()
219 int c, minor; in tap_cli_free() local
221 minor = -1; in tap_cli_free()
305 minor = -1; in tap_cli_destroy()
383 minor = -1; in tap_cli_attach()
424 minor = -1; in tap_cli_detach()
465 minor = -1; in tap_cli_close()
510 minor = -1; in tap_cli_pause()
552 minor = -1; in tap_cli_unpause()
[all …]
A Dtap-ctl-allocate.c87 const int minor, const int perm) in tap_ctl_make_device() argument
123 int err, minor; in tap_ctl_check_environment() local
145 minor, S_IFCHR | 0600); in tap_ctl_check_environment()
164 *minor = -1; in tap_ctl_allocate_device()
188 handle.minor, S_IFCHR | 0600); in tap_ctl_allocate_device()
192 handle.minor, err); in tap_ctl_allocate_device()
209 handle.minor, S_IFBLK | 0600); in tap_ctl_allocate_device()
212 handle.minor, err); in tap_ctl_allocate_device()
219 *minor = handle.minor; in tap_ctl_allocate_device()
223 tap_ctl_free(handle.minor); in tap_ctl_allocate_device()
[all …]
A Dtap-ctl.h50 void tap_ctl_version(int *major, int *minor);
51 int tap_ctl_kernel_version(int *major, int *minor);
69 int minor; member
81 int tap_ctl_allocate(int *minor, char **devname);
82 int tap_ctl_free(const int minor);
85 int tap_ctl_destroy(const int id, const int minor);
90 int tap_ctl_attach(const int id, const int minor);
91 int tap_ctl_detach(const int id, const int minor);
93 int tap_ctl_open(const int id, const int minor, const char *params);
94 int tap_ctl_close(const int id, const int minor, const int force);
[all …]
A Dtap-ctl-create.c40 int err, id, minor; in tap_ctl_create() local
42 err = tap_ctl_allocate(&minor, devname); in tap_ctl_create()
52 err = tap_ctl_attach(id, minor); in tap_ctl_create()
56 err = tap_ctl_open(id, minor, params); in tap_ctl_create()
63 tap_ctl_detach(id, minor); in tap_ctl_create()
65 tap_ctl_free(minor); in tap_ctl_create()
A Dtap-ctl-destroy.c39 tap_ctl_destroy(const int id, const int minor) in tap_ctl_destroy() argument
43 err = tap_ctl_close(id, minor, 0); in tap_ctl_destroy()
47 err = tap_ctl_detach(id, minor); in tap_ctl_destroy()
51 err = tap_ctl_free(minor); in tap_ctl_destroy()
A Dtap-ctl-close.c38 __tap_ctl_close(const int id, const int minor, const int force) in __tap_ctl_close() argument
47 message.cookie = minor; in __tap_ctl_close()
67 tap_ctl_close(const int id, const int minor, const int force) in tap_ctl_close() argument
72 err = __tap_ctl_close(id, minor, force); in tap_ctl_close()
A Dtap-ctl-open.c39 tap_ctl_open(const int id, const int minor, const char *params) in tap_ctl_open() argument
46 message.cookie = minor; in tap_ctl_open()
48 message.u.params.devnum = minor; in tap_ctl_open()
A Dtap-ctl-list.c93 entry->minor = vbd_minor; in init_list()
312 int minor; member
355 tl->minor = message.u.list.minor; in _tap_ctl_list_tapdisk()
430 tl->minor, tl->state, tl->params); in _tap_list_join3()
434 if (tl->minor >= 0) { in _tap_list_join3()
437 if (minorv[_m] == tl->minor) { in _tap_list_join3()
448 int minor = minorv[_m]; in _tap_list_join3() local
449 if (minor >= 0) { in _tap_list_join3()
450 err = init_list(*_entry++, -1, -1, minor, -1, NULL); in _tap_list_join3()
A Dtap-ctl-free.c40 tap_ctl_free(const int minor) in tap_ctl_free() argument
50 err = ioctl(fd, BLKTAP2_IOCTL_FREE_TAP, minor); in tap_ctl_free()
A Dtap-ctl-pause.c37 tap_ctl_pause(const int id, const int minor) in tap_ctl_pause() argument
44 message.cookie = minor; in tap_ctl_pause()
A Dtap-ctl-detach.c37 tap_ctl_detach(const int id, const int minor) in tap_ctl_detach() argument
44 message.cookie = minor; in tap_ctl_detach()
A Dtap-ctl-attach.c37 tap_ctl_attach(const int id, const int minor) in tap_ctl_attach() argument
44 message.cookie = minor; in tap_ctl_attach()
A Dtap-ctl-check.c40 int err = 0, minor; in tap_ctl_check_blktap() local
51 while (fscanf(f, "%d %32s", &minor, name) == 2) { in tap_ctl_check_blktap()
A Dtap-ctl-unpause.c38 tap_ctl_unpause(const int id, const int minor, const char *params) in tap_ctl_unpause() argument
45 message.cookie = minor; in tap_ctl_unpause()
/xen-4.10.0-shim-comet/tools/hotplug/Linux/
A Dblock-tap77 minor=*)
78 minor=$(remove_label $param "minor=")
83 if [ -z "$pid" ] || [ -z "$minor" ]; then
100 do_or_die tap-ctl destroy -p ${pid} -m ${minor} > /dev/null
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dvhd.h89 #define VHD_VERSION(major, minor) (((major) << 16) | ((minor) & 0x0000FFFF)) argument
182 #define VHD_BATMAP_VERSION(major, minor) (((major) << 16) | ((minor) & 0x0000FFFF)) argument
A Dblktap2.h58 unsigned int minor; member
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_blktap2.c38 devname = GCSPRINTF("/dev/xen/blktap-2/tapdev%d", tap.minor); in libxl__blktap_devpath()
78 err = tap_ctl_destroy(tap.id, tap.minor); in libxl__device_destroy_tapdisk()
81 tap.id, tap.minor); in libxl__device_destroy_tapdisk()
A Dlibxl_freebsd.c70 int minor = devid & 0xff; in libxl__devid_to_localdev() local
79 info[i].base + (minor >> info[i].shift)); in libxl__devid_to_localdev()
81 return GCSPRINTF("%s%d", "xbd", minor >> 4); in libxl__devid_to_localdev()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_core.h71 #define XEN_DUMPCORE_FORMAT_VERSION(major, minor) \ argument
72 ((major) << 32) | ((minor) & 0xffffffff)
74 #define XEN_DUMPCORE_FORMAT_MINOR(version) ((minor) & 0xffffffff)
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-control.c235 response.u.minors.list[i++] = vbd->minor; in tapdisk_control_list_minors()
269 response.u.list.minor = vbd->minor; in tapdisk_control_list()
287 response.u.list.minor = -1; in tapdisk_control_list()
318 int minor, err; in tapdisk_control_attach_vbd() local
330 minor = request->cookie; in tapdisk_control_attach_vbd()
331 if (minor < 0) { in tapdisk_control_attach_vbd()
336 vbd = tapdisk_vbd_create(minor); in tapdisk_control_attach_vbd()
342 err = asprintf(&devname, BLKTAP2_RING_DEVICE"%d", minor); in tapdisk_control_attach_vbd()
348 err = tapdisk_vbd_attach(vbd, devname, minor); in tapdisk_control_attach_vbd()
422 if (vbd->minor == -1) { in tapdisk_control_open_image()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dpsci.h93 #define PSCI_VERSION(major, minor) \ argument
94 (((major) << PSCI_VERSION_MAJOR_SHIFT) | (minor))
/xen-4.10.0-shim-comet/m4/
A Dax_compare_version.m414 # minor-version numbers that can exist, and the fact that string
20 # limited to a certain number of minor-version levels.
33 # the test to that number of minor versions.
59 # would be true because it is only comparing two minor versions.
63 # would be true because it is only comparing the lesser number of minor
/xen-4.10.0-shim-comet/docs/misc/
A Dblock-scripts.txt81 "$XENBUS_PATH/physical-device" with the device's major and minor
92 which contains the major and minor numbers, written in hex, and
97 major/minor numbers, and can give direct access to a file without
110 block script wants to check to make sure the *major/minor* number
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvsmc.c59 uint32_t minor) in fill_revision() argument
68 set_user_reg(regs, 1, minor); in fill_revision()

Completed in 24 milliseconds

123