| /lib/ |
| A D | ubsan.c | 143 WARN_ON(!type_is_int(type)); in type_is_signed() 164 if (is_inline_int(type)) { in get_signed_val() 179 return type_is_signed(type) && get_signed_val(type, val) < 0; in val_is_negative() 184 if (is_inline_int(type)) in get_unsigned_val() 196 if (type_is_int(type)) { in val_to_string() 245 struct type_descriptor *type = data->type; in handle_overflow() local 262 type->type_name); in handle_overflow() 345 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow() 364 data->type->type_name); in handle_null_ptr_deref() 419 .type = data->type, in __ubsan_handle_type_mismatch() [all …]
|
| A D | fw_table.c | 27 enum acpi_subtable_type type; member 33 switch (entry->type) { in acpi_get_entry_type() 35 return entry->hdr->common.type; in acpi_get_entry_type() 37 return entry->hdr->hmat.type; in acpi_get_entry_type() 41 return entry->hdr->cedt.type; in acpi_get_entry_type() 43 return entry->hdr->cdat.type; in acpi_get_entry_type() 51 switch (entry->type) { in acpi_get_entry_length() 72 switch (entry->type) { in acpi_get_subtable_header_length() 105 if (type == CDAT_SUBTABLE) { in acpi_table_get_length() 170 entry.type = type; in acpi_parse_entries_array() [all …]
|
| A D | nlattr.c | 127 switch (pt->type) { in nla_get_range_unsigned() 178 switch (pt->type) { in nla_validate_range_unsigned() 245 switch (pt->type) { in nla_get_range_signed() 294 switch (pt->type) { in nla_validate_int_range_signed() 405 if (type <= 0 || type > maxtype) in validate_nla() 408 type = array_index_nospec(type, maxtype + 1); in validate_nla() 413 if (nla_attr_len[pt->type] && attrlen != nla_attr_len[pt->type]) { in validate_nla() 424 if ((pt->type == NLA_NESTED || pt->type == NLA_NESTED_ARRAY) && in validate_nla() 430 if (pt->type != NLA_NESTED && pt->type != NLA_NESTED_ARRAY && in validate_nla() 625 if (type == 0 || type > maxtype) { in __nla_validate_parse() [all …]
|
| A D | maple_tree.c | 666 switch (type) { in ma_pivots() 688 switch (type) { in ma_gaps() 749 switch (type) { in mte_set_pivot() 904 switch (type) { in mt_clear_meta() 2081 b_node->type = wr_mas->type; in mas_store_b_node() 2339 mast->bn->type = wr_mas.type; in mast_ascend() 3405 WARN_ON_ONCE(type != wr_rebalance && type != wr_split_store); in mas_commit_b_node() 3493 enum maple_type type = wr_mas->type; in mas_is_span_wr() local 5209 node->type = type; in mte_dead_leaves() 5306 node->type = type; in mte_destroy_descend() [all …]
|
| A D | kobject.c | 61 if ((type <= KOBJ_NS_TYPE_NONE) || (type >= KOBJ_NS_TYPES)) in kobj_ns_type_is_valid() 1026 enum kobj_ns_type type = ops->type; in kobj_ns_type_register() local 1032 if (!kobj_ns_type_is_valid(type)) in kobj_ns_type_register() 1036 if (kobj_ns_ops_tbl[type]) in kobj_ns_type_register() 1040 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register() 1052 if (kobj_ns_type_is_valid(type)) in kobj_ns_type_registered() 1079 if (kobj_ns_type_is_valid(type) && kobj_ns_ops_tbl[type]) in kobj_ns_current_may_mount() 1091 if (kobj_ns_type_is_valid(type) && kobj_ns_ops_tbl[type]) in kobj_ns_grab_current() 1102 if (kobj_ns_type_is_valid(type) && in kobj_ns_drop() 1103 kobj_ns_ops_tbl[type] && kobj_ns_ops_tbl[type]->drop_ns) in kobj_ns_drop() [all …]
|
| A D | ubsan.h | 62 struct type_descriptor *type; member 74 struct type_descriptor *type; member 81 struct type_descriptor *type; member 88 struct type_descriptor *type; member 117 struct type_descriptor *type; member 123 struct type_descriptor *type; member
|
| A D | test-kstrtox.c | 16 #define DECLARE_TEST_OK(type, test_type) \ argument 20 type expected_res; \ 23 #define DEFINE_TEST_OK(type, test) \ argument 24 const type test[] __initconst 26 #define TEST_FAIL(fn, type, fmt, test) \ argument 32 type tmp; \ 45 #define TEST_OK(fn, type, fmt, test) \ argument 51 type res; \
|
| A D | logic_pio.c | 232 #define BUILD_LOGIC_IO(bwl, type) \ argument 233 type logic_in##bwl(unsigned long addr) \ 235 type ret = (type)~0; \ 244 addr, sizeof(type)); \ 251 void logic_out##bwl(type value, unsigned long addr) \ 260 addr, value, sizeof(type)); \ 276 addr, buffer, sizeof(type), count); \ 293 addr, buffer, sizeof(type), count); \
|
| A D | devres.c | 31 enum devm_ioremap_type type) in __devm_ioremap() argument 40 switch (type) { in __devm_ioremap() 125 enum devm_ioremap_type type) in __devm_ioremap_resource() argument 139 if (type == DEVM_IOREMAP && res->flags & IORESOURCE_MEM_NONPOSTED) in __devm_ioremap_resource() 140 type = DEVM_IOREMAP_NP; in __devm_ioremap_resource() 159 dest_ptr = __devm_ioremap(dev, res->start, size, type); in __devm_ioremap_resource()
|
| A D | kstrtox.c | 412 #define kstrto_from_user(f, g, type) \ argument 413 int f(const char __user *s, size_t count, unsigned int base, type *res) \ 416 char buf[1 + sizeof(type) * 8 + 1 + 1]; \
|
| A D | ts_fsm.c | 128 if (t->type) in match_token() 129 return (token_lookup_tbl[d] & t->type) != 0; in match_token() 274 if (t->type > TS_FSM_TYPE_MAX || t->recur > TS_FSM_RECUR_MAX) in fsm_init() 293 t->type = token_map[t->type]; in fsm_init()
|
| A D | interval_tree_test.c | 11 #define __param(type, name, init, msg) \ argument 12 static type name = init; \ 13 module_param(name, type, 0444); \
|
| A D | Kconfig.kgdb | 128 KDB can use a PS/2 type keyboard for an input device 138 will happen until you type 'go'. 140 you type 'go', you will be warned by kdb. The secend time you type
|
| A D | test_vmalloc.c | 21 #define __param(type, name, init, msg) \ argument 22 static type name = init; \ 23 module_param(name, type, 0444); \
|
| A D | rbtree_test.c | 9 #define __param(type, name, init, msg) \ argument 10 static type name = init; \ 11 module_param(name, type, 0444); \
|
| /lib/vdso/ |
| A D | getrandom.c | 23 #define MEMCPY_AND_ZERO_SRC(type, dst, src, len) do { \ argument 24 while (len >= sizeof(type)) { \ 25 __put_unaligned_t(type, __get_unaligned_t(type, src), dst); \ 26 __put_unaligned_t(type, 0, src); \ 27 dst += sizeof(type); \ 28 src += sizeof(type); \ 29 len -= sizeof(type); \
|
| /lib/zlib_inflate/ |
| A D | inftrees.c | 23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument 123 if (left > 0 && (type == CODES || max != 1)) in zlib_inflate_table() 168 switch (type) { in zlib_inflate_table() 198 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table() 266 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table()
|
| A D | inftrees.h | 56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
|
| /lib/pldmfw/ |
| A D | pldmfw.c | 203 pldm_check_desc_tlv_len(struct pldmfw_priv *data, u16 type, u16 size) in pldm_check_desc_tlv_len() argument 208 switch (type) { in pldm_check_desc_tlv_len() 234 dev_dbg(dev, "Found unrecognized TLV type 0x%04x\n", type); in pldm_check_desc_tlv_len() 240 type, size, expected_size); in pldm_check_desc_tlv_len() 270 u16 type, size; in pldm_parse_desc_tlvs() local 276 type = get_unaligned_le16(&__desc->type); in pldm_parse_desc_tlvs() 281 err = pldm_check_desc_tlv_len(data, type, size); in pldm_parse_desc_tlvs() 294 desc->type = type; in pldm_parse_desc_tlvs() 651 switch (desc->type) { in pldmfw_op_pci_match_record()
|
| /lib/crc/loongarch/ |
| A D | crc32.h | 15 #define _CRC32(crc, value, size, type) \ argument 18 #type ".w." #size ".w" " %0, %1, %0\n\t"\
|
| /lib/zstd/compress/ |
| A D | zstd_compress_sequences.h | 35 FSE_CTable* nextCTable, U32 FSELog, SymbolEncodingType_e type,
|
| A D | zstd_compress_superblock.c | 331 static size_t ZSTD_estimateSubBlockSize_symbolType(SymbolEncodingType_e type, in ZSTD_estimateSubBlockSize_symbolType() argument 346 if (type == set_basic) { in ZSTD_estimateSubBlockSize_symbolType() 352 } else if (type == set_rle) { in ZSTD_estimateSubBlockSize_symbolType() 354 } else if (type == set_compressed || type == set_repeat) { in ZSTD_estimateSubBlockSize_symbolType()
|
| /lib/kunit/ |
| A D | assert.c | 15 enum kunit_assert_type type, in kunit_assert_prologue() argument 20 switch (type) { in kunit_assert_prologue()
|
| A D | test.c | 282 enum kunit_assert_type type, const struct kunit_assert *assert, in kunit_fail() argument 298 kunit_assert_prologue(loc, type, stream); in kunit_fail() 322 enum kunit_assert_type type, in __kunit_do_failed_assertion() argument 334 kunit_fail(test, loc, type, assert, assert_format, &message); in __kunit_do_failed_assertion()
|
| /lib/reed_solomon/ |
| A D | test_rslib.c | 27 #define __param(type, name, init, msg) \ argument 28 static type name = init; \ 29 module_param(name, type, 0444); \
|