Searched refs:slot_count (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/drivers/md/dm-vdo/indexer/
H A Dhash-utils.h61 unsigned int slot_count)
63 return (unsigned int) (uds_extract_chapter_index_bytes(name) % slot_count);
60 uds_name_to_hash_slot(const struct uds_record_name *name, unsigned int slot_count) argument
H A Dopen-chapter.c58 static inline size_t slots_size(size_t slot_count) argument
60 return sizeof(struct open_chapter_zone_slot) * slot_count;
69 size_t slot_count = (1 << bits_per(capacity * LOAD_RATIO)); local
71 result = vdo_allocate_extended(struct open_chapter_zone, slot_count,
77 open_chapter->slot_count = slot_count;
96 memset(open_chapter->slots, 0, slots_size(open_chapter->slot_count));
103 unsigned int slot_count = open_chapter->slot_count; local
104 unsigned int slot = uds_name_to_hash_slot(name, slot_count);
[all...]
H A Dopen-chapter.h41 unsigned int slot_count; member in struct:open_chapter_zone
/linux-master/drivers/i2c/
H A Di2c-smbus.c317 int n, slot_count = 0, dimm_count = 0; local
323 while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) {
324 slot_count++;
359 slot_count = 8;
361 if (slot_count > 8) {
398 for (n = 0; n < slot_count && dimm_count; n++) {
/linux-master/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c126 unsigned int slot_count; member in struct:dvb_ca_private
167 for (i = 0; i < ca->slot_count; i++)
1045 for (slot = 0; slot < ca->slot_count; slot++) {
1325 for (slot = 0; slot < ca->slot_count; slot++)
1361 for (slot = 0; slot < ca->slot_count; slot++) {
1381 caps->slot_num = ca->slot_count;
1393 if ((slot >= ca->slot_count) || (slot < 0)) {
1397 slot = array_index_nospec(slot, ca->slot_count);
1478 if (slot >= ca->slot_count)
1480 slot = array_index_nospec(slot, ca->slot_count);
1550 int slot_count = 0; local
1870 dvb_ca_en50221_init(struct dvb_adapter *dvb_adapter, struct dvb_ca_en50221 *pubca, int flags, int slot_count) argument
[all...]
/linux-master/include/media/
H A Ddvb_ca_en50221.h127 * @slot_count: Number of slots supported.
133 int slot_count);
/linux-master/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dpia.c45 mst_alloc_slots += table->stream_allocations[i].slot_count;
/linux-master/drivers/virt/nitro_enclaves/
H A Dne_pci_dev.h256 * @slot_count : Valid for SLOT_COUNT command.
269 u64 slot_count; member in struct:ne_pci_dev_cmd_reply
/linux-master/drivers/gpu/drm/amd/display/include/
H A Dlink_service_types.h251 uint8_t slot_count; member in struct:dc_dp_mst_stream_allocation
/linux-master/drivers/pci/hotplug/
H A Dibmphp_ebda.c63 static struct controller *alloc_ebda_hpc(u32 slot_count, u32 bus_count) argument
73 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL);
116 debug("%s - slot_count = %x\n", __func__, ptr->slot_count);
197 for (index = 0; index < hpc_ptr->slot_count; index++) {
721 hpc_ptr->slot_count = slot_num;
748 bus_info_ptr1->slot_count += 1;
761 bus_info_ptr2->slot_count += 1;
842 for (index = 0; index < hpc_ptr->slot_count; index++) {
H A Dibmphp_core.c97 u8 slot_count = 0; local
101 slot_count = max(slot_count, slot_cur->number);
103 return slot_count;
H A Dibmphp.h241 u8 slot_count; member in struct:bus_info
721 u8 slot_count; member in struct:controller
/linux-master/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hpo_dp_link_encoder.c274 *slots = stream_allocation->slot_count;
469 SAT_SLOT_COUNT, &state->slot_count[0]);
472 SAT_SLOT_COUNT, &state->slot_count[1]);
475 SAT_SLOT_COUNT, &state->slot_count[2]);
478 SAT_SLOT_COUNT, &state->slot_count[3]);
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_ccb.c201 return pvr_dev->kccb.slot_count - 1;
227 used_count = wr_offset + pvr_dev->kccb.slot_count - rd_offset;
524 pvr_dev->kccb.slot_count = 1 << ROGUE_FWIF_KCCB_NUMCMDS_LOG2_DEFAULT;
H A Dpvr_device.h246 /** @kccb.slot_count: Total number of KCCB slots available. */
247 u32 slot_count; member in struct:pvr_device::__anon696
/linux-master/sound/soc/generic/
H A Dsimple-card-utils.c150 dai->tdm_width_map[i].slot_count = *p++;
394 int slot_width, slot_count; local
401 slot_count = simple_dai->slots;
409 slot_count = simple_dai->tdm_width_map[i].slot_count;
417 slot_count,
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c179 dc_alloc->slot_count = target_payload->time_slots;
187 dc_alloc->slot_count = 0;
198 if (dc_alloc->vcp_id > 0 && dc_alloc->slot_count > 0) {
200 sa->slot_count = dc_alloc->slot_count;
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dlink_encoder.h221 uint32_t slot_count[4]; member in struct:hpo_dp_link_enc_state
/linux-master/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c1229 work_table[i].slot_count = proposed_table->stream_allocations[i].slot_count;
1238 work_table[i].slot_count =
1239 proposed_table->stream_allocations[i].slot_count;
1345 "stream[%d].slot_count: %d\n",
1353 link->mst_stream_alloc_table.stream_allocations[i].slot_count);
1425 "stream[%d].slot_count: %d\n",
1433 link->mst_stream_alloc_table.stream_allocations[i].slot_count);
1528 proposed_table->stream_allocations[0].slot_count = req_slot_count;
1653 "slot_count
[all...]
/linux-master/include/sound/
H A Dsimple_card_utils.h21 u8 slot_count; member in struct:simple_util_tdm_width_map
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c1506 u8 slot_count; local
1516 NULL, &slot_count);
1517 if (!slot_count)
1520 linecards = vzalloc(struct_size(linecards, linecards, slot_count));
1523 linecards->count = slot_count;
/linux-master/kernel/events/
H A Duprobes.c99 atomic_t slot_count; /* number of in-use slots */ member in struct:xol_area
1504 atomic_set(&area->slot_count, 1);
1593 wait_event(area->wq, (atomic_read(&area->slot_count) < UINSNS_PER_PAGE));
1597 atomic_inc(&area->slot_count);
1655 atomic_dec(&area->slot_count);
/linux-master/fs/btrfs/
H A Dioctl.c3061 u64 slot_count = 0; local
3086 slot_count++;
3094 slot_count++;
3098 space_args.total_spaces = slot_count;
3102 slot_count = min_t(u64, space_args.space_slots, slot_count);
3104 alloc_size = sizeof(*dest) * slot_count;
3122 if (!slot_count)
3143 slot_count--;
3145 if (!slot_count)
[all...]
/linux-master/sound/soc/codecs/
H A Dcs35l45.h497 u8 slot_count; member in struct:cs35l45_private
/linux-master/lib/
H A Dmaple_tree.c1801 * @slot_count: the size that can be stored in a single node being considered.
1806 unsigned char slot_count)
1810 if (size >= 2 * slot_count)
1813 if (!b_node->slot[split] && (size >= 2 * slot_count - 1))
1823 * @slot_count: the number of slots in the node being considered.
1828 unsigned char split, unsigned char slot_count)
1835 if ((split < slot_count - 1) &&
1857 unsigned char slot_min, slot_count = mt_slots[bn->type]; local
1886 if (unlikely(mab_middle_node(bn, split, slot_count))) {
1898 while ((split < slot_count
1805 mab_middle_node(struct maple_big_node *b_node, int split, unsigned char slot_count) argument
1827 mab_no_null_split(struct maple_big_node *b_node, unsigned char split, unsigned char slot_count) argument
2372 unsigned char slot_count = mt_slots[b_node->type]; local
[all...]

Completed in 247 milliseconds

12