Home
last modified time | relevance | path

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

/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 …]
Dtest_list_sort.c25 int value; member
67 return ela->value - elb->value; in cmp()
89 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
Dnlattr.c60 if (bf->value & ~*valid_flags_mask) in validate_nla_bitfield32()
64 if (bf->value & ~bf->selector) in validate_nla_bitfield32()
104 s64 value; in nla_validate_int_range() local
113 value = nla_get_u8(nla); in nla_validate_int_range()
116 value = nla_get_u16(nla); in nla_validate_int_range()
119 value = nla_get_u32(nla); in nla_validate_int_range()
122 value = nla_get_s8(nla); in nla_validate_int_range()
125 value = nla_get_s16(nla); in nla_validate_int_range()
128 value = nla_get_s32(nla); in nla_validate_int_range()
131 value = nla_get_s64(nla); in nla_validate_int_range()
[all …]
Dfault-inject.c170 struct dentry *parent, unsigned long *value) in debugfs_create_ul() argument
172 debugfs_create_file(name, mode, parent, value, &fops_ul); in debugfs_create_ul()
190 unsigned long *value) in debugfs_create_stacktrace_depth() argument
192 debugfs_create_file(name, mode, parent, value, &fops_stacktrace_depth); in debugfs_create_stacktrace_depth()
Dstring.c1010 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument
1013 if (*start != value) in check_bytes8()
1032 u8 value = c; in memchr_inv() local
1037 return check_bytes8(start, value, bytes); in memchr_inv()
1039 value64 = value; in memchr_inv()
1056 r = check_bytes8(start, value, prefix); in memchr_inv()
1067 return check_bytes8(start, value, 8); in memchr_inv()
1072 return check_bytes8(start, value, bytes % 8); in memchr_inv()
Dextable.c118 unsigned long value) in search_extable() argument
120 return bsearch(&value, base, num, in search_extable()
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()
Dubsan.c118 void *value) in val_to_string() argument
123 u_max val = get_unsigned_val(type, value); in val_to_string()
135 (s64)get_signed_val(type, value)); in val_to_string()
138 (u64)get_unsigned_val(type, value)); in val_to_string()
Dlogic_pio.c249 void logic_out##bw(type value, unsigned long addr) \
252 write##bw(value, PCI_IOBASE + addr); \
258 addr, value, sizeof(type)); \
Dvsprintf.c927 unsigned long value; in symbol_string() local
934 value = (unsigned long)ptr; in symbol_string()
938 sprint_backtrace(sym, value); in symbol_string()
940 sprint_symbol(sym, value); in symbol_string()
942 sprint_symbol_no_offset(sym, value); in symbol_string()
946 return special_hex_number(buf, end, value, sizeof(void *)); in symbol_string()
2772 unsigned long long value; \ in vbin_printf()
2781 value = val8; \ in vbin_printf()
2788 value = (unsigned long long)val4; \ in vbin_printf()
2791 value; \ in vbin_printf()
[all …]
DKconfig382 Constant value for Galois field order 'm'. If 'k' is the
385 Drivers should declare a default value for this symbol if
391 Constant value for error correction capability in bits 't'.
392 Drivers should declare a default value for this symbol if
DKconfig.debug47 value is specified here as well.
77 or pick a different CONSOLE_LOGLEVEL_DEFAULT configuration value.
89 the "loops per jiffie" value.
90 See a previous boot log for the "lpj" value to use for your
247 suppress the "warning: ignoring return value of 'foo', declared with
510 int "debug_objects bootup default value (0-1)"
515 Debug objects boot parameter default value
933 sysctl or by writing a value to
998 Set the timeout value (in seconds) until a reboot occurs when the
1000 value n > 0 will wait n seconds before rebooting, while a timeout
[all …]
Dts_fsm.c131 return t->value == d; in match_token()
Dxarray.c777 bool value = xa_is_value(entry); in xas_store() local
819 values += !xa_is_value(first) - !value; in xas_store()
/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
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()
322 size_t const value = BIT_lookBits(bitD, nbBits); in BIT_readBits() local
324 return value; in BIT_readBits()
331 size_t const value = BIT_lookBitsFast(bitD, nbBits); in BIT_readBitsFast() local
333 return value; in BIT_readBitsFast()
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()
/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/zlib_deflate/
Ddeftree.c177 static void send_bits (deflate_state *s, int value, int length);
181 int value, /* value to send */ in send_bits() argument
185 Tracevv((stderr," l %2d v %4x ", length, value)); in send_bits()
194 s->bi_buf |= (value << s->bi_valid); in send_bits()
196 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); in send_bits()
199 s->bi_buf |= value << s->bi_valid; in send_bits()
205 #define send_bits(s, value, length) \ argument
208 int val = value;\
214 s->bi_buf |= (value) << s->bi_valid;\