/lib/ |
D | crc8.c | 29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() 35 table[0] = 0; in crc8_populate_msb() 40 table[i+j] = table[j] ^ t; in crc8_populate_msb() 51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_lsb() 56 table[0] = 0; in crc8_populate_lsb() 61 table[i+j] = table[j] ^ t; in crc8_populate_lsb() 74 u8 crc8(const u8 table[CRC8_TABLE_SIZE], const u8 *pdata, size_t nbytes, u8 crc) in crc8() 78 crc = table[(crc ^ *pdata++) & 0xff]; in crc8()
|
D | sg_pool.c | 84 void sg_free_table_chained(struct sg_table *table, in sg_free_table_chained() argument 87 if (table->orig_nents <= nents_first_chunk) in sg_free_table_chained() 93 __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free, in sg_free_table_chained() 94 table->orig_nents); in sg_free_table_chained() 112 int sg_alloc_table_chained(struct sg_table *table, int nents, in sg_alloc_table_chained() argument 121 table->nents = table->orig_nents = nents; in sg_alloc_table_chained() 122 sg_init_table(table->sgl, nents); in sg_alloc_table_chained() 133 ret = __sg_alloc_table(table, nents, SG_CHUNK_SIZE, in sg_alloc_table_chained() 137 sg_free_table_chained(table, nents_first_chunk); in sg_alloc_table_chained()
|
D | scatterlist.c | 193 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument 200 if (unlikely(!table->sgl)) in __sg_free_table() 203 sgl = table->sgl; in __sg_free_table() 232 table->sgl = NULL; in __sg_free_table() 241 void sg_free_append_table(struct sg_append_table *table) in sg_free_append_table() argument 243 __sg_free_table(&table->sgt, SG_MAX_SINGLE_ALLOC, false, sg_kfree, in sg_free_append_table() 244 table->total_nents); in sg_free_append_table() 254 void sg_free_table(struct sg_table *table) in sg_free_table() argument 256 __sg_free_table(table, SG_MAX_SINGLE_ALLOC, false, sg_kfree, in sg_free_table() 257 table->orig_nents); in sg_free_table() [all …]
|
D | gen_crc32table.c | 93 static void output_table(uint32_t (*table)[256], int rows, int len, char *trans) in output_table() 102 printf("%s(0x%8.8xL), ", trans, table[j][i]); in output_table() 104 printf("%s(0x%8.8xL)},\n", trans, table[j][len - 1]); in output_table()
|
D | dynamic_debug.c | 61 struct ddebug_table *table; member 790 iter->table = NULL; in ddebug_iter_first() 794 iter->table = list_entry(ddebug_tables.next, in ddebug_iter_first() 797 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_first() 808 if (iter->table == NULL) in ddebug_iter_next() 810 if (++iter->idx == iter->table->num_ddebugs) { in ddebug_iter_next() 813 if (list_is_last(&iter->table->link, &ddebug_tables)) { in ddebug_iter_next() 814 iter->table = NULL; in ddebug_iter_next() 817 iter->table = list_entry(iter->table->link.next, in ddebug_iter_next() 820 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_next() [all …]
|
D | devres.c | 334 void __iomem *table[PCIM_IOMAP_MAX]; member 344 if (this->table[i]) in pcim_iomap_release() 345 pci_iounmap(dev, this->table[i]); in pcim_iomap_release() 367 return dr->table; in pcim_iomap_table() 373 return dr->table; in pcim_iomap_table()
|
D | parser.c | 106 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token() argument 110 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token()
|
D | rhashtable.c | 33 union nested_table __rcu *table; member 81 ntbl = rcu_dereference_protected(ntbl->table, 1); in nested_table_free() 1184 ntbl = rht_dereference_bucket_rcu(ntbl[index].table, tbl, hash); in __rht_bucket_nested() 1189 ntbl = rht_dereference_bucket_rcu(ntbl[index].table, in __rht_bucket_nested() 1224 ntbl = nested_table_alloc(ht, &ntbl[index].table, in rht_bucket_nested_insert() 1231 ntbl = nested_table_alloc(ht, &ntbl[index].table, in rht_bucket_nested_insert()
|
D | Kconfig | 194 This is the fastest algorithm, but comes with a 8KiB lookup table. 195 Most modern processors have enough cache to hold this table without 206 table. 214 is not particularly fast, but has a small 256 byte lookup table. 222 no lookup table. This is provided as a debugging option. 684 Select the hash size as a power of 2 for the stackdepot hash table.
|
D | Kconfig.debug | 851 bool "Debug arch page table for semantics compliance" 857 architecture page table helper functions on various platforms in 1642 bool "Debug SG table operations" 2228 tristate "Perform selftest on resizable hash table"
|
/lib/zlib_inflate/ |
D | inftrees.c | 24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table() argument 107 *(*table)++ = this; /* make a table to force an error */ in zlib_inflate_table() 108 *(*table)++ = this; in zlib_inflate_table() 190 next = *table; /* current table to fill in */ in zlib_inflate_table() 271 (*table)[low].op = (unsigned char)curr; in zlib_inflate_table() 272 (*table)[low].bits = (unsigned char)root; in zlib_inflate_table() 273 (*table)[low].val = (unsigned short)(next - *table); in zlib_inflate_table() 292 next = *table; in zlib_inflate_table() 312 *table += used; in zlib_inflate_table()
|
D | inftrees.h | 57 unsigned codes, code **table,
|
/lib/zstd/ |
D | fse.h | 355 const void *table; /* precise table may vary, depending on U16 */ member 487 DStatePtr->table = dt + 1; in FSE_initDState() 492 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state]; in FSE_peekSymbol() 498 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state]; in FSE_updateState() 506 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbol() 519 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbolFast()
|
D | huf_decompress.c | 74 static DTableDesc HUF_getDTableDesc(const HUF_DTable *table) in HUF_getDTableDesc() argument 77 memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc()
|
D | compress.c | 397 static void ZSTD_reduceTable(U32 *const table, U32 const size, U32 const reducerValue) in ZSTD_reduceTable() argument 401 if (table[u] < reducerValue) in ZSTD_reduceTable() 402 table[u] = 0; in ZSTD_reduceTable() 404 table[u] -= reducerValue; in ZSTD_reduceTable()
|