Home
last modified time | relevance | path

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

12345

/linux/drivers/net/wireless/ath/ath11k/
A Dhal.c44 .entry_size = (sizeof(struct hal_tlv_hdr) +
53 .entry_size = (sizeof(struct hal_tlv_hdr) +
62 .entry_size = (sizeof(struct hal_tlv_hdr) +
71 .entry_size = (sizeof(struct hal_tlv_hdr) +
80 .entry_size = (sizeof(struct hal_tlv_hdr) +
312 srng->entry_size)); in ath11k_hal_srng_dst_hw_init()
404 srng->entry_size)); in ath11k_hal_srng_src_hw_init()
494 return (srng_config->entry_size << 2); in ath11k_hal_srng_get_entrysize()
665 return (hp - tp) / srng->entry_size; in ath11k_hal_srng_dst_num_free()
939 srng->entry_size = srng_config->entry_size; in ath11k_hal_srng_setup()
[all …]
A 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/tools/lib/perf/
A 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/kernel/trace/
A 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()
173 int str_loc = entry_size & 0xffff; in trace_alloc_entry()
185 *size = entry_size + 1; in trace_alloc_entry()
196 int entry_size; in parse_entry() local
200 entry = trace_alloc_entry(call, &entry_size); in parse_entry()
219 int str_loc = entry_size & 0xffff; in parse_entry()
222 entry_size += str_len; in parse_entry()
223 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
230 strlcpy(entry + (entry_size - str_len), addr, str_len); in parse_entry()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A 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/net/netfilter/
A 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/drivers/net/ethernet/sfc/
A Def100.c189 u32 entry_size; in ef100_pci_walk_xilinx_table() local
194 entry_size = ef100_pci_get_bar_bits(efx, current_entry, ENTRY_SIZE); in ef100_pci_walk_xilinx_table()
198 id, entry_size, current_entry, efx->mem_bar); in ef100_pci_walk_xilinx_table()
200 if (entry_size < sizeof(u32) * 2) { in ef100_pci_walk_xilinx_table()
202 "Xilinx table entry too short len=0x%x\n", entry_size); in ef100_pci_walk_xilinx_table()
209 entry_size < ESE_GZ_CFGBAR_ENTRY_SIZE_EF100) { in ef100_pci_walk_xilinx_table()
212 entry_size, rev); in ef100_pci_walk_xilinx_table()
222 if (rev != 0 || entry_size < ESE_GZ_CFGBAR_CONT_CAP_MIN_LENGTH) { in ef100_pci_walk_xilinx_table()
225 entry_size, rev); in ef100_pci_walk_xilinx_table()
241 current_entry += entry_size; in ef100_pci_walk_xilinx_table()
/linux/fs/hfsplus/
A 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()
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()
531 err = entry_size; in hfsplus_rename_cat()
[all …]
A 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/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_init.c647 u32 entry_size; in qlcnic_get_flt_entry() local
660 flt_entry = vzalloc(entry_size); in qlcnic_get_flt_entry()
666 (u8 *)flt_entry, entry_size); 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()
811 le32_to_cpu(tab_desc->entry_size) * idx; in qlcnic_validate_bootld()
846 le32_to_cpu(tab_desc->entry_size) * idx; in qlcnic_validate_fw()
862 u32 entries, entry_size, tab_size, i; in qlcnic_validate_product_offs() local
871 entry_size = le32_to_cpu(ptab_descr->entry_size); in qlcnic_validate_product_offs()
[all …]
/linux/tools/lib/perf/include/internal/
A 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/drivers/mfd/
A Dintel_pmt.c38 u8 entry_size; member
72 .entry_size = 3,
95 int size = header->entry_size; in pmt_add_dev()
121 if (!header->num_entries || !header->entry_size) { in pmt_add_dev()
208 &header.entry_size); in pmt_pci_probe()
/linux/fs/hfs/
A 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/drivers/scsi/be2iscsi/
A 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/drivers/misc/sgi-xp/
A 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()
A Dxp_main.c159 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect()
214 registration->entry_size = 0; in xpc_disconnect()
A 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/drivers/net/wireless/intersil/p54/
A 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/drivers/firmware/efi/
A Desrt.c243 size_t size, max, entry_size, entries_size; in efi_esrt_init() local
296 entry_size = sizeof(struct efi_system_resource_entry_v1); in efi_esrt_init()
297 if (tmpesrt.fw_resource_count > 0 && max - size < entry_size) { in efi_esrt_init()
299 max - size, entry_size); in efi_esrt_init()
320 entries_size = tmpesrt.fw_resource_count * entry_size; in efi_esrt_init()
/linux/fs/nilfs2/
A Ddat.c465 int nilfs_dat_read(struct super_block *sb, size_t entry_size, in nilfs_dat_read() argument
473 if (entry_size > sb->s_blocksize) { in nilfs_dat_read()
475 entry_size); in nilfs_dat_read()
477 } else if (entry_size < NILFS_MIN_DAT_ENTRY_SIZE) { in nilfs_dat_read()
479 entry_size); in nilfs_dat_read()
493 err = nilfs_palloc_init_blockgroup(dat, entry_size); in nilfs_dat_read()
A Dmdt.c490 void nilfs_mdt_set_entry_size(struct inode *inode, unsigned int entry_size, in nilfs_mdt_set_entry_size() argument
495 mi->mi_entry_size = entry_size; in nilfs_mdt_set_entry_size()
496 mi->mi_entries_per_block = i_blocksize(inode) / entry_size; in nilfs_mdt_set_entry_size()
497 mi->mi_first_entry_offset = DIV_ROUND_UP(header_size, entry_size); in nilfs_mdt_set_entry_size()
/linux/drivers/net/ethernet/qlogic/netxen/
A 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()
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()
710 (i * cpu_to_le32(ptab_descr->entry_size)); in netxen_nic_validate_product_offs()
[all …]
/linux/drivers/infiniband/hw/mlx4/
A 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/drivers/misc/cxl/
A 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/arch/sparc/include/asm/
A Dvio.h278 u32 entry_size; member
297 return dr->base + (dr->entry_size * dr->prod); in vio_dring_cur()
303 return dr->base + (dr->entry_size * index); in vio_dring_entry()

Completed in 52 milliseconds

12345