Home
last modified time | relevance | path

Searched refs:type_name (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.15/rust/kernel/
H A Dio.rs111 ($(#[$attr:meta])* $name:ident, $try_name:ident, $c_fn:ident -> $type_name:ty) => {
118 pub fn $name(&self, offset: usize) -> $type_name {
119 let addr = self.io_addr_assert::<$type_name>(offset);
130 pub fn $try_name(&self, offset: usize) -> Result<$type_name> {
131 let addr = self.io_addr::<$type_name>(offset)?;
140 ($(#[$attr:meta])* $name:ident, $try_name:ident, $c_fn:ident <- $type_name:ty) => {
147 pub fn $name(&self, value: $type_name, offset: usize) {
148 let addr = self.io_addr_assert::<$type_name>(offset);
159 pub fn $try_name(&self, value: $type_name, offset: usize) -> Result {
160 let addr = self.io_addr::<$type_name>(offset)?;
/linux-6.15/tools/net/sunrpc/xdrgen/generators/
H A Dunion.py31 type=node.spec.type_name,
48 type=node.arm.spec.type_name,
77 print(template.render(name=node.name, type=node.spec.type_name))
100 type=node.arm.spec.type_name,
114 if default_case is None and node.discriminant.spec.type_name == "bool":
130 type=default_case.arm.spec.type_name,
147 node.discriminant.spec.type_name in big_endian,
162 print(template.render(name=node.name, type=node.spec.type_name))
184 type=node.arm.spec.type_name,
212 type=default_case.arm.spec.type_name,
[all …]
H A Dtypedef.py45 type=node.spec.type_name,
54 type=node.spec.type_name,
91 type=node.spec.type_name,
100 type=node.spec.type_name,
119 type=node.spec.type_name,
151 type=node.spec.type_name,
161 type=node.spec.type_name,
180 type=node.spec.type_name,
212 type=node.spec.type_name,
221 type=node.spec.type_name,
H A Dprogram.py40 arguments[procedure.argument.type_name] = None
50 results[procedure.result.type_name] = None
65 arguments[procedure.argument.type_name] = None
79 results[procedure.result.type_name] = None
93 arguments[procedure.argument.type_name] = None
107 results[procedure.result.type_name] = None
H A Dstruct.py102 type=field.spec.type_name,
135 type=field.spec.type_name,
145 type=field.spec.type_name,
155 type=field.spec.type_name,
182 type=field.spec.type_name,
214 type=field.spec.type_name,
223 type=field.spec.type_name,
232 type=field.spec.type_name,
H A Dpointer.py102 type=field.spec.type_name,
135 type=field.spec.type_name,
145 type=field.spec.type_name,
155 type=field.spec.type_name,
182 type=field.spec.type_name,
214 type=field.spec.type_name,
223 type=field.spec.type_name,
232 type=field.spec.type_name,
H A D__init__.py67 if spec.type_name in builtin_native_c_type:
68 return builtin_native_c_type[spec.type_name]
69 return spec.type_name
/linux-6.15/lib/
H A Dubsan.c260 type->type_name); in handle_overflow()
300 old_val_str, data->type->type_name); in __ubsan_handle_negate_overflow()
321 data->from_type->type_name, in __ubsan_handle_implicit_conversion()
324 data->to_type->type_name, in __ubsan_handle_implicit_conversion()
345 rhs_val_str, data->type->type_name); in __ubsan_handle_divrem_overflow()
362 data->type->type_name); in handle_null_ptr_deref()
377 (void *)ptr, data->type->type_name); in handle_misaligned_access()
452 data->array_type->type_name); in __ubsan_handle_out_of_bounds()
482 lhs_type->type_name); in __ubsan_handle_shift_out_of_bounds()
490 lhs_type->type_name); in __ubsan_handle_shift_out_of_bounds()
[all …]
H A Dcodetag.c216 const char *type_name; in codetag_needs_module_section() local
223 type_name = name + strlen(CODETAG_SECTION_PREFIX); in codetag_needs_module_section()
226 if (strcmp(type_name, cttype->desc.section) == 0) { in codetag_needs_module_section()
245 const char *type_name = name + strlen(CODETAG_SECTION_PREFIX); in codetag_alloc_module_section() local
251 if (strcmp(type_name, cttype->desc.section) == 0) { in codetag_alloc_module_section()
/linux-6.15/drivers/md/
H A Ddm-exception-store.c73 static struct dm_exception_store_type *get_type(const char *type_name) in get_type() argument
78 type = _get_exception_store_type(type_name); in get_type()
82 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
84 DMERR("No memory left to attempt load for \"%s\"", type_name); in get_type()
89 !(type = _get_exception_store_type(type_name))) { in get_type()
97 DMWARN("Module for exstore type \"%s\" not found.", type_name); in get_type()
H A Ddm-log.c66 static struct dm_dirty_log_type *get_type(const char *type_name) in get_type() argument
71 if (!type_name) in get_type()
74 log_type = _get_dirty_log_type(type_name); in get_type()
78 type_name_dup = kstrdup(type_name, GFP_KERNEL); in get_type()
81 type_name); in get_type()
86 !(log_type = _get_dirty_log_type(type_name))) { in get_type()
94 DMWARN("Module for logging type \"%s\" not found.", type_name); in get_type()
148 struct dm_dirty_log *dm_dirty_log_create(const char *type_name, in dm_dirty_log_create() argument
160 type = get_type(type_name); in dm_dirty_log_create()
/linux-6.15/tools/net/sunrpc/xdrgen/
H A Dxdr_ast.py90 type_name: str
103 if self.type_name in structs:
105 symbolic_widths[self.type_name] = self.symbolic_width()
114 return symbolic_widths[self.type_name]
206 item_width = " + ".join(symbolic_widths[self.spec.type_name])
273 return max_widths[self.spec.type_name]
277 return symbolic_widths[self.spec.type_name]
421 if new_type.spec.type_name in pass_by_reference:
560 return _XdrDefinedType(type_name=name)
563 return _XdrBuiltInType(type_name=name)
[all …]
/linux-6.15/drivers/hwmon/
H A Dmax1668.c196 const char *type_name; in max1668_detect() local
211 type_name = NULL; in max1668_detect()
213 type_name = "max1668"; in max1668_detect()
215 type_name = "max1805"; in max1668_detect()
217 type_name = "max1989"; in max1668_detect()
219 if (!type_name) in max1668_detect()
222 strscpy(info->type, type_name, I2C_NAME_SIZE); in max1668_detect()
H A Dthmc50.c314 const char *type_name; in thmc50_detect() local
334 type_name = "adm1022"; in thmc50_detect()
346 type_name = "thmc50"; in thmc50_detect()
353 type_name, (revision >> 4) - 0xc, revision & 0xf); in thmc50_detect()
355 strscpy(info->type, type_name, I2C_NAME_SIZE); in thmc50_detect()
H A Dlm85.c1489 type_name = "lm85c"; in lm85_detect()
1492 type_name = "lm85b"; in lm85_detect()
1502 type_name = "lm96000"; in lm85_detect()
1508 type_name = "adm1027"; in lm85_detect()
1512 type_name = "adt7463"; in lm85_detect()
1516 type_name = "adt7468"; in lm85_detect()
1524 type_name = "emc6d100"; in lm85_detect()
1527 type_name = "emc6d102"; in lm85_detect()
1531 type_name = "emc6d103"; in lm85_detect()
1534 type_name = "emc6d103s"; in lm85_detect()
[all …]
/linux-6.15/tools/testing/selftests/arm64/abi/
H A Dptrace.c135 static void test_hw_debug(pid_t child, int type, const char *type_name) in test_hw_debug() argument
146 ksft_test_result(ret == 0, "read_%s\n", type_name); in test_hw_debug()
153 ksft_print_msg("%s version %d with %d slots\n", type_name, in test_hw_debug()
157 ksft_test_result(arch, "%s_arch_set\n", type_name); in test_hw_debug()
159 ksft_test_result_skip("%s_arch_set\n", type_name); in test_hw_debug()
/linux-6.15/tools/perf/tests/
H A Dsigtrap.c97 const char *type_name; in kernel_with_sleepable_spinlocks() local
117 type_name = btf__name_by_offset(btf, type->name_off); in kernel_with_sleepable_spinlocks()
118 return type_name && !strcmp(type_name, "rt_mutex_base"); in kernel_with_sleepable_spinlocks()
/linux-6.15/net/rfkill/
H A Drfkill-gpio.c100 const char *type_name; in rfkill_gpio_probe() local
118 device_property_read_string(&pdev->dev, type_property, &type_name); in rfkill_gpio_probe()
123 rfkill->type = rfkill_find_type(type_name); in rfkill_gpio_probe()
/linux-6.15/arch/alpha/kernel/
H A Dsetup.c426 char *type_name, *var_name, *p; in setup_arch() local
543 cpu->type, &type_name, &var_name); in setup_arch()
554 type_name, (*var_name ? " variation " : ""), var_name, in setup_arch()
566 type_name, (*var_name ? " variation " : ""), in setup_arch()
911 char **type_name, char **variation_name) in get_sysnames() argument
918 *type_name = systype_names[type]; in get_sysnames()
921 *type_name = api_names[type - ST_API_BIAS]; in get_sysnames()
924 *type_name = unofficial_names[type - ST_UNOFFICIAL_BIAS]; in get_sysnames()
926 *type_name = sys_unknown; in get_sysnames()
/linux-6.15/drivers/mfd/
H A Darizona-core.c938 const char *type_name = NULL; in arizona_dev_init() local
1134 type_name = "WM5102"; in arizona_dev_init()
1152 type_name = "WM5110"; in arizona_dev_init()
1155 type_name = "WM8280"; in arizona_dev_init()
1158 type_name = "WM5110"; in arizona_dev_init()
1175 type_name = "CS47L24"; in arizona_dev_init()
1179 type_name = "WM1831"; in arizona_dev_init()
1197 type_name = "WM8997"; in arizona_dev_init()
1214 type_name = "WM8998"; in arizona_dev_init()
1218 type_name = "WM1814"; in arizona_dev_init()
[all …]
H A Datc260x-core.c212 atc260x->type_name = "atc2603c"; in atc260x_match_device()
221 atc260x->type_name = "atc2609a"; in atc260x_match_device()
283 atc260x->type_name, 'A' + atc260x->ic_ver); in atc260x_device_probe()
/linux-6.15/tools/perf/util/
H A Dannotate-data.c204 return strcmp(key->self.type_name, type->self.type_name); in data_type_cmp()
216 return strcmp(a->self.type_name, b->self.type_name) < 0; in data_type_less()
264 member->type_name = strbuf_detach(&sb, NULL); in __add_member_cb()
311 zfree(&child->type_name); in delete_members()
358 char *type_name; in dso__findnew_data_type() local
364 type_name = strbuf_detach(&sb, NULL); in dso__findnew_data_type()
372 key.self.type_name = type_name; in dso__findnew_data_type()
377 free(type_name); in dso__findnew_data_type()
384 free(type_name); in dso__findnew_data_type()
388 result->self.type_name = type_name; in dso__findnew_data_type()
[all …]
/linux-6.15/tools/perf/
H A Dbuiltin-annotate.c458 const char *type_name = he->mem_type->self.type_name; in hists__find_annotations() local
462 !strncmp(type_name, "struct ", 7)) in hists__find_annotations()
463 type_name += 7; in hists__find_annotations()
467 !strncmp(type_name, "union ", 6)) in hists__find_annotations()
468 type_name += 6; in hists__find_annotations()
470 if (strcmp(ann->target_data_type, type_name)) in hists__find_annotations()
/linux-6.15/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_simple_resource.c213 func->res_func.type_name, in vmw_simple_resource_lookup()
221 func->res_func.type_name, in vmw_simple_resource_lookup()
/linux-6.15/rust/pin-init/src/
H A Dmacros.rs1179 @type_name($t),
1302 @type_name($t:path),
1333 @type_name($t:path),
1356 @type_name($t:path),
1362 @type_name($t),
1369 @type_name($t:path),
1375 @type_name($t),

1234