/kernel/linux/linux-5.10/lib/ |
D | lru_cache.c | 30 BUG_ON(!lc->nr_elements); \ 43 BUG_ON(i >= lc_->nr_elements); \ 126 lc->nr_elements = e_count; in lc_create() 179 for (i = 0; i < lc->nr_elements; i++) in lc_destroy() 209 memset(lc->lc_slot, 0, sizeof(struct hlist_head) * lc->nr_elements); in lc_reset() 211 for (i = 0; i < lc->nr_elements; i++) { in lc_reset() 239 lc->name, lc->used, lc->nr_elements, in lc_seq_printf_stats() 245 return lc->lc_slot + (enr % lc->nr_elements); in lc_hash_slot() 255 BUG_ON(!lc->nr_elements); in __lc_find() 581 BUG_ON(i >= lc->nr_elements); in lc_element_by_index() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
D | tables_phy_lcn.h | 18 unsigned int nr_elements, void *_data); 21 unsigned int nr_elements, const void *_data);
|
D | tables_phy_ht.h | 16 unsigned int nr_elements, void *_data); 20 unsigned int nr_elements, const void *_data);
|
D | tables_lpphy.h | 25 unsigned int nr_elements, void *data); 27 unsigned int nr_elements, const void *data);
|
D | tables_phy_ht.c | 638 unsigned int nr_elements, void *_data) in b43_httab_read_bulk() argument 650 for (i = 0; i < nr_elements; i++) { in b43_httab_read_bulk() 748 unsigned int nr_elements, const void *_data) in b43_httab_write_bulk() argument 760 for (i = 0; i < nr_elements; i++) { in b43_httab_write_bulk()
|
D | tables_phy_lcn.c | 488 unsigned int nr_elements, void *_data) in b43_lcntab_read_bulk() argument 500 for (i = 0; i < nr_elements; i++) { in b43_lcntab_read_bulk() 556 unsigned int nr_elements, const void *_data) in b43_lcntab_write_bulk() argument 568 for (i = 0; i < nr_elements; i++) { in b43_lcntab_write_bulk()
|
D | tables_nphy.h | 186 unsigned int nr_elements, void *_data); 189 unsigned int nr_elements, const void *_data);
|
D | tables_nphy.c | 3341 unsigned int nr_elements, void *_data) in b43_ntab_read_bulk() argument 3353 for (i = 0; i < nr_elements; i++) { in b43_ntab_read_bulk() 3416 unsigned int nr_elements, const void *_data) in b43_ntab_write_bulk() argument 3428 for (i = 0; i < nr_elements; i++) { in b43_ntab_write_bulk()
|
D | tables_lpphy.c | 613 unsigned int nr_elements, void *_data) in b43_lptab_read_bulk() argument 625 for (i = 0; i < nr_elements; i++) { in b43_lptab_read_bulk() 677 unsigned int nr_elements, const void *_data) in b43_lptab_write_bulk() argument 689 for (i = 0; i < nr_elements; i++) { in b43_lptab_write_bulk()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | devicetree.c | 319 int *nr_elements) in pinctrl_get_list_and_count() argument 324 *nr_elements = 0; in pinctrl_get_list_and_count() 335 *nr_elements = (size / sizeof(**list)) / (*cells_size + 1); in pinctrl_get_list_and_count()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_actlog.c | 359 buffer->context_size = cpu_to_be16(device->act_log->nr_elements); in __al_write_transaction() 363 device->act_log->nr_elements - device->al_tr_cycle); in __al_write_transaction() 373 if (device->al_tr_cycle >= device->act_log->nr_elements) in __al_write_transaction() 498 available_update_slots = min(al->nr_elements - al->used, in drbd_al_begin_io_nonblock() 598 for (i = 0; i < device->act_log->nr_elements; i++) { in drbd_al_shrink() 732 device->resync->nr_elements, in update_rs_extent() 910 if (device->resync_locked > device->resync->nr_elements/2) { in _bme_get() 1079 if (device->resync_locked > device->resync->nr_elements-3) in drbd_try_rs_begin_io() 1203 for (i = 0; i < device->resync->nr_elements; i++) { in drbd_rs_del_all()
|
D | drbd_nl.c | 1155 device->act_log->nr_elements == dc->al_extents) in drbd_check_al_size() 1169 for (i = 0; i < t->nr_elements; i++) { in drbd_check_al_size() 1546 device->act_log->nr_elements == dc->al_extents) in disk_opts_check_al_size()
|
D | drbd_main.c | 3049 buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); in drbd_md_write()
|
/kernel/linux/linux-5.10/arch/s390/pci/ |
D | pci_dma.c | 483 int nr_elements, enum dma_data_direction dir, in s390_dma_map_sg() argument 492 for (i = 1; i < nr_elements; i++) { in s390_dma_map_sg() 530 int nr_elements, enum dma_data_direction dir, in s390_dma_unmap_sg() argument 536 for_each_sg(sg, s, nr_elements, i) { in s390_dma_unmap_sg()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | data-convert-bt.c | 444 unsigned int nr_elements = raw_size / sizeof(u32); in add_bpf_output_values() local 448 if (nr_elements * sizeof(u32) != raw_size) in add_bpf_output_values() 450 raw_size, nr_elements * sizeof(u32) - raw_size); in add_bpf_output_values() 460 ret = bt_ctf_field_unsigned_integer_set_value(len_field, nr_elements); in add_bpf_output_values() 485 for (i = 0; i < nr_elements; i++) { in add_bpf_output_values() 521 unsigned int nr_elements = callchain->nr; in add_callchain_output_values() local 534 ret = bt_ctf_field_unsigned_integer_set_value(len_field, nr_elements); in add_callchain_output_values() 560 for (i = 0; i < nr_elements; i++) { in add_callchain_output_values()
|
/kernel/linux/linux-5.10/include/linux/ |
D | lru_cache.h | 180 unsigned int nr_elements; member
|