/lib/ |
D | ubsan.c | 53 static bool type_is_int(struct type_descriptor *type) in type_is_int() argument 55 return type->type_kind == type_kind_int; in type_is_int() 58 static bool type_is_signed(struct type_descriptor *type) in type_is_signed() argument 60 WARN_ON(!type_is_int(type)); in type_is_signed() 61 return type->type_info & 1; in type_is_signed() 64 static unsigned type_bit_width(struct type_descriptor *type) in type_bit_width() argument 66 return 1 << (type->type_info >> 1); in type_bit_width() 69 static bool is_inline_int(struct type_descriptor *type) in is_inline_int() argument 72 unsigned bits = type_bit_width(type); in is_inline_int() 74 WARN_ON(!type_is_int(type)); in is_inline_int() [all …]
|
D | nlattr.c | 123 switch (pt->type) { in nla_get_range_unsigned() 171 switch (pt->type) { in nla_validate_range_unsigned() 195 pt->type == NLA_BINARY && value > range.max) { in nla_validate_range_unsigned() 197 current->comm, pt->type); in nla_validate_range_unsigned() 209 bool binary = pt->type == NLA_BINARY; in nla_validate_range_unsigned() 227 switch (pt->type) { in nla_get_range_signed() 275 switch (pt->type) { in nla_validate_int_range_signed() 308 switch (pt->type) { in nla_validate_int_range() 333 switch (pt->type) { in nla_validate_mask() 364 int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); in validate_nla() local [all …]
|
D | kobject.c | 32 if (!ns_ops || ns_ops->type == KOBJ_NS_TYPE_NONE) in kobject_namespace() 119 BUG_ON(ops->type <= KOBJ_NS_TYPE_NONE); in create_dir() 120 BUG_ON(ops->type >= KOBJ_NS_TYPES); in create_dir() 121 BUG_ON(!kobj_ns_type_registered(ops->type)); in create_dir() 1043 enum kobj_ns_type type = ops->type; in kobj_ns_type_register() local 1049 if (type >= KOBJ_NS_TYPES) in kobj_ns_type_register() 1053 if (type <= KOBJ_NS_TYPE_NONE) in kobj_ns_type_register() 1057 if (kobj_ns_ops_tbl[type]) in kobj_ns_type_register() 1061 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register() 1068 int kobj_ns_type_registered(enum kobj_ns_type type) in kobj_ns_type_registered() argument [all …]
|
D | ubsan.h | 30 struct type_descriptor *type; member 35 struct type_descriptor *type; member 42 struct type_descriptor *type; member 49 struct type_descriptor *type; member 78 struct type_descriptor *type; member 84 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 | 235 #define BUILD_LOGIC_IO(bwl, type) \ argument 236 type logic_in##bwl(unsigned long addr) \ 238 type ret = (type)~0; \ 247 addr, sizeof(type)); \ 254 void logic_out##bwl(type value, unsigned long addr) \ 263 addr, value, sizeof(type)); \ 279 addr, buffer, sizeof(type), count); \ 296 addr, buffer, sizeof(type), count); \
|
D | vsprintf.c | 440 unsigned int type:8; /* format_type enum */ member 577 spec.type = FORMAT_TYPE_PTR; in special_hex_number() 2403 if (spec->type == FORMAT_TYPE_WIDTH) { in format_decode() 2408 spec->type = FORMAT_TYPE_NONE; in format_decode() 2413 if (spec->type == FORMAT_TYPE_PRECISION) { in format_decode() 2417 spec->type = FORMAT_TYPE_NONE; in format_decode() 2422 spec->type = FORMAT_TYPE_NONE; in format_decode() 2461 spec->type = FORMAT_TYPE_WIDTH; in format_decode() 2476 spec->type = FORMAT_TYPE_PRECISION; in format_decode() 2502 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 | devres.c | 27 enum devm_ioremap_type type) in __devm_ioremap() argument 35 switch (type) { in __devm_ioremap() 118 enum devm_ioremap_type type) in __devm_ioremap_resource() argument 146 dest_ptr = __devm_ioremap(dev, res->start, size, type); in __devm_ioremap_resource()
|
D | kstrtox.c | 391 #define kstrto_from_user(f, g, type) \ argument 392 int f(const char __user *s, size_t count, unsigned int base, type *res) \ 395 char buf[1 + sizeof(type) * 8 + 1 + 1]; \
|
D | iov_iter.c | 84 if (unlikely(i->type & ITER_BVEC)) { \ 88 } else if (unlikely(i->type & ITER_KVEC)) { \ 92 } else if (unlikely(i->type & ITER_DISCARD)) { \ 106 if (unlikely(i->type & ITER_BVEC)) { \ 114 } else if (unlikely(i->type & ITER_KVEC)) { \ 124 } else if (unlikely(i->type & ITER_DISCARD)) { \ 458 i->type = ITER_KVEC | direction; in iov_iter_init() 461 i->type = ITER_IOVEC | direction; in iov_iter_init() 908 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_to_iter() 934 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_from_iter() [all …]
|
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 | 127 KDB can use a PS/2 type keyboard for an input device 137 will happen until you type 'go'. 139 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); \
|
D | kobject_uevent.c | 63 enum kobject_action *type, in kobject_action_type() argument 91 *type = action; in kobject_action_type() 405 if (ops->type == KOBJ_NS_TYPE_NET) in kobject_uevent_net_broadcast()
|
D | Kconfig.kasan | 120 prompt "Instrumentation type" 173 This option enables best-effort identification of bug 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()
|
D | pldmfw_private.h | 92 __le16 type; /* DescriptorType */ member
|
/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); \
|
/lib/xz/ |
D | xz_dec_bcj.c | 28 } type; member 353 switch (s->type) { in bcj_apply() 564 s->type = id; in xz_dec_bcj_reset()
|
/lib/kunit/ |
D | assert.c | 18 switch (assert->type) { in kunit_base_assert_format()
|
/lib/raid6/ |
D | altivec.uc | 36 * This is the C data type to use. We use a vector of
|