Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 26) sorted by relevance

12

/lib/
Dubsan.c60 static bool type_is_int(struct type_descriptor *type) in type_is_int() argument
62 return type->type_kind == type_kind_int; in type_is_int()
65 static bool type_is_signed(struct type_descriptor *type) in type_is_signed() argument
67 WARN_ON(!type_is_int(type)); in type_is_signed()
68 return type->type_info & 1; in type_is_signed()
71 static unsigned type_bit_width(struct type_descriptor *type) in type_bit_width() argument
73 return 1 << (type->type_info >> 1); in type_bit_width()
76 static bool is_inline_int(struct type_descriptor *type) in is_inline_int() argument
79 unsigned bits = type_bit_width(type); in is_inline_int()
81 WARN_ON(!type_is_int(type)); in is_inline_int()
[all …]
Dkobject.c32 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()
1016 enum kobj_ns_type type = ops->type; in kobj_ns_type_register() local
1022 if (type >= KOBJ_NS_TYPES) in kobj_ns_type_register()
1026 if (type <= KOBJ_NS_TYPE_NONE) in kobj_ns_type_register()
1030 if (kobj_ns_ops_tbl[type]) in kobj_ns_type_register()
1034 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register()
1041 int kobj_ns_type_registered(enum kobj_ns_type type) in kobj_ns_type_registered() argument
[all …]
Dnlattr.c111 switch (pt->type) { in nla_validate_int_range()
163 int minlen = 0, attrlen = nla_len(nla), type = nla_type(nla); in validate_nla() local
166 if (strict_start_type && type >= strict_start_type) in validate_nla()
169 if (type <= 0 || type > maxtype) in validate_nla()
172 pt = &policy[type]; in validate_nla()
174 BUG_ON(pt->type > NLA_TYPE_MAX); in validate_nla()
176 if ((nla_attr_len[pt->type] && attrlen != nla_attr_len[pt->type]) || in validate_nla()
177 (pt->type == NLA_EXACT_LEN_WARN && attrlen != pt->len)) { in validate_nla()
179 current->comm, type); in validate_nla()
188 if ((pt->type == NLA_NESTED || pt->type == NLA_NESTED_ARRAY) && in validate_nla()
[all …]
Dubsan.h30 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
Dtest-kstrtox.c16 #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; \
Dlogic_pio.c230 #define BUILD_LOGIC_IO(bw, type) \ argument
231 type logic_in##bw(unsigned long addr) \
233 type ret = (type)~0; \
242 addr, sizeof(type)); \
249 void logic_out##bw(type value, unsigned long addr) \
258 addr, value, sizeof(type)); \
274 addr, buffer, sizeof(type), count); \
291 addr, buffer, sizeof(type), count); \
Dvsprintf.c404 unsigned int type:8; /* format_type enum */ member
541 spec.type = FORMAT_TYPE_PTR; in special_hex_number()
2242 if (spec->type == FORMAT_TYPE_WIDTH) { in format_decode()
2247 spec->type = FORMAT_TYPE_NONE; in format_decode()
2252 if (spec->type == FORMAT_TYPE_PRECISION) { in format_decode()
2256 spec->type = FORMAT_TYPE_NONE; in format_decode()
2261 spec->type = FORMAT_TYPE_NONE; in format_decode()
2300 spec->type = FORMAT_TYPE_WIDTH; in format_decode()
2315 spec->type = FORMAT_TYPE_PRECISION; in format_decode()
2341 spec->type = FORMAT_TYPE_CHAR; in format_decode()
[all …]
Dinterval_tree_test.c9 #define __param(type, name, init, msg) \ argument
10 static type name = init; \
11 module_param(name, type, 0444); \
Diov_iter.c80 if (unlikely(i->type & ITER_BVEC)) { \
84 } else if (unlikely(i->type & ITER_KVEC)) { \
88 } else if (unlikely(i->type & ITER_DISCARD)) { \
102 if (unlikely(i->type & ITER_BVEC)) { \
110 } else if (unlikely(i->type & ITER_KVEC)) { \
120 } else if (unlikely(i->type & ITER_DISCARD)) { \
425 if (!(i->type & (ITER_BVEC|ITER_KVEC))) { in iov_iter_fault_in_readable()
445 i->type = ITER_KVEC | direction; in iov_iter_init()
448 i->type = ITER_IOVEC | direction; in iov_iter_init()
892 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_to_iter()
[all …]
Dkstrtox.c387 #define kstrto_from_user(f, g, type) \ argument
388 int f(const char __user *s, size_t count, unsigned int base, type *res) \
391 char buf[1 + sizeof(type) * 8 + 1 + 1]; \
DKconfig.kgdb107 KDB can use a PS/2 type keyboard for an input device
117 will happen until you type 'go'.
119 you type 'go', you will be warned by kdb. The secend time you type
Dts_fsm.c128 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()
Dtest_vmalloc.c19 #define __param(type, name, init, msg) \ argument
20 static type name = init; \
21 module_param(name, type, 0444); \
Drbtree_test.c9 #define __param(type, name, init, msg) \ argument
10 static type name = init; \
11 module_param(name, type, 0444); \
Ddevres.c27 enum devm_ioremap_type type) in __devm_ioremap() argument
35 switch (type) { in __devm_ioremap()
Dkobject_uevent.c63 enum kobject_action *type, in kobject_action_type() argument
91 *type = action; in kobject_action_type()
404 if (ops->type == KOBJ_NS_TYPE_NET) in kobject_uevent_net_broadcast()
DKconfig.kasan83 prompt "Instrumentation type"
141 This option enables best-effort identification of bug type
DKconfig.debug227 Generate deduplicated BTF type information from DWARF debug info.
229 DWARF type info into equivalent deduplicated BTF type info.
/lib/zlib_inflate/
Dinftrees.c23 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()
Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
/lib/reed_solomon/
Dtest_rslib.c27 #define __param(type, name, init, msg) \ argument
28 static type name = init; \
29 module_param(name, type, 0444); \
/lib/xz/
Dxz_dec_bcj.c28 } type; member
353 switch (s->type) { in bcj_apply()
564 s->type = id; in xz_dec_bcj_reset()
/lib/raid6/
Daltivec.uc36 * This is the C data type to use. We use a vector of
Dint.uc24 * This is the C data type to use
/lib/zstd/
Ddecompress.c752 …E_DTable *DTableSpace, const FSE_DTable **DTablePtr, symbolEncodingType_e type, U32 max, U32 maxLo… in ZSTD_buildSeqTable() argument
756 switch (type) { in ZSTD_buildSeqTable()

12