Home
last modified time | relevance | path

Searched refs:ent_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dumr.c432 static void *mlx5r_umr_alloc_xlt(size_t *nents, size_t ent_size, gfp_t gfp_mask) in mlx5r_umr_alloc_xlt() argument
434 const size_t xlt_chunk_align = MLX5_UMR_FLEX_ALIGNMENT / ent_size; in mlx5r_umr_alloc_xlt()
453 size = min_t(size_t, ent_size * ALIGN(*nents, xlt_chunk_align), in mlx5r_umr_alloc_xlt()
455 *nents = size / ent_size; in mlx5r_umr_alloc_xlt()
463 *nents = size / ent_size; in mlx5r_umr_alloc_xlt()
470 *nents = PAGE_SIZE / ent_size; in mlx5r_umr_alloc_xlt()
503 size_t nents, size_t ent_size, in mlx5r_umr_create_xlt() argument
510 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt()
513 sg->length = nents * ent_size; in mlx5r_umr_create_xlt()
/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c308 uint64_t ent_size = cvmx_bootmem_phy_get_size(ent_addr); in cvmx_bootmem_phy_alloc() local
327 usable_max = min(address_max, ent_addr + ent_size); in cvmx_bootmem_phy_alloc()
338 if (!((ent_addr + ent_size) > usable_base in cvmx_bootmem_phy_alloc()
359 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc()
368 ent_size - in cvmx_bootmem_phy_alloc()
/linux-6.6.21/drivers/dma/idxd/
Dirq.c326 int ent_size = evl_ent_size(idxd); in process_evl_entry() local
340 memcpy(&fault->entry, entry_head, ent_size); in process_evl_entry()
360 unsigned int ent_size = evl_ent_size(idxd); in process_evl_entries() local
376 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in process_evl_entries()
Dcdev.c339 int ent_size = evl_ent_size(idxd); in idxd_cdev_evl_drain_pasid() local
352 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in idxd_cdev_evl_drain_pasid()
/linux-6.6.21/kernel/trace/
Dtrace_output.c827 if (offset + len > iter->ent_size) { in print_array()
852 if (field->offset + field->size > iter->ent_size) { in print_fields()
871 if (offset + len > iter->ent_size) { in print_fields()
1235 end = (unsigned long *)((long)iter->ent + iter->ent_size); in trace_stack_print()
1590 int max = iter->ent_size - offsetof(struct print_entry, buf); in trace_print_print()
1604 int max = iter->ent_size - offsetof(struct print_entry, buf); in trace_print_raw()
1633 for (i = 0; i < iter->ent_size - offsetof(struct raw_data_entry, buf); i++) in trace_raw_data()
Dtrace.c3673 iter->ent_size = ring_buffer_event_length(event); in peek_next_entry()
3676 iter->ent_size = 0; in peek_next_entry()
3722 next_size = iter->ent_size; in __find_next_entry()
3726 iter->ent_size = next_size; in __find_next_entry()
3778 (addr < (unsigned long)iter->ent + iter->ent_size)) in trace_safe_str()
4049 int ent_size = iter->ent_size; in trace_find_next_entry() local
4061 STATIC_TEMP_BUF_SIZE < ent_size) in trace_find_next_entry()
4070 if ((!iter->temp || iter->temp_size < iter->ent_size) && in trace_find_next_entry()
4073 temp = kmalloc(iter->ent_size, GFP_KERNEL); in trace_find_next_entry()
4078 iter->temp_size = iter->ent_size; in trace_find_next_entry()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
Dfw_inc.c148 u32 max_num_ent, i, ent_size; in fw_handle_brd_file() local
155 ent_size = size - offsetof(struct wil_fw_record_brd_file, brd_info); in fw_handle_brd_file()
156 max_num_ent = ent_size / sizeof(struct brd_info); in fw_handle_brd_file()
/linux-6.6.21/drivers/pci/
Dpci.c3307 int ent_size, ent_offset = offset; in pci_ea_read() local
3318 ent_size = ((dw0 & PCI_EA_ES) + 1) << 2; in pci_ea_read()
3397 if (ent_size != ent_offset - offset) { in pci_ea_read()
3399 ent_size, ent_offset - offset); in pci_ea_read()
3422 return offset + ent_size; in pci_ea_read()
/linux-6.6.21/include/linux/
Dtrace_events.h121 int ent_size; member