Home
last modified time | relevance | path

Searched refs:type_ptr (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/linux-user/
H A Dthunk.c30 static const argtype *thunk_type_next_ptr(const argtype *type_ptr);
32 static inline const argtype *thunk_type_next(const argtype *type_ptr) in thunk_type_next() argument
36 type = *type_ptr++; in thunk_type_next()
47 return type_ptr; in thunk_type_next()
49 return thunk_type_next_ptr(type_ptr); in thunk_type_next()
51 return thunk_type_next_ptr(type_ptr + 1); in thunk_type_next()
53 return type_ptr + 1; in thunk_type_next()
59 static const argtype *thunk_type_next_ptr(const argtype *type_ptr) in thunk_type_next_ptr() argument
61 return thunk_type_next(type_ptr); in thunk_type_next_ptr()
66 const argtype *type_ptr; in thunk_register_struct() local
[all …]
/openbmc/qemu/include/user/
H A Dthunk.h80 const argtype *type_ptr, int to_host);
81 const argtype *thunk_print(void *arg, const argtype *type_ptr);
85 int thunk_type_size_array(const argtype *type_ptr, int is_host);
86 int thunk_type_align_array(const argtype *type_ptr, int is_host);
88 static inline int thunk_type_size(const argtype *type_ptr, int is_host) in thunk_type_size() argument
93 type = *type_ptr; in thunk_type_size()
139 size = type_ptr[1]; in thunk_type_size()
140 return size * thunk_type_size_array(type_ptr + 2, is_host); in thunk_type_size()
142 se = struct_entries + type_ptr[1]; in thunk_type_size()
149 static inline int thunk_type_align(const argtype *type_ptr, int is_host) in thunk_type_align() argument
[all …]
/openbmc/linux/drivers/scsi/
H A Dses.c160 unsigned char *type_ptr = ses_dev->page1_types; in ses_set_page2_descriptor() local
165 for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) { in ses_set_page2_descriptor()
166 for (j = 0; j < type_ptr[1]; j++) { in ses_set_page2_descriptor()
168 if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE && in ses_set_page2_descriptor()
169 type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE) in ses_set_page2_descriptor()
190 unsigned char *type_ptr = ses_dev->page1_types; in ses_get_page2_descriptor() local
196 for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) { in ses_get_page2_descriptor()
197 for (j = 0; j < type_ptr[1]; j++) { in ses_get_page2_descriptor()
199 if (type_ptr[0] != ENCLOSURE_COMPONENT_DEVICE && in ses_get_page2_descriptor()
200 type_ptr[0] != ENCLOSURE_COMPONENT_ARRAY_DEVICE) in ses_get_page2_descriptor()
[all …]