| /lib/ |
| D | ubsan.c | 134 static bool type_is_int(struct type_descriptor *type) in type_is_int() argument 136 return type->type_kind == type_kind_int; in type_is_int() 139 static bool type_is_signed(struct type_descriptor *type) in type_is_signed() argument 141 WARN_ON(!type_is_int(type)); in type_is_signed() 142 return type->type_info & 1; in type_is_signed() 145 static unsigned type_bit_width(struct type_descriptor *type) in type_bit_width() argument 147 return 1 << (type->type_info >> 1); in type_bit_width() 150 static bool is_inline_int(struct type_descriptor *type) in is_inline_int() argument 153 unsigned bits = type_bit_width(type); in is_inline_int() 155 WARN_ON(!type_is_int(type)); in is_inline_int() [all …]
|
| 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() 102 acpi_table_get_length(enum acpi_subtable_type type, in acpi_table_get_length() argument 105 if (type == CDAT_SUBTABLE) { in acpi_table_get_length() [all …]
|
| D | nlattr.c | 127 switch (pt->type) { in nla_get_range_unsigned() 178 switch (pt->type) { in nla_validate_range_unsigned() 213 pt->type == NLA_BINARY && value > range.max) { in nla_validate_range_unsigned() 215 current->comm, pt->type); in nla_validate_range_unsigned() 227 bool binary = pt->type == NLA_BINARY; in nla_validate_range_unsigned() 245 switch (pt->type) { in nla_get_range_signed() 294 switch (pt->type) { in nla_validate_int_range_signed() 330 switch (pt->type) { in nla_validate_int_range() 359 switch (pt->type) { in nla_validate_mask() 399 int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); in validate_nla() local [all …]
|
| D | kobject.c | 34 if (!ns_ops || ns_ops->type == KOBJ_NS_TYPE_NONE) in kobject_namespace() 59 static bool kobj_ns_type_is_valid(enum kobj_ns_type type) in kobj_ns_type_is_valid() argument 61 if ((type <= KOBJ_NS_TYPE_NONE) || (type >= KOBJ_NS_TYPES)) in kobj_ns_type_is_valid() 97 BUG_ON(!kobj_ns_type_is_valid(ops->type)); in create_dir() 98 BUG_ON(!kobj_ns_type_registered(ops->type)); in create_dir() 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() 1047 int kobj_ns_type_registered(enum kobj_ns_type type) in kobj_ns_type_registered() argument [all …]
|
| D | maple_tree.c | 133 enum maple_type type; member 227 static __always_inline bool ma_is_dense(const enum maple_type type) in ma_is_dense() argument 229 return type < maple_leaf_64; in ma_is_dense() 232 static __always_inline bool ma_is_leaf(const enum maple_type type) in ma_is_leaf() argument 234 return type < maple_range_64; in ma_is_leaf() 335 enum maple_type type) in mt_mk_node() argument 338 (type << MAPLE_ENODE_TYPE_SHIFT) | MAPLE_ENODE_NULL); in mt_mk_node() 491 unsigned long type; in mas_set_parent() local 501 type = MAPLE_PARENT_RANGE64; in mas_set_parent() 506 shift = type = 0; in mas_set_parent() [all …]
|
| D | ubsan.h | 62 struct type_descriptor *type; member 67 struct type_descriptor *type; member 74 struct type_descriptor *type; member 81 struct type_descriptor *type; member 110 struct type_descriptor *type; member 116 struct type_descriptor *type; member
|
| 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; \
|
| 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); \
|
| D | devres.c | 31 enum devm_ioremap_type type) in __devm_ioremap() argument 40 switch (type) { in __devm_ioremap() 126 enum devm_ioremap_type type) in __devm_ioremap_resource() argument 140 if (type == DEVM_IOREMAP && res->flags & IORESOURCE_MEM_NONPOSTED) in __devm_ioremap_resource() 141 type = DEVM_IOREMAP_NP; in __devm_ioremap_resource() 160 dest_ptr = __devm_ioremap(dev, res->start, size, type); in __devm_ioremap_resource()
|
| D | vsprintf.c | 445 unsigned int type:8; /* format_type enum */ member 582 spec.type = FORMAT_TYPE_PTR; in special_hex_number() 2516 if (spec->type == FORMAT_TYPE_WIDTH) { in format_decode() 2521 spec->type = FORMAT_TYPE_NONE; in format_decode() 2526 if (spec->type == FORMAT_TYPE_PRECISION) { in format_decode() 2530 spec->type = FORMAT_TYPE_NONE; in format_decode() 2535 spec->type = FORMAT_TYPE_NONE; in format_decode() 2574 spec->type = FORMAT_TYPE_WIDTH; in format_decode() 2589 spec->type = FORMAT_TYPE_PRECISION; in format_decode() 2615 spec->type = FORMAT_TYPE_CHAR; in format_decode() [all …]
|
| D | interval_tree_test.c | 9 #define __param(type, name, init, msg) \ argument 10 static type name = init; \ 11 module_param(name, type, 0444); \
|
| D | kstrtox.c | 408 #define kstrto_from_user(f, g, type) \ argument 409 int f(const char __user *s, size_t count, unsigned int base, type *res) \ 412 char buf[1 + sizeof(type) * 8 + 1 + 1]; \
|
| 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()
|
| 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
|
| D | test_vmalloc.c | 21 #define __param(type, name, init, msg) \ argument 22 static type name = init; \ 23 module_param(name, type, 0444); \
|
| 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/ |
| D | getrandom.c | 20 #define MEMCPY_AND_ZERO_SRC(type, dst, src, len) do { \ argument 21 while (len >= sizeof(type)) { \ 22 __put_unaligned_t(type, __get_unaligned_t(type, src), dst); \ 23 __put_unaligned_t(type, 0, src); \ 24 dst += sizeof(type); \ 25 src += sizeof(type); \ 26 len -= sizeof(type); \
|
| /lib/zlib_inflate/ |
| 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()
|
| D | inftrees.h | 56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
|
| /lib/pldmfw/ |
| 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() 643 switch (desc->type) { in pldmfw_op_pci_match_record()
|
| /lib/zstd/compress/ |
| D | zstd_compress_superblock.c | 325 static size_t ZSTD_estimateSubBlockSize_symbolType(symbolEncodingType_e type, in ZSTD_estimateSubBlockSize_symbolType() argument 340 if (type == set_basic) { in ZSTD_estimateSubBlockSize_symbolType() 346 } else if (type == set_rle) { in ZSTD_estimateSubBlockSize_symbolType() 348 } else if (type == set_compressed || type == set_repeat) { in ZSTD_estimateSubBlockSize_symbolType()
|
| D | zstd_compress_sequences.h | 33 FSE_CTable* nextCTable, U32 FSELog, symbolEncodingType_e type,
|
| /lib/kunit/ |
| D | assert.c | 15 enum kunit_assert_type type, in kunit_assert_prologue() argument 20 switch (type) { in kunit_assert_prologue()
|
| D | test.c | 275 enum kunit_assert_type type, const struct kunit_assert *assert, in kunit_fail() argument 291 kunit_assert_prologue(loc, type, stream); in kunit_fail() 315 enum kunit_assert_type type, in __kunit_do_failed_assertion() argument 327 kunit_fail(test, loc, type, assert, assert_format, &message); in __kunit_do_failed_assertion()
|
| /lib/reed_solomon/ |
| D | test_rslib.c | 27 #define __param(type, name, init, msg) \ argument 28 static type name = init; \ 29 module_param(name, type, 0444); \
|