/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 178 for (i = 0; i < buffer->entries; i++) { in ef4_init_special_buffer() 192 /* Unmaps a buffer and clears the buffer table entries */ 198 unsigned int end = (buffer->index + buffer->entries - 1); in ef4_fini_special_buffer() 200 if (!buffer->entries) in ef4_fini_special_buffer() 204 buffer->index, buffer->index + buffer->entries - 1); in ef4_fini_special_buffer() 231 buffer->entries = len / EF4_BUF_SIZE; in ef4_alloc_special_buffer() 236 efx->next_buffer_table += buffer->entries; in ef4_alloc_special_buffer() 241 buffer->index + buffer->entries - 1, in ef4_alloc_special_buffer() 257 buffer->index + buffer->entries - 1, in ef4_free_special_buffer() 262 buffer->entries in ef4_free_special_buffer() 366 unsigned entries; ef4_farch_tx_probe() local 512 unsigned entries; ef4_farch_rx_probe() local 1330 unsigned entries; ef4_farch_ev_probe() local [all...] |
H A D | tx.c | 541 unsigned int entries; in ef4_probe_tx_queue() local 545 entries = max(roundup_pow_of_two(efx->txq_entries), EF4_MIN_DMAQ_SIZE); in ef4_probe_tx_queue() 546 EF4_BUG_ON_PARANOID(entries > EF4_MAX_DMAQ_SIZE); in ef4_probe_tx_queue() 547 tx_queue->ptr_mask = entries - 1; in ef4_probe_tx_queue() 554 tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), in ef4_probe_tx_queue()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 178 for (i = 0; i < buffer->entries; i++) { in ef4_init_special_buffer() 192 /* Unmaps a buffer and clears the buffer table entries */ 198 unsigned int end = (buffer->index + buffer->entries - 1); in ef4_fini_special_buffer() 200 if (!buffer->entries) in ef4_fini_special_buffer() 204 buffer->index, buffer->index + buffer->entries - 1); in ef4_fini_special_buffer() 231 buffer->entries = len / EF4_BUF_SIZE; in ef4_alloc_special_buffer() 236 efx->next_buffer_table += buffer->entries; in ef4_alloc_special_buffer() 241 buffer->index + buffer->entries - 1, in ef4_alloc_special_buffer() 257 buffer->index + buffer->entries - 1, in ef4_free_special_buffer() 262 buffer->entries in ef4_free_special_buffer() 366 unsigned entries; ef4_farch_tx_probe() local 512 unsigned entries; ef4_farch_rx_probe() local 1330 unsigned entries; ef4_farch_ev_probe() local [all...] |
H A D | tx.c | 542 unsigned int entries; in ef4_probe_tx_queue() local 546 entries = max(roundup_pow_of_two(efx->txq_entries), EF4_MIN_DMAQ_SIZE); in ef4_probe_tx_queue() 547 EF4_BUG_ON_PARANOID(entries > EF4_MAX_DMAQ_SIZE); in ef4_probe_tx_queue() 548 tx_queue->ptr_mask = entries - 1; in ef4_probe_tx_queue() 555 tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), in ef4_probe_tx_queue()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 182 for (i = 0; i < buffer->entries; i++) { in efx_init_special_buffer() 196 /* Unmaps a buffer and clears the buffer table entries */ 202 unsigned int end = (buffer->index + buffer->entries - 1); in efx_fini_special_buffer() 204 if (!buffer->entries) in efx_fini_special_buffer() 208 buffer->index, buffer->index + buffer->entries - 1); in efx_fini_special_buffer() 238 buffer->entries = len / EFX_BUF_SIZE; in efx_alloc_special_buffer() 243 efx->next_buffer_table += buffer->entries; in efx_alloc_special_buffer() 252 buffer->index + buffer->entries - 1, in efx_alloc_special_buffer() 268 buffer->index + buffer->entries - 1, in efx_free_special_buffer() 273 buffer->entries in efx_free_special_buffer() 374 unsigned entries; efx_farch_tx_probe() local 506 unsigned entries; efx_farch_rx_probe() local 1340 unsigned entries; efx_farch_ev_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 766 .entries = { 803 .entries = { 840 .entries = { 877 .entries = { 914 .entries = { 951 .entries = { 2176 dc->clk_mgr->bw_params->wm_table.entries[i].sr_exit_time_us = in patch_bounding_box() 2183 dc->clk_mgr->bw_params->wm_table.entries[i].sr_enter_plus_exit_time_us = in patch_bounding_box() 2194 dc->clk_mgr->bw_params->wm_table.entries[i].pstate_latency_us = in patch_bounding_box() 2289 table_entry = &bw_params->wm_table.entries[WM_ in dcn21_calculate_wm() [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | mount.c | 154 MSG(0, "Invalid ACL entries count %d\n", count); in print_acl() 1588 if (nat_block->entries[nid % NAT_ENTRY_PER_BLOCK].block_addr) in f2fs_late_init_nid_bitmap() 1662 nat_block->entries[j].block_addr != NULL_ADDR) in write_nat_bits() 1950 curseg->sum_blk->entries[j] = *s; in read_compacted_summaries() 1978 sum_entry = &sum_blk->entries[0]; in restore_node_summary() 2046 memcpy(&sum_blk->entries[offset], sum, sizeof(*sum)); in update_sum_entry() 2311 memcpy(sum_entry, &(sum_blk->entries[offset]), in get_sum_entry() 2339 memcpy(raw_nat, &nat_block->entries[entry_off], in get_nat_entry() 2414 nat_block->entries[entry_off].ino = cpu_to_le32(ino); in update_nat_blkaddr() 2415 nat_block->entries[entry_of in update_nat_blkaddr() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_multi_ver_transaction.cpp | 113 // just for query entries. 301 int SQLiteMultiVerTransaction::GetEntries(const Key &keyPrefix, std::vector<Entry> &entries) const in GetEntries() 315 entries.clear(); in GetEntries() 316 entries.shrink_to_fit(); in GetEntries() 324 entries.push_back(std::move(entry)); in GetEntries() 341 if (entries.empty()) { in GetEntries() 389 int SQLiteMultiVerTransaction::PutBatch(const std::vector<Entry> &entries) in PutBatch() argument 391 for (auto iter = entries.begin(); iter != entries.end(); iter++) { in PutBatch() 401 int SQLiteMultiVerTransaction::PutBatch(const std::vector<MultiVerKvEntry *> &entries, boo argument 1015 GetRawDataByVersion(sqlite3_stmt *&statement, const Version &version, std::vector<MultiVerEntryData> &entries) GetRawDataByVersion() argument [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | dir.c | 1080 /* Copy the entries */ in dir_split_leaf() 1208 * compare_dents - compare directory entries by hash value 1212 * When comparing the hash entries of @a to @b: 1250 * do_filldir_main - read out directory entries 1252 * @ctx: what to feed the entries to 1254 * @entries: the number of entries in darr 1266 struct gfs2_dirent **darr, u32 entries, in do_filldir_main() 1274 if (sort_start < entries) in do_filldir_main() 1275 sort(&darr[sort_start], entries in do_filldir_main() 1265 do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx, struct gfs2_dirent **darr, u32 entries, u32 sort_start, int *copied) do_filldir_main() argument 1335 gfs2_set_cookies(struct gfs2_sbd *sdp, struct buffer_head *bh, unsigned leaf_nr, struct gfs2_dirent **darr, unsigned entries) gfs2_set_cookies() argument 1376 unsigned entries = 0, entries2 = 0; gfs2_dir_read_leaf() local 1899 u16 entries = be16_to_cpu(leaf->lf_entries); gfs2_dir_del() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | arp_tables.c | 208 table_base = private->entries; in arpt_do_table() 543 /* Walk through entries, checking offsets. */ in translate_table() 610 xt_entry_foreach(iter, t->entries, t->size) { in get_counters() 637 xt_entry_foreach(iter, t->entries, t->size) { in get_old_counters() 684 loc_cpu_entry = private->entries; in copy_entries_to_user() 774 /* we dont care about newinfo->entries */ in compat_table_info() 775 memcpy(newinfo, info, offsetof(struct xt_table_info, entries)); in compat_table_info() 777 loc_cpu_entry = info->entries; in compat_table_info() 928 loc_cpu_old_entry = oldinfo->entries; in __do_replace() 977 loc_cpu_entry = newinfo->entries; in do_replace() 1061 struct compat_arpt_entry entries[]; global() member [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | dir.c | 1077 /* Copy the entries */ in dir_split_leaf() 1205 * compare_dents - compare directory entries by hash value 1209 * When comparing the hash entries of @a to @b: 1247 * do_filldir_main - read out directory entries 1249 * @ctx: what to feed the entries to 1251 * @entries: the number of entries in darr 1264 struct gfs2_dirent **darr, u32 entries, in do_filldir_main() 1272 if (sort_start < entries) in do_filldir_main() 1273 sort(&darr[sort_start], entries in do_filldir_main() 1263 do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx, struct gfs2_dirent **darr, u32 entries, u32 sort_start, int *copied) do_filldir_main() argument 1333 gfs2_set_cookies(struct gfs2_sbd *sdp, struct buffer_head *bh, unsigned leaf_nr, struct gfs2_dirent **darr, unsigned entries) gfs2_set_cookies() argument 1374 unsigned entries = 0, entries2 = 0; gfs2_dir_read_leaf() local 1902 u16 entries = be16_to_cpu(leaf->lf_entries); gfs2_dir_del() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | evlist.c | 1675 list_splice(&move, &evlist->core.entries); in evlist__to_front() 1837 /* Reset the leader count if all entries were removed. */ in evlist__reset_weak_group() 1957 struct pollfd *entries = evlist->core.pollfd.entries; in evlist__finalize_ctlfd() local 1962 entries[evlist->ctl_fd.pos].fd = -1; in evlist__finalize_ctlfd() 1963 entries[evlist->ctl_fd.pos].events = 0; in evlist__finalize_ctlfd() 1964 entries[evlist->ctl_fd.pos].revents = 0; in evlist__finalize_ctlfd() 2145 struct pollfd *entries = evlist->core.pollfd.entries; in evlist__ctlfd_process() local 2147 if (!evlist__ctlfd_initialized(evlist) || !entries[ctlfd_po in evlist__ctlfd_process() 2367 struct pollfd *entries; event_enable_timer__process() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | arp_tables.c | 209 table_base = private->entries; in arpt_do_table() 544 /* Walk through entries, checking offsets. */ in translate_table() 611 xt_entry_foreach(iter, t->entries, t->size) { in get_counters() 638 xt_entry_foreach(iter, t->entries, t->size) { in get_old_counters() 685 loc_cpu_entry = private->entries; in copy_entries_to_user() 775 /* we dont care about newinfo->entries */ in compat_table_info() 776 memcpy(newinfo, info, offsetof(struct xt_table_info, entries)); in compat_table_info() 778 loc_cpu_entry = info->entries; in compat_table_info() 929 loc_cpu_old_entry = oldinfo->entries; in __do_replace() 974 loc_cpu_entry = newinfo->entries; in do_replace() 1058 struct compat_arpt_entry entries[]; global() member [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vorbisdec.c | 264 unsigned ordered, t, entries, used_entries = 0; in vorbis_parse_setup_hdr_codebooks() local 283 entries = get_bits(gb, 24); in vorbis_parse_setup_hdr_codebooks() 284 if (entries > V_MAX_VLCS) { in vorbis_parse_setup_hdr_codebooks() 286 " %u. Codebook has too many entries (%u).\n", in vorbis_parse_setup_hdr_codebooks() 287 cb, entries); in vorbis_parse_setup_hdr_codebooks() 295 codebook_setup->dimensions, entries); in vorbis_parse_setup_hdr_codebooks() 307 for (ce = 0; ce < entries; ++ce) { in vorbis_parse_setup_hdr_codebooks() 318 used_entries = entries; in vorbis_parse_setup_hdr_codebooks() 319 for (ce = 0; ce < entries; ++ce) in vorbis_parse_setup_hdr_codebooks() 328 used_entries = entries; in vorbis_parse_setup_hdr_codebooks() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_tools_unit_test.h | 181 const std::vector<DistributedDB::Entry> &entries); 184 const std::vector<DistributedDB::Entry> &entries); 209 std::vector<DistributedDB::SingleVerKvEntry *> &entries); 211 static void ConvertSingleVerEntryToItems(std::vector<DistributedDB::SingleVerKvEntry *> &entries, 214 static void ReleaseSingleVerEntry(std::vector<DistributedDB::SingleVerKvEntry *> &entries);
|
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | paste_data_record_test.cpp | 44 void CheckEntries(const std::vector<std::shared_ptr<PasteDataEntry>> &entries); 124 void PasteDataRecordTest::CheckEntries(const std::vector<std::shared_ptr<PasteDataEntry>> &entries) in CheckEntries() argument 126 for (auto const &entry : entries) { in CheckEntries() 228 * @tc.require:entries 250 * @tc.require:entries 264 * @tc.require:entries 301 auto entries = record->GetEntries(); in HWTEST_F() local 302 CheckEntries(entries); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 130 struct amdgpu_clock_voltage_dependency_entry *entries; member 147 union amdgpu_cac_leakage_entry *entries; member 158 struct amdgpu_phase_shedding_limits_entry *entries; member 169 struct amdgpu_uvd_clock_voltage_dependency_entry *entries; member 180 struct amdgpu_vce_clock_voltage_dependency_entry *entries; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | tx_common.c | 25 unsigned int entries; in efx_probe_tx_queue() local 29 entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE); in efx_probe_tx_queue() 30 EFX_WARN_ON_PARANOID(entries > EFX_MAX_DMAQ_SIZE); in efx_probe_tx_queue() 31 tx_queue->ptr_mask = entries - 1; in efx_probe_tx_queue() 38 tx_queue->buffer = kcalloc(entries, sizeof(*tx_queue->buffer), in efx_probe_tx_queue()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | discovery.c | 108 struct nvmf_disc_rsp_page_entry *e = &hdr->entries[numrec]; in nvmet_format_discovery_entry() 148 size_t entries = 0; in discovery_log_entries() local 153 entries++; in discovery_log_entries() 156 entries++; in discovery_log_entries() 157 return entries; in discovery_log_entries()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | smp2p.c | 53 * @total_entries: number of entries - always SMP2P_MAX_ENTRY 54 * @valid_entries: number of allocated entries 56 * @entries: individual communication entries 73 } entries[SMP2P_MAX_ENTRY]; member 78 * @node: list entry to keep track of allocated entries 83 * @domain: irq_domain for inbound entries 116 * @valid_entries: already scanned inbound entries 124 * @inbound: list of inbound entries 125 * @outbound: list of outbound entries [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | flow_offload.h | 272 struct action_gate_entry *entries; member 280 struct flow_action_entry entries[]; member 300 for (__i = 0, __act = &(__actions)->entries[0]; \ 302 __act = &(__actions)->entries[++__i]) 329 return &action->entries[0]; in flow_action_first_entry_get()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | evlist.h | 252 return list_empty(&evlist->core.entries); in perf_evlist__empty() 290 __evlist__for_each_entry(&(evlist)->core.entries, evsel) 306 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel) 322 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel) 340 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfscache.c | 28 * of entries, then this should be the average number of entries per bucket. 60 * ...with a hard cap of 256k entries. In the worst case, each entry will be 235 * Don't free entries attached to calls that are still in prune_bucket() 250 * Walk the LRU list and prune off entries that are older than RC_EXPIRE. 251 * Also prune the oldest ones when the total exceeds the max number of entries. 346 unsigned int entries = 0; in nfsd_cache_insert() local 350 ++entries; in nfsd_cache_insert() 368 if (entries > nn->longest_chain) { in nfsd_cache_insert() 369 nn->longest_chain = entries; in nfsd_cache_insert() [all...] |
/kernel/linux/linux-5.10/fs/vboxsf/ |
H A D | utils.c | 84 * XXX: this probably should be set to the number of entries in vboxsf_init_inode() 473 b->entries = 0; in vboxsf_dir_buf_alloc() 518 u32 entries, size; in vboxsf_dir_read_all() local 534 &size, buf, &entries); in vboxsf_dir_read_all() 538 b->entries += entries; in vboxsf_dir_read_all()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | f2fs_fs.h | 20 #define F2FS_MAX_EXTENSION 64 /* # of extension entries */ 321 * For NAT entries 332 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK]; member 336 * For SIT entries 371 struct f2fs_sit_entry entries[SIT_ENTRY_PER_BLOCK]; member 377 * One summary block contains exactly 512 summary entries, which represents 432 * frequently updated NAT/SIT entries can be stored in the spare area in 446 struct nat_journal_entry entries[NAT_JOURNAL_ENTRIES]; member 456 struct sit_journal_entry entries[SIT_JOURNAL_ENTRIES]; member 480 struct f2fs_summary entries[ENTRIES_IN_SU member [all...] |