Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 27) sorted by relevance

12

/lib/
Dtest_rhashtable.c63 struct test_obj_val value; member
68 struct test_obj_val value; member
83 return (obj->value.id % 10); in my_hashfn()
91 return test_obj->value.id - val->id; in my_cmpfn()
96 .key_offset = offsetof(struct test_obj, value),
103 .key_offset = offsetof(struct test_obj_rhl, value),
149 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup()
162 if (obj->value.id != i) { in test_rht_lookup()
164 obj->value.id, i); in test_rht_lookup()
225 obj->value.id = i * 2; in test_rhashtable()
[all …]
Dnlattr.c75 if (bf->value & ~valid_flags_mask) in validate_nla_bitfield32()
79 if (bf->value & ~bf->selector) in validate_nla_bitfield32()
169 u64 value; in nla_validate_range_unsigned() local
173 value = nla_get_u8(nla); in nla_validate_range_unsigned()
176 value = nla_get_u16(nla); in nla_validate_range_unsigned()
179 value = nla_get_u32(nla); in nla_validate_range_unsigned()
183 value = nla_get_u64(nla); in nla_validate_range_unsigned()
186 value = nla_len(nla); in nla_validate_range_unsigned()
195 pt->type == NLA_BINARY && value > range.max) { in nla_validate_range_unsigned()
208 if (value < range.min || value > range.max) { in nla_validate_range_unsigned()
[all …]
Dcmdline.c59 int value; in get_option() local
64 value = -simple_strtoull(++cur, str, 0); in get_option()
66 value = simple_strtoull(cur, str, 0); in get_option()
68 *pint = value; in get_option()
Dtest_list_sort.c25 int value; member
55 return ela->value - elb->value; in cmp()
74 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
Dfault-inject.c172 struct dentry *parent, unsigned long *value) in debugfs_create_ul() argument
174 debugfs_create_file(name, mode, parent, value, &fops_ul); in debugfs_create_ul()
192 unsigned long *value) in debugfs_create_stacktrace_depth() argument
194 debugfs_create_file(name, mode, parent, value, &fops_stacktrace_depth); in debugfs_create_stacktrace_depth()
Dlogic_iomem.c195 static void real_memset_io(volatile void __iomem *addr, int value, size_t size) in real_memset_io() argument
254 void memset_io(volatile void __iomem *addr, int value, size_t size) in memset_io() argument
260 real_memset_io(addr, value, size); in memset_io()
267 area->ops->set(area->priv, start, value, size); in memset_io()
272 area->ops->write(area->priv, start + offs, 1, value); in memset_io()
Dstring.c1079 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument
1082 if (*start != value) in check_bytes8()
1101 u8 value = c; in memchr_inv() local
1106 return check_bytes8(start, value, bytes); in memchr_inv()
1108 value64 = value; in memchr_inv()
1125 r = check_bytes8(start, value, prefix); in memchr_inv()
1136 return check_bytes8(start, value, 8); in memchr_inv()
1141 return check_bytes8(start, value, bytes % 8); in memchr_inv()
Dnotifier-error-inject.c22 struct dentry *parent, int *value) in debugfs_create_errno() argument
24 return debugfs_create_file(name, mode, parent, value, &fops_errno); in debugfs_create_errno()
Dextable.c114 unsigned long value) in search_extable() argument
116 return bsearch(&value, base, num, in search_extable()
DKconfig.kcsan87 than default value.
107 limited number of CPUs, a larger value helps to improve performance
109 conservative value; we should almost never observe "no_capacity"
140 memory operations are used to set up a watchpoint. A smaller value
141 results in more aggressive race detection, whereas a larger value
149 KCSAN_WATCH_SKIP. If false, the chosen value is always
184 reported if it was only possible to infer a race due to a data value
195 bool "Only report races where watcher observed a data value change"
200 the data value of the memory location was observed to remain
Dubsan.c112 void *value) in val_to_string() argument
117 u_max val = get_unsigned_val(type, value); in val_to_string()
129 (s64)get_signed_val(type, value)); in val_to_string()
132 (u64)get_unsigned_val(type, value)); in val_to_string()
Dlogic_pio.c254 void logic_out##bwl(type value, unsigned long addr) \
257 _out##bwl(value, addr); \
263 addr, value, sizeof(type)); \
Dtest_printf.c589 unsigned long value; member
632 pft[i].value = values[i]; in page_flags_test()
643 page_flags |= (pft[i].value & pft[i].mask) << pft[i].shift; in page_flags_test()
647 pft[i].value & pft[i].mask); in page_flags_test()
Dvsprintf.c1005 unsigned long value; in symbol_string() local
1012 value = (unsigned long)ptr; in symbol_string()
1016 sprint_backtrace_build_id(sym, value); in symbol_string()
1018 sprint_backtrace(sym, value); in symbol_string()
1020 sprint_symbol_build_id(sym, value); in symbol_string()
1022 sprint_symbol(sym, value); in symbol_string()
1024 sprint_symbol_no_offset(sym, value); in symbol_string()
1028 return special_hex_number(buf, end, value, sizeof(void *)); in symbol_string()
3055 unsigned long long value; \ in vbin_printf()
3064 value = val8; \ in vbin_printf()
[all …]
DKconfig.kfence37 setting "kfence.sample_interval" to a non-zero value enables KFENCE.
70 and allocations/frees. A value of 0 disables stress testing logic.
DKconfig423 Constant value for Galois field order 'm'. If 'k' is the
426 Drivers should declare a default value for this symbol if
432 Constant value for error correction capability in bits 't'.
433 Drivers should declare a default value for this symbol if
685 Choose a lower value to reduce the memory impact.
DKconfig.debug58 value is specified here as well.
88 or pick a different CONSOLE_LOGLEVEL_DEFAULT configuration value.
100 the "loops per jiffie" value.
101 See a previous boot log for the "lpj" value to use for your
678 int "debug_objects bootup default value (0-1)"
683 Debug objects boot parameter default value
1020 Set the timeout value (in seconds) until a reboot occurs when
1022 value n > 0 will wait n seconds before rebooting, while a timeout
1023 value n < 0 will reboot immediately.
1138 sysctl or by writing a value to
[all …]
/lib/zlib_deflate/
Ddefutil.h361 static void send_bits (deflate_state *s, int value, int length);
365 int value, /* value to send */ in send_bits() argument
369 Tracevv((stderr," l %2d v %4x ", length, value)); in send_bits()
378 s->bi_buf |= (value << s->bi_valid); in send_bits()
380 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); in send_bits()
383 s->bi_buf |= value << s->bi_valid; in send_bits()
389 #define send_bits(s, value, length) \ argument
392 int val = value;\
398 s->bi_buf |= (value) << s->bi_valid;\
406 int value, in zlib_tr_send_bits() argument
[all …]
/lib/kunit/
Dassert.c77 if (!ptr_assert->value) { in kunit_ptr_not_err_assert_format()
81 } else if (IS_ERR(ptr_assert->value)) { in kunit_ptr_not_err_assert_format()
85 PTR_ERR(ptr_assert->value)); in kunit_ptr_not_err_assert_format()
92 static bool is_literal(struct kunit *test, const char *text, long long value, in is_literal() argument
99 len = snprintf(NULL, 0, "%lld", value); in is_literal()
107 snprintf(buffer, len+1, "%lld", value); in is_literal()
169 static bool is_str_literal(const char *text, const char *value) in is_str_literal() argument
179 return strncmp(text + 1, value, len - 2) == 0; in is_str_literal()
/lib/zstd/
Dmem.h67 ZSTD_STATIC void ZSTD_write16(void *memPtr, U16 value) { put_unaligned(value, (U16 *)memPtr); } in ZSTD_write16() argument
69 ZSTD_STATIC void ZSTD_write32(void *memPtr, U32 value) { put_unaligned(value, (U32 *)memPtr); } in ZSTD_write32() argument
71 ZSTD_STATIC void ZSTD_write64(void *memPtr, U64 value) { put_unaligned(value, (U64 *)memPtr); } in ZSTD_write64() argument
Dfse.h295 ptrdiff_t value; member
432 statePtr->value = (ptrdiff_t)1 << tableLog; in FSE_initCState()
448 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
449 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2()
457 U32 nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
458 BIT_addBits(bitC, statePtr->value, nbBitsOut); in FSE_encodeSymbol()
459 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol()
464 BIT_addBits(bitC, statePtr->value, statePtr->stateLog); in FSE_flushCState()
Dbitstream.h79 ZSTD_STATIC void BIT_addBits(BIT_CStream_t *bitC, size_t value, unsigned nbBits);
136 ZSTD_STATIC void BIT_addBitsFast(BIT_CStream_t *bitC, size_t value, unsigned nbBits);
177 ZSTD_STATIC void BIT_addBits(BIT_CStream_t *bitC, size_t value, unsigned nbBits) in BIT_addBits() argument
179 bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; in BIT_addBits()
185 ZSTD_STATIC void BIT_addBitsFast(BIT_CStream_t *bitC, size_t value, unsigned nbBits) in BIT_addBitsFast() argument
187 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast()
323 size_t const value = BIT_lookBits(bitD, nbBits); in BIT_readBits() local
325 return value; in BIT_readBits()
332 size_t const value = BIT_lookBitsFast(bitD, nbBits); in BIT_readBitsFast() local
334 return value; in BIT_readBitsFast()
/lib/lz4/
Dlz4defs.h120 static FORCE_INLINE void LZ4_write16(void *memPtr, U16 value) in LZ4_write16() argument
122 put_unaligned(value, (U16 *)memPtr); in LZ4_write16()
125 static FORCE_INLINE void LZ4_write32(void *memPtr, U32 value) in LZ4_write32() argument
127 put_unaligned(value, (U32 *)memPtr); in LZ4_write32()
135 static FORCE_INLINE void LZ4_writeLE16(void *memPtr, U16 value) in LZ4_writeLE16() argument
137 return put_unaligned_le16(value, memPtr); in LZ4_writeLE16()
/lib/mpi/
Dmpiutil.c32 unsigned long value; in mpi_init() local
37 value = 0; in mpi_init()
40 value = 1; in mpi_init()
43 value = 2; in mpi_init()
46 value = 3; in mpi_init()
49 value = 4; in mpi_init()
52 value = 8; in mpi_init()
58 constants[idx] = mpi_alloc_set_ui(value); in mpi_init()
/lib/pldmfw/
Dpldmfw.c640 u16 value; in pldmfw_op_pci_match_record() local
661 value = get_unaligned_le16(desc->data); in pldmfw_op_pci_match_record()
667 if (value) in pldmfw_op_pci_match_record()
668 *ptr = (int)value; in pldmfw_op_pci_match_record()

12