Home
last modified time | relevance | path

Searched refs:entry_size (Results 1 – 25 of 127) sorted by relevance

123456

/linux-6.1.9/tools/lib/perf/
Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
9 size_t row_size = ylen * entry_size; in xyarray__new()
13 xy->entry_size = entry_size; in xyarray__new()
25 size_t n = xy->entries * xy->entry_size; in xyarray__reset()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dhal.c17 .entry_size = sizeof(struct hal_reo_dest_ring) >> 2,
29 .entry_size = sizeof(struct hal_reo_dest_ring) >> 2,
37 .entry_size = sizeof(struct hal_reo_entrance_ring) >> 2,
45 .entry_size = (sizeof(struct hal_tlv_hdr) +
54 .entry_size = (sizeof(struct hal_tlv_hdr) +
63 .entry_size = (sizeof(struct hal_tlv_hdr) +
72 .entry_size = (sizeof(struct hal_tlv_hdr) +
81 .entry_size = (sizeof(struct hal_tlv_hdr) +
90 .entry_size = sizeof(struct hal_ce_srng_src_desc) >> 2,
98 .entry_size = sizeof(struct hal_ce_srng_dest_desc) >> 2,
[all …]
Dhal_tx.c144 int i, entry_size; in ath11k_hal_tx_init_data_ring() local
149 entry_size = ath11k_hal_srng_get_entrysize(ab, HAL_TCL_DATA); in ath11k_hal_tx_init_data_ring()
158 desc += entry_size; in ath11k_hal_tx_init_data_ring()
/linux-6.1.9/kernel/trace/
Dtrace_events_inject.c155 int entry_size = trace_get_entry_size(call); in trace_alloc_entry() local
161 entry = kzalloc(entry_size + 1, GFP_KERNEL); in trace_alloc_entry()
174 int str_loc = entry_size & 0xffff; in trace_alloc_entry()
189 *size = entry_size + 1; in trace_alloc_entry()
200 int entry_size; in parse_entry() local
204 entry = trace_alloc_entry(call, &entry_size); in parse_entry()
224 int str_loc = entry_size & 0xffff; in parse_entry()
227 entry_size += str_len; in parse_entry()
228 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
235 strlcpy(entry + (entry_size - str_len), addr, str_len); in parse_entry()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c16 unsigned int entry_size; member
68 sub_pool->entry_size = mlxsw_core_res_get(mlxsw_sp->core, in mlxsw_sp_counter_sub_pools_init()
205 if (entry_index + sub_pool->entry_size > stop_index) { in mlxsw_sp_counter_alloc()
209 for (i = 0; i < sub_pool->entry_size; i++) in mlxsw_sp_counter_alloc()
214 atomic_add(sub_pool->entry_size, &sub_pool->active_entries_count); in mlxsw_sp_counter_alloc()
215 atomic_add(sub_pool->entry_size, &pool->active_entries_count); in mlxsw_sp_counter_alloc()
235 for (i = 0; i < sub_pool->entry_size; i++) in mlxsw_sp_counter_free()
238 atomic_sub(sub_pool->entry_size, &sub_pool->active_entries_count); in mlxsw_sp_counter_free()
239 atomic_sub(sub_pool->entry_size, &pool->active_entries_count); in mlxsw_sp_counter_free()
/linux-6.1.9/net/netfilter/
Dnft_set_pipapo.h247 unsigned long entry_size; in pipapo_estimate_size() local
251 for (i = 0, entry_size = 0; i < desc->field_count; i++) { in pipapo_estimate_size()
262 entry_size += rules * in pipapo_estimate_size()
265 entry_size += rules * sizeof(union nft_pipapo_map_bucket); in pipapo_estimate_size()
269 size = desc->size * entry_size; in pipapo_estimate_size()
270 if (size && div_u64(size, desc->size) != entry_size) in pipapo_estimate_size()
/linux-6.1.9/tools/lib/perf/include/internal/
Dxyarray.h10 size_t entry_size; member
17 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size);
23 return &xy->contents[x * xy->row_size + y * xy->entry_size]; in __xyarray__entry()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def100.c190 u32 entry_size; in ef100_pci_walk_xilinx_table() local
195 entry_size = ef100_pci_get_bar_bits(efx, current_entry, ENTRY_SIZE); in ef100_pci_walk_xilinx_table()
199 id, entry_size, current_entry, efx->mem_bar); in ef100_pci_walk_xilinx_table()
201 if (entry_size < sizeof(u32) * 2) { in ef100_pci_walk_xilinx_table()
203 "Xilinx table entry too short len=0x%x\n", entry_size); in ef100_pci_walk_xilinx_table()
210 entry_size < ESE_GZ_CFGBAR_ENTRY_SIZE_EF100) { in ef100_pci_walk_xilinx_table()
213 entry_size, rev); in ef100_pci_walk_xilinx_table()
223 if (rev != 0 || entry_size < ESE_GZ_CFGBAR_CONT_CAP_MIN_LENGTH) { in ef100_pci_walk_xilinx_table()
226 entry_size, rev); in ef100_pci_walk_xilinx_table()
242 current_entry += entry_size; in ef100_pci_walk_xilinx_table()
/linux-6.1.9/fs/hfsplus/
Dcatalog.c259 int entry_size; in hfsplus_create_cat() local
277 entry_size = hfsplus_fill_cat_thread(sb, &entry, in hfsplus_create_cat()
281 if (unlikely(entry_size < 0)) { in hfsplus_create_cat()
282 err = entry_size; in hfsplus_create_cat()
292 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat()
300 entry_size = hfsplus_cat_build_record(&entry, cnid, inode); in hfsplus_create_cat()
308 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat()
441 int entry_size, type; in hfsplus_rename_cat() local
528 entry_size = hfsplus_fill_cat_thread(sb, &entry, type, in hfsplus_rename_cat()
530 if (unlikely(entry_size < 0)) { in hfsplus_rename_cat()
[all …]
Dattributes.c201 int entry_size; in hfsplus_create_attr() local
236 entry_size = hfsplus_attr_build_record(entry_ptr, in hfsplus_create_attr()
240 if (entry_size == HFSPLUS_INVALID_ATTR_RECORD) { in hfsplus_create_attr()
252 err = hfs_brec_insert(&fd, entry_ptr, entry_size); in hfsplus_create_attr()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c647 u32 entry_size; in qlcnic_get_flt_entry() local
659 entry_size = flt_hdr.len - sizeof(struct qlcnic_flt_header); in qlcnic_get_flt_entry()
660 flt_entry = vzalloc(entry_size); in qlcnic_get_flt_entry()
666 (u8 *)flt_entry, entry_size); in qlcnic_get_flt_entry()
673 while (i < (entry_size/sizeof(struct qlcnic_flt_entry))) { in qlcnic_get_flt_entry()
678 if (i >= (entry_size/sizeof(struct qlcnic_flt_entry))) { in qlcnic_get_flt_entry()
753 i * le32_to_cpu(directory->entry_size); in qlcnic_get_table_desc()
770 u32 entries, entry_size, tab_size, fw_file_size; in qlcnic_validate_header() local
778 entry_size = le32_to_cpu(directory->entry_size); in qlcnic_validate_header()
779 tab_size = le32_to_cpu(directory->findex) + (entries * entry_size); in qlcnic_validate_header()
[all …]
/linux-6.1.9/fs/hfs/
Dcatalog.c87 int entry_size; in hfs_cat_create() local
109 entry_size = hfs_cat_build_thread(sb, &entry, S_ISDIR(inode->i_mode) ? in hfs_cat_create()
118 err = hfs_brec_insert(&fd, &entry, entry_size); in hfs_cat_create()
123 entry_size = hfs_cat_build_record(&entry, cnid, inode); in hfs_cat_create()
131 err = hfs_brec_insert(&fd, &entry, entry_size); in hfs_cat_create()
294 int entry_size, type; in hfs_cat_move() local
370 entry_size = hfs_cat_build_thread(sb, &entry, type == HFS_CDR_FIL ? HFS_CDR_FTH : HFS_CDR_THD, in hfs_cat_move()
378 err = hfs_brec_insert(&dst_fd, &entry, entry_size); in hfs_cat_move()
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe.h33 u16 entry_size; /* Size of an element in the queue */ member
53 return q->dma_mem.va + q->head * q->entry_size; in queue_head_node()
58 return q->dma_mem.va + wrb_num * q->entry_size; in queue_get_wrb()
63 return q->dma_mem.va + q->tail * q->entry_size; in queue_tail_node()
/linux-6.1.9/drivers/platform/x86/intel/
Dvsec.c57 u8 entry_size; member
197 if (!header->entry_size) { in intel_vsec_add_dev()
222 header->offset + i * (header->entry_size * sizeof(u32)); in intel_vsec_add_dev()
223 tmp->end = tmp->start + (header->entry_size * sizeof(u32)) - 1; in intel_vsec_add_dev()
290 pci_read_config_byte(pdev, pos + INTEL_DVSEC_SIZE, &header.entry_size); in intel_vsec_walk_dvsec()
338 pci_read_config_byte(pdev, pos + INTEL_DVSEC_SIZE, &header.entry_size); in intel_vsec_walk_vsec()
396 .entry_size = 3,
/linux-6.1.9/drivers/misc/sgi-xp/
Dxpc_channel.c143 ch->entry_size = 0; in xpc_process_disconnect()
320 "channel=%d\n", args->entry_size, args->local_nentries, in xpc_process_openclose_chctl_flags()
342 if (args->entry_size == 0 || args->local_nentries == 0) { in xpc_process_openclose_chctl_flags()
351 if (args->entry_size != ch->entry_size) { in xpc_process_openclose_chctl_flags()
357 ch->entry_size = args->entry_size; in xpc_process_openclose_chctl_flags()
504 if (registration->entry_size != ch->entry_size) { in xpc_connect_channel()
523 ch->entry_size = registration->entry_size; in xpc_connect_channel()
Dxp_main.c159 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect()
214 registration->entry_size = 0; in xpc_disconnect()
Dxpc.h193 short entry_size; /* size of notify_mq's GRU messages */ member
229 u16 entry_size; /* sizeof each message entry */ member
330 u16 entry_size; /* sizeof each msg entry */ member
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Deeprom.c371 priv->output_limit->entry_size + in p54_generate_channel_lists()
385 priv->curve_data->entry_size + in p54_generate_channel_lists()
438 priv->curve_data->entry_size = sizeof(__le16) + in p54_convert_rev0()
490 priv->curve_data->entry_size = sizeof(__le16) + in p54_convert_rev1()
557 priv->rssi_db->entry_size = sizeof(*entry); in p54_parse_rssical()
690 priv->output_limit->entry_size = in p54_convert_output_limits()
692 priv->output_limit->len = priv->output_limit->entry_size * in p54_convert_output_limits()
706 size_t payload_len, entries, entry_size, offset; in p54_convert_db() local
710 entry_size = le16_to_cpu(src->entry_size); in p54_convert_db()
712 if (((entries * entry_size + offset) != payload_len) || in p54_convert_db()
[all …]
/linux-6.1.9/drivers/firmware/efi/
Desrt.c245 size_t size, max, entry_size, entries_size; in efi_esrt_init() local
298 entry_size = sizeof(struct efi_system_resource_entry_v1); in efi_esrt_init()
299 if (tmpesrt.fw_resource_count > 0 && max - size < entry_size) { in efi_esrt_init()
301 max - size, entry_size); in efi_esrt_init()
322 entries_size = tmpesrt.fw_resource_count * entry_size; in efi_esrt_init()
/linux-6.1.9/fs/nilfs2/
Ddat.c472 int nilfs_dat_read(struct super_block *sb, size_t entry_size, in nilfs_dat_read() argument
480 if (entry_size > sb->s_blocksize) { in nilfs_dat_read()
482 entry_size); in nilfs_dat_read()
484 } else if (entry_size < NILFS_MIN_DAT_ENTRY_SIZE) { in nilfs_dat_read()
486 entry_size); in nilfs_dat_read()
500 err = nilfs_palloc_init_blockgroup(dat, entry_size); in nilfs_dat_read()
Dmdt.c501 void nilfs_mdt_set_entry_size(struct inode *inode, unsigned int entry_size, in nilfs_mdt_set_entry_size() argument
506 mi->mi_entry_size = entry_size; in nilfs_mdt_set_entry_size()
507 mi->mi_entries_per_block = i_blocksize(inode) / entry_size; in nilfs_mdt_set_entry_size()
508 mi->mi_first_entry_offset = DIV_ROUND_UP(header_size, entry_size); in nilfs_mdt_set_entry_size()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c574 (i * cpu_to_le32(directory->entry_size)); in nx_get_table_desc()
594 __le32 entry_size; in netxen_nic_validate_header() local
600 entry_size = cpu_to_le32(directory->entry_size); in netxen_nic_validate_header()
601 tab_size = cpu_to_le32(directory->findex) + (entries * entry_size); in netxen_nic_validate_header()
627 (cpu_to_le32(tab_desc->entry_size) * (idx + 1)); in netxen_nic_validate_bootld()
633 (cpu_to_le32(tab_desc->entry_size) * (idx)); in netxen_nic_validate_bootld()
662 (cpu_to_le32(tab_desc->entry_size) * (idx + 1)); in netxen_nic_validate_fw()
668 (cpu_to_le32(tab_desc->entry_size) * (idx)); in netxen_nic_validate_fw()
687 __le32 entry_size; in netxen_nic_validate_product_offs() local
696 entry_size = cpu_to_le32(ptab_descr->entry_size); in netxen_nic_validate_product_offs()
[all …]
/linux-6.1.9/drivers/misc/cxl/
Dof.c72 int i, len, entry_size, naddr, nsize, type; in read_phys_addr() local
81 entry_size = naddr + nsize; in read_phys_addr()
82 for (i = 0; i < (len / 4); i += entry_size, prop += entry_size) { in read_phys_addr()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c71 return mlx4_buf_offset(&buf->buf, n * buf->entry_size); in get_cqe_from_buf()
82 struct mlx4_cqe *tcqe = ((cq->buf.entry_size == 64) ? (cqe + 1) : cqe); in get_sw_cqe()
111 buf->entry_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_cq_buf()
127 mlx4_buf_free(dev->dev, nent * buf->entry_size, &buf->buf); in mlx4_ib_alloc_cq_buf()
135 mlx4_buf_free(dev->dev, (cqe + 1) * buf->entry_size, &buf->buf); in mlx4_ib_free_cq_buf()
358 int cqe_size = cq->buf.entry_size; in mlx4_ib_cq_resize_copy_cqes()
677 if (cq->buf.entry_size == 64) in mlx4_ib_poll_one()
921 int cqe_inc = cq->buf.entry_size == 64 ? 1 : 0; in __mlx4_ib_cq_clean()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Dgp10b.c39 .buffer.entry_size = 32,

123456