Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 247) sorted by relevance

12345678910

/illumos-kvm-cmd/
H A Dqemu-config.c14 .type = QEMU_OPT_NUMBER,
18 .type = QEMU_OPT_NUMBER,
22 .type = QEMU_OPT_STRING,
26 .type = QEMU_OPT_NUMBER,
29 .type = QEMU_OPT_NUMBER,
33 .type = QEMU_OPT_NUMBER,
37 .type = QEMU_OPT_NUMBER,
41 .type = QEMU_OPT_STRING,
49 .type = QEMU_OPT_BOOL,
81 .type = QEMU_OPT_BOOL,
[all …]
H A Dblockdev.c126 if (dinfo->type == type && in drive_get()
149 if(dinfo->type == type && in drive_get_max_bus()
163 return drive_get(type, 0, next_block_unit[type]++); in drive_get_next()
251 type = IF_IDE; in drive_init()
273 for (type = 0; type < IF_COUNT && strcmp(buf, if_name[type]); type++) in drive_init()
381 if (type != IF_IDE && type != IF_SCSI && type != IF_VIRTIO && type != IF_NONE) { in drive_init()
394 if (type != IF_IDE && type != IF_VIRTIO && type != IF_SCSI && type != IF_NONE) { in drive_init()
464 if (type == IF_IDE || type == IF_SCSI) in drive_init()
475 dinfo->type = type; in drive_init()
490 switch(type) { in drive_init()
[all …]
H A Dnet.c893 const char *type; member
898 .type = "none",
904 .type = "nic",
934 .type = "user",
995 .type = "tap",
1071 .type = "vde",
1097 .type = "vnic",
1170 .type = "dump",
1192 const char *type; in net_client_init() local
1196 if (!type) { in net_client_init()
[all …]
H A Dqemu-queue.h82 #define QLIST_HEAD(name, type) \ argument
84 struct type *lh_first; /* first element */ \
90 #define QLIST_ENTRY(type) \ argument
92 struct type *le_next; /* next element */ \
93 struct type **le_prev; /* address of previous next element */ \
153 #define QSIMPLEQ_HEAD(name, type) \ argument
155 struct type *sqh_first; /* first element */ \
156 struct type **sqh_last; /* addr of last next element */ \
233 ((char *)((head)->sqh_last) - offsetof(struct type, field))))
251 #define QTAILQ_HEAD(name, type) Q_TAILQ_HEAD(name, struct type,) argument
[all …]
H A Dosdep.h35 #define container_of(ptr, type, member) ({ \ argument
36 const typeof(((type *) 0)->member) *__mptr = (ptr); \
37 (type *) ((char *) __mptr - offsetof(type, member));})
42 #define DO_UPCAST(type, field, dev) ( __extension__ ( { \ argument
44 -offsetof(type, field)]; \
45 container_of(dev, type, field);}))
47 #define DO_UPCAST(type, field, dev) container_of(dev, type, field) argument
50 #define typeof_field(type, field) typeof(((type *)0)->field) argument
H A Dthunk.h42 #define MK_PTR(type) TYPE_PTR, type argument
43 #define MK_ARRAY(type, size) TYPE_ARRAY, size, type argument
83 int type, size; in thunk_type_size() local
86 type = *type_ptr; in thunk_type_size()
87 switch(type) { in thunk_type_size()
120 int type; in thunk_type_align() local
123 type = *type_ptr; in thunk_type_align()
124 switch(type) { in thunk_type_align()
H A Dmodule.c20 module_init_type type; member
46 static ModuleTypeList *find_type(module_init_type type) in find_type() argument
52 l = &init_type_list[type]; in find_type()
57 void register_module_init(void (*fn)(void), module_init_type type) in register_module_init() argument
65 l = find_type(type); in register_module_init()
70 void module_call_init(module_init_type type) in module_call_init() argument
75 l = find_type(type); in module_call_init()
H A Dqobject.h57 const QType *type; member
79 obj->base.type = qtype_type
97 assert(obj->type != NULL); in qobject_decref()
98 assert(obj->type->destroy != NULL); in qobject_decref()
99 obj->type->destroy(obj); in qobject_decref()
108 assert(obj->type != NULL); in qobject_type()
109 return obj->type->code; in qobject_type()
H A Dbswap.h96 #define CPU_CONVERT(endian, size, type)\ argument
97 static inline type endian ## size ## _to_cpu(type v)\
102 static inline type cpu_to_ ## endian ## size(type v)\
107 static inline void endian ## size ## _to_cpus(type *p)\
112 static inline void cpu_to_ ## endian ## size ## s(type *p)\
117 static inline type endian ## size ## _to_cpup(const type *p)\
122 static inline void cpu_to_ ## endian ## size ## w(type *p, type v)\
H A Dblockdev.h32 BlockInterfaceType type; member
42 DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
43 DriveInfo *drive_get_by_index(BlockInterfaceType type, int index);
44 int drive_get_max_bus(BlockInterfaceType type);
45 DriveInfo *drive_get_next(BlockInterfaceType type);
51 QemuOpts *drive_add(BlockInterfaceType type, int index, const char *file,
H A Dthunk.c37 int type; in thunk_type_next() local
39 type = *type_ptr++; in thunk_type_next()
40 switch(type) { in thunk_type_next()
129 int type; in thunk_convert() local
131 type = *type_ptr++; in thunk_convert()
132 switch(type) { in thunk_convert()
157 if (type == TYPE_LONG) { in thunk_convert()
180 if (type == TYPE_LONG) { in thunk_convert()
239 fprintf(stderr, "Invalid type 0x%x\n", type); in thunk_convert()
H A Dmodule.h18 #define module_init(function, type) \ argument
20 register_module_init(function, type); \
34 void register_module_init(void (*fn)(void), module_init_type type);
36 void module_call_init(module_init_type type);
/illumos-kvm-cmd/tests/
H A Dhello-arm.c12 #define __syscall_return(type, res) \ argument
14 return (type) (res); \
17 #define _syscall0(type,name) \ argument
18 type name(void) { \
24 __syscall_return(type,__res); \
28 type name(type1 arg1) { \
37 __syscall_return(type,__res); \
41 type name(type1 arg1,type2 arg2) { \
51 __syscall_return(type,__res); \
67 __syscall_return(type,__res); \
[all …]
/illumos-kvm-cmd/hw/
H A Dsmbios.c23 uint8_t type; member
28 uint8_t type; member
82 if (type == field->type) { in smbios_check_collision()
90 if (type == table->type) { in smbios_check_collision()
104 smbios_check_collision(type, SMBIOS_FIELD_ENTRY); in smbios_add_field()
113 field->header.type = SMBIOS_FIELD_ENTRY; in smbios_add_field()
116 field->type = type; in smbios_add_field()
201 table->header.type = SMBIOS_TABLE_ENTRY; in smbios_entry_add()
211 if (header->type == 4) { in smbios_entry_add()
223 switch (type) { in smbios_entry_add()
[all …]
H A Dbt-sdp.c583 uint8_t type; member
598 int type = element->type & ~SDP_DSIZE_MASK; in sdp_attr_max_size() local
601 if (type == SDP_DTYPE_UINT || type == SDP_DTYPE_UUID || in sdp_attr_max_size()
608 if (type == SDP_DTYPE_STRING || type == SDP_DTYPE_URL) { in sdp_attr_max_size()
617 if (type != SDP_DTYPE_SEQ) in sdp_attr_max_size()
621 while (element->type) in sdp_attr_max_size()
632 int type = element->type & ~SDP_DSIZE_MASK; in sdp_attr_write() local
635 if (type == SDP_DTYPE_UINT || type == SDP_DTYPE_BOOL) { in sdp_attr_write()
666 if (type == SDP_DTYPE_STRING || type == SDP_DTYPE_URL) { in sdp_attr_write()
679 while (element->type) in sdp_attr_write()
[all …]
H A Dqxl-logger.c111 switch (desc->type) { in qxl_log_image()
146 qxl_name(qxl_draw_type, draw->type), in qxl_log_cmd_draw()
148 switch (draw->type) { in qxl_log_cmd_draw()
159 qxl_name(qxl_draw_type, draw->type), in qxl_log_cmd_draw_compat()
166 switch (draw->type) { in qxl_log_cmd_draw_compat()
176 qxl_name(qxl_surface_cmd, cmd->type), in qxl_log_cmd_surface()
178 if (cmd->type == QXL_SURFACE_CMD_CREATE) { in qxl_log_cmd_surface()
186 if (cmd->type == QXL_SURFACE_CMD_DESTROY) { in qxl_log_cmd_surface()
197 switch (cmd->type) { in qxl_log_cmd_cursor()
228 qxl_name(qxl_type, ext->cmd.type), in qxl_log_command()
[all …]
H A Dpci-hotplug.c111 int type; in drive_hot_add() local
124 type = dinfo->type; in drive_hot_add()
126 switch (type) { in drive_hot_add()
161 int type = -1; in qemu_pci_hot_add_storage() local
168 type = IF_SCSI; in qemu_pci_hot_add_storage()
170 type = IF_VIRTIO; in qemu_pci_hot_add_storage()
202 switch (type) { in qemu_pci_hot_add_storage()
238 const char *type = qdict_get_str(qdict, "type"); in pci_device_hot_add() local
253 if (strcmp(type, "nic") == 0) { in pci_device_hot_add()
255 } else if (strcmp(type, "storage") == 0) { in pci_device_hot_add()
[all …]
H A Dxen_backend.c173 if (strcmp(xendev->type, type) != 0) in xen_be_find_xendev()
189 xendev = xen_be_find_xendev(type, dom, dev); in xen_be_get_xendev()
195 xendev->type = type; in xen_be_get_xendev()
202 dom0, xendev->type, xendev->dom, xendev->dev); in xen_be_get_xendev()
204 xendev->type, xendev->dev); in xen_be_get_xendev()
523 xendev = xen_be_get_xendev(type, dom, atoi(dev[j]), ops); in xenstore_scan()
557 xendev = xen_be_get_xendev(type, dom, dev, ops); in xenstore_update_be()
583 intptr_t type, ops, ptr; in xenstore_update() local
591 &type, &dom, &ops) == 3) in xenstore_update()
645 int xen_be_register(const char *type, struct XenDevOps *ops) in xen_be_register() argument
[all …]
H A Dextboot.c23 uint16_t type; member
25 uint16_t type; member
32 uint16_t type; member
81 if (cmd.type == 0x01 || cmd.type == 0x02) { in extboot_write_cmd()
87 switch (cmd.type) { in extboot_write_cmd()
H A Dqdev-properties.c60 .type = PROP_TYPE_BIT,
90 .type = PROP_TYPE_UINT8,
120 .type = PROP_TYPE_UINT16,
150 .type = PROP_TYPE_UINT32,
177 .type = PROP_TYPE_INT32,
206 .type = PROP_TYPE_UINT32,
340 .type = PROP_TYPE_DRIVE,
372 .type = PROP_TYPE_CHR,
440 .type = PROP_TYPE_VLAN,
451 .type = PROP_TYPE_PTR,
[all …]
/illumos-kvm-cmd/slirp/
H A Dip_icmp.h149 #define ICMP_INFOTYPE(type) \ argument
150 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
151 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \
152 (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \
153 (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \
154 (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
157 void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
/illumos-kvm-cmd/scripts/
H A Dcheckpatch.pl491 my $type = '';
554 if (($type eq '' || $type eq '(') && $c eq '(') {
556 $type = '(';
568 if (($type eq '' || $type eq '{') && $c eq '{') {
570 $type = '{';
865 $type = 'C';
869 $type = 'T';
873 $type = 'T';
882 $type = 'E';
895 $type = 'E';
[all …]
/illumos-kvm-cmd/target-ia64/
H A Dfirmware.c38 unsigned int type; member
137 phit->header.type = HOB_TYPE_INFO; in hob_init()
145 terminal->type = HOB_TYPE_TERMINAL; in hob_init()
176 newhob->type = type; in hob_add()
183 tail->type = HOB_TYPE_TERMINAL; in hob_add()
435 hob_type_t type; member
603 int kvm_ia64_nvram_init(unsigned long type) in kvm_ia64_nvram_init() argument
613 if (type == READ_FROM_NVRAM) { in kvm_ia64_nvram_init()
629 if (type == READ_FROM_NVRAM) { in kvm_ia64_nvram_init()
676 unsigned long type = WRITE_TO_NVRAM; in kvm_ia64_copy_from_GFW_to_nvram() local
[all …]
/illumos-kvm-cmd/block/
H A Draw-win32.c37 int type; member
82 s->type = FTYPE_FILE; in raw_open()
192 switch(s->type) { in raw_getlength()
242 .type = OPT_SIZE,
270 UINT type; in find_cdrom() local
275 type = GetDriveType(pdrv); in find_cdrom()
276 switch(type) { in find_cdrom()
290 UINT type; in find_device_type() local
298 type = GetDriveType(s->drive_path); in find_device_type()
299 switch (type) { in find_device_type()
[all …]
/illumos-kvm-cmd/tcg/
H A Dtcg.c118 r->type = type; in tcg_out_reloc()
292 if (type != TCG_TYPE_I32) in tcg_global_reg_new_internal()
300 ts->base_type = type; in tcg_global_reg_new_internal()
301 ts->type = type; in tcg_global_reg_new_internal()
336 if (type == TCG_TYPE_I64) { in tcg_global_mem_new_internal()
340 ts->base_type = type; in tcg_global_mem_new_internal()
355 ts->base_type = type; in tcg_global_mem_new_internal()
375 ts->base_type = type; in tcg_global_mem_new_internal()
376 ts->type = type; in tcg_global_mem_new_internal()
411 k = type; in tcg_temp_new_internal()
[all …]

Completed in 85 milliseconds

12345678910