Home
last modified time | relevance | path

Searched refs:slot_count (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dopen-chapter.c58 static inline size_t slots_size(size_t slot_count) in slots_size() argument
60 return sizeof(struct open_chapter_zone_slot) * slot_count; in slots_size()
69 size_t slot_count = (1 << bits_per(capacity * LOAD_RATIO)); in uds_make_open_chapter() local
71 result = vdo_allocate_extended(struct open_chapter_zone, slot_count, in uds_make_open_chapter()
77 open_chapter->slot_count = slot_count; in uds_make_open_chapter()
96 memset(open_chapter->slots, 0, slots_size(open_chapter->slot_count)); in uds_reset_open_chapter()
103 unsigned int slot_count = open_chapter->slot_count; in probe_chapter_slots() local
104 unsigned int slot = uds_name_to_hash_slot(name, slot_count); in probe_chapter_slots()
131 slot = (slot + attempts++) % slot_count; in probe_chapter_slots()
Dhash-utils.h61 unsigned int slot_count) in uds_name_to_hash_slot() argument
63 return (unsigned int) (uds_extract_chapter_index_bytes(name) % slot_count); in uds_name_to_hash_slot()
Dopen-chapter.h41 unsigned int slot_count; member
/linux-6.12.1/drivers/media/dvb-core/
Ddvb_ca_en50221.c126 unsigned int slot_count; member
167 for (i = 0; i < ca->slot_count; i++) in dvb_ca_private_free()
1045 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_thread_update_delay()
1325 for (slot = 0; slot < ca->slot_count; slot++) in dvb_ca_en50221_thread()
1361 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_io_do_ioctl()
1381 caps->slot_num = ca->slot_count; in dvb_ca_en50221_io_do_ioctl()
1393 if ((slot >= ca->slot_count) || (slot < 0)) { in dvb_ca_en50221_io_do_ioctl()
1397 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_do_ioctl()
1478 if (slot >= ca->slot_count) in dvb_ca_en50221_io_write()
1480 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_write()
[all …]
/linux-6.12.1/drivers/i2c/
Di2c-smbus.c367 int n, slot_count = 0, dimm_count = 0; in i2c_register_spd() local
373 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) { in i2c_register_spd()
374 slot_count++; in i2c_register_spd()
409 slot_count = min(slot_count, 8); in i2c_register_spd()
445 for (n = 0; n < slot_count && dimm_count; n++) { in i2c_register_spd()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
Ddcn31_hpo_dp_link_encoder.c274 *slots = stream_allocation->slot_count; in fill_stream_allocation_row_info()
469 SAT_SLOT_COUNT, &state->slot_count[0]); in dcn31_hpo_dp_link_enc_read_state()
472 SAT_SLOT_COUNT, &state->slot_count[1]); in dcn31_hpo_dp_link_enc_read_state()
475 SAT_SLOT_COUNT, &state->slot_count[2]); in dcn31_hpo_dp_link_enc_read_state()
478 SAT_SLOT_COUNT, &state->slot_count[3]); in dcn31_hpo_dp_link_enc_read_state()
/linux-6.12.1/drivers/pci/hotplug/
Dibmphp_ebda.c63 static struct controller *alloc_ebda_hpc(u32 slot_count, u32 bus_count) in alloc_ebda_hpc() argument
73 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL); in alloc_ebda_hpc()
116 debug("%s - slot_count = %x\n", __func__, ptr->slot_count); in print_bus_info()
197 for (index = 0; index < hpc_ptr->slot_count; index++) { in print_ebda_hpc()
721 hpc_ptr->slot_count = slot_num; in ebda_rsrc_controller()
748 bus_info_ptr1->slot_count += 1; in ebda_rsrc_controller()
761 bus_info_ptr2->slot_count += 1; in ebda_rsrc_controller()
842 for (index = 0; index < hpc_ptr->slot_count; index++) { in ebda_rsrc_controller()
Dibmphp_core.c97 u8 slot_count = 0; in get_max_slots() local
101 slot_count = max(slot_count, slot_cur->number); in get_max_slots()
103 return slot_count; in get_max_slots()
Dibmphp.h241 u8 slot_count; member
721 u8 slot_count; member
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_ccb.c201 return pvr_dev->kccb.slot_count - 1; in pvr_kccb_capacity()
227 used_count = wr_offset + pvr_dev->kccb.slot_count - rd_offset; in pvr_kccb_used_slot_count_locked()
524 pvr_dev->kccb.slot_count = 1 << ROGUE_FWIF_KCCB_NUMCMDS_LOG2_DEFAULT; in pvr_kccb_init()
Dpvr_device.h248 u32 slot_count; member
/linux-6.12.1/include/media/
Ddvb_ca_en50221.h133 int slot_count);
/linux-6.12.1/sound/soc/generic/
Dsimple-card-utils.c170 dai->tdm_width_map[i].slot_count = *p++; in simple_util_parse_tdm_width_map()
411 int slot_width, slot_count; in simple_set_tdm() local
418 slot_count = simple_dai->slots; in simple_set_tdm()
426 slot_count = simple_dai->tdm_width_map[i].slot_count; in simple_set_tdm()
434 slot_count, in simple_set_tdm()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_dpia.c45 mst_alloc_slots += table->stream_allocations[i].slot_count; in update_dpia_stream_allocation_table()
/linux-6.12.1/drivers/virt/nitro_enclaves/
Dne_pci_dev.h269 u64 slot_count; member
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c185 dc_alloc->slot_count = target_payload->time_slots; in fill_dc_mst_payload_table_from_drm()
193 dc_alloc->slot_count = 0; in fill_dc_mst_payload_table_from_drm()
204 if (dc_alloc->vcp_id > 0 && dc_alloc->slot_count > 0) { in fill_dc_mst_payload_table_from_drm()
206 sa->slot_count = dc_alloc->slot_count; in fill_dc_mst_payload_table_from_drm()
/linux-6.12.1/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h250 uint8_t slot_count; member
/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_mmu.h49 u32 slot_count);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1252 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1261 work_table[i].slot_count = in update_mst_stream_alloc_table()
1262 proposed_table->stream_allocations[i].slot_count; in update_mst_stream_alloc_table()
1376 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in deallocate_mst_payload()
1456 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in allocate_mst_payload()
1552 proposed_table->stream_allocations[0].slot_count = req_slot_count; in write_128b_132b_sst_payload_allocation_table()
1680 proposed_table.stream_allocations[0].slot_count); in update_sst_payload()
1779 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_reduce_mst_payload()
1846 link->mst_stream_alloc_table.stream_allocations[i].slot_count); in link_increase_mst_payload()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h220 uint32_t slot_count[4]; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecards.c1507 u8 slot_count; in mlxsw_linecards_init() local
1517 NULL, &slot_count); in mlxsw_linecards_init()
1518 if (!slot_count) in mlxsw_linecards_init()
1521 linecards = vzalloc(struct_size(linecards, linecards, slot_count)); in mlxsw_linecards_init()
1524 linecards->count = slot_count; in mlxsw_linecards_init()
/linux-6.12.1/kernel/events/
Duprobes.c103 atomic_t slot_count; /* number of in-use slots */ member
1556 atomic_set(&area->slot_count, 1); in __create_xol_area()
1646 wait_event(area->wq, (atomic_read(&area->slot_count) < UINSNS_PER_PAGE)); in xol_take_insn_slot()
1650 atomic_inc(&area->slot_count); in xol_take_insn_slot()
1708 atomic_dec(&area->slot_count); in xol_free_insn_slot()
/linux-6.12.1/fs/btrfs/
Dioctl.c3059 u64 slot_count = 0; in btrfs_ioctl_space_info() local
3084 slot_count++; in btrfs_ioctl_space_info()
3092 slot_count++; in btrfs_ioctl_space_info()
3096 space_args.total_spaces = slot_count; in btrfs_ioctl_space_info()
3100 slot_count = min_t(u64, space_args.space_slots, slot_count); in btrfs_ioctl_space_info()
3102 alloc_size = sizeof(*dest) * slot_count; in btrfs_ioctl_space_info()
3120 if (!slot_count) in btrfs_ioctl_space_info()
3141 slot_count--; in btrfs_ioctl_space_info()
3143 if (!slot_count) in btrfs_ioctl_space_info()
3152 if (slot_count) { in btrfs_ioctl_space_info()
/linux-6.12.1/sound/soc/codecs/
Dcs35l45.h497 u8 slot_count; member
/linux-6.12.1/include/sound/
Dsimple_card_utils.h21 u8 slot_count; member

12